Skip to content
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(layouts): add missing space for minify #250

Merged
merged 2 commits into from
Sep 10, 2020
Merged

Conversation

panda-z
Copy link
Contributor

@panda-z panda-z commented Apr 21, 2020

Space between <span> elements will be removed when performing hugo --minify.

Thus, the generated contents with and without --minify are different.

To fix this issue, one should:

  • manually remove the space between <span> elements (use <!-- and -->).
  • use margin for spacing.

Closes #111

@olOwOlo olOwOlo merged commit 4ad955c into olOwOlo:master Sep 10, 2020
@olOwOlo
Copy link
Owner

olOwOlo commented Sep 10, 2020

Thank you for your pull request.

@panda-z panda-z deleted the issue-111 branch September 18, 2020 02:11
tac0x2a pushed a commit to tac0x2a/hugo-theme-even that referenced this pull request Aug 24, 2021
daymade pushed a commit to daymade/hugo-theme-even that referenced this pull request Sep 30, 2023
* fix(layouts): add missing space for minify

* chore(*): update resources file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

minify 输出后丢失占位符的问题
2 participants