panr / hugo-theme-terminal

A simple, retro theme for Hugo
MIT License
1.96k stars 737 forks source link

Update main.scss to fix footnote counting issue #463

Closed blakeashleyjr closed 1 year ago

blakeashleyjr commented 1 year ago

As I discovered in this issue, the theme does not count footnotes properly if there is a list contained within the footnote. I modified the CSS to only count the top level list (the footnotes) and not any lists contained within the footnote.

This is working well on my personal site, but please check the CSS to make sure everything looks right. I am no expert!

panr commented 1 year ago

Hey @blakeashleyjr, the fix is good, but please rewrite it to keep scss nesting in place by using &.

blakeashleyjr commented 1 year ago

Thanks @panr. Please take another look to see if that is what you are looking for.