After the "Offset and Limit" section, `$query` would have length of `$items_count`, which makes `$count` always equal to `$items_count`. The later "if" condition for adding the "see all posts" link will never be met.
The fix is to record the length of `$query` into `$count` before any offset and limit.
See #963
date, time_start, time_end renamed to publishDate, date, date_end,
respectively.
BREAKING CHANGES: Rename above 3 options in front matter of all talks.
Also, refactor the 404 page so that it just lists the latest 10 pages
overall. This is a more flexible approach than separately listing the
latest pages for only a few different types of content.
See #721
Essentially, the Projects and Custom widgets have been renamed and their
front matter upgraded to be consistent with the new Pages and Featured
widgets.
Also, refactor the demo, changing the section order and converting the
Teaching section to a Demos section which can be used to walk the user
thought the available demos.
See #918
Also renames Hero Carousel widget to Slider.
BREAKING CHANGES:
- widget `[header]` options removed and replaced with `[background]`
- `hero_carousel` widget renamed to `slider`
Close#948
- Support multiple paragraphs
- Icon support for `[cta]` call-to-action button
- Add optional alternative call-to-action link `[cta_alt]`
- Add optional note underneath cta button
- Add optional image
- Refresh the demo's instance of the Hero widget
Close#935
- Consolidate the code for all compact views into a single file
- Make authors clickable in all compact views
- Improve archetypes
BREAKING CHANGES:
`abstract_short` field dropped in publications and talks in favour of
`summary` field.
See #918
See https://github.com/gcushen/hugo-academic/issues/916#issuecomment-462274214
Allows user to customize the style of a particular widget using the CSS
plugin feature. For example, the background of a widget could be changed
to an image or gradient.
Close#322
- add `authors` to set username in user account and force generation
of user profile page whether or not user has published content. This
is particularly useful for linking users from the People widget.
- People widget: only link to users which have profile pages generated -
prevents 404 error if user did not perform the point (1) above
- add i18n "user_profile_latest" to customize user profile text
Fix#274
- link author profile pages in listings
- display author name (rather than username) in metadata
- refactor `list_format` to `view` and use new consistent mappings
- add `citation_style` in `params.toml`
- re-order Accomplishments widget in Demo
- make params/comments more consistent in all widget front matter
- Author page: don't show username if profile exists as that will
already show the user's display name
- Publication card: move author and publication name to metadata bar to
be consistent with other listings
- Remove portrait.jpg from static as it was duplicated for Demo author
BREAKING CHANGES: See issue below.
See #909