~rostiger/anchors

Anchors is my personal website, assistant and wiki
Updated reading list

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~rostiger/anchors
read/write
git@git.sr.ht:~rostiger/anchors

You can also use your local clone with git send-email.

#Anchors

This is the repository for my personal website, project archive, journal and wiki Anchors. Anchors is a static website written in markup and generated with 11ty using Nunjuck templates.

The website uses the following plugins:

#Modifications of plugin eleventyNavigation

This website uses a modified version of the eleventyNavigation plugin. Instead of using the keyword eleventyNavigation in the front matter, it uses a shortened navi keyword.

The plugin is forked locally and stored in src/_includes/navi/. The package.json file references the local dependency.

The changes to the original plugin are:

#node_modules/@11ty/eleventy-navigation/eleventy-navigation.js

At lines 6 and 7 change entry.data.eleventyNavigation to entry.data.navi:

		if(entry.data && entry.data.navi) {
	    	let nav = entry.data.navi;

#node_modules/@11ty/eleventy-navigation/.eleventy.js

At lines 5, 6 and 7 change eleventyNavigation to navi:

eleventyConfig.addNunjucksFilter("navi", EleventyNavigation.findNavigationEntries);
  eleventyConfig.addNunjucksFilter("naviBreadcrumb", EleventyNavigation.findBreadcrumbEntries);
  eleventyConfig.addNunjucksFilter("naviToHtml", function(pages, options) {

#License

The main branch is the live version.

The assets and text content is under the BY-NC-SA4.0 License.