lwojcik / eleventy-template-bliss

Single-column blog template for Eleventy focused on simplicity without sacrificing functionality
https://eleventy-bliss.lkmt.us/
MIT License
84 stars 19 forks source link

Post description will display footnotes as text instead of markdown syntax #122

Open mark-pitblado opened 4 months ago

mark-pitblado commented 4 months ago

Minor issue, but I noticed that footnote syntax will display in the truncated description (notice the [1] following 'catppuccin').

image

If you like, I can work to submit a fix for this, I just cannot promise anything in terms of timeline.

mark-pitblado commented 4 months ago

Actually, the more I think about this, I guess this is actually the proper behaviour? It doesn't make practical sense for footnotes to be displayed in an excerpt, however the fact that the word has a reference is information that would appear in something like a printed book. I think in the json excerpt it may create a funny link because it will try to reference a footnote that isn't there.

If you think that the current state is how it should work than feel free to close!

lwojcik commented 4 months ago

Hi @mark-pitblado,

Thanks for reaching out!

That was my personal choice and it was about aesthetics - I wanted the front page to look a little cleaner and display extra formatting only with full posts.

I'm not closing this yet though - I'll see if HTML formatting can be safely enabled for post excerpts and implement it as an optional feature if the answer is yes.