Commits

dan mackinlay  committed b0ab5b8

datemark

  • Participants
  • Parent commits 3540c9f

Comments (0)

Files changed (1)

File _themes/algo/layout.html

     {%- block body %}
       {{ super() }}
     {%- endblock %}
-    
-    {%- if meta %}
-      {%- if meta.date %}
-        <time>
-          Last changed: {{ meta.date }}
-        </time>
+        
+    {%- block datemark %}
+      {%- if pub_date %}
+          <time datetime="{{ pub_date.strftime("%Y-%m-%dT%H:%M:%SZ") }}" pubdate>
+            Last changed: {{ pub_date.strftime("%A %d. %B %Y") }}
+          </time>
       {%- endif %}
-    {%- endif %}
+    {%- endblock  %}
     
     
   </div>