mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 17:12:27 +00:00
Switch themes to minimo
This commit is contained in:
25
themes/minimo/layouts/taxonomy/author.terms.html
Normal file
25
themes/minimo/layouts/taxonomy/author.terms.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{{- $lang := ( $.Params.lang | default $.Lang ) -}}
|
||||
|
||||
{{ partial "header" . }}
|
||||
|
||||
{{ partial "header/header" . }}
|
||||
|
||||
<div class='container list-container'>
|
||||
<ul class='list'>
|
||||
{{ range .Data.Terms.Alphabetical }}
|
||||
{{- $author := ( index $.Site.Data.authors .Name ) -}}
|
||||
{{- $data := ( or ( index $author $lang ) $author ) -}}
|
||||
{{- $name := $data.name -}}
|
||||
<li class='item'>
|
||||
<h2 class='item-title'>
|
||||
{{- partial "svg/icon" "author" -}}
|
||||
<a href='{{ ( print "authors" "/" ( .Name | urlize ) ) | relLangURL }}'>
|
||||
{{- $name.display -}}
|
||||
</a>
|
||||
</h2>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ partial "footer" . }}
|
19
themes/minimo/layouts/taxonomy/series.html
Normal file
19
themes/minimo/layouts/taxonomy/series.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ partial "header" . }}
|
||||
|
||||
{{ partial "header/header" . }}
|
||||
|
||||
{{ if .Content }}
|
||||
<div class='entry'>
|
||||
{{ partial "entry/content" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class='container list-container'>
|
||||
<ul class='list'>
|
||||
{{ range .Data.Pages.ByDate }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ partial "footer" . }}
|
Reference in New Issue
Block a user