Просмотр исходного кода

make copyright date the posted date

really should include created as well, but that would make things more
complicated, or maybe have a header that overrides the copyright year..
main
John-Mark Gurney 1 год назад
Родитель
Сommit
74068db254
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      layout/blog.j2

+ 1
- 1
layout/blog.j2 Просмотреть файл

@@ -55,4 +55,4 @@

{%- endblock %}

{% block copyright -%}Copyright © {{ resource.meta.created|date_format("%Y") }} John-Mark Gurney{%- endblock %}
{% block copyright -%}Copyright © {{ resource.meta.posted|date_format("%Y") }} John-Mark Gurney{%- endblock %}

Загрузка…
Отмена
Сохранить