Commit graph

1711 commits

Author SHA1 Message Date
Geo
a1e764ece6 refactor: split out Netlify module
Creates dedicated module for Netlify deployment:

github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify

See #2754
2022-06-28 19:34:26 +01:00
Geo
e186f9b782 refactor: rename module
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugins-netlify-cms

See #2754
2022-06-28 18:52:40 +01:00
Geo
a042ab6e60 refactor: rename modules
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5

github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugins-netlify-cms/v1

See #2754
2022-06-28 18:29:39 +01:00
Geo
1f3cbd0137 feat: redesign Gallery to use grid layout
Postfix -f (full width), -s (small), or -m (medium) to image names for them to span different areas of the grid.
2022-06-28 18:11:38 +01:00
Geo
565e5a40ae fix: invisible BibTeX citation in dark mode
Regression from migration of HLJS to Hugo's Chroma.

Fix #2753
2022-06-27 15:07:44 +01:00
Geo
4ce2a141a3
starters: fix readme news section 2022-06-21 17:31:45 +01:00
Yury Zhauniarovich
0d8a6eb42e
fix: pass context to the hook partial (#2749)
This commit fixes a bug of the context not being passed to the hook partial.
2022-06-21 17:15:32 +01:00
Daniel
f347d63546
feat: add Slider background fit option to cover or contain image (#2715)
Slider examples:

To scale the image to fit within the slide:

background:
  fit: contain

To fill the slide with the image (default behavior):

background:
  fit: cover
2022-06-15 18:29:38 +01:00
Stefano Cecere
b18d867d88
i18n: update it.yaml (#2738)
updated to sync entries with the latest en.yaml
2022-06-08 11:48:52 +01:00
Geo
acd74954b5 feat: more flexible hooks system
1. Use more standard hook names:
- head-start
- head-end
- body-end
- footer-start
- toc-start
- toc-end

2. Enable multiple files per hook. For example, a starter template may have `hooks/head-end/tpl.html` and a user may have customizations in `hooks/head-end/user.html`

custom_head.html -> hooks/head-end/custom.html
custom_js.html -> hooks/body-end/custom.html

Deprecates custom_head.html and custom_js.html but they remain supported for now.
2022-06-03 00:40:52 +01:00
Geo
d26624902d fix: inclusion of null locs in sitemap.xml
Impacted by Hugo changes

Fix #2732
2022-06-02 22:56:51 +01:00
Geo
d0aac60634 docs: clarify contribution steps 2022-06-02 21:09:20 +01:00
Geo
076464227c feat: migrate prev/next pager to Hugo's cascade system
New cascade front matter param: .Params.pager

Close #2737
See #2395
2022-06-02 20:12:36 +01:00
Geo
45f971c352 feat(book): auto-list child pages and add fallback title
Quality of life improvements for creating second brains or knowledge bases with apps like Obsidian.
2022-06-02 20:00:37 +01:00
Geo
50de7bd87e feat: check that Chroma theme exists
Also renames global Chroma theme variables to:

site.Params.features.syntax_highlighter.theme_light
site.Params.features.syntax_highlighter.theme_dark
2022-06-02 20:00:37 +01:00
Tatsuki
98932fcf96
i18n: improve Japanese translation (#2720) 2022-05-25 00:42:01 +01:00
Geo
aa03201adb starters(notes): add Cover image 2022-05-16 19:53:40 +01:00
Geo
2d2e58d8f4 feat: add Cover image to Book layout 2022-05-16 19:44:32 +01:00
Geo
0fa9b81706 starters(notes): get fix for regression space in Book menu 2022-05-16 13:31:57 +01:00
Geo
b804e4ab2f fix: regression space in Book menu
Fixes earlier commit

Fix 9868b04fae
2022-05-16 13:24:51 +01:00
Geo
77a684a7d2 starters(notes): edit 2022-05-16 12:25:32 +01:00
Geo
da81c3b8fe feat: add Notes starter template 2022-05-16 12:04:17 +01:00
Geo
3e7984306c refactor: consistency 2022-05-16 11:55:26 +01:00
Geo
9868b04fae fix: case with book at site root 2022-05-16 11:40:29 +01:00
Geo
c83227df43 feat: add legacy fallback to clipboard copy 2022-05-14 17:28:08 +01:00
Geo
fac5d24b4c feat: use built-in Hugo syntax highlighter
Increase site performance and reduce dependencies

Also, adds Copy button to code blocks.
2022-05-14 16:58:08 +01:00
Geo
872132abc6 style: upgrade devDependencies
Stylelint added many new default rules

Added some temp rule exclusions until code can be refactored

Ran ESlint and Stylelint auto-fixer to fix any new errors which can be auto-fixed
2022-05-14 13:50:15 +01:00
Geo
e0c66403a3 starters(slides): workaround Hugo span injection
See 2708
2022-05-12 18:58:15 +01:00
Geo
b26aa0f99f starters: allow frame embeds for speaker notes 2022-05-12 18:41:10 +01:00
Markus Hofbauer
814fa1db69
starters: update link to export slides as pdf (#2709) 2022-05-12 11:46:38 +01:00
Geo
c2752b9991 starters(course): update Hero 2022-05-11 21:02:18 +01:00
Geo
cacfcca779 starters(course): demo filtering by courses 2022-05-11 20:31:56 +01:00
Geo
f9565e3931 feat(portfolio): add filters for exclude_tags and page kind
Experimental Portfolio widget support for:

content.filters.exclude_tags
content.filters.kinds
2022-05-11 20:26:29 +01:00
Nathan Rutherford
6b1f2f3cf0
starters(academic): update default cms branch (#2705)
The Academic repo branch was renamed from master to main so when netlify creates a new repo based on this template, the default branch is named 'main' instead of 'master'.

Leaving the default cms branch param as 'master' will result in a credentials error whenever a user tries to login using the /admin page. Renaming this to 'main' fixes the error.
2022-05-08 15:02:44 +01:00
Geo
30cbf91201 docs: edit 2022-04-24 23:15:02 +01:00
Geo
d13358e38f starters: update 2022-04-23 19:11:19 +01:00
Geo
17d5d3f0ca starters: update 2022-04-23 19:09:19 +01:00
Geo
74223e9458 fix: upstream Bootstrap bug in mobile menu toggle
Bootstrap error: TypeError: Cannot read properties of undefined (reading '_isTransitioning')

Resolved in Bootstrap v4.6.1

See https://discord.com/channels/722225264733716590/742863504515793149/967407603284078662

See https://github.com/twbs/bootstrap/releases/tag/v4.6.1
2022-04-23 19:01:11 +01:00
Geo
6f48b6368a fix: upstream Bootstrap bug in mobile menu toggle
Bootstrap error: TypeError: Cannot read properties of undefined (reading '_isTransitioning')

Resolved in Bootstrap v4.6.1

See https://discord.com/channels/722225264733716590/742863504515793149/967407603284078662

See https://github.com/twbs/bootstrap/releases/tag/v4.6.1
2022-04-23 18:40:13 +01:00
Geo
4f9bb2bb82 starters: redesign of Minimal template 2022-04-23 15:11:29 +01:00
Geo
378aa6124f starters: redesign of Minimal template 2022-04-21 13:52:47 +01:00
Geo
1325f0a9c1 starters: redesign of Minimal template 2022-04-21 13:35:30 +01:00
Geo
719dcbe8f8 feat: support tooltip and PDF in new tab in about.avatar widget 2022-04-21 13:34:17 +01:00
Geo
1ed86e35ab fix: regression in cite copy button
Button action started copying wrapping HTML tags too
2022-04-20 15:40:21 +01:00
Geo
b026701dd6 feat: re-add link option to figures 2022-04-17 15:37:27 +01:00
Geo
3f178a06f4 starters: mod update 2022-04-14 13:57:06 +01:00
Geo
f6b6d73605 chore: edit go.mod 2022-04-12 12:37:04 +01:00
amistyrain
3ee572954a
fix: post list duplicated on project page (#2682)
Fixes recent copy/paste typo
2022-03-25 14:09:50 +00:00
Geo
fa9827b726 feat: autodetect Isotope usage
Remove Params.extensions.isotope.enable
2022-03-24 19:11:49 +00:00
Geo
4de6c3e203 starters: fix image 2022-03-24 15:38:42 +00:00