RSSAmplifier

Ryan Bagley · Jun 12, 2026

CSS-Only Footnote Tooltips in Hugo

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

The blog now shows the text of a footnote when you hover over its citation number, so you can read a reference without jumping to the bottom of the page and back. 1 It involves one Hugo partial and a few CSS rules. I’ve been envious of other blog’s footnote popovers that usually come from a JavaScript library such as Bigfoot or littlefoot, which assemble the bubbles in the…

Read on rb.ax

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.