1
0
dwelling-home/web/templates/article.pug

27 lines
825 B
Plaintext
Raw Normal View History

2023-02-05 04:43:34 +04:00
extends base.pug
block meta_description
meta(name='description' content=description)
block append head
link(href='/assets/css/articles.css' rel='stylesheet')
2023-08-13 01:21:16 +04:00
link(rel='canonical' href='/stuff/article/'+canonical)
2023-02-05 04:43:34 +04:00
block nav
a(href='/') Home
a(href='/stuff') Stuff
a(href='/mindflow') Mindflow
a(href='/about') About
a(href='/guestbook') Guestbook
h1 Articles
block content
:go:func Article(title, description, body string, date time.Time, host, canonical string, r *http.Request)
article
header
h2= title
div.menu
a(href='/stuff#articles') Go back to articles list
- dctz := util.ToClientTimezone(date, r)
time(datetime=dctz.Format("2006-01-02")) #{dctz.Format("02 January 2006")}
2023-02-05 04:43:34 +04:00
| !{body}