Merge pull request #52 from ItsCurious/main

Fix transposition typo in blog tag and WebC tag
This commit is contained in:
Lene Saile 2024-06-09 15:50:51 +02:00 committed by GitHub
commit 7b19aefc49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ layout: base
if if
item.data.tags.length > 1 item.data.tags.length > 1
%} %}
<div slot="tag" webc:nkoeep> <div slot="tag" webc:nokeep>
{% for tag in item.data.tags %} {% for tag in item.data.tags %}
{% if tag != "posts" %} {% if tag != "posts" %}
<span class="button post-tag">{{ tag }}</span> <span class="button post-tag">{{ tag }}</span>

View file

@ -39,7 +39,7 @@ layout: base
if if
item.data.tags.length > 1 item.data.tags.length > 1
%} %}
<div slot="tag" webc:nkoeep> <div slot="tag" webc:nokeep>
{% for tag in item.data.tags %} {% for tag in item.data.tags %}
{% if tag != "posts" %} {% if tag != "posts" %}
<span class="button post-tag">{{ tag }}</span> <span class="button post-tag">{{ tag }}</span>

View file

@ -2,7 +2,7 @@
title: 'Post with some code' 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.' 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 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. 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.

View file

@ -63,7 +63,7 @@ The class names are passed in the outer container, the `<picture>` or `<figure>`
{% 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] %} {% 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`. 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`.