diff options
author | Starfall <us@starfall.systems> | 2023-05-17 23:48:16 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-05-24 12:51:23 -0500 |
commit | 1df389da097411e437aa33aa104132bc593e1ed4 (patch) | |
tree | 73436a20e5431f8a993c0ab700b21da52e9290ec /src | |
parent | 59b4b8a05c0db82ffec953f0e2e6e484c6e74b45 (diff) |
feature: use eleventyNavigation plugin for nav
Diffstat (limited to 'src')
-rw-r--r-- | src/blog.njk | 5 | ||||
-rw-r--r-- | src/git-link.md | 8 | ||||
-rw-r--r-- | src/index.html | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/blog.njk b/src/blog.njk index 84c6f03..4d8dfab 100644 --- a/src/blog.njk +++ b/src/blog.njk @@ -1,10 +1,15 @@ --- layout = "base.njk" + [pagination] data = "collections.post" alias = "posts" size = 20 reverse = true + +[eleventyNavigation] +key = "Blog" +order = 1 --- {% for post in posts %} <article class=blogpost> diff --git a/src/git-link.md b/src/git-link.md new file mode 100644 index 0000000..29d327d --- /dev/null +++ b/src/git-link.md @@ -0,0 +1,8 @@ +--- +permalink = false + +[eleventyNavigation] +key = "Git" +url = "https://git.starfall.systems" +order = 2 +--- diff --git a/src/index.html b/src/index.html index 1af2fb6..8cef046 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,7 @@ --- title = "starfall.systems" layout = "base.njk" +eleventyNavigation.key = "Home" --- Hello, World! |