first commit

This commit is contained in:
Jerry
2019-06-04 22:37:36 +08:00
commit 1357f218e5
102 changed files with 7015 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
mixin articleSort(posts)
.article-sort
- var year
- posts.each(function (article) {
- var tempYear = date(article.date, 'YYYY')
if tempYear !== year
- year = tempYear
.article-sort-item.year= year
.article-sort-item
time.article-sort-item__time= date(article.date)
a.article-sort-item__title(href=url_for(article.path))= article.title || 'No Title'
- })