Pages with wide horizontal content could horizontally scroll on mobile due to `.page-wrapper` not having fixed width in f851142fb2
Re-add overflow-wrap which was removed in e6dba41f3d (in attempt to simplify logic).
Add horizontal scroll to unresponsive Plotly charts.
Also, refactor chart style and refactor callout styles into dedicated file.
This commit attempts to fix https://discord.com/channels/722225264733716590/742863504515793149/774343154949816350
The strategy appeared to affect hyphenation in inline code blocks.
Reduce wordwrap hyphenation, similar to wordwrap on blogging platforms like Medium etc.
If a site doesn't require Isotope Layout Engine (i.e. not using filter on publication archive page or the Portfolio widget), it can be disabled in params.toml for performance increase:
require_isotope = false
Also, disable HighlightJS and Netlify Identity by default to optimize performance.
Hugo restricts a module's own config file to only defining params, menu, outputformats, and mediatypes: https://gohugo.io/hugo-modules/theme-components/ . Lets define outputformats, and mediatypes directly in the module so there's one less thing for a user to add to their site's config file.
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
- GetTerms may provide better support for names with unicode or spaces
- Make avatar pic linked (in addition to name)
Close#1750
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
- GetTerms may provide better support for names with unicode or spaces
- Use Bootstrap's bundled PopoverJS for *instant* and more legible author note tooltips.
- Make author notes more intuitive and mobile friendly - use FA icon with left padding to discern touches.
- Add support for highlighting multiple author names (e.g. team members)
BREAKING CHANGE:
To highlight an author name, add `highlight_name: true` to the author's profile.
Close#1750Fix#1861Close#1864
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
- GetTerms may provide better support for names with unicode or spaces
- Use Bootstrap's bundled PopoverJS for *instant* and more legible author note tooltips.
- Make author notes more intuitive and mobile friendly - use FA icon with left padding to discern touches.
- Add support for highlighting multiple author names (e.g. team members)
BREAKING CHANGE:
To highlight an author name, add `highlight_name: true` to the author's profile.
Close#1750Fix#1861Close#1864
Examples
Main button CTA:
{{< cta cta_link="https://..." cta_new_tab="true" cta_text="emoji 🚀" >}}
Alternative text CTA:
{{< cta cta_alt_link="./my-page/" cta_alt_text="Go to my page" >}}
Main button CTA and alternative text CTA:
{{< cta cta_link="https://..." cta_new_tab="true" cta_text="emoji 🚀" cta_alt_link="./my-page/" cta_alt_text="Go to my page" >}}
Adds id param to audio shortcode
Hashes are prefixed in the form `#audio-<ID>`
E.g. add `id="my-talk"` when calling the audio shortcode and then reference it using [link to my talk audio](#audio-my-talk)