mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-28 09:12:37 +00:00
Abstract the type in the lookup order
The _default pieces still had a concrete type of "post".
This commit is contained in:
committed by
digitalcraftsman
parent
4e1e43e9ca
commit
85aad56e38
@@ -31,8 +31,8 @@ The [lookup order][lookup] for base templates is as follows:
|
||||
4. `/themes/<THEME>/layouts/<TYPE>/baseof.html`
|
||||
5. `/layouts/section/baseof.html`
|
||||
6. `/themes/<THEME>/layouts/section/baseof.html`
|
||||
7. `/layouts/_default/post-baseof.html`
|
||||
8. `/themes/<THEME>/layouts/_default/post-baseof.html`
|
||||
7. `/layouts/_default/<TYPE>-baseof.html`
|
||||
8. `/themes/<THEME>/layouts/_default/<TYPE>-baseof.html`
|
||||
9. `/layouts/_default/baseof.html`
|
||||
10. `/themes/<THEME>/layouts/_default/baseof.html`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user