]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
move last modified into metadata section
authorCameron Otsuka <cameron@otsuka.haus>
Thu, 5 Jun 2025 03:54:41 +0000 (20:54 -0700)
committerCameron Otsuka <cameron@otsuka.haus>
Thu, 5 Jun 2025 03:54:41 +0000 (20:54 -0700)
_includes/layouts/base.njk
_includes/layouts/post.njk

index 812ac874535b05c8f7d8724d27513a33b465f3aa..dd3d17726964a743298e29d39c026491230860f2 100644 (file)
@@ -83,9 +83,6 @@
             {%- endfor %}
             </menu>
         </address>
-        <p>
-            Last Modified: <time datetime="{{ updated | htmlDateString }}">{{ updated | htmlDateString }}</time>
-        </p>
         <p>
             &copy; {% currentYear %} {{ metadata.author.name }}.<br>
             All views my own. Not financial advice. Links, citations, and other references are not endorsements. Content is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
index c7a1f00d4d7afbe58aa7e24e0f04ff4b78690e0b..bcb50387cae25382f0c6702bb345616b437c3258 100644 (file)
@@ -14,6 +14,9 @@ layout: layouts/base.njk
        <summary>Metadata</summary>
        <ul>
                <li>Published: <time datetime="{{ page.date | htmlDateString }}">{{ page.date | htmlDateString }}</time></li>
+               {%- if modified -%}
+                       <li>Last Modified: <time datetime="{{ modified | htmlDateString }}">{{ modified | htmlDateString }}</time></li>
+               {%- endif -%}
                <li>
                        {%- if page.filePathStem | startsWith("/reviews") -%}
                                Rating: