pytroll / pytroll.github.io

http://pytroll.github.io/
18 stars 10 forks source link

Fix custom theme files not being included #46

Closed djhoese closed 5 months ago

djhoese commented 1 year ago

I was annoyed that the anchors to the left of all the sections was no longer working. I spent way too much time trying to track it down. As best I can tell something in jekyll's theme behavior (gem-based themes) combined with our use of "remote themes" and then customizing those themes was no longer pulling in my custom _layouts/default.html. By copying the other theme files for home.html and page.html it now works.

My best guess is when the theme is loaded it is looking relative to the home and page layout files and pulling in the upstream default.html instead of my/our custom version.

This fixes the issue for now.