Commit graph

1123 commits

Author SHA1 Message Date
George Cushen
5fa9412f9e chore: bump version to v5 Beta 1. 2020-12-04 17:47:23 +00:00
George Cushen
ec46e9e38f feat: support multiple books each with its own dedicated sidebar
Previously, in case of a site with multiple books in a folder, all books shared the same side bar menu listing ALL books and their pages.

List of books (aka book of books) is naturally supported by creating an `_index.md` of `type: page` in the parent folder which contains multiple book folders.

Also bump version to v5 Beta 1.
2020-12-04 17:46:56 +00:00
George Cushen
161cdb903e feat(widget): add support to customize See All link in Featured widget
Documentation: https://github.com/wowchemy/wowchemy-hugo-modules/issues/1800#issuecomment-678817441

BREAKING CHANGE
Removes the old experimental option `content.link_to_archive`

Follows on from Pages widget implementation in 05bfd7c
See #1800
2020-12-04 16:25:23 +00:00
George Cushen
b634d637f1 feat(widget): show email (if entered) in About widget
Previously email only shown if exists and the email form is disabled.

However, both Formspree and Netlify no longer use email address as a parameter, and received request to show email (if entered), in addition to email form, so visitors have the choice to use their usual email client to send a message.

Therefore, show the email address if it was entered.
2020-12-04 15:45:16 +00:00
George Cushen
cdcfa2da28 fix: load page with hash + multiple Portfolio widgets with images
In case of loading a page with a hash set and having multiple Portfolio widgets (Isotope instances) with images, scroll directly to the offset only once all Isotope instances have fully loaded their images and initialised.

Fixes issue with scrolling conflicts due to 600ms hash scroll on page load combined with 600m hash scroll on each Isotope widget loaded, whilst hash offset, if occurring after one or more Portfolio widgets, can be converging.

Replace JS approach for onload scroll to anchor with CSS scroll-padding-top, now that the CSS standard added support for scroll offsets.

