Added a database
This commit is contained in:
parent
ebaec3d296
commit
8136655336
35 changed files with 925 additions and 134 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{ range .Posts }}
|
||||
{{ if .Meta.Title }}<h3>{{ .Meta.Title }}</h3>{{ end }}
|
||||
{{ if .Post.Title }}<h3>{{ .Post.Title }}</h3>{{ end }}
|
||||
{{ .HTML }}
|
||||
<a href="{{ url_abs .Path }}">{{ format_date .Meta.Date }}</a>
|
||||
<a href="{{ url_abs .Path }}">{{ format_date .Post.PublishedAt }}</a>
|
||||
{{ end }}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{{ if .Meta.Title }}<h3>{{ .Meta.Title }}</h3>{{ end }}
|
||||
{{ if .Post.Title }}<h3>{{ .Post.Title }}</h3>{{ end }}
|
||||
{{ .HTML }}
|
||||
<a href="{{ url_abs .Path }}">{{ format_date .Meta.Date }}</a>
|
||||
<a href="{{ url_abs .Path }}">{{ format_date .Post.PublishedAt }}</a>
|
||||
Loading…
Add table
Add a link
Reference in a new issue