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" });
|
||||
|
||||
return {
|
||||
markdownTemplateEngine: "njk",
|
||||
dir: {
|
||||
input: "src"
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<nav aria-labelledby="breadcrumbs-title">
|
||||
<h2 class="visually-hidden" id="breadcrumbs-title">Breadcrumbs</h2>
|
||||
<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 %}
|
||||
<li>
|
||||
<a href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
|
|
|
@ -3,7 +3,6 @@ layout: main/changelogs
|
|||
title: Website Layout Archive
|
||||
desc: An archive for the page layout designs mt website has used.
|
||||
changelogNav: Website Layouts
|
||||
templateEngineOverride: njk, md
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
order: 1
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
title: My Music Playlists
|
||||
desc: Music playlists that I have created.
|
||||
toc: true
|
||||
templateEngineOverride: njk, md
|
||||
eleventyNavigation:
|
||||
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."
|
||||
categories: ["star wars kotor"]
|
||||
date: 2022-09-11
|
||||
templateEngineOverride: njk, md
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
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."
|
||||
categories: ["star wars kotor 2"]
|
||||
date: 2022-09-11
|
||||
templateEngineOverride: njk, md
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
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.
|
||||
tags: a summers end shrine page
|
||||
toc: true
|
||||
templateEngineOverride: njk, md
|
||||
eleventyNavigation:
|
||||
key: Playlists
|
||||
parent: A Summer’s End Shrine
|
||||
|
|
|
@ -4,7 +4,6 @@ tags: ["shrine home", "contents"]
|
|||
categories: ["shrines", "cassette beasts"]
|
||||
title: Cassette Beasts Shrine
|
||||
date: 2023-08-03
|
||||
templateEngineOverride: njk, md
|
||||
isContentDivided: true
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
|
|
|
@ -5,7 +5,6 @@ pageTitle: Cassette Beasts Game Log
|
|||
desc: A catalogue of my Cassette Beasts characters and save profiles.
|
||||
tags: cassette beasts shrine page
|
||||
toc: true
|
||||
templateEngineOverride: njk, md
|
||||
eleventyNavigation:
|
||||
key: Cassette Beasts Game Log
|
||||
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."
|
||||
tags: kotor shrine page
|
||||
categories: ["star wars kotor", "star wars kotor 2"]
|
||||
templateEngineOverride: njk, md
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
key: KotOR Universes
|
||||
|
|
Loading…
Reference in New Issue