2024-11-26

This commit is contained in:
2024-11-26 12:53:23 -06:00
parent 4d8338b1be
commit 3f0cc4b7e0
63 changed files with 187 additions and 197 deletions

View File

@@ -87,7 +87,7 @@ module.exports = function(eleventyConfig) {
// Shortcodes
eleventyConfig.addPairedShortcode(
"prologue",
function(content) { return `<h2>Prologue</h2><section class="prologue">${md.render(content)}</section>` }
function(content) { return `<h1>Prologue</h1><hr><section class="prologue">${md.render(content)}</section>` }
);
eleventyConfig.addPairedShortcode(
"masthead",
@@ -102,7 +102,7 @@ module.exports = function(eleventyConfig) {
);
eleventyConfig.addPairedShortcode(
"alternateTitles",
function(content) { return `<section class="alternate-titles"><h2>Alternate Titles</h2>${md.render(content)}</section>` }
function(content) { return `<section class="alternate-titles"><h1>Alternate Titles</h1><hr>${md.render(content)}</section>` }
);
eleventyConfig.addTransform("htmlmin", (content, outputPath) => {