mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
add blog article template
This commit is contained in:
parent
2b6af02d8e
commit
0eadfb7cc1
2 changed files with 8 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -4,6 +4,6 @@ _blog
|
||||||
assets/*.min.js
|
assets/*.min.js
|
||||||
assets/*.min.css
|
assets/*.min.css
|
||||||
discussd/discuss.dirty
|
discussd/discuss.dirty
|
||||||
blog
|
^blog$
|
||||||
proj
|
proj
|
||||||
node_modules
|
node_modules
|
||||||
|
|
|
||||||
7
templates/blog/article.mustache
Normal file
7
templates/blog/article.mustache
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1><a href="{{filename}}">{{title}}</a></h1>
|
||||||
|
<time>{{date}}</time>
|
||||||
|
</header>
|
||||||
|
{{{body}}}
|
||||||
|
</article>
|
||||||
Loading…
Reference in a new issue