Added post template
This commit is contained in:
parent
f977d4541e
commit
3d658f2c5c
3 changed files with 9 additions and 2 deletions
|
@ -5,4 +5,4 @@ Here is the template of my blog, released under the MIT license.
|
||||||
Format Date for Posts like here
|
Format Date for Posts like here
|
||||||
https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
|
https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table
|
||||||
|
|
||||||
The main branch is the template and the nikus-blog branch is the template with my content.
|
The Blog needs at least one post to compile sucessfully, because of that, there is already a template.md in `source/_posts`
|
1
source/_posts/.gitignore
vendored
1
source/_posts/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
*.md
|
*.md
|
||||||
|
!template.md
|
6
source/_posts/template.md
Normal file
6
source/_posts/template.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
extends: _layouts.post
|
||||||
|
title: Template
|
||||||
|
date: 2017-03-23
|
||||||
|
---
|
||||||
|
A basic post is looking like this
|
Loading…
Reference in a new issue