Commit Graph
1307 Commits
Author SHA1 Message Date
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 - https://discord.com/channels/722225264733716590/742863504515793149/778311348819853392
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: https://discord.com/channels/722225264733716590/742863504515793149/775671255600070686
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
George Cushen 1d67b495d6 feat: add Hello World theme 2020-11-07 23:30:58 +00:00
George Cushen eb76e56841 fix(style): prevent page overflow
Pages with wide horizontal content could horizontally scroll on mobile due to `.page-wrapper` not having fixed width in f851142fb2

Re-add overflow-wrap which was removed in e6dba41f3d (in attempt to simplify logic).

Add horizontal scroll to unresponsive Plotly charts.

Also, refactor chart style and refactor callout styles into dedicated file.

This commit attempts to fix https://discord.com/channels/722225264733716590/742863504515793149/774343154949816350
2020-11-06 21:50:12 +00:00
George Cushen 8e23f3f748 fix: Hugo does not fully mount multiple modules
Fixes sites missing speaker note capability for slides when loading multiple Hugo Modules.

Fix #1933
2020-11-06 13:53:33 +00:00
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