Add feedback banner and update rockspec
This commit is contained in:
parent
dbabccdfd4
commit
342e570f2f
2 changed files with 18 additions and 7 deletions
|
@ -9,15 +9,15 @@ description = {
|
||||||
}
|
}
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"arrr ~> 2.2",
|
"arrr ~> 2.2",
|
||||||
"glass ~> 1.3.0",
|
"glass ~> 1.3",
|
||||||
"cmark ~> 0.29",
|
"cmark ~> 0.29",
|
||||||
"fun ~> 0.1.3",
|
"fun ~> 0.1",
|
||||||
"lua-cjson ~> 2.1",
|
"lua-cjson ~> 2.1",
|
||||||
"restia",
|
"restia",
|
||||||
"scaffold ~> 1.1.0",
|
"scaffold ~> 1.1",
|
||||||
"shapeshift ~> 1.1.0",
|
"shapeshift ~> 1.1",
|
||||||
"skooma ~> 0.3",
|
"skooma",
|
||||||
"streamcsv ~> 1.1.0",
|
"streamcsv ~> 1.1",
|
||||||
}
|
}
|
||||||
build = {
|
build = {
|
||||||
type = "builtin",
|
type = "builtin",
|
||||||
|
|
|
@ -37,7 +37,18 @@ if src = post.head.cover_image
|
||||||
else
|
else
|
||||||
slots.title h1(post.head.title, style: "view-transition-name: #{post.head.slug}")
|
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 (=>@)
|
return (=>@)
|
||||||
|
* slots.banner
|
||||||
* article
|
* article
|
||||||
* slots.title
|
* slots.title
|
||||||
* nav { class: "breadcrumbs" }
|
* nav { class: "breadcrumbs" }
|
||||||
|
@ -45,4 +56,4 @@ return (=>@)
|
||||||
* li a "Blog", href: url "/"
|
* li a "Blog", href: url "/"
|
||||||
* [ breadcrumb post.head.uri\sub(1, number-1) for number in positions(post.head.uri, "/") ]
|
* [ breadcrumb post.head.uri\sub(1, number-1) for number in positions(post.head.uri, "/") ]
|
||||||
* li post.head.title, class: 'active'
|
* li post.head.title, class: 'active'
|
||||||
* post.body
|
* raw post.body
|
||||||
|
|
Loading…
Reference in a new issue