first commit

This commit is contained in:
patarapolw committed 2019-08-12 01:13:27 +07:00
commit 379b9d1a62
24 files changed
+3828

No files matched your search

+21
View File
@@ -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