Update theme and content
This commit is contained in:
parent
76ed4205b9
commit
d4db9d25ed
126 changed files with 2131 additions and 4 deletions
25
themes/crab/layouts/_default/list.html
Normal file
25
themes/crab/layouts/_default/list.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{ range sort .Paginator.Pages }}
|
||||
<div id="paginator-page">
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<div class="content">
|
||||
{{ .Summary | plainify | safeHTML }}
|
||||
...
|
||||
<div id="paginator-page-footer">
|
||||
{{ if not .Date.IsZero }}
|
||||
<p class="timestamp">{{ .Date.Format "02-01-2006" }}</p>
|
||||
{{ end }}
|
||||
<div id="paginator-page-button">
|
||||
<a href="{{ .Permalink }}">{{ i18n "readMore" }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ if .Params.tags }}
|
||||
{{ partial "tags" .Params.tags }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
9
themes/crab/layouts/_default/single.html
Normal file
9
themes/crab/layouts/_default/single.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ if not .Date.IsZero }}
|
||||
<p class="timestamp">{{ .Date.Format "02-01-2006" }}</p>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
{{ if .Params.tags }}
|
||||
{{ partial "tags" .Params.tags }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue