mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02: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