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)
- a static moon icon is currently commonly used by popular sites such as Facebook and Reddit to represent a light/dark chooser
- fix automatic light/dark theming when the chooser is hidden with `show_day_night` set to `false`
- add boolean `show_search` option to `main_menu` in `params.toml` to hide search button from main (still accessible from the standard / keyboard shortcut)
In params.toml, head to `main_menu` options and set `show_day_night=false` to hide the day/night chooser and theme automatically according to the user's day/night preference for their device.
Fixes issue with using Docs layout for sections that need reverse menu sorting, such as updates (v5, v4.9, ..).
Affected Docs site prior to conversion to Books layout.
Adds chart shortcode with support for Plotly JSON chart format.
Given Plotly formatted line-chart.json in page bundle, use
{{< chart data="line-chart" >}}
Close#1673
Fix by setting dark/light theme as soon as body tag exists.
Highlight JS and Mermaid JS theming must still occur later during page load.
Opportunity to refactor this fix and existing OnReady theme code to avoid duplicate JS and reuse code.
Fix#1601
Caused when `/` rather than an anchor or blank string used to represent homepage URL in a menu link.
Note: further improvement possible such as by applying similar logic to non-root widget pages which have menu links to root widget page and its anchors.
Fix#1812
BREAKING CHANGE:
Possible breaking change for sites using custom address formats.
Override `address_formats.toml` to add custom address formats for a site.
Enable single column centered layout for Pages and Contact widgets.
To use this feature, add the following to the widget front matter:
[design]
columns = "1"
See #984
Ability to define both light and dark color themes, rather than use the default settings for the alternative theme.
Add `[dark]` or `[light]` section to theme file to define the alternative theme.
Most vars supported except `primary`.
See #997
"In Go Modules, the /vendor directory in a module has a special meaning, so they delete it from the bundle"
Enables Academic to be installed as a Hugo Module.
See https://github.com/gohugoio/hugo/issues/6945
"In Go Modules, the /vendor directory in a module has a special meaning, so they delete it from the bundle"
Enables Academic to be installed as a Hugo Module.
See https://github.com/gohugoio/hugo/issues/6945