diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-07 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-07 00:00:00 +0000 |
commit | f1ae34beda32d80198919ba473997215715c1a6c7b1cce6dd3cb0811d0c95833 (patch) | |
tree | 70a7e5f63436f7a650f3f1208cdb29164f53462d74672004c77b0f71815e1a22 /layouts/index.html | |
parent | 076d4192afd7efa39def78ba0b01956aaa46e804894009d77f06300b8bb4a8d5 (diff) | |
download | hugo-theme-journal-f1ae34beda32d80198919ba473997215715c1a6c7b1cce6dd3cb0811d0c95833.tar.gz hugo-theme-journal-f1ae34beda32d80198919ba473997215715c1a6c7b1cce6dd3cb0811d0c95833.zip |
Space out nav links for mobile devices
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index 02bf301..c98c1f2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,11 +4,11 @@ <p>{{ .Site.Params.indexIntro }}</p> <h2>Navigation Links</h2> <nav> - <p> + <ul> {{- range .Site.Menus.main }} - <a href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a><br> + <li class="navlink"><a href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a></li> {{- end }} - </p> + </ul> </nav> <h2>Journal Entries</h2> {{ partial "metadata.html" . -}} |