polishing

This commit is contained in:
2023-08-08 23:47:23 +03:00
parent b162a6ed10
commit a149ad95d8
10 changed files with 36 additions and 30 deletions
+5 -1
View File
@@ -8,5 +8,9 @@
⬡
<a href="/contact">Contact</a>
</nav>
<p>© 2022 - {{ now() | date(format="Y") }} Ian Andwati.</p>
<p>
© 2022 -
{{ now() | date(format="%Y") }}
Ian Andwati.
</p>
</footer>
+2 -1
View File
@@ -1,5 +1,5 @@
{% extends "page.html" %}
{% import "post_macros.html" as post_macros %}
{% import "post_macros.html" as page_macros %}
{% block meta %}
<meta name="description" content="{{ page.description }}" />
<meta property="og:site_name" content="andwati.com" />
@@ -24,6 +24,7 @@
<article id="content">
<header>
<h1>{{ page.title }}</h1>
{{ page_macros::meta(page=page) }}
</header>
{{ page.content | safe }}
</article>
+3 -2
View File
@@ -1,6 +1,6 @@
{% macro meta(page) %}
<div class="post-meta">
<time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time>
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d,%Y") }}</time>
{% if page.taxonomies.tags %}
<span class="accent">⬡</span>
{% for tag in page.taxonomies.tags %}
@@ -18,7 +18,8 @@
{{ self::meta(page=page) }}
{% if page.summary %}{{ page.summary | safe }}{% endif %}
<nav>
<a href="{{ page.permalink }}">Read More</a>
<a href="{{ page.permalink }}">Read More →</a>
</nav>
%d%
</article>
{% endmacro snippet %}
+1 -1
View File
@@ -1,7 +1,7 @@
{% extends "section.html" %}
{% import "post_macros.html" as post_macros %}
{% block content %}
<main class="content">
<main id="content">
<header>
<h1>Posts</h1>
</header>