Dwelling/homepage/views/mindflow.pug

30 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-02-10 01:01:50 +04:00
extends base.pug
block head
link(href='/assets/css/mindflow.css' rel='stylesheet')
block nav
nav
a(href='/') Home
a(href='/stuff') Stuff
a(href='/about') About
a(href='/guestbook') Guestbook
h1 Mindflow
block content
p.center Here I post updates on websites and infrastructure, my very important opinions and thoughts no one asked for. If you'd like to subscribe to this bullshittery then #[a(href="rss.xml") RSS feed] at your service. :)
2021-02-10 01:01:50 +04:00
section
if (posts)
each post in posts
article(id=`${post.category.toLowerCase()}-${date_id(post.date, tz)}`)
2021-02-10 01:01:50 +04:00
header
a(href=`#${post.category.toLowerCase()}-${date_id(post.date, tz)}`)
h3= `${post.category}: ${post.title}`
each line in post.body.split('\n')
2021-02-10 01:01:50 +04:00
p!= line
footer
time(datetime=post.date)= date_(post.date, tz)
2021-02-10 01:01:50 +04:00
else
p.center Nothing? There must be some... Looks like database went down.