mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 18:21:15 +00:00
Refactored template code
This commit is contained in:
parent
b28e531f9f
commit
c3e09727a6
20 changed files with 332 additions and 395 deletions
|
@ -1,10 +1,12 @@
|
|||
{{ define "main"}}
|
||||
{{ define "main" }}
|
||||
{{ partial "header.html" . }}
|
||||
<!-- content -->
|
||||
<main>
|
||||
<div id="contentBody">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<main class="h-entry">
|
||||
{{ .Scratch.Set "beforeDateString" "Published on "}}
|
||||
{{ partial "date.html" . }}
|
||||
<div class="e-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue