Dwelling/homepage/views/mindflow.pug

36 lines
1.3 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')
script(src='/assets/js/mindflow.js' defer='')
2021-02-10 01:01:50 +04:00
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#filter.hidden
p.center
button(name='all') All
button(name='update') Updates
button(name='diary') Diary
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.