Commit Graph
1070 Commits
Author SHA1 Message Date
George Cushen 80fce98e72 feat(style): improve Hero image size on mobile 2020-11-02 17:02:05 +00:00
George Cushen e6dba41f3d feat: reduce wordwrap hyphenation
The strategy appeared to affect hyphenation in inline code blocks.

Reduce wordwrap hyphenation, similar to wordwrap on blogging platforms like Medium etc.
2020-10-31 18:36:16 +00:00
George Cushen ab5b005820 feat: push footer to window bottom for short pages
Remove 100% height for .parallax as conflicts with new page grid CSS and Leaflet map interactions.
2020-10-28 22:41:28 +00:00
George Cushen f851142fb2 feat: push footer to window bottom for short pages
Also, for Card view, add image zoom on hover.
2020-10-28 22:37:13 +00:00
George Cushen e8c96d1db9 feat: remove back to top button
Limited use given the fixed navbar and ToC sidebar for Books
2020-10-28 22:21:27 +00:00
Mario Zigliotto c055788cab feat: namespace footer
See #1873
2020-10-28 00:51:46 +00:00
George Cushen 2f98b006bf test: add github action
builds test site with latest Hugo version
2020-10-27 23:44:15 +00:00
George Cushen a08f805ddd test: add github action
builds test site with latest Hugo version
2020-10-27 23:39:09 +00:00
George Cushen 7294158fdf test: add github action
builds test site with latest Hugo version
2020-10-27 23:36:31 +00:00
George Cushen 61e85bbd76 perf: add require_isotope option (experimental)
If a site doesn't require Isotope Layout Engine (i.e. not using filter on publication archive page or the Portfolio widget), it can be disabled in params.toml for performance increase:

require_isotope = false
2020-10-27 19:03:51 +00:00
George Cushen f55fed9d88 fix: aria label for "back to top"
Gives 100% Accessibility score on Lighthouse for test site.
2020-10-26 22:50:54 +00:00
George Cushen 5d827c258a feat: add more defaults to Wowchemy's config.toml
Also, disable HighlightJS and Netlify Identity by default to optimize performance.