Fix #1992
2020-11-29 12:47:59 +00:00
rodrigoalcarazdelaosa
e0d593e688
i18n: update es.yaml (#1998)
Put it on par with the latest en.yaml.
2020-11-27 23:22:26 +00:00
George Cushen
81c301acbb docs: edit contributing.md
Add create widget
Add create shortcode
Add scope info
2020-11-27 22:20:38 +00:00
rodrigoalcarazdelaosa
d5663b2abb
fix(widget): Portfolio .project.card width (#1985)
Fixes 2 and 3 column responsive card layouts leaving extra space at far right side.

Fixes #1981
2020-11-27 22:08:47 +00:00
George Cushen
3a03b728de feat: lazy load images in list items
Assumes list items generally occur below the fold.

May increase Lighthouse scores.

See #1986
2020-11-25 23:02:19 +00:00
George Cushen
8c20b50361 fix(axe): gallery alt 2020-11-23 23:22:32 +00:00
George Cushen
2cdf158914 fix(axe): accessibility improvements 2020-11-23 22:32:03 +00:00
George Cushen
057ded33f5 chore: remove Wowchemy as direct dependency in Hello World theme mod 2020-11-23 00:57:17 +00:00
George Cushen
83f9eef4bc chore: fix Hello World mod to latest master 2020-11-23 00:55:34 +00:00
George Cushen
0a5f34e243 fix(axe): dark header contrast improvement 2020-11-23 00:46:27 +00:00
George Cushen
9e64cb52c7 fix(axe): accessibility improvements 2020-11-22 20:42:42 +00:00
George Cushen
1370a7faa1 chore: update .github/ 2020-11-21 22:51:18 +00:00
George Cushen
38b599c504 fix(scripts): path 2020-11-21 22:27:16 +00:00
George Cushen
c8ceff11dd fix: spacing issue with nested lists in Experience widget
Original style wasn't intended for nested lists to be used within card text.

Fix #1979
2020-11-21 20:35:04 +00:00
George Cushen
58c7dd7a0a fix: edge case causing horizontal scrollbar
Prevent horizontal scrollbar in case of 100vw grid applied to page with vertical scrollbar.

Fix f851142
Fix #1976
2020-11-20 23:16:09 +00:00
George Cushen
1c275b0e61 fix: edge case causing horizontal scrollbar
Prevent horizontal scrollbar in case of 100vw grid applied to page with vertical scrollbar.

Fix f851142
Fix #1976
2020-11-20 22:58:05 +00:00
George Cushen
4dc8eff074 fix: Hugo minfiy removes spaces in Figure captions
Add explicit   to prevent Hugo stripping desired spaces.

Fix #1972
2020-11-19 20:22:04 +00:00
Jim Vine
c9c3e5f51a
feat: make users' roles optional in People widget (#1971)
Add `show_role` option to People widget to hide/show users' roles.
2020-11-19 16:03:53 +00:00
Emanuele Bardelli
fe49f96267
fix: add definition for $show_organizations to People widget
Commit 97606bf added support for show_organizations in the people widget. The original author forgot to add the definition of this variable at top of the widget, leading to hugo not being able to build the site because the variable was not initialized.

This commit adds a definition for show_organizations at the top of the widget and fixes the build error.

Fix 97606bf
2020-11-19 11:45:12 +00:00
Tom Vercauteren
97606bf9c6
feat: option to list each person's organization in People widget
To use, add `show_organizations: true` to People widget front matter

Closes #1941
See #1953
2020-11-18 20:43:02 +00:00
George Cushen
9852d63bc4 build: inc Hugo version to get bug fixes
Hugo 0.78.0 bugs may affect user sites - 7783113488
2020-11-17 18:11:03 +00:00
George Cushen
1597dca920 feat: provide safe fallback for publication type
In case pub_type missing from pub front matter

See https://github.com/wowchemy/starter-academic/issues/147#issue-744067542
2020-11-16 22:44:57 +00:00
George Cushen
31ce192ed9 docs: edit contributing.md 2020-11-15 20:41:49 +00:00
George Cushen
891f811312 feat: add CTA shortcode style 2020-11-15 16:27:04 +00:00
George Cushen
786b0341ee feat: migrate to ES6 modules + Hugo's JS build system
The latest Hugo version, v0.78, enables support for JS ES6 module build support within Hugo/Go modules.

Initial refactor to ES6 modules with imports/exports. Further refactoring todo.

Refactor to use Hugo's new approach to JS param injection.

Refactor theming code from JQuery to vanilla JS.

Add fix for browser deprecation of the MediaQueryList listener.

Requires Hugo 0.78+

See #1929
See #1930
See #1402
2020-11-15 16:12:52 +00:00
George Cushen
9ee65a120f fix: remove scrollToAnchor() from dropdown mouseover
Had somehow got enclosed in the wrong code block.
2020-11-13 21:38:07 +00:00
George Cushen
34a48f8670 fix: typo in Contact widget 2020-11-13 11:31:55 +00:00
George Cushen
8047fac2c1 refactor: make Portfolio widget use new 1-2 column wrapper
(it already supported the logic but didn't use the new wrapper)
2020-11-13 11:30:13 +00:00
egon w. stemle
08190d38dd
fix: use Font Awesome for CC icons in page footer (#1932)
The CC SVG icons, e.g.
 - `<img src="https://search.creativecommons.org/static/img/cc_icon.svg" alt="CC icon">`
started resulting in 404 errors.

[Creative Commons Site](https://creativecommons.org/about/downloads/)
currently suggest something like
 - `<img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt="CC icon">`

But we can get the CC icons from the fab icon pack which is even better.
2020-11-13 01:53:13 +00:00
George Cushen
4dd8f996a4 fix(style): bg-image selector hierarchy
Fixes #1951
2020-11-13 01:28:57 +00:00
George Cushen
6c596cd500 feat: enable Netlify captcha by default to help prevent spam 2020-11-13 00:51:26 +00:00
George Cushen
bc07e3e614 feat: move autolink to content.autolink in Contact widget
See #1940
2020-11-13 00:09:01 +00:00
George Cushen
dbb7d942f0 feat: migrate Formspree due to deprecation
Address "Formspree contact forms do not seem to work anymore for new projects as simple email forms are being deprecated"

New system provides a Form ID to enter in contact widget after registering at https://formspree.io/register

Close #1940
2020-11-12 23:59:56 +00:00
George Cushen
d9db95e245 fix(style): typo
Fixes 05f70db
2020-11-12 18:23:10 +00:00
George Cushen
05f70db041 fix(style): workaround mobile browser issues with fixed bg
Revert the parallax-like fixed background effect on mobile to scroll based attachment.
2020-11-11 23:46:48 +00:00
George Cushen
41f68f4f9b fix(netlify): inconsistent defaults
Netlify Identity was disabled by default in 5d827c258a

So update default in corresponding snippet that checks for Netlify Identity
2020-11-11 16:33:01 +00:00
George Cushen
165dcd6c3e fix(view): inconsistency with external links in Compact view
Fix consistency of link target on summary

Further to 6a44f79db7
2020-11-11 00:54:43 +00:00
George Cushen
4ef2aa3e55 feat(style): remove fade-in animation from widget pages
Make pages appear to load faster, consistent with removal of fade-in animation from other pages.
2020-11-11 00:51:12 +00:00
George Cushen
6ff8f5c3ee fix(style): fix case where widget background overlays content
Issue was primarily noticed when setting a background image on the Hero or Portfolio widgets.

Also, fix background not showing in Firefox due to unsupported `fill-available`.

Fixes b647d7e81a
2020-11-11 00:07:00 +00:00
George Cushen
f21a0cf8f4 test: further simplify site output 2020-11-10 23:17:24 +00:00
George Cushen
6a44f79db7 fix(view): inconsistency with external links in Compact view
As reported here: 7756712556
2020-11-10 20:28:15 +00:00
George Cushen
1ed538027a feat: make landing page checks give warnings rather than errors
Hugo team have added warnf function to enable this.

Also, parse refactored widget titles for Markdown and emojis.
2020-11-09 17:41:24 +00:00
George Cushen
b647d7e81a feat: support both 1 and 2 column variations for most widgets
- support both 1 and 2 column variations for following widgets: "pages" "featured" "experience" "accomplishments" "contact" "blank" "tag_cloud"
- fix parallax conflict with new CSS page grid causing 100% entire page height for a section
   - add dedicated child div for bg prevents parallax 100% height issue within new CSS grid page wrapper
- fix `.page-wrapper` min-height when no-navbar
- fix `.home-section.fullscreen` min-height when no-navbar
- refactor `contact-widget` styles to use existing `wg-contact` class
2020-11-08 22:55:18 +00:00
Vaidic Joshi
49515d9e14
feat(analytics): add support for Microsoft Clarity
Documentation: https://wowchemy.com/docs/guide/analytics/

See #1938
Closes #1923
2020-11-08 13:42:35 +00:00
George Cushen
93ce3d22ad feat: add Hello World theme 2020-11-07 23:40:21 +00:00
George Cushen
e18ecbbff3 feat: add Hello World theme 2020-11-07 23:35:47 +00:00