2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 00:32:03 +00:00

fix: links for sidebar

This commit is contained in:
sammyette 2025-06-18 18:08:19 -04:00
parent b02c521ff5
commit 06d191f09a
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -7,6 +7,7 @@ import lustre/element
import lustre/element/html
import lustre/ssg/djot
import conf
import jot
import post
@ -50,7 +51,7 @@ pub fn page(p: post.Post, doc_pages_list) -> element.Element(a) {
[],
list.map(doc_pages_list, fn(post: #(String, post.Post)) {
html.li([attribute.class("mb-2")], [
html.a([attribute.href(post.0)], [
html.a([attribute.href(conf.base_url_join(post.0))], [
element.text({ post.1 }.title),
]),
])