The New Beginnings
This commit is contained in:
26
index.pug
Normal file
26
index.pug
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user