-
Notifications
You must be signed in to change notification settings - Fork 349
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
Layout inheritance doesn't work correcty #53
Comments
I just noticed this today too. And it's messing up the padding for the header (/meta data). I've been looking at he code, and it's not obvious for my C# head why it's not working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
post.html
andpage.html
, the class is set to'post-template'
and'page-template'
, respectively. But in the output html of article (post) and page, the<body>
tag doesn't containpost-template
orpage-template
, but containshome-template
.It looks like the inheritance of Jekyll doesn't work correctly, because Jasper theme code seems to be correct.
For example,
post.html
containsclass: 'post-template'
,and any specific markdown post file (e.g.,
1963-08-28-i-have-a-dream.md
) doesn't override anyclass
.I'm not familiar with Ruby and not fully sure this is the problem of Jasper theme or Jekyll core.
Temporarily I can use the
post-template
andpage-template
usingclass
tag directly in the post markdown files like below, but I think it is not the fundamental solution.Please give me an advice.
The text was updated successfully, but these errors were encountered: