Initial check-in after refactoring to use Hugo site generator with ReLearn template. HTTP Status Codes page not done--nor adwords added.
This commit is contained in:
11
themes/relearn/layouts/partials/article.html
Normal file
11
themes/relearn/layouts/partials/article.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- $content := .content }}
|
||||
{{- with .page }}
|
||||
<article{{if .Params.chapter}} class="chapter"{{end}}>
|
||||
|
||||
{{ if and (not .IsHome ) (not .Params.chapter) }}<h1>{{ .Title }}</h1>
|
||||
{{ end }}{{ $content | safeHTML }}
|
||||
<footer class="footline">
|
||||
{{- partial "content-footer.html" . }}
|
||||
</footer>
|
||||
</article>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user