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.
An optional `alt_text` parameter can be added when specifying a featured `image` in a page's front matter.
Alt text is used to describe the image when the page is read via a screen reader.
This commit also changes profile photo alt text from "avatar" to the person's name in alignment with major CMS and social sites.
Close#1592
Placement options: 1 = Full column width, 2 = Out-set, 3 = Screen-width.
Defaults to 1, full column width.
Deprecates the split title/image style that was shown on XL displays.
Close#1175
- 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
* add project showcase layout, set `view = 2` in `projects.md` to use
* revert card view to use resized images rather than cropped images
* fix project filters for tags with non-ASCII (i18n) characters
* add single column wide layout for project widget, to use set
`widget_layout` in `projects.md`
* add `flip_alt_rows` widget option to flip alternate rows in showcase
mode
* `url_` link buttons can now be added for projects
* all link buttons now appear in page header rather than under a 'links'
section within the page
* Markdown slides can now be linked from any page by using new `slides`
option
* Isotope JS is now only activated when required (i.e. when using card
view or when filters are defined)
* `links` translation removed from i18n
* consolidate talk, pub., and new project links files into new single
`page_links.html` for all pages
* move project widget layouts to their own files
Close#764Close#785Close#776Close#645Close#326
BREAKING CHANGE:
CSS class names of project tags are now prefixed with `js-id-` to
namespace them and prevent clashes with existing CSS classes.
Migrate any filter `tag`s in `projects.md` that are prefixed `.` to the
new `.js-id-` prefix.
- featured image: Enable focal point to be set by user in front matter
- pages: Featured image responsively transforms to split view on XL monitors
- pages: Refactor page title, metadata, and image into one reusable module
- archetypes: Migrate to folder approach and update image options
- post widget: Refactor detailed layout to use featured image
- accessibility: Add alt tag to header and featured image
- accessibility: Improve text contrast based on Lighthouse audit
- publication: Entirely deprecate old `image` front matter option
- docs: Remove header image option (was never a documented feature)
- project widget: Add `noopener` to external links
See #708Fix#728Fix#704Fix#705
See #718