From c0e26d00a20f749a51b415f2bfe3736fda7f079c Mon Sep 17 00:00:00 2001
From: Helen Chong <119173961+helenclx@users.noreply.github.com>
Date: Thu, 9 May 2024 22:56:31 +0800
Subject: [PATCH] Rename paired shortcode for image figure elment
---
_site/feed.xml | 2 +-
eleventy.config.md.js | 4 ++--
src/_includes/asummersend/myplaylist.njk | 4 ++--
.../myarticles/anti-harry-potter-jk-rowling-masterlist.md | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/_site/feed.xml b/_site/feed.xml
index 528e9ad8..56899cf1 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -4,7 +4,7 @@
Leilukin's personal website.
- 2024-05-09T13:40:56Z
+ 2024-05-09T14:54:24Z
https://leilukin.neocities.org
Leilukin
diff --git a/eleventy.config.md.js b/eleventy.config.md.js
index 264386f9..10482897 100644
--- a/eleventy.config.md.js
+++ b/eleventy.config.md.js
@@ -80,8 +80,8 @@ module.exports = function (eleventyConfig) {
return `<${el}${classMarkup}>${content}${el}>`;
});
- // Paired shortcode: figure element with figcaption
- eleventyConfig.addPairedShortcode('figure', (caption, img, alt=caption) => {
+ // Paired shortcode: image figure and figcaption
+ eleventyConfig.addPairedShortcode('imgFigure', (caption, img, alt=caption) => {
const figcaption = markdownLibrary.renderInline(caption);
return `