From b5c8a022fc59d2e85946b2141c9716896386aae0 Mon Sep 17 00:00:00 2001 From: RikSolo Date: Thu, 13 Feb 2025 00:02:33 +0100 Subject: [PATCH] syntax highlighting --- content/layouts/base.njk | 99 ++++++++++++++++++++-------------------- content/style.scss | 21 ++++++++- eleventy.config.js | 14 ++++++ package-lock.json | 23 ++++++++++ package.json | 3 +- 5 files changed, 108 insertions(+), 52 deletions(-) diff --git a/content/layouts/base.njk b/content/layouts/base.njk index ad8992e..c463381 100644 --- a/content/layouts/base.njk +++ b/content/layouts/base.njk @@ -8,63 +8,64 @@ - - - - - + + + + + + - - - - - - + + + + + + - + - {%if tags.includes("blogpost")%} - - {%if description %} - - - {% endif %} - - - - - {%endif%} + {%if tags.includes("blogpost")%} + + {%if description %} + + + {% endif %} + + + + + {%endif%} - {% if title %}{{title}} | {% endif %}{{site.title}} - + {% if title %}{{title}} | {% endif %}{{site.title}} + - -
-