My website lesbian.skin
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add naomi/pages as submodule

+7 -3
+2 -1
.gitignore
··· 1 - build/ 1 + build/ 2 + out/
+3
.gitmodules
··· 1 + [submodule "pages"] 2 + path = pages 3 + url = git@codeberg.org:naomi/pages
+1 -1
src/build.gleam
··· 15 15 }) 16 16 17 17 let build = 18 - ssg.new("./pages") 18 + ssg.new("./out") 19 19 |> ssg.add_static_route("/", index.view()) 20 20 |> ssg.add_static_route("/blog", blog.view(posts.all())) 21 21 |> ssg.add_dynamic_route("/blog", posts, post.view)
+1 -1
src/website/page/blog.gleam
··· 21 21 ), 22 22 element.text("Author: " <> post.author), 23 23 ]), 24 - html.p([], [element.text(post.summary.children)]), 24 + // html.p([], [element.text(post.summary.children)]), 25 25 ]), 26 26 ]) 27 27 })