Add feedback banner and update rockspec

This commit is contained in:
Talia 2023-08-28 10:52:19 +02:00
parent dbabccdfd4
commit 342e570f2f
2 changed files with 18 additions and 7 deletions

View file

@ -9,15 +9,15 @@ description = {
}
dependencies = {
"arrr ~> 2.2",
"glass ~> 1.3.0",
"glass ~> 1.3",
"cmark ~> 0.29",
"fun ~> 0.1.3",
"fun ~> 0.1",
"lua-cjson ~> 2.1",
"restia",
"scaffold ~> 1.1.0",
"shapeshift ~> 1.1.0",
"skooma ~> 0.3",
"streamcsv ~> 1.1.0",
"scaffold ~> 1.1",
"shapeshift ~> 1.1",
"skooma",
"streamcsv ~> 1.1",
}
build = {
type = "builtin",

View file

@ -37,7 +37,18 @@ if src = post.head.cover_image
else
slots.title h1(post.head.title, style: "view-transition-name: #{post.head.slug}")
slots.banner aside class: { 'box' }
* b "Hey there!"
* p raw [[
This blog doesn't use any tracking. When you open this page, I don't see
a number going up anywhere, so if you like this post, please consider
letting me know on <a href="https://tech.lgbt/@darkwiiplayer">the fediverse</a>!
This is also the best way of giving any other feedback on my blog posts.
]]
* p i "Thank you."
return (=>@)
* slots.banner
* article
* slots.title
* nav { class: "breadcrumbs" }
@ -45,4 +56,4 @@ return (=>@)
* li a "Blog", href: url "/"
* [ breadcrumb post.head.uri\sub(1, number-1) for number in positions(post.head.uri, "/") ]
* li post.head.title, class: 'active'
* post.body
* raw post.body