Add first version of the site
This commit is contained in:
commit
0bbda99e9c
121 changed files with 17684 additions and 0 deletions
19
themes/hugo-coder/layouts/partials/list.html
Normal file
19
themes/hugo-coder/layouts/partials/list.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<section class="container list">
|
||||
<h1 class="title">
|
||||
{{- if eq .Kind "taxonomy" -}}
|
||||
{{- i18n .Data.Singular | title -}}
|
||||
{{- print ": " -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- .Title -}}
|
||||
</h1>
|
||||
<ul>
|
||||
{{ range .Paginator.Pages }}
|
||||
<li>
|
||||
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
|
||||
<a class="title" href="{{ .Params.ExternalLink | default .URL }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue