add page titles, auto set navigation key

This commit is contained in:
Lyn Fugmann 2024-09-13 18:21:13 +02:00
parent 49d63dea6d
commit 5dff188fa4
9 changed files with 13 additions and 16 deletions

View file

@ -1,3 +1,8 @@
---
eleventyComputed:
eleventyNavigation:
key: "{{ title }}"
---
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Accessibility
key: Accessibility
tags: footerNav tags: footerNav
--- ---
# Accessibility # Accessibility

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Campus & Faculty
key: Campus & Faculty
tags: mainNav tags: mainNav
--- ---
# Campus & Faculty # Campus & Faculty

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: FAQ
key: FAQ
tags: mainNav tags: mainNav
--- ---
# Frequently Asked Questions # Frequently Asked Questions

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: First Steps
key: First Steps
tags: mainNav tags: mainNav
--- ---
# First Steps # First Steps

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Community Guidelines
key: Community Guidelines
tags: footerNav tags: footerNav
--- ---
# Community Guidelines # Community Guidelines

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Imprint
key: Imprint
tags: footerNav tags: footerNav
--- ---
# Imprint # Imprint

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Privacy
key: Privacy
tags: footerNav tags: footerNav
--- ---
# Privacy Policy # Privacy Policy

View file

@ -1,7 +1,6 @@
--- ---
layout: page.njk layout: page.njk
eleventyNavigation: title: Program
key: Program
tags: mainNav tags: mainNav
--- ---
# Program # Program