Hugo restricts a module's own config file to only defining params, menu, outputformats, and mediatypes: https://gohugo.io/hugo-modules/theme-components/ . Lets define outputformats, and mediatypes directly in the module so there's one less thing for a user to add to their site's config file.
2020-10-26 22:32:20 +00:00
Carlos Cámara a4c1a37e8b docs: update Contributing guide (#1915)
Update name and chat link.
2020-10-26 16:57:49 +00:00
Øyvind Bye Skille 1c9b4ed9e7 i18n: add Norwegian (nb) translation (#1914) 2020-10-26 16:55:01 +00:00
George Cushen fa8e64327e fix: don't require site.Params.comments
Enable `comments` to be removed from `params.toml` for a site that doesn't use comments
2020-10-24 19:47:55 +01:00
George Cushen f759efccf7 test: add bare-bones test site 2020-10-24 19:45:13 +01:00
George Cushen b2f2eb3c27 chore: bump version 2020-10-23 18:10:18 +01:00
George Cushen be0fa17ac0 chore: update GitHub config.yml 2020-10-16 19:28:37 +01:00
Paaz CA 98d093a073 fix: disqus.html (#1876)
Using 'let' keyword doesn't properly work for the disqus configuration variables. 
The original Hugo disqus template uses 'var' (https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/disqus.html),
and the Disqus documentation (https://help.disqus.com/en/articles/1717084-javascript-configuration-variables) also uses the 'var' keyword.
2020-10-08 21:37:20 +01:00
Paaz CA 77166314c0 feat(cms): add noindex for bots (#1881)
Adding the noindex tag can prevent Google from indexing the CMS admin page.
2020-10-08 21:36:20 +01:00
George Cushen e58ee0ffc5 feat: add netlify-cms-academic module 2020-10-01 15:49:23 +01:00
George Cushen f5d9cab6be fix: space before links
Mainly noticeable in CKJ languages.

Fix #1872
2020-10-01 13:09:54 +01:00
Mario Zigliotto 2522f0f120 feat: update head
Close #1852
2020-09-30 19:35:38 +01:00
George Cushen 41772d6c8c feat: improvements to author profile cards
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
  - GetTerms may provide better support for names with unicode or spaces
- Make avatar pic linked (in addition to name)

Close #1750
2020-09-30 16:05:49 +01:00
George Cushen eb15a07dc3 feat: improvements to author list
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
  - GetTerms may provide better support for names with unicode or spaces
- Use Bootstrap's bundled PopoverJS for *instant* and more legible author note tooltips.
- Make author notes more intuitive and mobile friendly - use FA icon with left padding to discern touches.
- Add support for highlighting multiple author names (e.g. team members)

BREAKING CHANGE:

To highlight an author name, add `highlight_name: true` to the author's profile.

Close #1750
Fix #1861
Close #1864
2020-09-30 15:46:04 +01:00
George Cushen 0583f02f70 feat: improvements to author list
- Re-refactor code to use Hugo's `GetTerms` function now that Hugo fixed the unordered bug
  - GetTerms may provide better support for names with unicode or spaces
- Use Bootstrap's bundled PopoverJS for *instant* and more legible author note tooltips.
- Make author notes more intuitive and mobile friendly - use FA icon with left padding to discern touches.
- Add support for highlighting multiple author names (e.g. team members)

BREAKING CHANGE:

To highlight an author name, add `highlight_name: true` to the author's profile.

Close #1750
Fix #1861
Close #1864
2020-09-30 15:43:50 +01:00
George Cushen 42793fe7f0 feat(assets): update PlotlyJS to 1.55.2
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
2020-09-30 15:43:50 +01:00
Paaz CA 7ccfc0b79f i18n: add Hebrew (he) translation (#1863) 2020-09-29 16:16:48 +01:00
George Cushen 12b7ad9f01 feat(assets): update MermaidJS to 8.8.0
8.7.0 introduced new theming system. However, appears no changes necessary as they state "Site-wide themes are still declared via initialize" - see http://mermaid-js.github.io/mermaid/tutorials-and-community/CHANGELOG.html#870-2020-08-09

See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
2020-09-28 01:46:51 +01:00
George Cushen 7158a80983 feat(assets): update LeafletJS to 1.7.1
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
Close https://github.com/wowchemy/wowchemy-hugo-modules/issues/1857
2020-09-28 01:38:29 +01:00
George Cushen 27e2b41b3b feat(assets): update LazysizesJS to 5.2.2
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
2020-09-28 01:33:47 +01:00
George Cushen b78a4eace1 feat(assets): update HighlightJS to 10.2.0
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
2020-09-28 01:29:43 +01:00
George Cushen b8aa71372a feat(assets): update Academicons to 1.9.0
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
Close https://github.com/wowchemy/wowchemy-hugo-modules/issues/1818
2020-09-28 01:28:06 +01:00
George Cushen 85d629124e feat(assets): update AnchorJS to 4.2.2
See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/1860
2020-09-28 01:23:50 +01:00
George Cushen 217538023f fix(scss): case where invisible text on dark button hover/focus
Affects .dark a .btn :hover/focus

For example, with red button and red link color, led to red button with (invisible) red text on button hover/focus.
2020-09-27 00:35:09 +01:00
George Cushen 170204126a feat(shortcode): add cta shortcode for call to action buttons
Examples

Main button CTA:

{{< cta cta_link="https://..." cta_new_tab="true" cta_text="emoji 🚀" >}}

Alternative text CTA:

{{< cta cta_alt_link="./my-page/" cta_alt_text="Go to my page" >}}

Main button CTA and alternative text CTA:

{{< cta cta_link="https://..." cta_new_tab="true" cta_text="emoji 🚀" cta_alt_link="./my-page/" cta_alt_text="Go to my page" >}}
2020-09-27 00:19:35 +01:00
George Cushen b585d9207b feat(archetype): add template for new book pages 2020-09-26 23:50:54 +01:00
George Cushen c67339ac16 refactor: update remaining Academic refs 2020-09-26 23:16:52 +01:00
George Cushen 514d7a0e55 fix: wrong sort order for book folder named updates
Use descending title name order in menu for book folder named `updates`.

Fixes `updates` sidebar sort order in Wowchemy docs site.

Fix #1839
2020-09-26 17:56:25 +01:00
George Cushen 66d1d207fd chore: move monorepo files to theme 2020-09-26 14:48:44 +01:00
George Cushen 2376fb5177 chore: move monorepo files to theme 2020-09-26 14:47:36 +01:00
George Cushen bcf6297b11 feat(shortcode): add callout
Add warning that Alert shortcode will be deprecated and replaced with Callout.

Also fix some old Academic refs.
2020-09-26 14:38:39 +01:00
zertrin 841053c6c8 feat(widget): update Mapbox API due to classic style deprecation
Since June 1, 2020, the Mapbox classic styles are deprecated and may be removed in the future.
This change updates the Leaflet code to use the currently supported Mapbox style API according to the official documentation at https://docs.mapbox.com/help/troubleshooting/migrate-legacy-static-tiles-api/

See #1854
2020-09-25 16:28:21 +01:00
George Cushen d325991ffb feat(shortcode): enable cross-referencing audio
Adds id param to audio shortcode

Hashes are prefixed in the form `#audio-<ID>`

E.g. add `id="my-talk"` when calling the audio shortcode and then reference it using [link to my talk audio](#audio-my-talk)
2020-09-22 23:02:24 +01:00
George Cushen 6789c8948f docs: edit readme 2020-09-20 22:44:45 +01:00
George Cushen ec6c60ba64 refactor: footer styles 2020-09-20 15:42:22 +01:00
George Cushen c4ce9f5bd3 feat(menu): change palette icon to moon + add option to hide search
- a static moon icon is currently commonly used by popular sites such as Facebook and Reddit to represent a light/dark chooser
- fix automatic light/dark theming when the chooser is hidden with `show_day_night` set to `false`
- add boolean `show_search` option to `main_menu` in `params.toml` to hide search button from main (still accessible from the standard / keyboard shortcut)
2020-09-20 14:26:29 +01:00
George Cushen 73d157ece0 feat(menu): option to hide day/night chooser
In params.toml, head to `main_menu` options and set `show_day_night=false` to hide the day/night chooser and theme automatically according to the user's day/night preference for their device.
2020-09-03 22:29:26 +01:00
George Cushen 7455541b48 build: move module config to module 2020-09-03 22:22:29 +01:00
George Cushen 86da39719c refactor: hugo-academic to wowchemy sub-module 2020-09-02 20:59:27 +01:00