From 5dcef2b7d4159d516b36034600256791026d51cc Mon Sep 17 00:00:00 2001 From: itscuriouser Date: Sun, 9 Jun 2024 22:52:45 +1000 Subject: [PATCH] Fix transposition typo in blog tag and WebC tag --- src/_layouts/blog.njk | 2 +- src/_layouts/home.njk | 2 +- src/posts/2022/2022-09-01-post-with-code.md | 2 +- src/posts/2022/2022-10-12-post-with-image.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_layouts/blog.njk b/src/_layouts/blog.njk index 9f8f994..ad27eca 100644 --- a/src/_layouts/blog.njk +++ b/src/_layouts/blog.njk @@ -26,7 +26,7 @@ layout: base if item.data.tags.length > 1 %} -
+
{% for tag in item.data.tags %} {% if tag != "posts" %} diff --git a/src/_layouts/home.njk b/src/_layouts/home.njk index 123706e..77a65a4 100644 --- a/src/_layouts/home.njk +++ b/src/_layouts/home.njk @@ -39,7 +39,7 @@ layout: base if item.data.tags.length > 1 %} -
+
{% for tag in item.data.tags %} {% if tag != "posts" %} diff --git a/src/posts/2022/2022-09-01-post-with-code.md b/src/posts/2022/2022-09-01-post-with-code.md index a4de4c6..a6d1dc1 100644 --- a/src/posts/2022/2022-09-01-post-with-code.md +++ b/src/posts/2022/2022-09-01-post-with-code.md @@ -2,7 +2,7 @@ title: 'Post with some code' description: 'Syntax Highlighting is achieved by a pack of Eleventy plugins. No browser/client JavaScript, highlight transformations are all done at build-time.' date: 2022-09-01 -tags: ['sytnax highlighting', 'feature'] +tags: ['syntax highlighting', 'feature'] --- This theme uses 11ty's [Syntax Highlighting Plugin](https://www.11ty.dev/docs/plugins/syntaxhighlight/), a pack of Eleventy plugins for PrismJS syntax highlighting. No browser/client JavaScript, highlight transformations are all done at build-time. diff --git a/src/posts/2022/2022-10-12-post-with-image.md b/src/posts/2022/2022-10-12-post-with-image.md index bb14f3d..a2acc5c 100644 --- a/src/posts/2022/2022-10-12-post-with-image.md +++ b/src/posts/2022/2022-10-12-post-with-image.md @@ -63,7 +63,7 @@ The class names are passed in the outer container, the `` or `
` {% image "./src/assets/images/gallery/asturias-3.jpg", "A traditional Asturian village with it's raised granaries, surrounded by lush green hills and mountains", null, "lazy", "class-that-does-nothing", "(min-width:30em) 50vw, 100vw", [200, 400] %} -## Markdown sytnax +## Markdown syntax Thanks to the [markdown-it-eleventy-img](https://github.com/solution-loisir/markdown-it-eleventy-img) package markdown also has it own image syntax. `src` is already prepended here, see `config/plugins/markdown.js`.