Improve timestamp format and add it to the head

It gets erased if html minification is enabled tho
This commit is contained in:
daudix
2024-03-19 07:29:35 +03:00
parent b09938b894
commit 4dbe313a0f
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<footer id="site-footer"> <footer id="site-footer">
{% if config.extra.footer.show_copyright %} {% if config.extra.footer.show_copyright %}
<p title="Last built at {{ now() | date(format='%F %R %Z') }}">&copy; {{ config.title }}, {{ now() | date(format="%Y") }}</p> <p title="Last built at {{ now() | date(format='%F %a %R') }}">&copy; {{ config.title }}, {{ now() | date(format="%Y") }}</p>
{% endif %} {% endif %}
{% if config.extra.footer.show_source %} {% if config.extra.footer.show_source %}

View File

@ -1,4 +1,5 @@
<head> <head>
<!-- {{ now() | date(format='%F %a %R') }} -->
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="{{ config.description }}" /> <meta name="description" content="{{ config.description }}" />