Commit Graph
17 Commits
Author SHA1 Message Date
George Cushen 64f921f141 fix: Book layout
Add anchor links from Docs layout
2020-07-25 20:39:30 +01:00
George Cushen 34dcc6f9d3 feat: preload pages
Preload pages and remove gradual fade in animation on pages to increase performance and make pages appear to load more instantly.
2020-07-23 13:14:32 +01:00
George Cushen dfae6dca85 feat: add slides translation for search result content type label
Fallback to `btn_slides` translation for language packs which don't yet have a `slides` translation.

Close #1716
2020-05-28 21:45:32 +01:00
George Cushen 42d0e5f8cd fix: 5738cdd41e 2020-04-08 22:31:35 +01:00
George Cushen 5738cdd41e feat: integrate Netlify CMS support
Adds a `[cms]` section in `params.toml` to configure CMS integration.

Supports editing posts, talks, and pages (terms & privacy pages) in Netlify CMS.
2020-04-08 22:29:07 +01:00
George Cushen 5e62b09331 fix: day/night mode and enable reverting to the default auto day/night mode
Fixes:
- There is no easy way for a user to reset their day/night preference back to automatic (currently, they must use their web browser to clear the local storage data for the site)
- When changing the theme variation is disabled by admin (by setting `day_night` to `false` in `params.toml`), the operating system's day/night preference is still applied
- If the admin removes the option to change the theme variation, the preference for a user who already visited the site is still read from the localstorage and applied. For example, this could result in the user seeing a theme variation with poor contrast that was not intended to be shown as the site's theme was optimized for the other variation.

Fix #1385
Fix #1526
Fix #1534
2020-02-09 00:10:45 +00:00
George Cushen 361707f4fd feat: lazy load figures and gallery images
The proportion of image data in the typical payload of a website can be significant. Lazy loading is a solution that lowers initial page payload and load time, without removing content. Non-critical resources are instead loaded at the moment that they are needed.

Also, load MathJax async in head if required, rather than at end of body.

Close #1106
2019-12-18 14:33:22 +00:00
Ronny Chevalier c7b71e6c4b fix: console error when highlight disabled (#1455)
If "hightlight" was disabled, the following error appeared in the
console:

    Uncaught ReferenceError: code_highlighting is not defined
2019-12-07 16:25:33 +00:00
George Cushen 037d75f6da fix: race condition between HighlightJS and Mermaid
In some cases, the race condition could prevent Mermaid diagrams from being rendered.

Fix #1434
See #1298
2019-11-21 21:41:58 +00:00
George Cushen 6d0c021011 feat: improve search for diacritics + Chinese/Korean/Japanese languages
Close #1361
2019-09-28 15:25:26 +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 b57c5f87b8 fix: just include Disqus comment count JS once if enabled
Fix dc2c70e
See #1229
2019-07-28 20:40:08 +01:00
George Cushen dc2c70ecec fix: just include Disqus comment count JS once if enabled
Fix #1229
Fix a1ba678e79
2019-07-27 21:19:27 +01:00
George Cushen a1ba678e79 feat: refactor commenting system + add support for Commento
BREAKING CHANGES
See #1218

Close #1218
2019-07-22 19:50:11 +01:00
Aries 2d5fb4a4aa feat: always use https scheme for assets (#1213) 2019-07-19 20:09:11 +01:00
Russell J. Hewett 5878e91a16 refactor(baseof): created custom head and footer js placeholders 2019-05-30 21:29:54 -04:00
Russell J. Hewett 1baceb1c62 refactor(baseof): refactors base header and footer to their own partials 2019-05-30 21:24:07 -04:00