Dwelling/homepage/views/mindflow.pug

36 lines
1.3 KiB
Plaintext

extends base.pug
block head
link(href='/assets/css/mindflow.css' rel='stylesheet')
script(src='/assets/js/mindflow.js' defer='')
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. :)
section#filter.hidden
p.center
button(name='all') All
button(name='update') Updates
button(name='diary') Diary
section
if (posts)
each post in posts
article(id=`${post.category.toLowerCase()}-${date_id(post.date, tz)}`)
header
a(href=`#${post.category.toLowerCase()}-${date_id(post.date, tz)}`)
h3= `${post.category}: ${post.title}`
each line in post.body.split('\n')
p!= line
footer
time(datetime=post.date)= date_(post.date, tz)
else
p.center Nothing? There must be some... Looks like database went down.