-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Margin along sides of post disappear after adding section heading. #591
Comments
I heard back from the Hugo theme creator. He said:
|
Thanks! I just submitted a fix to the theme: CaiJimmy/hugo-theme-stack#162 |
Works! We all appreciate your responsiveness and attention to details. Thanks, @yihui. |
…162) Fixes rstudio/blogdown#591: not only `<p>` but also `<div>` could be the direct child of `.article-content`, so we also need the padding for `<div>`. The `div`s are generated by Pandoc, instead of Hugo's Markdown renderer. I think it will be great to support both ways.
…aiJimmy#162) Fixes rstudio/blogdown#591: not only `<p>` but also `<div>` could be the direct child of `.article-content`, so we also need the padding for `<div>`. The `div`s are generated by Pandoc, instead of Hugo's Markdown renderer. I think it will be great to support both ways.
Describe the bug
Margin along sides of post disappear after adding section heading. I don't think it is the theme, but maybe it is just a problem with the interactions between blogdown and newer version of hugo or markdown flavors.
To Reproduce
Steps to reproduce the behavior:
CaiJimmy/hugo-theme-stack
as theme in blogdown in RStudio.Expected behavior
Screenshots
The body text above the section heading preceding the first heading of the post, but after the section heading, the margins disappear.
Desktop (please complete the following information):
Windows 10
Chrome 88
Hugo 0.81
Latest blogdown version
Latest RStudio version
Additional context
Site rendered with blogdown package in RStudio. This behavior is likely not due to the theme choice, as the theme demo page shows posts with margins all the way through even after section headings.
The text was updated successfully, but these errors were encountered: