xxfye
aa3c072904
feat: add option to change the CDN for highlight.js languages ( #2351 )
...
Required due to unstable CDNJS in China
2021-06-24 21:14:50 +01:00
George Cushen
c5bc30be99
docs: edit
2021-06-22 19:55:34 +01:00
George Cushen
b739d8d390
fix: anchor linking (e.g. ToC) does not work when navbar is disabled
...
Fix #2345
2021-06-19 23:45:13 +01:00
George Cushen
caf535a66d
fix: anchor linking (e.g. ToC) does not work when navbar is disabled
...
Fix #2345
2021-06-19 22:05:49 +01:00
George Cushen
cc42eb4135
feat: add show_date
page option to hide date
2021-06-19 16:14:01 +01:00
George Cushen
19ca4a39f2
feat: remove deprecated Docs layout - was replaced with Book in v5.0b0
2021-06-15 20:05:06 +01:00
George Cushen
3b4bcad8c6
feat: portable figures - display figures in Markdown editors
...
Figures can now be created by using the standard, portable Markdown syntax:

Where the image is in the page folder, the media library, or is a remote URI.
2021-06-14 22:08:31 +01:00
George Cushen
27b4916784
feat: check user's choice of color theme exists
2021-06-13 14:32:02 +01:00
Bryan J Hogan
526d011a44
fix: workaround Hugo bug with GetPages fetching page from diff path to that specified ( #2284 )
...
User reported Hugo trying to fetch privacy page from a "tag/privacy" folder rather than root
2021-06-13 00:14:37 +01:00
George Cushen
efdea8f259
perf: async load icons
2021-06-11 20:50:08 +01:00
George Cushen
db4dcf6541
feat: support view
for course archive & custom section archives
...
The fullback list view for archive pages did not previously support the `view` option, instead presenting lists in one specific format.
If a user creates a custom section name (e.g. `content/prj/`) that doesn't correspond with a built-in page type, they now have the option not to use the default list view by defining `view` in the associated `_index.md` file.
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/2323
2021-06-06 14:07:13 +01:00
Ewe Zu Lin
c0d8f2a41a
fix: editorial_workflow mode for Wowchemy CMS ( #2319 )
...
The publish_mode option should be placed at the top level instead of under backend.
2021-06-04 18:38:04 +01:00
George Cushen
e9d82a2421
fix: nested figure in callout
2021-06-02 23:21:23 +01:00
George Cushen
01a25ecaec
feat: delay PostCSS processing with resources.PostProcess
...
resources.PostProcess delays processing of a resource until the rest of the build has finished.
This allows the public folder or Hugo's hugo_stats.json file to be used as the content for PurgeCSS, so that only CSS that is used on the final website will be included.
Close #2318
2021-06-01 19:35:57 +01:00
George Cushen
70cef473ae
docs: edit
2021-05-31 19:13:49 +01:00
George Cushen
3ea78d2c66
feat: support animated GIF in figures
...
Workaround Hugo converting animated gifs to static gifs: https://github.com/gohugoio/hugo/issues/5030
2021-05-31 18:59:42 +01:00
George Cushen
bbca6dea78
feat: load gallery from media dir & add gallery display options
...
Add gallery `order` with options "asc" or "desc"
Add gallery `resize_options` which supports Hugo image processing options.
BREAKING CHANGE:
Move gallery album folders to `assets/media/albums/`. Album name should be defined in shortcode as `album`.
Fix #2245
2021-05-31 12:21:56 +01:00
George Cushen
81ba175229
fix: 404 "latest" don't list pages which Hugo doesn't render
...
where
_build:
render: never
2021-05-26 23:38:49 +01:00
George Cushen
f2a5331af0
fix: 404 "latest" order when some pages contain weights
...
Revert addition of homepage in latest - from prev commit
2021-05-26 23:20:38 +01:00
George Cushen
079a61ab10
fix: 404 "latest" order when some pages contain weights
...
Prevent Hugo ordering weighted pages higher in the "latest" content list.
Also include course/docs index pages (Hugo "sections") and remove private pages (although Hugo render option is preferred equiv to "private:true")
2021-05-26 23:09:50 +01:00
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