source for sakino.kelbie.scot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
{{ define "main" }} <section class="archive"> <section class="archive-listing"> <span class="list-title">{{if eq .Name "Category"}}Categories{{ else }}{{ humanize .Name }}{{ end }}<a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></span> {{ range .Pages }} {{ if eq .Type "note"}} <ul class="listing"> <li class="post h-feed contents"> <span class="archive_content h-entry entry"> <span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "2 Jan 2006 15:04 GMT" }}</time></a></span> <span class="headline">{{ range .Params.category }} {{ if eq . "1"}}<h1><i class="fa fa-television" aria-hidden="true" title="Documentary note"></i> Documentary note</h1>{{ end }} {{ if eq . "2"}}<h1><i class="fa fa-book" aria-hidden="true" title="Reading note"></i> Reading note</h1>{{ end }} {{ if eq . "3"}}<h1><i class="fa fa-pencil-square-o" aria-hidden="true" title="TODO note"></i> TODO note</h1>{{ end }} {{ if eq . "4"}}<h1><i class="fa fa-cutlery" aria-hidden="true" title="TODO note"></i> Cooking note</h1>{{ end }} {{ if eq . "5"}}Test{{ end }} {{ if eq . "6"}}Test{{ end }} {{ end }}</span> <section class="p-name e-content">{{ .Content }}</section> <section class="info"> <span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><br/> </section> </span> </li> </ul> {{ end }}{{ end }} {{if eq .Page.Permalink "https://sakino.kelbie.scot/category/"}} <ul class="listing"> {{ range .Site.Taxonomies.category }} {{if not (in (slice "1" "2" "3" "4" "5") .Page.Title )}}<li class="list-without-title"><a href="{{ .Page.Permalink }}">{{ humanize .Page.Title }}</a></li>{{ end }}{{ end }} </ul>{{ end }} </section> </section> {{ end }}
|