Fix Learn theme addition to git

This commit is contained in:
Guillaume
2023-05-24 18:17:12 +02:00
parent 56f3665299
commit 8abec325d5
239 changed files with 10525 additions and 1 deletions

View File

@ -0,0 +1,6 @@
{{ partial "header.html" . }}
{{ block "main" . }}
{{ end }}
{{ partial "footer.html" . }}

View 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 }}

View 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 }}