Files
vladfaust.github.io/index.pug
2020-08-28 16:17:27 +03:00

27 lines
525 B
Plaintext

---
eleventyExcludeFromCollections: true
pagination:
data: collections.all
size: 2
---
doctype html
html(lang='en')
head
include /head.pug
//- Styles
link(rel='stylesheet', href='/public/styles/index.css')
body
include /header.pug
main
h2 Recent posts
ul.posts
each post in collections.all.reverse().filter((post) => !post.data.hidden)
li
span.date= post.date.toDateString()
a.title(href=post.url)= post.data.title
include /footer.pug