From 4e7085e82e7aa48b8bc404fd7926b673fc425cdf Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 17 Nov 2020 16:23:51 -0700 Subject: rework around cactus-ssg --- _layouts/default.gmi | 5 +++++ _layouts/default.html | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 _layouts/default.gmi (limited to '_layouts') diff --git a/_layouts/default.gmi b/_layouts/default.gmi new file mode 100644 index 0000000..4a249fd --- /dev/null +++ b/_layouts/default.gmi @@ -0,0 +1,5 @@ +{% if page.url != "/" %}=> / (brought to you by boringcactus) +{% endif %}# {{ page.title }} +{% if page.date %}## {{ page.date.strftime('%d %b %Y') }} +{% endif %} +{{ content }} diff --git a/_layouts/default.html b/_layouts/default.html index 3aa9e43..c56a2d4 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,36 +4,36 @@ - + - - + + - - {% if page.url == "/" %} + + {% if page.url == "index" %} {{ page.title }} {% else %} - + {{ page.title }} | boringcactus {% endif %} - - {% feed_meta %} + +
- {% if page.url != "/" %} + {% if page.url != "index" %}

(brought to you by boringcactus)

{% endif %}
-

{{ page.title }}{% if page.date %} ({{ page.date | date_to_string }}){% endif %}

+

{{ page.title }}{% if page.date %} ({{ page.date.strftime('%d %b %Y') }}){% endif %}

{{ content }}
- + -- cgit v1.2.3