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

Add ability to insert custom code into the global <head>. #17

Merged
merged 2 commits into from Nov 22, 2016

Conversation

3 participants
@DeedleFake
Contributor

DeedleFake commented Nov 22, 2016

The change is pretty simple. I wanted to put some custom JavaScript in the <head> of a site I'm building, but I didn't want to have to edit the theme or make a copy of layouts/_default/baseof.html, since later changes to the theme may break it. This change allows code to be insterted into <head> by creating a layouts/partial/head-custom.html.

@alanorth

Brilliant and simple. Minor changes requested.

Show outdated Hide outdated layouts/_default/baseof.html
Show outdated Hide outdated layouts/_default/baseof.html

@alanorth alanorth merged commit b83b168 into alanorth:master Nov 22, 2016

@alanorth alanorth referenced this pull request Nov 27, 2016

Closed

Better favicon support #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment