Set Nunjucks as the default Markdown template engine
This commit is contained in:
parent
c18644199f
commit
ceb766e660
|
@ -41,6 +41,7 @@ export default function(eleventyConfig) {
|
||||||
eleventyConfig.addBundle("js", { toFileDirectory: "assets/js" });
|
eleventyConfig.addBundle("js", { toFileDirectory: "assets/js" });
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
markdownTemplateEngine: "njk",
|
||||||
dir: {
|
dir: {
|
||||||
input: "src"
|
input: "src"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<nav aria-labelledby="breadcrumbs-title">
|
<nav aria-labelledby="breadcrumbs-title">
|
||||||
<h2 class="visually-hidden" id="breadcrumbs-title">Breadcrumbs</h2>
|
<h2 class="visually-hidden" id="breadcrumbs-title">Breadcrumbs</h2>
|
||||||
<ol class="breadcrumbs">
|
<ol class="breadcrumbs">
|
||||||
{% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(articleTitle or pageTitle or title) %}
|
{% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(eleventyNavigation.key or articleTitle or pageTitle or title) %}
|
||||||
{%- for entry in breadcrumbNavPages %}
|
{%- for entry in breadcrumbNavPages %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
||||||
|
|
|
@ -3,7 +3,6 @@ layout: main/changelogs
|
||||||
title: Website Layout Archive
|
title: Website Layout Archive
|
||||||
desc: An archive for the page layout designs mt website has used.
|
desc: An archive for the page layout designs mt website has used.
|
||||||
changelogNav: Website Layouts
|
changelogNav: Website Layouts
|
||||||
templateEngineOverride: njk, md
|
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 1
|
order: 1
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
title: My Music Playlists
|
title: My Music Playlists
|
||||||
desc: Music playlists that I have created.
|
desc: Music playlists that I have created.
|
||||||
toc: true
|
toc: true
|
||||||
templateEngineOverride: njk, md
|
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 3
|
order: 3
|
||||||
---
|
---
|
||||||
|
|
|
@ -3,7 +3,6 @@ title: "My Mods for Star Wars: Knights of the Old Republic"
|
||||||
desc: "List of video game mods I have made for Star Wars: Knights of the Old Republic."
|
desc: "List of video game mods I have made for Star Wars: Knights of the Old Republic."
|
||||||
categories: ["star wars kotor"]
|
categories: ["star wars kotor"]
|
||||||
date: 2022-09-11
|
date: 2022-09-11
|
||||||
templateEngineOverride: njk, md
|
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 1
|
order: 1
|
||||||
|
|
|
@ -3,7 +3,6 @@ title: "My Mods for Star Wars: Knights of the Old Republic II: The Sith Lords"
|
||||||
desc: "List of video game mods I have made for Star Wars: Knights of the Old Republic II: The Sith Lords."
|
desc: "List of video game mods I have made for Star Wars: Knights of the Old Republic II: The Sith Lords."
|
||||||
categories: ["star wars kotor 2"]
|
categories: ["star wars kotor 2"]
|
||||||
date: 2022-09-11
|
date: 2022-09-11
|
||||||
templateEngineOverride: njk, md
|
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 2
|
order: 2
|
||||||
|
|
|
@ -5,7 +5,6 @@ pageTitle: A Summer’s End — Hong Kong 1986 Playlists
|
||||||
desc: List of A Summer’s End — Hong Kong 1986 playlists.
|
desc: List of A Summer’s End — Hong Kong 1986 playlists.
|
||||||
tags: a summers end shrine page
|
tags: a summers end shrine page
|
||||||
toc: true
|
toc: true
|
||||||
templateEngineOverride: njk, md
|
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: Playlists
|
key: Playlists
|
||||||
parent: A Summer’s End Shrine
|
parent: A Summer’s End Shrine
|
||||||
|
|
|
@ -4,7 +4,6 @@ tags: ["shrine home", "contents"]
|
||||||
categories: ["shrines", "cassette beasts"]
|
categories: ["shrines", "cassette beasts"]
|
||||||
title: Cassette Beasts Shrine
|
title: Cassette Beasts Shrine
|
||||||
date: 2023-08-03
|
date: 2023-08-03
|
||||||
templateEngineOverride: njk, md
|
|
||||||
isContentDivided: true
|
isContentDivided: true
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
|
|
|
@ -5,7 +5,6 @@ pageTitle: Cassette Beasts Game Log
|
||||||
desc: A catalogue of my Cassette Beasts characters and save profiles.
|
desc: A catalogue of my Cassette Beasts characters and save profiles.
|
||||||
tags: cassette beasts shrine page
|
tags: cassette beasts shrine page
|
||||||
toc: true
|
toc: true
|
||||||
templateEngineOverride: njk, md
|
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: Cassette Beasts Game Log
|
key: Cassette Beasts Game Log
|
||||||
parent: Cassette Beasts Shrine
|
parent: Cassette Beasts Shrine
|
||||||
|
|
|
@ -5,7 +5,6 @@ pageTitle: "Leilukin's Star Wars: Knights of the Old Republic Universes"
|
||||||
desc: "My universes and headcanons for Star Wars: Knights of the Old Republic series."
|
desc: "My universes and headcanons for Star Wars: Knights of the Old Republic series."
|
||||||
tags: kotor shrine page
|
tags: kotor shrine page
|
||||||
categories: ["star wars kotor", "star wars kotor 2"]
|
categories: ["star wars kotor", "star wars kotor 2"]
|
||||||
templateEngineOverride: njk, md
|
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: KotOR Universes
|
key: KotOR Universes
|
||||||
|
|
Loading…
Reference in New Issue