From 7ec514b4b0cfbad5def74ca5129c26b3e2dd71c2 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sat, 20 Mar 2021 15:55:46 -0700 Subject: [PATCH] Clean up the main site nav --- _data/pages.yml | 11 ++++++----- _includes/pages.html | 9 ++++++++- _sass/header.scss | 1 - 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/_data/pages.yml b/_data/pages.yml index d2ac5fb..e284cd9 100644 --- a/_data/pages.yml +++ b/_data/pages.yml @@ -1,6 +1,7 @@ pages: - - {name: 'About', url: 'about.html'} - - {name: 'Tags', url: 'categories'} - - {name: 'Feed', url: 'atom.xml'} - - {name: 'Microblog', url: 'microblog.xml'} - - {name: 'Gopher', url: 'gopher://gopher.brokenco.de/'} + - {name: 'About', url: '/about.html'} + - {name: 'Tags', url: '/categories'} + - {name: 'Gopher Site', url: 'gopher://gopher.brokenco.de/'} + - {name: 'Posts', url: '/atom.xml'} + - {name: 'Microblog', url: '/microblog.xml'} + - {name: 'Podcast Picks', url: '/podcast-picks.xml'} diff --git a/_includes/pages.html b/_includes/pages.html index a2a7ed6..0ffa892 100644 --- a/_includes/pages.html +++ b/_includes/pages.html @@ -1,3 +1,10 @@ {% for item in site.data.pages.pages %} {{ item.name }} -{% endfor %} \ No newline at end of file +{% if item.url contains ".xml" %} +RSS +{% endif %} +   +{% endfor %} diff --git a/_sass/header.scss b/_sass/header.scss index 3adf2a9..f97ac42 100644 --- a/_sass/header.scss +++ b/_sass/header.scss @@ -44,7 +44,6 @@ header{ color: black; } a{ - text-decoration: none; color: $base; font-family: 'PT Serif', serif; margin-right: 3px;