mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 06:15:22 -04:00
Add more links to partial templates page
This commit is contained in:
parent
9b5fac0bcb
commit
c022b4bb44
@ -22,7 +22,7 @@ In practice, splitting out reusable template portions into **partial templates**
|
|||||||
|
|
||||||
## Partial Template Lookup Order
|
## Partial Template Lookup Order
|
||||||
|
|
||||||
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`
|
||||||
@ -169,6 +169,7 @@ The following `footer.html` partial template is used for [spf13.com](http://spf1
|
|||||||
[disqus]: https://disqus.com
|
[disqus]: https://disqus.com
|
||||||
[disqussignup]: https://disqus.com/profile/signup/
|
[disqussignup]: https://disqus.com/profile/signup/
|
||||||
[listtemps]: /templates/lists/
|
[listtemps]: /templates/lists/
|
||||||
|
[lookup order]: /templates/lookup-order/
|
||||||
[partialcached]: /functions/partialcached/
|
[partialcached]: /functions/partialcached/
|
||||||
[singletemps]: /templates/single-page-templates/
|
[singletemps]: /templates/single-page-templates/
|
||||||
[themes]: /themes/
|
[themes]: /themes/
|
Loading…
x
Reference in New Issue
Block a user