Commit graph

1292 commits

Author SHA1 Message Date
George Cushen
89d079bcf0 fix: comment 2021-05-25 22:07:30 +01:00
George Cushen
f6e3fa4442 chore: bump version 2021-05-25 21:55:51 +01:00
George Cushen
8711be90e7 feat: support custom order for experience
Close #1761
2021-05-25 21:55:30 +01:00
George Cushen
8bba30b81a fix: unminified JavaScript (#2305)
Repeat prev commit action on the init script
2021-05-25 19:51:11 +01:00
George Cushen
83e9ee7542 chore: edit stale config 2021-05-25 19:38:30 +01:00
Alexander Zhang
b860e6c775
fix: unminified JavaScript (#2305)
Appears that behavior of recent Hugo versions changed w.r.t. JS formatting
2021-05-25 19:32:39 +01:00
Mito
14aea8f8a3
i18n: improve Finnish translations (#2306) 2021-05-25 19:16:08 +01:00
George Cushen
f54794f046 chore: replace defunct Stale bot with GH action 2021-05-22 19:59:22 +01:00
George Cushen
1c4f02fe34 chore: replace defunct Stale bot with GH action 2021-05-22 19:42:27 +01:00
Mark Boss
84e462a5a1
feat: support Bing site verification (#2287)
Via params.yaml > marketing > bing_site_verification
2021-05-16 11:12:31 +01:00
Alexander Zhang
2d9c18ecf0
fix: nonexistent navbar button aria-controls ID (#2268) 2021-05-01 20:13:34 +01:00
George Cushen
0afcc81296 feat: remove deprecated netlify-cms-academic module
Was replaced by wowchemy-cms module in v5.0 (specifically v5.0.0-beta.3): https://wowchemy.com/blog/v5.0.0-beta.3/

See https://wowchemy.com/docs/getting-started/cms/
2021-04-25 20:12:48 +01:00
Alexander Zhang
bfa3808cb6
style: prevent empty p tag when there is no copyright (#2271) 2021-04-22 20:27:24 +01:00
George Cushen
e9cec2d3e9 feat: add new gradient_angle option to page builder 2021-04-18 20:43:15 +01:00
George Cushen
aa4ca206c8 feat: only show User Group headings in People widget when multiple
Hide User Group headings in People widget if admin chooses to only show one user group.
2021-04-18 20:42:27 +01:00
George Cushen
0994df7177 feat: allow SVG as Hero image 2021-04-18 20:41:34 +01:00
George Cushen
171648c808 fix: style mb 2021-04-16 21:57:38 +01:00
George Cushen
1e2347192a fix(widget): error msg 2021-04-16 19:38:34 +01:00
George Cushen
ab8d28988e feat(widget): Experience - add brand logo error msg
Close #1781
2021-04-13 20:22:02 +01:00
George Cushen
153cf5b780 feat(widget): show brand logo in Experience + Accomplishments
To use, add SVG brand logo in lowercase to your `assets/media/icons/brands/` folder

BREAKING CHANGE:

Rename `assets/media/icon-pack/` to `assets/media/icons/`

Close #2259
Close #1781
2021-04-13 20:07:59 +01:00
George Cushen
97ff003d9f fix: Language name doesn't appear for zh-Hant
Language name doesn't appear when LanguageCode has a sub-code

The issue appears to be an inconsistency/bug with Hugo's `.Translations` lowercasing zh-Hant to zh-hant without offering a way to get the language code as it was defined.

We can workaround it for now by converting to lowercase to align with Hugo's current implementation.

Fix #2256
2021-04-13 19:56:28 +01:00
Naomi Chen
f3ea40cc5f
i18n: update zh-Hant.yaml (#2257) 2021-04-13 19:16:09 +01:00
George Cushen
fda9f39d87 chore: bump min hugo version
To v0.81 to get Hugo bug fixes and enable multiline Hugo tpl refactoring, see https://github.com/gohugoio/hugo/releases/tag/v0.81.0
2021-03-24 19:42:00 +00:00
George Cushen
35b8b1f82c chore: bump version 2021-03-24 19:30:07 +00:00
George Cushen
35b5e1d420 feat: move media library from static/ to assets/
Refactor:
- business JSON-LD
- site_head
- Slider
- Gallery
- Video

Gallery is now intended only for local images in the page bundle (so that they can be optimized by Hugo).

Close #2119
2021-03-24 19:29:27 +00:00
George Cushen
17505c4581 refactor: Bootstrap JS URI
Rename URI as GitHub Pages doesn't automatically publish folders with underscores.

Netlify was unaffected.

See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/2201#discussioncomment-508553
2021-03-22 00:47:51 +00:00
Imran Pollob
0eae617819
feat: upgrade Rose font pack (#2216)
to Google Font API v2
2021-03-18 23:26:15 +00:00
George Cushen
cf32fde824 refactor: yarn format 2021-03-08 21:25:18 +00:00
George Cushen
e14c68cb6d feat: migrate Audio shortcode to use assets/media/
Also support page dir asset or URL
2021-03-08 21:22:08 +00:00
George Cushen
bd11c2663b fix: Mermaid diagrams not rendered on race condition
Appears to be race condition when using Mermaid's automatic rendering with `startOnLoad: true` option.

Workaround by manually rendering diagrams.
2021-03-08 21:19:19 +00:00
George Cushen
f9505c2803 feat: make it easier to upscale figure images 2021-03-06 22:34:13 +00:00
George Cushen
1475a49114 fix: JS convert ESM back to iife 2021-03-06 21:45:15 +00:00
George Cushen
142c7c1d5d i18n: sync language packs 2021-03-06 14:44:28 +00:00
George Cushen
fc38e80952 feat: add option to show translations in footer
Adds `Params.footer.show_translations` and `Params.main_menu.show_translations` options
2021-03-05 18:55:08 +00:00
George Cushen
ae4d671d4c feat(style): wider XL container 2021-03-05 17:47:29 +00:00
George Cushen
3edb4ff8e7 feat: get page header image from page dir or assets media library 2021-03-05 17:23:43 +00:00
George Cushen
ae7897c868 feat: add Hero support for design.flip and new media location
Flip reverses the order of the Hero. Can be used with multiple Heros to create the classic alternating feature showcase.
2021-03-05 17:19:57 +00:00
George Cushen
d70e23ef55 refactor: build JS as ESM
Remove Bootstrap sourcemap ref as Hugo doesn't detect/publish it.
2021-03-04 19:00:51 +00:00
George Cushen
98294a9f1d refactor: simplify Figure style 2021-03-04 17:42:29 +00:00
George Cushen
1dfeec02ce refactor: ToC hooks 2021-03-03 13:21:07 +00:00
George Cushen
f4b96e1432 refactor: ToC hooks 2021-03-03 12:41:52 +00:00
George Cushen
5529404d19 feat: workaround Hugo v0.81 error on Windows with remote figure
Hugo v0.81 on Windows will error when figure destination is a remote URL such that we have `resources.Get (path.Join "media" <URL>)`.

See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/2205
2021-03-03 11:14:50 +00:00
George Cushen
3952bfc85c fix: previous commit 2021-02-26 16:45:04 +00:00
George Cushen
33e92dc8cb feat: update widget page to get backgrounds from assets/media/ dir
See #2119
2021-02-26 00:12:49 +00:00
George Cushen
6b9fdd9482 feat: enable Wowchemy attribution to be translated
Add EN and ZH translations.

See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/2161
2021-02-25 18:14:21 +00:00
George Cushen
ad6e481c0a feat: add options for page specific styling or integrations
Page's ID applied to body as `data-wc-page-id`. Can be accessed via CSS and JS to perform page-specific styling or integrations.

Also, introduces new page parameters, similar to widget params:
design.css_style
design.css_class

Close #1975
2021-02-25 16:08:09 +00:00
George Cushen
40e01c083e fix: previous commit - migrate lazysizes data-src to native src 2021-02-22 22:36:15 +00:00
George Cushen
432c6326ee feat: complete migration to native lazy loading
One less JS dependency.
2021-02-22 21:37:48 +00:00
George Cushen
69de00c0cd feat: add support for baidu_tongji and baidu_site_verification
The new options can be added under `marketing` in `params.toml`
2021-02-22 20:51:20 +00:00
George Cushen
a9a74e160d feat: remove deprecated Alert shortcode which was replaced by Callout 2021-02-22 20:29:10 +00:00