Add blog posts (+ write first one)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<section>
|
||||
<hr>
|
||||
|
||||
{{ range (where .Site.RegularPages "Type" "in" "posts") }}
|
||||
<h3>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ .Date | time.Format "(2006-01-02)" }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<hr>
|
||||
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h3>{{ .Date | time.Format "2006-01-02" }}</h3>
|
||||
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user