#41 add generation dates in footer
Merged 9 months ago by jibecfed. Opened 9 months ago by jibecfed.

@@ -30,28 +30,15 @@ 

            {{ end }}

          </ul>

          <p class="credits copyright text-muted">

-           {{ if .Site.Author.name }}

-             {{ if .Site.Author.website }}

-               <a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>

-             {{ else }}

-               {{ .Site.Author.name }}

-             {{ end }}

-           {{ end }}

- 

-           &nbsp;&bull;&nbsp;&copy;

+           &copy;

            {{ if .Site.Params.since }}

              {{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}

            {{ else }}

              {{ .Site.LastChange.Format "2006" }}

            {{ end }}

  

-           {{ if .Site.Title }}

-             &nbsp;&bull;&nbsp;

-             <a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a>

-           {{ end }}

- 

-           &nbsp;&bull;&nbsp;

-             <a href="https://pagure.io/fedora-l10n/fedora-localization-statistics">Contribute!</a>

+           &nbsp;&bull;&nbsp;<a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a> &nbsp;&bull;&nbsp; <a href="https://pagure.io/fedora-l10n/fedora-localization-statistics">Contribute!</a>

+         <br />Content generation: {{ .Date | time.Format ":date_long" }} &nbsp;&bull;&nbsp; Website generation: {{ now.UTC | time.Format ":date_long" }}

          </p>

          <!-- Please don't remove this, keep my open source work credited :) -->

          <p class="credits theme-by text-muted">

it is not that easy to me to understand when were content generated on stg or production envs, let's write this explicitly in generated files to make that easier

Pull-Request has been merged by jibecfed

9 months ago
Metadata