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

Footnotes generation changed with Zola 0.19.1 #72

Open
heitorPB opened this issue Aug 13, 2024 · 1 comment
Open

Footnotes generation changed with Zola 0.19.1 #72

heitorPB opened this issue Aug 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@heitorPB
Copy link
Contributor

Zola changed how footnotes are generated/parsed and the resulting HTML changed to a weird one.

From one of my posts, before Zola 0.19:
before

With Zola 0.19.1:
after

Lists did not change the behavior.

Zola changelog: https://github.com/getzola/zola/blob/master/CHANGELOG.md

@pawroman pawroman added the bug Something isn't working label Aug 17, 2024
@heitorPB
Copy link
Contributor Author

My HTML changed from

<li>
    <sup class="footnote-reference"><a href="#kernel-source">1</a></sup>:
    <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/char/random.c?h=v5.6.2&amp;id=4aa37c463764052c68c5c430af2a67b5d784c1e0">file <code>drivers/char/random.c</code></a>
</li>

to

<li>
    <div class="footnote-definition" id="kernel-source">
        <sup class="footnote-definition-label">1</sup>
        <p><a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/char/random.c?h=v5.6.2&amp;id=4aa37c463764052c68c5c430af2a67b5d784c1e0">file <code>drivers/char/random.c</code></a></p>
    </div>
</li>

How to stylize it nicely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants