-
Notifications
You must be signed in to change notification settings - Fork 11.5k
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
Fix titles and headings #204
Conversation
Thanks for the contribution. Which exact issue does this PR fix? |
To see the problem, try using the theme with title set as blank. |
@rogerthat94, thanks for pointing this out. Looks like the bug was introduced in this commit. If that's the case, then On a stylistic note, how about we switch from And thanks again for spotting this! |
We don't want to look for site.title being undefined. We want to check if it's specifically the string "blank" See Line 5 in 9229f7d
If you'd rather check |
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
* 'master' of https://github.com/alshedivat/al-folio: (35 commits) Fixes alshedivat#304. Fix bad horizontal template include (alshedivat#305) Adds support for image zoom (alshedivat#296) Fix project page colors (alshedivat#295) Added BibTeX hidden block (alshedivat#293) add dblp to social links (alshedivat#270) Fix for images (alshedivat#271) Added proper instructions in personal webpages (alshedivat#261) Added the Programming Group at HSG to labs (alshedivat#254) Categories for projects and an optional horizontal project card style (alshedivat#224) Change gitcdn link (alshedivat#234) Issue 183 (alshedivat#192) Update Gemfile (alshedivat#230) Add gitlab to social (alshedivat#229) Update stale.yml Create stale.yml Switch favicon to emoji (alshedivat#217) Update README.md (alshedivat#216) Update README.md Update README.md Fix titles and headings (alshedivat#204) ... # Conflicts: # _bibliography/papers.bib # _config.yml # _data/coauthors.yml # _includes/head.html # _layouts/about.html # _layouts/bib.html # _pages/projects.md # _projects/mali.markdown # _sass/_base.scss # _sass/_themes.scss # _sass/_variables.scss # _software/feddlib.markdown # _teaching/ss20-scientific-machine-learning.markdown # _teaching/ws1516-seminar-numII.markdown
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <[email protected]>
The If statements to decide the page title and header seemed incorrect. This fixes these.