diff --git a/src/archive/archive.11tydata.json b/src/archive/archive.11tydata.json index ca5a0dad..67413777 100644 --- a/src/archive/archive.11tydata.json +++ b/src/archive/archive.11tydata.json @@ -1,5 +1,10 @@ { "tags": "archive", "layout": "main/content", - "permalink": "/{{ page.fileSlug }}/" + "permalink": "/{{ page.fileSlug }}/", + "eleventyComputed":{ + "eleventyNavigation":{ + "key": "{{ title }}" + } + } } \ No newline at end of file diff --git a/src/articles/articles.11tydata.json b/src/articles/articles.11tydata.json index 5a332057..35908a43 100644 --- a/src/articles/articles.11tydata.json +++ b/src/articles/articles.11tydata.json @@ -2,6 +2,10 @@ "tags": ["articles", "contents", "feed items"], "layout": "main/article", "eleventyComputed": { - "title": "{{ articleTitle }} | Articles" + "title": "{{ articleTitle }} | Articles", + "eleventyNavigation": { + "key": "{{ articleTitle }}", + "parent": "Articles" + } } } \ No newline at end of file diff --git a/src/blog/posts.njk b/src/blog/posts.njk index bff2c74f..848ca9d0 100644 --- a/src/blog/posts.njk +++ b/src/blog/posts.njk @@ -4,6 +4,9 @@ layout: main/content tags: blog pages eleventyComputed: desc: Archive of blog posts on {{ sitemeta.siteName | safe }} +eleventyNavigation: + key: Blog Archive + parent: Blog ---