浏览代码

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
父节点
当前提交
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 %}

正在加载...
取消
保存