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
Move default media library from static/img/ to static/media/ as it can now contain audio, video, and other kinds of media in addition to images.
BREAKING CHANGE:
Either rename your site's static/img/ to static/media/ (and update any references to this folder in your Markdown files);
Or, add `media_dir = "img"` to `params.toml` to continue using the legacy location.
Increase performance.
To enable, add the following to bottom of `params.toml`:
[icon.pack]
ai = true # Academicons icon pack https://jpswalsh.github.io/academicons/
Similar to the Docs layout but much easier to use.
Add `type: book` to a page's front matter and place Markdown files within a folder hierarchy to automatically create the book sidebar navigation.
Introduces {{< list_children >}} shortcode for listing children of a book chapter.
Introduces `design.clip_path` widget option.
Refer to CSS docs on `clip-path` for use.
E.g. to create a slanted bottom to a widget:
```
[design]
clip_path = "polygon(0 0,100% 0,100% 80%,0% 100%)"
[design.background]
color = "navy"
text_color_light = true
```