According to documentation lookup order is following:
/layouts/section/<TYPE>-baseof.html
/themes/<THEME>/layouts/section/<TYPE>-baseof.html
/layouts/<TYPE>/baseof.html
/themes/<THEME>/layouts/<TYPE>/baseof.html
/layouts/section/baseof.html
/themes/<THEME>/layouts/section/baseof.html
/layouts/_default/<TYPE>-baseof.html
/themes/<THEME>/layouts/_default/<TYPE>-baseof.html
/layouts/_default/baseof.html
/themes/<THEME>/layouts/_default/baseof.html
I have following files in my blog folder:
➜ new-blog $ find . -name '*baseof*'
./layouts/_default/baseof.html
./themes/beg/layouts/_default/baseof.html
I’m debugging server with hugo server -w
command and see what changes I’ve made to template (./layouts/_default/baseof.html
file) are not propagated to blog main page, it still uses ./themes/beg/layouts/_default/baseof.html
.
Could someone please help me troubleshoot that behavior?