about summary refs log tree commit diff stats
path: root/internal/builder/homepage.templ
diff options
context:
space:
mode:
authorAlan Pearce2024-06-19 13:51:24 +0200
committerAlan Pearce2024-06-19 14:10:44 +0200
commit8002766378b1153e749297ed1d01ba221ee72b41 (patch)
tree070039ee0b76ea576791418f72e76e95c2c5e7ab /internal/builder/homepage.templ
parent45a2e290aa2bc59deb5971255accba517500cc25 (diff)
downloadwebsite-8002766378b1153e749297ed1d01ba221ee72b41.tar.lz
website-8002766378b1153e749297ed1d01ba221ee72b41.tar.zst
website-8002766378b1153e749297ed1d01ba221ee72b41.zip
style external nav menu links
Diffstat (limited to 'internal/builder/homepage.templ')
-rw-r--r--internal/builder/homepage.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/homepage.templ b/internal/builder/homepage.templ
index df5bc32..848b9ed 100644
--- a/internal/builder/homepage.templ
+++ b/internal/builder/homepage.templ
@@ -33,7 +33,7 @@ templ homepage(config config.Config, posts []content.Post, content string) {
 				</li>
 				for _, link := range config.Menus["me"] {
 					<li>
-						<a class="u-url" rel="me" href={ templ.SafeURL(link.URL) }>{ link.Name }</a>
+						<a class="u-url" rel="me" href={ templ.SafeURL(link.URL.String()) }>{ link.Name }</a>
 					</li>
 				}
 			</ul>