45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
|
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. If you'd like to subscribe to this bullshittery then #[a(href="rss.xml") RSS feed] at your service. :)
|
||
|
|
||
|
section
|
||
|
h2 Updates
|
||
|
if (updates)
|
||
|
each update in updates
|
||
|
article(id='update-'+mindflowDateToId(update.date))
|
||
|
header
|
||
|
a(href='#update-'+mindflowDateToId(update.date))
|
||
|
h3= update.title
|
||
|
each line in update.body.split('\n')
|
||
|
p!= line
|
||
|
footer
|
||
|
time(datetime=update.date)= date_(update.date)
|
||
|
else
|
||
|
p.center No updates? There must be some... Looks like database isn't connected.
|
||
|
section
|
||
|
h2 Diary
|
||
|
if (diary)
|
||
|
each entry in diary
|
||
|
article(id='diary-'+mindflowDateToId(entry.date))
|
||
|
header
|
||
|
a(href='#diary-'+mindflowDateToId(entry.date))
|
||
|
h3= entry.title
|
||
|
each line in entry.body.split('\n')
|
||
|
p!= line
|
||
|
footer
|
||
|
time(datetime=entry.date)= date_(entry.date)
|
||
|
else
|
||
|
p.center No records? Well, that's definitely something's wrong happened to the database. :(
|