first commit
This commit is contained in:
commit
379b9d1a62
24 files changed
+3828
No files matched your search
@@ -0,0 +1,21 @@
|
||||
extends layout.pug
|
||||
block head
|
||||
if tag
|
||||
- tagName = tag[0].toUpperCase() + tag.slice(1)
|
||||
- title= `${tagName} | ${title}`
|
||||
if paginator && paginator.current > 1
|
||||
- title = `Page ${paginator.current} | ${title}`
|
||||
title= title
|
||||
block content
|
||||
if tag
|
||||
h1.tag= tagName
|
||||
if content
|
||||
article.page!= content
|
||||
else if posts
|
||||
- let now = new Date()
|
||||
each post in posts
|
||||
if new Date(post.date) < now
|
||||
+post(post)
|
||||
include paginator
|
||||
else
|
||||
include includes/empty
|
||||
Reference in new issue
Block a user