Commit Graph
13 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 c4b40faefa refactor: strip out Microdata from layouts
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-09 22:28:12 +01:00
George Cushen 63953ab3d4 style: improve consistency if Hugo --minify used 2019-06-02 23:19:57 +01:00
George Cushen 7467e65799 fix(widget): Hero text color when text_color_light = false 2019-04-07 20:01:12 +01:00
George Cushen 3ac394a58c feat(widget): apply a background color, gradient, or image to any widget
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
2019-02-19 13:11:55 +00:00
George Cushen d7135a1b88 feat(widget): hero: multiple paragraphs, extra cta, note, & image
- 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
2019-02-14 02:13:09 +00:00
George Cushen 11a859dca2 fix: Hero and Carousel image path in edge cases
Fix #910
2019-02-04 01:37:42 +00:00
Paulo Moreno 11c1ebe955 fix(i18n): fix Hero widget and search for multilingual sites
Fix #820
2018-11-29 12:18:45 +00:00
George Cushen c084f016ae fix(widgets): fix hero image path when canonifyurls=true 2018-11-05 21:16:29 +00:00
George Cushen 2afcb642db widgets: Refactor hero
Compute image path outside of HTML style element due to Hugo limitation
with relURL
2018-10-13 21:13:32 +01:00
George Cushen 6ef19085d4 Refactor most absolute URLs to relative URLs
See #683
2018-09-15 13:58:29 +01:00
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
George Cushen ff2690fcb8 widgets: Add Hero widget (#99) 2017-10-15 02:23:07 +01:00