mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-11 07:04:43 -04:00
Update partials.md
This commit is contained in:
parent
a9584e3d14
commit
d7e9a08782
@ -19,7 +19,7 @@ aliases: [/templates/partial/,/layout/chrome/,/extras/analytics/]
|
|||||||
Partial templates---like [single page templates][singletemps] and [list page templates][listtemps]---have a specific [lookup order]. However, partials are simpler in that Hugo will only check in two places:
|
Partial templates---like [single page templates][singletemps] and [list page templates][listtemps]---have a specific [lookup order]. However, partials are simpler in that Hugo will only check in two places:
|
||||||
|
|
||||||
1. `layouts/partials/*<PARTIALNAME>.html`
|
1. `layouts/partials/*<PARTIALNAME>.html`
|
||||||
2. `themes/<THEME>/layouts/partials/*<PARTIALNAME>.html`
|
2. `themes/<THEME>/layouts/partials/<PARTIALNAME>.html`
|
||||||
|
|
||||||
This allows a theme's end user to copy a partial's contents into a file of the same name for [further customization][customize].
|
This allows a theme's end user to copy a partial's contents into a file of the same name for [further customization][customize].
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user