This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/article.pug
2017-08-24 13:52:12 +03:00

25 lines
464 B
Plaintext

extends layout.pug
block title
if article
|Icy Network - News - #{article.title}
else
|Icy Network - News - 404
block body
.document
.content
if !article
span.error No such article
else
.article
.title= article.title
.author Published by
span #{article.author.display_name}
|at
.timestamp #{new Date(article.created_at)}
.content!= article.content
.return
a(href="/news") Back to news directory