Fix Learn theme addition to git
This commit is contained in:
6
themes/learn/layouts/_default/baseof.html
Normal file
6
themes/learn/layouts/_default/baseof.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
16
themes/learn/layouts/_default/list.html
Normal file
16
themes/learn/layouts/_default/list.html
Normal file
@ -0,0 +1,16 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ if eq .Kind "section" }}
|
||||
{{ .Content }}
|
||||
{{end}}
|
||||
|
||||
<!-- <ul>
|
||||
{{ range .Pages }}
|
||||
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
-->
|
||||
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
|
||||
{{end}}
|
||||
|
||||
{{ end }}
|
11
themes/learn/layouts/_default/single.html
Normal file
11
themes/learn/layouts/_default/single.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<footer class="footline">
|
||||
{{with .Params.LastModifierDisplayName}}
|
||||
<i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{with $.Date}} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
</footer>
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user