feat(): create list and single default layouts
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{{ partial "top.html" . }}
|
||||
<div class="articles-list">
|
||||
{{ range .Data.Pages }}
|
||||
<article>
|
||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a> - {{ dateFormat "01-02-2006 15:04:05" .Date }}</h3>
|
||||
{{ .Summary }}
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "bottom.html" . }}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{{ partial "top.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h4>Publié le {{ dateFormat "01-02-2006 15:04:05" .Date }}</h4>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ partial "bottom.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user