-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leap Day Theme: title issue #59
Comments
Hi @SarctiannI looked into the issue and the only correct solution currently is to "create a custom layout", this is ultra easy and can be done in 1min.
In you want to remove these changes to get back the original behaviour, simply delete the "_layout/" folder (that normally contains the "default.html" file we created. For advanced usersIf you want to understand the issue, this is due to the parsing of the "index.md" file, when parsed the first header title is use to set the Why not creating a merge request to fix this issue ?Currently pages aren't Github priority so current merge request seems to be not checked and merged by maintainers. ConclusionYes there is something weird in the way the HTML of the page template is done, the documentation here is not correct, the theme don't respect the following variables by default. |
Second / altermative solutionThere is an other solution, maybe simpler. You can use front matter YAML syntax to "force" the title you want by editing your "index.md". Find more details on the comment I made here. |
forced to use yaml front matter, so that my given title is shown in the page pages-themes/leap-day#59
I already set my "title" in _config.yml but the theme shows my first Header
The text was updated successfully, but these errors were encountered: