From b1a9b1b9b2f04efd6dc39bd2a02c544d34d1259c Mon Sep 17 00:00:00 2001 From: Prefetch Date: Sun, 1 Jan 2023 16:40:56 +0100 Subject: Change license, add Makefile, add image caching control --- source/_includes/footer.html | 4 ++-- source/_includes/image.html | 14 +++++++++----- source/_includes/preamble.html | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'source/_includes') diff --git a/source/_includes/footer.html b/source/_includes/footer.html index d91d3d5..b3679e8 100644 --- a/source/_includes/footer.html +++ b/source/_includes/footer.html @@ -1,7 +1,7 @@
-© Marcus R.A. Newman, -CC BY-SA 4.0. +© 2023 Marcus R.A. Newman, +CC BY-NC-SA 4.0.
Visitor statistics diff --git a/source/_includes/image.html b/source/_includes/image.html index 5b4f35f..df13976 100644 --- a/source/_includes/image.html +++ b/source/_includes/image.html @@ -2,6 +2,8 @@ {% assign name = name_dot_format | first %} {% assign format = name_dot_format | last %} +{% assign version = include.version | default: "1" %} + {% comment %} Let 'suffix' = last 4 chars of 'name', 'prefix' = the rest {% endcomment %} {% assign suffix = name | slice: -4, 4 %} {% assign rname = name | split: "" | reverse | join: "" %} @@ -27,14 +29,16 @@ {% assign add_style = 'style="' | append: set_style | append: '"' %} {% endif %}

- + - + {% if name_full == name_half %} - {{ include.alt }} + {{ include.alt }} {% else %} - - {{ include.alt }} + + {{ include.alt }} {% endif %} diff --git a/source/_includes/preamble.html b/source/_includes/preamble.html index 7b57115..4d3c92f 100644 --- a/source/_includes/preamble.html +++ b/source/_includes/preamble.html @@ -19,6 +19,6 @@ {% endif %} -{% if jekyll.environment != "development" %} +{% if jekyll.environment == "production" %} {% endif %} -- cgit v1.2.3