mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Adding 'partial' template function to add theme / local awareness to the partials directory.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{{ template "partials/header.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
{{ .Content }}
|
||||
{{ template "partials/footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user