When `summary` is defined, the full summary text is now shown in listings.
Add `summaryLength = 30` (length in words) to `config.toml` to customise automatic summaries from using `<!--more-->` tag or full content (when `summary` and `abstract` are not defined).
Add `abstract_length = 135` (length in characters) to `params.toml` to customise truncation when `abstract` is used as the summary.
Close#1374
To use, just set an `author` filter to a username in instances of the Pages or Featured widget:
```
[content.filters]
tag = ""
category = ""
publication_type = ""
author = "admin"
```
Close#1422
To add a "See all" link underneath featured content, set `link_to_archive = true` under the `[content]` section in the front matter of the Featured widget.
Also, make About widget avatar responsive, appearing larger on large devices.
BREAKING CHANGE:
`gravatar` option moved under new `[avatar]` section in `params.toml`.
`shape` option added under new `[avatar]` section in `params.toml`.
Close#1509
Simplify the process of adding a logo to a site.
BREAKING CHANGE:
Removes param for logo from params.toml. Instead, move logo image to `assets/images/logo.png`, creating the folders if necessary.
See #1439
If you are using the Commento cloud service, you do not need to
change anything, but if you want to use a self hosted instance, you can now
provide the base url to your Commento instance.
Close#1446
For example, US sites can use the US address format and Chinese sites can use the Chinese address format.
A default address_format can be set in params.toml, which can be overriden on a per page basis using a parameter of the same name in a page's front matter. Optionally, multilingual sites may wish to add a default format for each site in languages.toml.
BREAKING CHANGES
- list_delimiter removed from params.toml
- address_format added to params.toml
- [address_formats] added to params.toml
Close#1344
- On mobile, position toggle on left and logo in centre (adopt standard)
- Show Search, Day/Night, and Language icons in mobile menu bar
- Add option to align menu items to left, centre, or right
- Add option to remove logo image/text from menu
- Complete navbar SCSS redesign, making use of Bootstrap vars
- Add automatic menu dropdowns on mouseover (for desktop)
Also,
- Apply live day/night update on system prefs change (no need for refresh)
- Add Mermaid security level on init - a req. for latest Mermaid version
BREAKING CHANGES:
menu_align_right option removed from params.toml
main_menu option added to params.toml
Close#1418
- Upgrade MathJax from v2 to v3
- Updated Highlight, Leaflet, Fancybox, Mermaid, FontAwesome
- Fixed multilingual icon paths in Web App Manifest
- View Demo script now binds to all network I/F to enable testing on
other physical devices like smart phones
BREAKING CHANGES:
Removed `plugins_css` from `params.toml`.
Override `custom.scss` to add custom styling.
Close#1400
# Options are `cover` (default), `contain`, or `actual` size.
image_size = "actual"
# Options include `left`, `center` (default), or `right`.
image_position = "right"
# Use a fun parallax-like fixed background effect? true/false
image_parallax = true
See #1377
GT (gtag.js) and GTM are the modern Google analytics solutions.
New `[marketing]` config section added to `params.toml`.
GT will fall back to site.GoogleAnalytics if the new `[marketing]` param
for GT/GA isn't specified, so currently no breaking changes.
May deprecate site.GoogleAnalytics in future.
Close#1349
Forms part of the transition from Microdata to JSON-LD.
BREAKING CHANGES
Upgrades to your `params.toml` file are required:
- Address field has been split into semantic parts
- Latitude and longitude have moved under `coordinates` option
- Map settings have moved under `[map]` section
- Office hours can now be specified more simply, as a list
- Added optional `list_delimiter` option for formatting addresses
See #413
Rename `color_theme` to `theme`.
Default theme has been renamed from Default to Minimal.
The Font set is now set by the theme unless overrided by user in `params.toml`.
Font size is now set in `params.toml` rather than in the font set.
Options for `font_size` are now s,m, or l.
Enables the widget to be used for categories etc. and not only tags.
Also fix tag ordering by title rather than by count (d0ec05a).
Fix#1267
Fix d0ec05a
To use, set `commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}` under the Comments section in `params.toml`.
To use, copy `themes/academic/exampleSite/content/terms.md` to `content/terms.md` in your site, add your legal terms, and remove the `draft` option to publish.