Commit Graph
10 Commits
Author SHA1 Message Date
George Cushen d9ff93a1c2 feat: make media library dir configurable
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.
2020-07-29 18:54:28 +01:00
George Cushen c5b26892a9 feat: add support for SVG logo format + fix logo URL in JSONLD
Can now upload an SVG logo to `assets/images/logo.svg`.

If your site is for an organization, Google currently requires that the logo is PNG rather than SVG otherwise the site may not receive rich search results based on the JSONLD (see https://developers.google.com/search/docs/data-types/logo).

Also, this commit fixes the logo URL in the site's JSONLD metadata - irrespective of the above feature, the logo URL metadata broke when adding the new automated logo detection system in #1439.

Close #1512
Fix #1516
Fix #1439
2020-02-09 00:53:02 +00:00
George Cushen ce75013228 feat: automatically generate website icons
See #1439
2019-12-28 23:48:40 +00:00
George Cushen b2494b2172 refactor: JSONLD author 2019-09-14 22:21:19 +01:00
George Cushen 874a013b79 feat(jsonld): add publisher to article metadata
Forms part of the transition from Microdata to JSON-LD.

Close #413
2019-09-11 17:47:28 +01:00
George Cushen bd2e4ec418 feat: add JSONLD schema for organizations
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
2019-09-11 13:18:49 +01:00
George Cushen ec4f5a11bf feat(talk): add support for event address
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-09 17:33:08 +01:00
George Cushen 1b2e20cc2a refactor: convert Event Microdata to JSONLD
Requires further work to add support for full semantic event address.

Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-09 14:42:55 +01:00
George Cushen 6cebeae654 refactor: strip out Microdata for blog posts, pages, and pubs
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-05 17:20:00 +01:00
George Cushen 2e01db268d feat: add JSON-LD structured data for website, posts, and pubs
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-05 16:34:04 +01:00