Refactor templates and partials
This commit is contained in:
@@ -1 +1,9 @@
|
||||
{{ define "." }} {{ end }}
|
||||
{{ define "main" }}
|
||||
<article class="markdown">
|
||||
{{- .Content -}}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ define "toc" }}
|
||||
{{ partial "docs/toc" . }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user