diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
commit | 89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972 (patch) | |
tree | 1b0d0d4bae1bc3082483489aa1cfd7c22eac76225e16b186227b3af216174ade /layouts/index.html | |
parent | 308be70ca86f4b3450c07f4f7cf30c3217deaea96eff89ecbfb31a1fdef18e05 (diff) | |
download | hugo-theme-journal-89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972.tar.gz hugo-theme-journal-89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972.zip |
Complete overhaul of the CSS
I made it as BEM-compliant as I could. Making it fully BEM-compliant is
impossible since Hugo doesn't have HTML render hooks for certain tags.
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index a56996d..72b0e05 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,9 +4,9 @@ <p>{{ .Site.Params.indexIntro }}</p> <h2>Navigation Links</h2> <nav> - <ul> + <ul class="list"> {{- range .Site.Menus.main }} - <li class="navlink"><a href="{{ .URL }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Name }}</a></li> + <li class="list__item"><a class="link" href="{{ .URL }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Name }}</a></li> {{- end }} </ul> </nav> |