chore: deduplicate permalinks; fix sitemap; organize
This commit is contained in:
parent
b40986256a
commit
ae1cb3dc5e
64 changed files with 94 additions and 31 deletions
14
src/includes/main.liquid
Normal file
14
src/includes/main.liquid
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
{%- capture updateTime -%}
|
||||
{% if updated == "now" %}
|
||||
{{ 'now' | date: "%B %-d, %l:%M %P", "America/Los_Angeles" }}
|
||||
{% elsif page.updated %}
|
||||
{{ page.updated | date: "%B %-d, %l:%M %P", "America/Los_Angeles" }}
|
||||
{% endif %}
|
||||
{%- endcapture -%}
|
||||
<div class="main-wrapper">
|
||||
<main>{{ content }}</main>
|
||||
{% render "partials/footer.liquid", page:page, nav:nav, updated:updateTime %}
|
||||
</div>
|
Reference in a new issue