ananke/layouts
Melroy van den Berg 2cfb09e9a3
theme(fix): add transform.Plainify to the summary body content of the share links (#758)
You definitely want to **add Plainify transformer first**, because the
body content will become a HTML encoding mess. I left `HTMLEscape` there
as well, just be sure for security reasons. But if you want, I can
remove the second transformer.

Like a tweet on X will look like this:


![image](https://github.com/user-attachments/assets/73ab37b0-decc-47a4-8bbd-cf43cbef1641)


After implementing `transform.Plainify`, it will look much better:


![image](https://github.com/user-attachments/assets/962ba515-72ae-4b46-827f-2c477358d065)

(ignore the red, I don't have X premium pro blabla, it's red because I
hit the max limit of chars)

Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-10-24 05:56:04 +07:00
..
_default theme(fix): use internal methods to evaluate environment 2024-10-21 10:03:45 +07:00
page Remove Section mention from single/page (#531) 2022-03-21 13:36:15 -04:00
partials theme(fix): add transform.Plainify to the summary body content of the share links (#758) 2024-10-24 05:56:04 +07:00
post Add missing "read more" link to summary.html (#658) 2023-11-21 15:08:47 -05:00
shortcodes Fixed a typo in form-contact.html (#266) 2020-06-03 09:54:50 -04:00
404.html fix permissions (#581) 2022-12-14 09:56:24 -05:00
index.html Fix render breakage introduced in #665 (#685) 2024-05-03 13:43:35 -04:00
robots.txt theme(fix): use internal methods to evaluate environment 2024-10-21 10:03:45 +07:00