repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
7136be1
parent
870cca0
author
Eric Bower
date
2023-03-15 05:15:10 +0000 UTC
style: nav links
2 files changed,  +13, -9
M lists/html/blog-aside.partial.tmpl
+7, -5
 1@@ -53,12 +53,14 @@
 2         {{end}}
 3 
 4         <nav>
 5-            {{range .Header.Nav}}
 6-                {{if .IsURL}}
 7-                <a href="{{.URL}}" class="text-md">{{.Value}}</a> ·
 8+            <ul>
 9+                {{range .Header.Nav}}
10+                    {{if .IsURL}}
11+                    <li><a href="{{.URL}}" class="text-md">{{.Value}}</a></li>
12+                    {{end}}
13                 {{end}}
14-            {{end}}
15-            <a href="{{.RSSURL}}" class="text-md">rss</a>
16+                <li><a href="{{.RSSURL}}" class="text-md">rss</a></li>
17+            </ul>
18         </nav>
19     </aside>
20 </main>
M prose/html/blog-aside.partial.tmpl
+6, -4
 1@@ -44,10 +44,12 @@
 2         </section>
 3         {{end}}
 4         <nav>
 5-            {{range .Header.Nav}}
 6-            <a href="{{.URL}}" class="text-md">{{.Text}}</a> ·
 7-            {{end}}
 8-            <a href="{{.RSSURL}}" class="text-md">rss</a>
 9+            <ul>
10+                {{range .Header.Nav}}
11+                <li><a href="{{.URL}}" class="text-md">{{.Text}}</a></li>
12+                {{end}}
13+                <li><a href="{{.RSSURL}}" class="text-md">rss</a></li>
14+            </ul>
15         </nav>
16     </aside>
17 </main>