Compare commits

...

161 commits

Author SHA1 Message Date
George Cushen 676a1b20ee starters: update 2024-06-02 16:26:24 +01:00
George Cushen 492e343c2a fix(style): lint 2024-06-02 14:39:01 +01:00
George Cushen f726390527 fix(style): fix bio center alignment 2024-06-02 14:33:45 +01:00
George Cushen f78044d2b4 fix(pagefind): case where baseUrl/bundleUrl not auto detected
See https://discord.com/channels/722225264733716590/1246693780191449159/1246693780191449159
2024-06-02 14:10:52 +01:00
George Cushen 2b11b7e9fb feat(tailwind): prevent error when using hugo new site
As unfortunately Hugo always triggers error even when using `with` statement with a non-safelisted `os.Getenv` var
2024-06-01 19:27:12 +01:00
George Cushen 6b70757505 feat(tailwind): add include shortcode for re-usable Markdown blocks 2024-06-01 19:21:51 +01:00
George Cushen 776e5c09c0 feat(tailwind): port TOC shortcode 2024-06-01 16:31:32 +01:00
George Cushen 9b3512593a i18n: fix ID 2024-06-01 14:26:24 +01:00
George Cushen a5aba50938 feat: reimplement backlinks 2024-06-01 14:26:24 +01:00
Eugen Richter 8d25fbed12
i18n: add missing translations for DE (#3105)
Add missing German translations
2024-05-27 19:55:48 +01:00
George Cushen f8dfd561a6 starters: fix: GitHub Pages doesn't support Go v1.22 yet 2024-05-24 00:51:06 +01:00
George Cushen 322b500bd2 starters: update 2024-05-19 17:46:11 +01:00
George Cushen 81df9f3e9c starters: update 2024-05-19 17:20:22 +01:00
George Cushen 50c6efcd67 starters: port Academic theme to Tailwind 2024-05-19 17:12:23 +01:00
George Cushen 5ee9dc5857 starters: port Academic theme to Tailwind 2024-05-19 16:39:09 +01:00
George Cushen 928399f2cd feat(blox): add fill_image option to article-grid view
Also
- Fixes Tailwind safelist/whitelistPatterns given change in Tailwind v3 config structure
- Renames new `resume-biography-2` to `resume-biography-3` due to clash
2024-05-19 16:32:46 +01:00
George Cushen 3463e63b4c feat(blox): port Academic CV two column avatar/bio blox
Adds `resume-biography-2` blox
2024-05-19 13:13:48 +01:00
George Cushen 78e9a5787d feat(view): reduce data size in Card 2024-05-19 13:12:23 +01:00
George Cushen d8ba8a1565 feat(view): fix left alignment for multiple var length citation views 2024-05-19 13:11:58 +01:00
George Cushen 307f5b9798 feat(view): fix case of no authors specified in article-grid view 2024-05-19 13:10:31 +01:00
George Cushen 01488c3821 feat(blox): allow to specify grid cols in article-grid view 2024-05-19 13:09:52 +01:00
George Cushen 564bf13e6d feat(blox): support HTML & fix accessibility in case of Emerald bg 2024-05-19 13:08:20 +01:00
George Cushen 55b856df3a feat(blox): support HTML & multiple paragraphs in Markdown blox 2024-05-19 13:07:35 +01:00
George Cushen 370dc623ab fix: debug msg 2024-05-19 13:06:15 +01:00
George Cushen 934246c45b starters: update 2024-05-18 21:17:09 +01:00
George Cushen 971f297e46 feat: add support for backlinks
Enabled by default in right sidebar. Can be disabled with `backlinks: false` in front matter.

See https://github.com/gohugoio/hugo/issues
2024-05-18 21:14:14 +01:00
George Cushen c2e9a799f7 starters: add publication_type filter example 2024-05-13 20:45:41 +01:00
George Cushen 3fa4435e55 starters: add publication_type filter example 2024-05-13 20:33:55 +01:00
George Cushen 41bd113535 feat(collection): add exclude_publication_type filter 2024-05-13 20:33:11 +01:00
dajakus c3d23d929b
i18n: update hr.yaml (#3096)
Added fields and translation for # Countdown widget
2024-05-10 00:17:41 +01:00
dajakus be5537b684
i18n(bootstrap): Add Croatian support to bootstrap (#3099) 2024-05-10 00:16:39 +01:00
Chen 7d5cbf3ce7
i18n: fix translation id for conference paper (#3095) 2024-05-07 20:44:15 +01:00
George Cushen 75a42222e9 feat(tailwind): port support for Publications and Events 2024-05-06 23:16:55 +01:00
George Cushen 2261d9b5f8 feat: add support for serif font 2024-05-06 23:14:37 +01:00
George Cushen 4a22c57dc3 fix: Callout accessibility and margin bottom 2024-05-06 23:13:48 +01:00
George Cushen 347501f9ea fix: show Collection title 2024-05-06 23:12:53 +01:00
George Cushen d147e71f52 feat: add show_skill_percentage option 2024-05-06 23:12:37 +01:00
George Cushen eba36169bb feat: add Emerald theme 2024-05-06 23:11:47 +01:00
George Cushen dcdb3d3506 feat: add support for Alpine JS 2024-05-05 22:44:16 +01:00
George Cushen 3c4070ab45 feat: improve table shortcode style 2024-05-05 22:44:16 +01:00
George Cushen 92354b9cd9 feat: rename footer.block to footer.blox 2024-05-05 22:44:16 +01:00
Filip Vukelic e7beed231a
feat(decap): add first and last name fields to decap_cms_config.yaml (#3092) 2024-04-29 20:42:09 +01:00
George Cushen 5c88aec094 feat(blox): add clearer error message 2024-04-27 16:36:22 +01:00
George Cushen 0e99f0b10f starters: move Bootstrap templates to dedicated folder 2024-04-27 16:20:15 +01:00
George Cushen 7b3f949177 starters: fix Hugo not loading assets
See https://discord.com/channels/722225264733716590/1233597456541941851/1233597456541941851
2024-04-27 16:15:27 +01:00
Niskala Airaha f2ddf643ff
i18n: improve ms-Arab language pack (#3088)
Somehow overlooked the underscore.
2024-04-25 20:26:43 +01:00
dajakus c767554c5b
i18n: add Croatian (hr) Language Pack (#3090) 2024-04-25 20:24:33 +01:00
George Cushen 137ebf6fdc starters: update - plugin framework 2024-04-20 22:52:24 +01:00
George Cushen 11a51f8e9f feat(Tailwind): add support for community blox 2024-04-20 22:45:32 +01:00
George Cushen ab18989a41 starters: update
See https://discord.com/channels/722225264733716590/738924320339918858/1231150865977708605
2024-04-20 13:38:56 +01:00
George Cushen 9547f9a844 fix: only replace explicit mobile menu links with automated links for Docs pages
See https://discord.com/channels/722225264733716590/738924320339918858/1231150865977708605
2024-04-20 13:37:51 +01:00
Byron Collins 77b6043ea7
feat: add Naver (Korea) search engine verification (#3082) 2024-04-17 21:10:52 +01:00
George Cushen 59a57b0518 starters: upgrade GitHub actions
GitHub broke some actions by removing Node 16.
2024-04-15 20:06:45 +01:00
George Cushen c03355fea5 docs: edit 2024-03-10 16:23:19 +00:00
George Cushen 76c545771e starters(tailwind): migrate from post to blog as default blog post folder
Informed by user feedback.
2024-03-03 17:05:35 +00:00
George Cushen 4e81f629de starters(tailwind): migrate from post to blog as default blog post folder
Informed by user feedback.
2024-03-03 17:02:10 +00:00
George Cushen 469a458ab9 feat(layout): migrate from post to blog as default blog post folder
Informed by user feedback.
2024-03-03 16:58:09 +00:00
George Cushen 07fe0da177 feat(shortcode): support Hugo v0.123 deprecation of GetCSV
Resolves following Hugo issue:

INFO  deprecated: data.GetCSV was deprecated in Hugo v0.123.0 and will be removed in a future release. use resources.Get or resources.GetRemote with transform.Unmarshal.
2024-03-03 16:56:40 +00:00
George Cushen cee6e1e3e1 feat(blox): optionally hide skill percent
when `percent` field is empty

As requested in https://discord.com/channels/722225264733716590/1213513275069960263/1213513275069960263
2024-03-02 18:04:22 +00:00
George Cushen b13d437838 starters: update metadata 2024-02-28 22:14:08 +00:00
George Cushen 6419ee6413 starters: update metadata 2024-02-28 21:49:47 +00:00
George Cushen 5e0fb4a205 starters: update mod 2024-02-28 19:55:30 +00:00
George Cushen ae83c68788 feat: add technical icon pack
Adds https://devicon.dev/

Reference like `icon: devicon/rstudio`

Closes #3063
2024-02-28 19:53:00 +00:00
George Cushen 5fab7f3a48 starters: update modules 2024-02-26 23:23:41 +00:00
George Cushen b7ae01c123 fix: custom icons 2024-02-26 20:44:35 +00:00
George Cushen 8fa6800800 fix: custom icons 2024-02-26 20:43:18 +00:00
George Cushen da6ffe72ba starters: update modules 2024-02-24 17:08:36 +00:00
George Cushen 623ca31a5f feat(bootstrap): add compatibility for Hugo v0.123 2024-02-24 17:00:54 +00:00
George Cushen ff085a9fde starters(docs): fix responsive docs menu hidden between md-lg widths 2024-02-24 16:52:53 +00:00
George Cushen 5fc2af797a fix(docs): responsive docs menu hidden between md-lg widths 2024-02-24 16:47:09 +00:00
George Cushen 848582253c fix(docs): mobile menu background
Reported by Rodri on Discord
2024-02-24 16:25:16 +00:00
George Cushen 552df4b957 starters: port docs template
See #3010
2024-02-18 00:48:43 +00:00
George Cushen 06e9c42adc starters: port docs template
See #3010
2024-02-18 00:47:52 +00:00
George Cushen 747d78e86b starters: port docs template
See #3010
2024-02-18 00:39:43 +00:00
George Cushen 69d49c0b4a feat: port docs template
See #3010
2024-02-18 00:35:15 +00:00
George Cushen a7041920bc starters: port docs template
Close #3010
2024-02-17 22:10:53 +00:00
George Cushen 0d0905a765 starters: port docs template
Close #3010
2024-02-17 22:09:59 +00:00
George Cushen 90c9225b9a starters: port docs template
Close #3010
2024-02-17 21:55:51 +00:00
George Cushen 0929442284 starters: port docs template
Close #3010
2024-02-17 21:53:12 +00:00
George Cushen ae7f0c5979 feat: port docs layout
See #3010
2024-02-17 21:29:18 +00:00
rodrigoalcarazdelaosa 5ab1d19b01
feat(plugins): update Reveal from v4 to v5 to enable Scroll View (#3051) 2024-02-04 19:18:12 +00:00
George Cushen a6d0923a1e starters(blog): enable Hugo v0.122 native math passthrough by default
Requires Hugo v0.122.0+
2024-01-28 18:42:41 +00:00
George Cushen 728baf9dc0 starters(blog): enable Hugo v0.122 native math passthrough by default
Requires Hugo v0.122.0+
2024-01-28 18:40:00 +00:00
George Cushen 3fb9b2e11a feat: enable Hugo v0.122 native math passthrough by default
Requires Hugo v0.122.0+
2024-01-28 18:37:58 +00:00
George Cushen 0d7b68fcb5 feat: Hugo deprecated site.GoogleAnalytics 2024-01-28 18:23:53 +00:00
George Cushen 70fd49a584 feat: Hugo deprecated site.GoogleAnalytics 2024-01-28 18:14:31 +00:00
George Cushen 508cbef99d chore: migrate workflow 2024-01-19 18:45:33 +00:00
George Cushen 04ee3fc2c5 chore: bump v 2024-01-16 22:46:44 +00:00
George Cushen 51d09b0b6a feat: add PP default 2024-01-16 22:36:03 +00:00
George Cushen d9af47ca37 starters: update 2024-01-13 17:50:46 +00:00
George Cushen 1975d0f568 fix(tailwind): enable announcement to be hidden in Hero blox 2024-01-13 17:45:20 +00:00
George Cushen a73f8bd5b7 feat(tailwind): port navbar align option 2024-01-13 17:44:12 +00:00
George Cushen ab509c2f07 starters: update Landing 2024-01-03 20:18:01 +00:00
George Cushen 35f75d5b7e feat(blox): add Stats and Testimonials 2024-01-03 20:13:12 +00:00
George Cushen 08cce59b88 starters(resume): edit spacing 2024-01-02 00:02:07 +00:00
George Cushen 190577cbbe starters(blog): show BiliBili example 2023-12-29 23:38:24 +00:00
George Cushen b290b27077 feat(tailwind): port custom.css feature
Also:

-improve BiliBili shortcode responsive style
-prefix resume blox names in backwards compatible way
-use blox-analytics
-rename module config.yaml to hugo.yaml
2023-12-29 23:34:33 +00:00
George Cushen 1bc54d5d14 feat: port analytics to blox-analytics 2023-12-29 22:59:55 +00:00
rodrigoalcarazdelaosa 824ef0dbf0
feat(bootstrap): update Font Awesome to v6.5.1 (#3034) 2023-12-20 13:33:17 +00:00
George Cushen 75811a87a2 fix: accessibility 2023-12-17 14:09:36 +00:00
George Cushen 9b4580f4be starters: update 2023-12-17 14:00:14 +00:00
George Cushen f1e179b23d feat(tailwind): increase default section spacing 2023-12-17 13:52:17 +00:00
George Cushen b45980e210 feat(tailwind): port blog TOC sidebar 2023-12-17 13:04:28 +00:00
George Cushen de03f3f22d feat(tailwind): port blog TOC sidebar 2023-12-17 07:35:14 +00:00
George Cushen 0d12bd1d28 fix(tailwind): syntax highlighting
Note to override default syntax highlighting style, custom CSS must now be used - the `params.yaml` options for choosing syntax themes are deprecated.

Fixes #3030
2023-12-16 14:33:42 +00:00
George Cushen 46e2fa4c7b starters: update
add full navbar, feature lists, and blog to landing page
2023-12-15 00:03:24 +00:00
George Cushen 5a4b7ec721 feat(navbar): port logo, submenus, button
add `header.navbar.fixed_to_top` bool option

make biography blox compatible with dark section class

center views in Collections and List tpl

add features and feature_icon options to cta-image-paragraph view
2023-12-14 23:55:19 +00:00
George Cushen d31adfedd4 feat: port paginator 2023-12-09 20:30:44 +00:00
George Cushen 19f7b3a14e starters: update 2023-12-06 00:04:39 +00:00
George Cushen e29517634e feat: add date-title-summary view 2023-12-05 22:10:46 +00:00
George Cushen 577674f243 starters: update 2023-12-03 22:57:01 +00:00
George Cushen dced0cd824 starters: add Landing Page 2023-12-03 17:48:48 +00:00
George Cushen d684873cd0 feat: port Features/CTA blox 2023-12-03 17:34:37 +00:00
George Cushen e4309ca0ce starters: update mod 2023-12-02 22:36:09 +00:00
George Cushen 768ab131c5 fix(tailwind): translation chooser
Also, migrate Markdown block from markdowify to RenderString for shortcodes
2023-12-02 22:30:48 +00:00
George Cushen 11aedd9912 feat: enable landing pages to be used on Hugo list pages (_index.md) without url workaround 2023-11-29 00:15:16 +00:00
Johannes Becker c57e12dd31
feat(bootstrap): support facet filters for docsearch (#3026)
Closes #3022
2023-11-27 21:19:43 +00:00
George Cushen 0263ff0d06 feat: add telegram, whatsapp, weixin icons 2023-11-27 21:11:48 +00:00
George Cushen 70c62c8dbe feat: add telegram, whatsapp, weixin icons 2023-11-27 20:59:56 +00:00
George Cushen a3e3b03dd8 fix: landing page 2023-11-27 02:15:27 +00:00
George Cushen d4d8f739af ci: update 2023-11-26 21:25:03 +00:00
George Cushen d2e84bae02 starters: update 2023-11-25 23:39:49 +00:00
George Cushen 7b6976eaf6 starters: update 2023-11-25 23:34:29 +00:00
George Cushen 4a2021a73a starters: update 2023-11-25 23:33:34 +00:00
George Cushen 99dddeda73 starters: update 2023-11-25 20:54:04 +00:00
George Cushen f431a4a2c7 starters: update 2023-11-25 20:45:55 +00:00
George Cushen a523cfb805 starters: update 2023-11-25 20:34:49 +00:00
George Cushen 804c70f7ef feat: support privacy analytics (fathom, plausible, pirsch) 2023-11-25 20:05:20 +00:00
George Cushen 97d99341d5 feat: apply primary color in more places 2023-11-25 19:53:14 +00:00
George Cushen 00b9ae5431 feat: port Hero blox 2023-11-24 23:16:21 +00:00
George Cushen fef14e4b4c feat: add more color themes
also
- rename theme_default to mode
- port feedback comp
2023-11-24 14:48:34 +00:00
George Cushen f295093397 ci: fix 2023-11-16 08:37:45 +00:00
George Cushen a92cd7f34b ci: fix 2023-11-16 08:25:16 +00:00
George Cushen c5f07a80c6 ci: fix 2023-11-16 08:15:20 +00:00
George Cushen 2b677732a6 starters: update modules 2023-11-16 08:06:29 +00:00
George Cushen 358962ce08 feat(tailwind): port brand icons, tags page, search, Awards block, card zoom 2023-11-16 07:57:40 +00:00
George Cushen e48152bc93 feat(tailwind): port theme change event 2023-11-13 22:28:01 +00:00
George Cushen 3d7a5172af feat(tailwind): port theme change event 2023-11-13 22:23:32 +00:00
George Cushen c432620c14 style: fix accessibility 2023-11-13 20:26:55 +00:00
George Cushen ebaf14037b style: fix accessibility 2023-11-13 20:25:41 +00:00
George Cushen 4ffeaab47c ci: fix deprec warnings 2023-11-13 18:52:55 +00:00
George Cushen fbe947062c starters: add Resume template 2023-11-13 18:38:29 +00:00
George Cushen bf2aae99ab feat(blox-tailwind): add skills, languages, experience blox 2023-11-13 18:34:53 +00:00
George Cushen 56272d835c starters: move notebook importer to blog template 2023-11-09 23:53:21 +00:00
Thom Wiggers 425726d96b
feat: support Hugo v0.120 - fix display of addresses
Add support for breaking changes in Hugo v0.120.0

The delimiters got escaped by Hugo v0.120

See #3012
Close #3016
2023-11-09 18:01:18 +00:00
George Cushen 590f4123eb starters: update to latest Hugo best practices (hugo.yaml) 2023-11-09 15:59:43 +00:00
George Cushen d9695efa09 fix: links (cont.) 2023-11-09 14:58:28 +00:00
George Cushen 448ed0e3bd ci: fix/rename 2023-11-08 14:33:25 +00:00
George Cushen a94b93a9f2 ci: fix/rename 2023-11-08 14:32:48 +00:00
George Cushen 904265fd42 starters(academic): modules update 2023-11-08 14:21:47 +00:00
George Cushen 5849f386bd fix: blox-seo require 2023-11-08 14:19:41 +00:00
George Cushen 44846a6691 fix: blox-seo require 2023-11-08 14:17:30 +00:00
George Cushen 0478cf6921 fix: blox-reveal require 2023-11-08 14:15:15 +00:00
George Cushen 22992233d8 fix: blox-bootstrap require 2023-11-08 14:12:29 +00:00
George Cushen 9b2e271c7c fix: links 2023-11-07 23:09:38 +00:00
George Cushen f9b227c335 feat: Netlify CMS renamed to Decap CMS
See #3007
2023-11-05 16:32:42 +00:00
George Cushen 20f6ecb81f feat: auto-import Jupyter Notebooks as blog posts 2023-11-05 00:08:40 +00:00
George Cushen 42cbd66239 feat: add support for breaking changes in Hugo v0.120.0
See https://github.com/gohugoio/hugo/releases/tag/v0.120.0

Close #3012
2023-11-02 17:53:27 +00:00
George Cushen d537e4be48 feat: add support for breaking changes in Hugo v0.120.0
See https://github.com/gohugoio/hugo/releases/tag/v0.120.0

Close #3012
2023-11-02 17:49:54 +00:00
George Cushen 0120b464b2 starters: update to wowchemy-bootstrap v5.9.2 2023-11-02 17:15:19 +00:00
George Cushen 51997ad4c2 starters: update to wowchemy-bootstrap v5.9.2 2023-11-02 17:13:15 +00:00
1338 changed files with 25118 additions and 5782 deletions

View file

@ -2,4 +2,5 @@
**/_vendor/
**/vendor/
public/
**/assets/dist/lib/**
**/assets/dist/**
**/pagefind/**

2
.github/FUNDING.yml vendored
View file

@ -1,2 +1,2 @@
github: gcushen
custom: https://wowchemy.com/sponsor/
custom: https://hugoblox.com/sponsor/

View file

@ -11,15 +11,15 @@ body:
We use GitHub Issues for project management, **NOT for support**.
🚑 For **help** and **questions**, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/wowchemy/wowchemy-hugo-themes/discussions)**, and if not, ask your question there instead.
🚑 For **help** and **questions**, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/HugoBlox/hugo-blox-builder/discussions)**, and if not, ask your question there instead.
Bug reports also shouldn't be used for support requests about a specific problem in your site, only if the issue can be reproduced on a fresh Wowchemy template.
Bug reports also shouldn't be used for support requests about a specific problem in your site, only if the issue can be reproduced on a fresh Hugo Blox Builder template.
Also, you can search and browse the extensive [Wowchemy](https://wowchemy.com/docs/) and [Hugo](https://gohugo.io/documentation/) **documentation**.
Also, you can search and browse the extensive [Hugo Blox Builder](https://docs.hugoblox.com) and [Hugo](https://gohugo.io/documentation/) **documentation**.
For questions on _Blogdown_, please reach out to the [Blogdown community](https://github.com/rstudio/blogdown).
For questions on _RStudio/Blogdown_, please reach out to the [RStudio/Blogdown community](https://github.com/rstudio/blogdown).
Please fill out each section below. This info allows Wowchemy contributors to diagnose (and fix!) your issue as quickly as possible. Otherwise we might need to close the issue (e.g. when it's missing clear steps to reproduce).
Please fill out each section below. This info allows Hugo Blox Builder contributors to diagnose (and fix!) your issue as quickly as possible. Otherwise we might need to close the issue (e.g. when it's missing clear steps to reproduce).
Also, please verify that your issue is present in the very latest `main` version.
- type: checkboxes
@ -27,9 +27,9 @@ body:
label: Preliminary Checks
description: Please make sure that you verify each checkbox and follow the instructions for them.
options:
- label: "This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/wowchemy/wowchemy-hugo-themes/issues?q=is%3Aissue"
- label: "This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/HugoBlox/hugo-blox-builder/issues?q=is%3Aissue"
required: true
- label: "This issue is not a question, feature request, or anything other than a bug report directly related to Wowchemy. Please post those things on Discord: https://discord.gg/z8wNYzb"
- label: "This issue is not a question, feature request, or anything other than a bug report directly related to Hugo Blox Builder. Please post those things on Discord: https://discord.gg/z8wNYzb"
required: true
- type: textarea
attributes:
@ -46,7 +46,7 @@ body:
description: |
Link to a minimal reproduction of the issue (GitHub repository).
**Ideally, create a minimal reproduction of the issue on a fresh template rather than linking to your site's repository: https://wowchemy.com/hugo-themes/
**Ideally, create a minimal reproduction of the issue on a fresh template rather than linking to your site's repository: https://hugoblox.com/hugo-themes/
validations:
required: true
- type: textarea
@ -103,11 +103,11 @@ body:
- Microsoft Edge
- Other
- type: input
id: wowchemy-tpl
id: hb-tpl
attributes:
label: Which Wowchemy template are you using?
description: 'For example, a template from https://wowchemy.com/hugo-themes/'
placeholder: 'e.g., Academic Resume'
label: Which Hugo Blox template are you using?
description: 'For example, a template from https://hugoblox.com/templates/'
placeholder: 'e.g., Academic CV'
validations:
required: true
- type: input

View file

@ -2,13 +2,13 @@ blank_issues_enabled: false
contact_links:
- name: Questions
url: https://discord.gg/z8wNYzb
about: Chat live with the Wowchemy community on Discord.
about: Chat live with the Hugo Blox Builder community on Discord.
- name: Discussions
url: https://github.com/wowchemy/wowchemy-hugo-themes/discussions
about: Discuss Wowchemy on the GitHub Discussions forum
url: https://github.com/HugoBlox/hugo-blox-builder/discussions
about: Discuss Hugo Blox Builder on the GitHub Discussions forum
- name: Troubleshooting Guide
url: https://wowchemy.com/docs/hugo-tutorials/troubleshooting/
url: https://docs.hugoblox.com/reference/troubleshooting/
about: Solve common issues fast.
- name: Documentation
url: https://wowchemy.com/docs/
url: https://docs.hugoblox.com/
about: Review the documentation

View file

@ -8,9 +8,9 @@ body:
label: Prerequisites
description: Take a minute to help our open source contributors.
options:
- label: I have [searched](https://github.com/wowchemy/wowchemy-hugo-themes/issues?q=is%3Aissue) for duplicate or closed feature requests
- label: I have [searched](https://github.com/HugoBlox/hugo-blox-builder/issues?q=is%3Aissue) for duplicate or closed feature requests
required: true
- label: I am mindful of the project [scope](https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/CONTRIBUTING.md#scope)
- label: I am mindful of the project [scope](https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md#scope)
required: true
- type: textarea
id: proposal

View file

@ -8,4 +8,4 @@ If this is a GUI change, try to include screenshots of the change. If not, pleas
### Documentation
If this is an enhancement, add a link here to the corresponding pull request on https://github.com/sourcethemes/academic-www or describe the documentation changes necessary.
If this is an enhancement, link to the relevant page on the documentation site and describe the necessary changes.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 KiB

After

Width:  |  Height:  |  Size: 510 KiB

View file

@ -15,10 +15,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x]
# node-version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true # Fetch any Git submodules (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
@ -41,6 +41,16 @@ jobs:
- name: Check for linting errors
run: pnpm run lint:js # TODO: also lint styles again once new rule errors resolved
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.3'
extended: true
- name: Build
run: hugo --minify
working-directory: test
# format:
# runs-on: ubuntu-latest
#
@ -54,26 +64,8 @@ jobs:
# - name: Prettify code
# uses: creyD/prettier_action@v3.1
# with:
# prettier_options: '--write wowchemy/*.{css,js,json,md,scss} wowchemy/**/*.{css,js,json,md,scss}' # Match package.json
# prettier_options: '--write blox-tailwind/*.{css,js,json,md,scss} blox-tailwind/**/*.{css,js,json,md,scss}' # Match package.json
# prettier_version: '2.2.1' # Match package.json
# commit_message: 'refactor: format code'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
hugo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch any Git submodules (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.119.0'
extended: true
- name: Build
run: hugo --minify
working-directory: test

View file

@ -17,24 +17,28 @@ jobs:
matrix:
# define package to repository map
package:
- local_path: 'academic'
split_repository: 'starter-hugo-academic'
- local_path: 'markdown-slides'
split_repository: 'starter-hugo-markdown-slides'
- local_path: 'blog'
split_repository: 'hugo-blog-theme'
- local_path: 'documentation'
split_repository: 'hugo-documentation-theme'
- local_path: 'portfolio'
split_repository: 'starter-hugo-portfolio-theme'
- local_path: 'course'
split_repository: 'starter-hugo-online-course'
- local_path: 'link-in-bio'
split_repository: 'hugo-link-in-bio-theme'
- local_path: 'research-group'
split_repository: 'starter-hugo-research-group'
- local_path: 'second-brain'
split_repository: 'hugo-second-brain-theme'
- local_path: 'starters/academic-cv'
split_repository: 'theme-academic-cv'
- local_path: 'starters/resume'
split_repository: 'theme-resume'
- local_path: 'starters-bootstrap/markdown-slides'
split_repository: 'theme-markdown-slides'
- local_path: 'starters/blog'
split_repository: 'theme-blog'
- local_path: 'starters/documentation'
split_repository: 'theme-documentation'
- local_path: 'starters-bootstrap/portfolio'
split_repository: 'theme-portfolio'
- local_path: 'starters-bootstrap/course'
split_repository: 'theme-online-course'
- local_path: 'starters/link-in-bio'
split_repository: 'theme-link-in-bio'
- local_path: 'starters-bootstrap/research-group'
split_repository: 'theme-research-group'
- local_path: 'starters-bootstrap/second-brain'
split_repository: 'theme-second-brain'
- local_path: 'starters/landing-page'
split_repository: 'theme-landing-page'
steps:
- uses: actions/checkout@v3
@ -44,12 +48,12 @@ jobs:
uses: "symplify/monorepo-split-github-action@v2.3.0"
with:
# ↓ split "packages/<package-name><package-name>" directory
package_directory: 'starters/${{ matrix.package.local_path }}'
package_directory: '${{ matrix.package.local_path }}'
# ↓ into https://github.com/wowchemy/<package-name> repository
repository_organization: 'wowchemy'
# ↓ into https://github.com/HugoBlox/<package-name> repository
repository_organization: 'HugoBlox'
repository_name: '${{ matrix.package.split_repository }}'
# ↓ the user signed under the split commit
user_name: "Splitter Bot"
user_email: "no.reply@wowchemy.com"
user_email: "no.reply@hugoblox.com"

View file

@ -3,11 +3,16 @@ on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |

View file

@ -1,14 +1,14 @@
_vendor/
vendor/
wowchemy/assets/css/libs/
blox-bootstrapassets/css/libs/
public/
resources/
*.html
wowchemy/assets/css/reveal.css
wowchemy/assets/scss/main.scss
blox-bootstrapassets/css/reveal.css
blox-bootstrapassets/scss/main.scss
wowchemy/layouts/index.json
wowchemy/layouts/index.webmanifest
blox-bootstraplayouts/index.json
blox-bootstraplayouts/index.webmanifest

View file

@ -2,7 +2,8 @@
**/vendor/
**/_vendor/
**/libs/
**/dist/
public/
wowchemy/assets/scss/main.scss
wowchemy/assets/css/reveal_custom.css
blox-bootstrap/assets/scss/main.scss
blox-bootstrap/assets/css/reveal_custom.css

View file

@ -2,4 +2,4 @@
We want to foster a positive, inclusive, and welcoming environment 💜
We expect you to follow our [Code of Conduct](https://university.wowchemy.com/reference/contribute/) to fulfil this goal.
We expect you to follow our [Code of Conduct](https://docs.hugoblox.com/reference/contribute/) to fulfil this goal.

View file

@ -1,8 +1,8 @@
# Contributing to Wowchemy
# Contributing to Hugo Blox Builder
Thanks for being interested in contributing! Were so glad you want to help!
We want contributing to Wowchemy to be fun, enjoyable, and educational for anyone and everyone. All contributions are welcome, including new plugins (such as new widgets, shortcodes, theme packs, and language packs), templates, features, documentation as well as updates and tweaks, blog posts, YouTube tutorials, live streaming customizations, meetups, and more.
We want contributing to Hugo Blox to be fun, enjoyable, and educational for anyone and everyone. All contributions are welcome, including new plugins (such as new widgets, shortcodes, theme packs, and language packs), templates, features, documentation as well as updates and tweaks, blog posts, YouTube tutorials, live streaming customizations, meetups, and more.
## Where to Start
@ -12,22 +12,22 @@ Join the **Contributing** channel on the **[community Discord](https://discord.g
Whether or not you're a developer, there are plenty of non-technical ways that you can help. We always need help with:
- Helping the Wowchemy community via the live [chat](https://discord.gg/z8wNYzb) and [forum](https://github.com/wowchemy/wowchemy-hugo-themes/discussions)
- Investigating and reviewing open [Issues](https://github.com/wowchemy/wowchemy-hugo-themes/issues) and [Pull Requests](https://github.com/wowchemy/wowchemy-hugo-themes/pulls)
- Helping the Hugo Blox community via the live [chat](https://discord.gg/z8wNYzb) and [forum](https://github.com/HugoBlox/hugo-blox-builder/discussions)
- Investigating and reviewing open [Issues](https://github.com/HugoBlox/hugo-blox-builder/issues) and [Pull Requests](https://github.com/HugoBlox/hugo-blox-builder/pulls)
- Influence the roadmap! Give a thumbs up 👍 to upvote a feature request you would like to use
- Improving the [documentation](https://wowchemy.com/docs/) and writing tutorials
- Improving the [documentation](https://docs.hugoblox.com/) and writing tutorials
- Just click the _Edit_ button at the bottom of pages or open an issue with your proposed improvement
- Testing and quality assurance, such as checking the latest version of the templates work as you expect and fixing any dead-links etc.
- Translating the Wowchemy templates or the Wowchemy documentation
- Hosting local Wowchemy themed events or meetups
- Promoting Wowchemy to others by blogging, vlogging, code streaming, talking etc.
- Translating the Hugo Blox templates or the Hugo Blox documentation
- Hosting local Hugo Blox themed events or meetups
- Promoting Hugo Blox to others by blogging, vlogging, code streaming, talking etc.
### For technical contributions
Repository structure:
- modules
- The components and layouts which form the Wowchemy page building framework that the templates depend on
- The components and layouts which form the Hugo Blox page building framework that the templates depend on
- scripts
- A collection of scripts for helping maintain the repository
- starters
@ -38,13 +38,13 @@ Repository structure:
#### What are some good issues to contribute to?
If you're a developer looking to contribute, but you're not sure where to begin, check out the [help wanted](https://github.com/wowchemy/wowchemy-hugo-themes/labels/help%20wanted) label on Github, which contains issues which need some love.
If you're a developer looking to contribute, but you're not sure where to begin, check out the [help wanted](https://github.com/HugoBlox/hugo-blox-builder/labels/help%20wanted) label on Github, which contains issues which need some love.
#### How can I propose an improvement?
If you have a straightforward bug fix or improvement, feel free to contribute it in a [Pull Request](https://github.com/wowchemy/wowchemy-hugo-themes/pulls) for the community to review.
If you have a straightforward bug fix or improvement, feel free to contribute it in a [Pull Request](https://github.com/HugoBlox/hugo-blox-builder/pulls) for the community to review.
If you have an idea for a new feature, please start by [searching the issues](https://github.com/wowchemy/wowchemy-hugo-themes/issues) to check that the feature has not already been suggested and then suggest it by [opening a new issue](https://github.com/wowchemy/wowchemy-hugo-themes/issues/new/choose), as adding new features to Wowchemy first requires some analysis around the design and spec.
If you have an idea for a new feature, please start by [searching the issues](https://github.com/HugoBlox/hugo-blox-builder/issues) to check that the feature has not already been suggested and then suggest it by [opening a new issue](https://github.com/HugoBlox/hugo-blox-builder/issues/new/choose), as adding new features to Hugo Blox first requires some analysis around the design and spec.
Please be mindful of the project [scope](#scope).
@ -61,7 +61,7 @@ Otherwise, for larger changes, you can edit locally on your computer in your fav
Fork (copy) the repo on GitHub and then clone (download) your fork to your computer:
```sh
git clone https://github.com/<YOUR_USERNAME>/wowchemy-hugo-themes.git
git clone https://github.com/<YOUR_USERNAME>/hugo-blox-builder.git
```
**View a template**
@ -71,7 +71,7 @@ git clone https://github.com/<YOUR_USERNAME>/wowchemy-hugo-themes.git
Then choose the starter template you wish to view, such as _minimal_:
```sh
yarn view:local minimal
yarn view:local academic-cv
```
Note that Hugo Server can occasionally stop working after changes are made (sometimes showing unrelated errors). If this happens, stop Hugo (Control-C) and restart it with the `yarn view:local ...` command above.
@ -82,7 +82,7 @@ Implement you changes and then check for any linting or formatting issues.
Code linting and formatting form part of the Continuous Integration process to help catch bugs and code issues in contributions.
Contributors can also run the flow on their fork of the "Wowchemy Hugo Modules" repo when making contributions (you'll need Node and Yarn to run):
Contributors can also run the flow on their fork of the "Hugo Blox Builder" repo when making contributions (you'll need Node and Yarn to run):
```sh
yarn install
@ -92,40 +92,40 @@ yarn run format
**Open a Pull Request with your changes**
Use git to push (upload) your changes to GitHub and then open a Pull Request (PR) at https://github.com/wowchemy/wowchemy-hugo-themes/pulls
Use git to push (upload) your changes to GitHub and then open a Pull Request (PR) at https://github.com/HugoBlox/hugo-blox-builder/pulls
Please be mindful of the project [scope](#scope).
### Contribute a widget
### Contribute Blox
[Create and publish your own widget](https://github.com/wowchemy/wowchemy-widget-starter)
[Create and publish your own blox](https://github.com/HugoBlox/create-blox)
### Contribute a shortcode
[Create and publish your own shortcode](https://github.com/wowchemy/wowchemy-shortcode-starter)
[Create and publish your own shortcode](https://github.com/HugoBlox/create-shortcode)
### Contribute a language pack
To contribute a **new language pack** or an improvement to a language pack, refer to the [language pack guide](https://wowchemy.com/docs/language/#create-or-modify-a-language-pack). Once created, [fork Wowchemy Hugo Modules](https://github.com/wowchemy/wowchemy-hugo-themes), place your language pack in `wowchemy/i18n/`, add the name of the language to `wowchemy/data/i18n/language.yaml`, and open a Pull Request on Github with these two files.
To contribute a **new language pack** or an improvement to a language pack, refer to the [language pack guide](https://docs.hugoblox.com/reference/language/#create-or-modify-a-language-pack). Once created, [fork Hugo Blox Builder](https://github.com/HugoBlox/hugo-blox-builder), place your language pack in `blox-tailwind/i18n/`, add the name of the language to `blox-tailwind/data/i18n/language.yaml`, and open a Pull Request on Github with these two files.
### Contribute a theme pack
[View the guide](https://wowchemy.com/docs/customization/#share-your-theme) to contributing a color and font theme pack.
[View the guide](https://docs.hugoblox.com/getting-started/customize/#appearance) to contributing a color and font theme pack.
### Contribute a template
Consider duplicating a bare-bones template, such as the [Minimal](https://github.com/wowchemy/wowchemy-hugo-themes/tree/main/starters/minimal) folder, and building up your own template using the Wowchemy Hugo Module. Reach out on the **Contributing** channel in Discord to submit your template.
Consider duplicating a bare-bones template, such as the [Link In Bio](https://github.com/HugoBlox/hugo-blox-builder/tree/main/starters/link-in-bio) folder, and building up your own template using the Hugo Blox. Reach out on the **Contributing** channel in Discord to submit your template.
### Contribute to the Publication importer
To contribute to **Hugo Academic CLI**, the automatic publication importer, refer to [its dedicated Github repository](https://github.com/wowchemy/hugo-academic-cli) and Issue queue.
To contribute to **Hugo Academic CLI**, the automatic publication and blog post importer, refer to [its dedicated Github repository](https://github.com/GetRD/academic-file-converter) and Issue queue.
## Become a backer
To help us develop this free software sustainably under the open source license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship:
- ☕️ [**Donate a coffee**](https://github.com/sponsors/gcushen?frequency=one-time)
- ❤️ [**Become a sponsor and unlock awesome rewards**](https://wowchemy.com/sponsor/)
- ❤️ [**Become a sponsor and unlock awesome rewards**](https://hugoblox.com/sponsor/)
## Best practices
@ -161,4 +161,4 @@ The more regular active volunteers (rather than one-off contributors) we have su
The project's scope also has to be constrained so that it doesn't get too complex and unwieldy, from an architectural perspective, a testing perspective, and from a usability perspective.
Plugins (widgets, shortcodes, theme packs, language packs, and third-party JavaScript integrations) as well as templates allow the community to add major features without needing to contribute to Wowchemy itself.
Plugins (widgets, shortcodes, theme packs, language packs, and third-party JavaScript integrations) as well as templates allow the community to add major features without needing to contribute to Hugo Blox itself.

View file

@ -1,14 +1,14 @@
[**中文**](./README.zh.md)
<p align="center"><a href="https://wowchemy.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/sharing.png" alt="Wowchemy Website Builder"></a></p>
<p align="center"><a href="https://hugoblox.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/sharing.png" alt="Hugo Blox Builder"></a></p>
[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://wowchemy.com/templates/)
[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://hugoblox.com/templates/)
[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/gcushen?label=%E2%9D%A4%EF%B8%8F%20sponsor&style=for-the-badge)](https://github.com/sponsors/gcushen)
[![Twitter Follow](https://img.shields.io/twitter/follow/wowchemy?label=Follow%20on%20Twitter&style=for-the-badge)](https://twitter.com/wowchemy)
[![Twitter Follow](https://img.shields.io/twitter/follow/GetResearchDev?label=Follow%20on%20Twitter&style=for-the-badge)](https://twitter.com/GetResearchDev)
[![GitHub followers](https://img.shields.io/github/followers/gcushen?label=Follow%20on%20GH&style=for-the-badge)](https://github.com/gcushen)
# [Wowchemy](https://wowchemy.com): the all-in-one website builder
# [Hugo Blox Builder](https://hugoblox.com): easy, all-in-one website builder
### Join 750,000+ Sites. No Code. Easily Create Future-Proof Websites ✏️ 📰 🚀
@ -16,25 +16,25 @@
🎨 **2. Personalize** a beautiful starter template with **50+ light/dark color themes, language packs, and blocks**
🛋 **3. Optionally, write from your sofa or on the go with the integrated open source Content Management System (CMS) based on [Decap CMS](https://university.wowchemy.com/getting-started/cms/decap/)**
🛋 **3. Optionally, write from your sofa or on the go with the integrated open source Content Management System (CMS) based on [Decap CMS](https://docs.hugoblox.com/getting-started/cms/decap/)**
<p style="text-align: center"><a href="https://wowchemy.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/write-from-phone.gif" alt="Wowchemy CMS"></a></p>
<p style="text-align: center"><a href="https://hugoblox.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/write-from-phone.gif" alt="Hugo Blox Builder CMS"></a></p>
[Check out the latest **demos**](https://wowchemy.com/templates/) of what you'll get in less than 60 seconds, or [get **inspired**](https://wowchemy.com/creators/) by other creators.
[Check out the latest **demos**](https://hugoblox.com/templates/) of what you'll get in less than 60 seconds, or [get **inspired**](https://hugoblox.com/creators/) by other creators.
- 👉 [**Get Started**](https://wowchemy.com/templates/)
- 📚 [View the **documentation**](https://university.wowchemy.com/)
- 👉 [**Get Started**](https://hugoblox.com/templates/)
- 📚 [View the **documentation**](https://docs.hugoblox.com/)
- 🙋‍♀️ **Have a question?**
- **Chat with us now on [Discord](https://discord.gg/z8wNYzb)** or explore the [Troubleshooting Guide](https://university.wowchemy.com/reference/troubleshooting/) and [Q&A Forum](https://github.com/wowchemy/wowchemy-hugo-themes/discussions)
- **Chat with us now on [Discord](https://discord.gg/z8wNYzb)** or explore the [Troubleshooting Guide](https://docs.hugoblox.com/reference/troubleshooting/) and [Q&A Forum](https://github.com/HugoBlox/hugo-blox-builder/discussions)
- _Also, check out [Hugo Forum](https://discourse.gohugo.io) for Hugo Qs and [Netlify Forum](https://answers.netlify.com/) for Netlify Qs_
- 🐦 Share your Wowchemy site with the community on Twitter: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query)
- 🐦 Share your Hugo Blox Builder site with the community on Twitter: [@GetResearchDev](https://twitter.com/GetResearchDev) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithHugoBlox](https://twitter.com/search?q=%23MadeWithHugoBlox&src=typed_query)
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA)
- ⬆️ **Updating?** View the [Update Guide](https://university.wowchemy.com/reference/update/) and [Release Notes](https://github.com/wowchemy/wowchemy-hugo-themes/releases)
- 🚀 [Contribute improvements](CONTRIBUTING.md) or [suggest improvements](https://github.com/wowchemy/wowchemy-hugo-themes/issues)
- ⬆️ **Updating?** View the [Update Guide](https://docs.hugoblox.com/reference/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases)
- 🚀 [Contribute improvements](CONTRIBUTING.md) or [suggest improvements](https://github.com/HugoBlox/hugo-blox-builder/issues)
## 💙 We ask you, humbly, to support this open source movement
Today we ask you to defend the open source independence of the Wowchemy website builder and themes 🐧
Today we ask you to defend the open source independence of the Hugo Blox Builder website builder and themes 🐧
We're an **open source and open science movement** that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way 🤦🏻‍♀️
@ -53,29 +53,29 @@ We're an **open source and open science movement** that depends on your support
## Starter Templates
Wowchemy is a **no-code** framework for creating _any_ kind of website using **widgets**. Each site is 100% customizable to **make it your own**!
Hugo Blox Builder is a **no-code** framework for creating _any_ kind of website using **widgets**. Each site is 100% customizable to **make it your own**!
Choose from one of the starter templates to easily get started:
[![Writing technical content](./.github/media/starters.webp)](https://wowchemy.com/templates/)
[![Writing technical content](./.github/media/starters.webp)](https://hugoblox.com/templates/)
## The Future of Technical Content Writing
**Write rich, future-proof content** using standardized Markdown along with bundled extensions for math and diagrams. Edit in the open source CMS or via an editor such as the online GitHub Editor, Jupyter Notebook, or RStudio! [Learn more](https://university.wowchemy.com/reference/markdown/)
**Write rich, future-proof content** using standardized Markdown along with bundled extensions for math and diagrams. Edit in the open source CMS or via an editor such as the online GitHub Editor, Jupyter Notebook, or RStudio! [Learn more](https://docs.hugoblox.com/reference/markdown/)
[![Writing technical content](https://wowchemy.com/uploads/readmes/writing-technical-content.gif)](https://academic-demo.netlify.app/post/writing-technical-content/)
[![Writing technical content](https://hugoblox.com/uploads/readmes/writing-technical-content.gif)](https://academic-demo.netlify.app/post/writing-technical-content/)
## Features
[![Screenshot](./.github/media/academic.png)](https://wowchemy.com/templates/)
[![Screenshot](./.github/media/academic.png)](https://hugoblox.com/templates/)
**Key features:**
- **Page builder** - Create _anything_ with [**blocks**](https://university.wowchemy.com/getting-started/page-builder/) and [**elements**](https://university.wowchemy.com/reference/markdown/)
- **Page builder** - Create _anything_ with [**blocks**](https://docs.hugoblox.com/getting-started/page-builder/) and [**elements**](https://docs.hugoblox.com/reference/markdown/)
- **Edit any type of content** - Blog posts, publications, talks, slides, projects, and more!
- **Create content** in [**Markdown**](https://university.wowchemy.com/reference/markdown/), [**Jupyter**](https://university.wowchemy.com/getting-started/cms/), or [**RStudio**](https://university.wowchemy.com/getting-started/cms/rstudio/)
- **Plugin System** - Fully customizable [**color** and **font themes**](https://university.wowchemy.com/getting-started/customize/#appearance)
- **Display Code and Math** - Code highlighting and [LaTeX math](https://university.wowchemy.com/reference/markdown/#math) supported
- **Create content** in [**Markdown**](https://docs.hugoblox.com/reference/markdown/), [**Jupyter**](https://docs.hugoblox.com/getting-started/cms/), or [**RStudio**](https://docs.hugoblox.com/getting-started/cms/rstudio/)
- **Plugin System** - Fully customizable [**color** and **font themes**](https://docs.hugoblox.com/getting-started/customize/#appearance)
- **Display Code and Math** - Code highlighting and [LaTeX math](https://docs.hugoblox.com/reference/markdown/#math) supported
- **Integrations** - [Google Analytics](https://analytics.google.com), [Disqus commenting](https://disqus.com), Maps, Contact Forms, and more!
- **Beautiful Site** - Simple and refreshing one page design
- **Industry-Leading SEO** - Help get your website found on search engines and social media
@ -89,25 +89,25 @@ Choose from one of the starter templates to easily get started:
## Themes
Wowchemy comes with **automatic day (light) and night (dark) mode** built-in. Alternatively, click the moon icon in the top right of one of the [Demos](https://wowchemy.com/templates/) to set your preferred mode!
Hugo Blox Builder comes with **automatic day (light) and night (dark) mode** built-in. Alternatively, click the moon icon in the top right of one of the [Demos](https://hugoblox.com/templates/) to set your preferred mode!
Choose a stunning theme for your site and [customize it](https://university.wowchemy.com/getting-started/customize/#custom-theme) to your liking:
Choose a stunning theme for your site and [customize it](https://docs.hugoblox.com/getting-started/customize/#custom-theme) to your liking:
[![Themes](./.github/media/themes.png)](https://wowchemy.com/templates/)
[![Themes](./.github/media/themes.png)](https://hugoblox.com/templates/)
[Browse more templates and themes...](https://wowchemy.com/templates/)
[Browse more templates and themes...](https://hugoblox.com/templates/)
## Ecosystem
- [**Bibtex to Markdown**](https://github.com/wowchemy/bibtex-to-markdown): Automatically import academic publications from BibTeX to Markdown files
- [**Awesome Hugo**](https://github.com/wowchemy/awesome-hugo): Scripts to help migrate content to new versions of Hugo
- [**Academic File Converter**](https://github.com/GetRD/academic-file-converter): Automatically import academic publications from BibTeX to Markdown files
- [**Awesome Hugo**](https://github.com/HugoBlox/awesome-hugo): Scripts to help migrate content to new versions of Hugo
## Join the community
Feel free to [_star_ the project on Github](https://github.com/wowchemy/wowchemy-hugo-themes), [join the community](https://discord.gg/z8wNYzb) on Discord, and follow [@wowchemy](https://twitter.com/wowchemy) on Twitter to be the first to hear about new features.
Feel free to [_star_ the project on Github](https://github.com/HugoBlox/hugo-blox-builder), [join the community](https://discord.gg/z8wNYzb) on Discord, and follow [@GetResearchDev](https://twitter.com/GetResearchDev) on Twitter to be the first to hear about new features.
## License
Copyright 2016-present [George Cushen](https://georgecushen.com).
The [Wowchemy Hugo Themes](https://github.com/wowchemy/wowchemy-hugo-themes/) repository is released under the [MIT](https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/LICENSE.md) license.
The [Hugo Blox Builder](https://github.com/HugoBlox/hugo-blox-builder/) repository is released under the [MIT](https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md) license.

View file

@ -1,14 +1,14 @@
[**English**](./README.md)
<p align="center"><a href="https://wowchemy.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/sharing.png" alt="Wowchemy 网站构建工具"></a></p>
<p align="center"><a href="https://hugoblox.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/sharing.png" alt="Hugo Blox Builder 网站构建工具"></a></p>
[![开始使用](https://img.shields.io/badge/-开始使用-ff4655?style=for-the-badge)](https://wowchemy.com/templates/)
[![开始使用](https://img.shields.io/badge/-开始使用-ff4655?style=for-the-badge)](https://hugoblox.com/templates/)
[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138)
[![GitHub 赞助者](https://img.shields.io/github/sponsors/gcushen?label=%E2%9D%A4%EF%B8%8F%20赞助&style=for-the-badge)](https://github.com/sponsors/gcushen)
[![Twitter 关注者](https://img.shields.io/twitter/follow/wowchemy?label=关注Twitter&style=for-the-badge)](https://twitter.com/wowchemy)
[![Twitter 关注者](https://img.shields.io/twitter/follow/GetResearchDev?label=关注Twitter&style=for-the-badge)](https://twitter.com/GetResearchDev)
[![GitHub 关注者](https://img.shields.io/github/followers/gcushen?label=关注GH&style=for-the-badge)](https://github.com/gcushen)
# [Wowchemy](https://wowchemy.com): 全能网站构建工具
# [Hugo Blox Builder](https://hugoblox.com): 全能网站构建工具
### 加入 750,000+ 站点。零代码。轻松创建面向未来的网站✏️ 📰 🚀
@ -16,25 +16,25 @@
🎨 **2. 个性化**漂亮的起始模板,享有**50+种浅色/深色主题、多语言包和模块**
🛋 **3. 可选地,使用基于 [Decap CMS](https://university.wowchemy.com/getting-started/cms/decap/) 的开源内容管理系统CMS随时随地从沙发上或外出写作**
🛋 **3. 可选地,使用基于 [Decap CMS](https://docs.hugoblox.com/getting-started/cms/decap/) 的开源内容管理系统CMS随时随地从沙发上或外出写作**
<p style="text-align: center"><a href="https://wowchemy.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/write-from-phone.gif" alt="Wowchemy CMS"></a></p>
<p style="text-align: center"><a href="https://hugoblox.com/templates/" target="_blank" rel="noopener"><img src="./.github/media/write-from-phone.gif" alt="Decap CMS"></a></p>
[查看最新的 **演示**](https://wowchemy.com/templates/),在不到 60 秒内获取您将获得的内容,或者获得其他创作者的 [**灵感**](https://wowchemy.com/creators/)。
[查看最新的 **演示**](https://hugoblox.com/templates/),在不到 60 秒内获取您将获得的内容,或者获得其他创作者的 [**灵感**](https://hugoblox.com/creators/)。
- 👉 [**开始使用**](https://wowchemy.com/templates/)
- 📚 [查看 **文档**](https://university.wowchemy.com/)
- 👉 [**开始使用**](https://hugoblox.com/templates/)
- 📚 [查看 **文档**](https://docs.hugoblox.com/)
- 🙋‍♀️ **有问题吗?**
- **立即在 [Discord](https://discord.gg/z8wNYzb) 上与我们聊天**,或浏览 [故障排除指南](https://university.wowchemy.com/reference/troubleshooting/) 和 [问答论坛](https://github.com/wowchemy/wowchemy-hugo-themes/discussions)
- **立即在 [Discord](https://discord.gg/z8wNYzb) 上与我们聊天**,或浏览 [故障排除指南](https://docs.hugoblox.com/reference/troubleshooting/) 和 [问答论坛](https://github.com/HugoBlox/hugo-blox-builder/discussions)
- _此外查看 [Hugo 论坛](https://discourse.gohugo.io) 解决 Hugo 相关问题,以及 [Netlify 论坛](https://answers.netlify.com/) 解答 Netlify 相关问题_
- 🐦 与社区共享您的 Wowchemy 网站:[@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query)
- 🐦 与社区共享您的 Hugo Blox Builder 网站:[@GetResearchDev](https://twitter.com/GetResearchDev) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithHugoBlox](https://twitter.com/search?q=%23MadeWithHugoBlox&src=typed_query)
- 🗳 [参加调查,帮助我们改进 #开源](https://forms.gle/NioD9VhUg7PNmdCAA)
- ⬆️ **更新?** 查看 [更新指南](https://university.wowchemy.com/reference/update/) 和 [发布说明](https://github.com/wowchemy/wowchemy-hugo-themes/releases)
- 🚀 [贡献改进](CONTRIBUTING.md) 或 [建议改进](https://github.com/wowchemy/wowchemy-hugo-themes/issues)
- ⬆️ **更新?** 查看 [更新指南](https://docs.hugoblox.com/reference/update/) 和 [发布说明](https://github.com/HugoBlox/hugo-blox-builder/releases)
- 🚀 [贡献改进](CONTRIBUTING.md) 或 [建议改进](https://github.com/HugoBlox/hugo-blox-builder/issues)
## 💙 我们向您恳请支持这个开源运动
今天我们请求您捍卫 Wowchemy 网站构建工具和主题的开源独立性 🐧
今天我们请求您捍卫 Hugo Blox Builder 网站构建工具和主题的开源独立性 🐧
我们是一个**开源和开放科学的运动**,依靠您的支持来保持在线和繁荣,但我们的 99.9% 的创作者没有做出贡献,他们只是选择置之不理 🤦🏻‍♀️
@ -53,27 +53,27 @@
## 起始模板
Wowchemy 是一个使用**小部件**创建_任何_类型网站的**零代码**框架。每个网站都是 100% 可自定义,使其成为您的专属网站!
Hugo Blox Builder 是一个使用**小部件**创建_任何_类型网站的**零代码**框架。每个网站都是 100% 可自定义,使其成为您的专属网站!
选择一个起始模板,轻松上手:
[![撰写技术内容](./.github/media/starters.webp)](https://wowchemy.com/templates/)
[![撰写技术内容](./.github/media/starters.webp)](https://hugoblox.com/templates/)
## 技术内容撰写的未来
使用标准化的 Markdown 和捆绑的扩展(包括数学和图表)**编写丰富、具备未来性的内容**。可以在开源 CMS 中编辑,也可以通过在线的 GitHub 编辑器、Jupyter Notebook 或 RStudio 进行编辑![了解更多](https://university.wowchemy.com/reference/markdown/)
使用标准化的 Markdown 和捆绑的扩展(包括数学和图表)**编写丰富、具备未来性的内容**。可以在开源 CMS 中编辑,也可以通过在线的 GitHub 编辑器、Jupyter Notebook 或 RStudio 进行编辑![了解更多](https://docs.hugoblox.com/reference/markdown/)
[![撰写技术内容](https://wowchemy.com/uploads/readmes/writing-technical-content.gif)](https://academic-demo.netlify.app/post/writing-technical-content/)
[![撰写技术内容](https://hugoblox.com/uploads/readmes/writing-technical-content.gif)](https://academic-demo.netlify.app/post/writing-technical-content/)
## 特点
[![截图](./.github/media/academic.png)](https://wowchemy.com/templates/)
[![截图](./.github/media/academic.png)](https://hugoblox.com/templates/)
**主要特点:**- **页面构建器** - 使用[小部件](https://university.wowchemy.com/getting-started/page-builder/)和[元素](https://university.wowchemy.com/reference/markdown/)创建_任何东西_
**主要特点:**- **页面构建器** - 使用[小部件](https://docs.hugoblox.com/getting-started/page-builder/)和[元素](https://docs.hugoblox.com/reference/markdown/)创建_任何东西_
- **编辑任何类型的内容** - 博客文章、出版物、演讲、幻灯片、项目等等!
- 使用 [**Markdown**](https://university.wowchemy.com/reference/markdown/)、[**Jupyter**](https://university.wowchemy.com/getting-started/cms/) 或 [**RStudio**](https://university.wowchemy.com/getting-started/cms/rstudio/) 创建内容
- **插件系统** - 完全可定制的[**颜色**和**字体主题**](https://university.wowchemy.com/getting-started/customize/#appearance)
- **显示代码和数学公式** - 支持代码高亮和[LaTeX数学](https://university.wowchemy.com/reference/markdown/#math)
- 使用 [**Markdown**](https://docs.hugoblox.com/reference/markdown/)、[**Jupyter**](https://docs.hugoblox.com/getting-started/cms/) 或 [**RStudio**](https://docs.hugoblox.com/getting-started/cms/rstudio/) 创建内容
- **插件系统** - 完全可定制的[**颜色**和**字体主题**](https://docs.hugoblox.com/getting-started/customize/#appearance)
- **显示代码和数学公式** - 支持代码高亮和[LaTeX数学](https://docs.hugoblox.com/reference/markdown/#math)
- **集成** - [Google Analytics](https://analytics.google.com)、[Disqus评论](https://disqus.com)、地图、联系表单等等!
- **美丽的网站** - 简单清爽的单页设计
- **行业领先的SEO** - 帮助您的网站在搜索引擎和社交媒体上被发现
@ -87,25 +87,25 @@ Wowchemy 是一个使用**小部件**创建_任何_类型网站的**零代码**
## 主题
Wowchemy内置了**自动白天(浅色)和黑夜(暗色)模式**。或者,单击[Demos](https://wowchemy.com/templates/)右上角的月亮图标设置您喜欢的模式!
Hugo Blox Builder内置了**自动白天(浅色)和黑夜(暗色)模式**。或者,单击[Demos](https://hugoblox.com/templates/)右上角的月亮图标设置您喜欢的模式!
为您的网站选择一个惊艳的主题,并[自定义它](https://university.wowchemy.com/getting-started/customize/#custom-theme)以满足您的喜好:
为您的网站选择一个惊艳的主题,并[自定义它](https://docs.hugoblox.com/getting-started/customize/#custom-theme)以满足您的喜好:
[![主题](./.github/media/themes.png)](https://wowchemy.com/templates/)
[![主题](./.github/media/themes.png)](https://hugoblox.com/templates/)
[浏览更多模板和主题...](https://wowchemy.com/templates/)
[浏览更多模板和主题...](https://hugoblox.com/templates/)
## 生态系统
- [**Bibtex to Markdown**](https://github.com/wowchemy/bibtex-to-markdown)自动将学术出版物从BibTeX导入到Markdown文件
- [**Awesome Hugo**](https://github.com/wowchemy/awesome-hugo)帮助将内容迁移到Hugo的新版本的脚本
- [**Academic File Converter**](https://github.com/GetRD/academic-file-converter)自动将学术出版物从BibTeX导入到Markdown文件
- [**Awesome Hugo**](https://github.com/HugoBlox/awesome-hugo)帮助将内容迁移到Hugo的新版本的脚本
## 加入社区
请随意在Github上[_star_该项目](https://github.com/wowchemy/wowchemy-hugo-themes)在Discord上[join the community](https://discord.gg/z8wNYzb)并关注Twitter上的[@wowchemy](https://twitter.com/wowchemy),第一时间获取新功能的消息。
请随意在Github上[_star_该项目](https://github.com/HugoBlox/hugo-blox-builder)在Discord上[join the community](https://discord.gg/z8wNYzb)并关注Twitter上的[@GetResearchDev](https://twitter.com/GetResearchDev),第一时间获取新功能的消息。
## 许可证
版权所有 2016-present [George Cushen](https://georgecushen.com)。
[Wowchemy Hugo Themes](https://github.com/wowchemy/wowchemy-hugo-themes/)存储库根据[MIT](https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/LICENSE.md)许可证发布。
[Hugo Blox Builder](https://github.com/HugoBlox/hugo-blox-builder/)存储库根据[MIT](https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md)许可证发布。

View file

@ -0,0 +1,27 @@
# blox-analytics
**A Hugo module (plugin) for website analytics and search engine verification.**
Are you using the `blox-tailwind` module? The analytics module is already included, so you do not need to install it. For all other sites, refer to the installation guide below.
## Install
Get analytics and verification for your Hugo site by following the guide below:
1. Add the module to your `config/_default/hugo.yaml`:
```yaml
module:
imports:
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics
```
2. Load the module in your site's `<head>` with:
```go
{{ partial "blox-analytics/index" . }}
```
## Usage
[View the documentation](https://docs.hugoblox.com/reference/analytics/)

View file

@ -0,0 +1,3 @@
module github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics
go 1.15

View file

@ -0,0 +1,9 @@
{{/* HUGO BLOX: MARKETING MODULE */}}
{{/* VERIFICATIONS */}}
{{ partial "blox-analytics/verification" . }}
{{/* ANALYTICS */}}
{{ partial "blox-analytics/services/index" . }}

View file

@ -0,0 +1,5 @@
{{ $fathom := site.Params.marketing.analytics.fathom | default "" }}
{{ if hugo.IsProduction | and $fathom }}
<script src="https://cdn.usefathom.com/script.js" data-site="{{$fathom}}" defer></script>
{{ end }}

View file

@ -1,8 +1,8 @@
{{ $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" }}
{{ $ga := site.Params.marketing.analytics.google_analytics | default "" }}
{{ if hugo.IsProduction | and $ga }}
{{ $gtag_config := cond site.Params.features.privacy_pack.enable "{ 'anonymize_ip': true }" "{}" }}
{{ $gtag_config := cond (site.Params.features.privacy_pack.enable | default false) "{ 'anonymize_ip': true }" "{}" }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{$ga}}"></script>
<script>
window.dataLayer = window.dataLayer || [];

View file

@ -0,0 +1,7 @@
{{ partial "blox-analytics/services/google_analytics" . }}
{{ partial "blox-analytics/services/google_tag_manager" . }}
{{ partial "blox-analytics/services/microsoft_clarity" . }}
{{ partial "blox-analytics/services/baidu_tongji" . }}
{{ partial "blox-analytics/services/plausible" . }}
{{ partial "blox-analytics/services/fathom" . }}
{{ partial "blox-analytics/services/pirsch" . }}

View file

@ -0,0 +1,5 @@
{{ $pirsch := site.Params.marketing.analytics.pirsch | default "" }}
{{ if hugo.IsProduction | and $pirsch }}
<script defer src="https://api.pirsch.io/pirsch.js" id="pirschjs" data-code="{{$pirsch}}"></script>
{{ end }}

View file

@ -0,0 +1,5 @@
{{ $plausible := site.Params.marketing.analytics.plausible | default "" }}
{{ if hugo.IsProduction | and $plausible }}
<script defer data-domain="{{$plausible}}" src="https://plausible.io/js/script.js"></script>
{{ end }}

View file

@ -0,0 +1,25 @@
{{/* Site Verification with Third Party Services */}}
{{- with site.Params.marketing.verification.google -}}
<meta name="google-site-verification" content="{{ . }}" />
{{- end -}}
{{- with site.Params.marketing.verification.bing -}}
<meta name="msvalidate.01" content="{{ . }}" />
{{- end -}}
{{- with site.Params.marketing.verification.yandex -}}
<meta name="yandex-verification" content="{{ . }}" />
{{- end -}}
{{- with site.Params.marketing.verification.pinterest -}}
<meta name="p:domain_verify" content="{{ . }}" />
{{- end -}}
{{- with site.Params.marketing.verification.baidu -}}
<meta name="baidu-site-verification" content="{{ . }}" />
{{- end -}}
{{ with site.Params.marketing.verification.naver }}
<meta name="naver-site-verification" content="{{ . }}" />
{{- end -}}

View file

@ -35,7 +35,7 @@ education:
year: 2012
# Social/Academic Networking
# For available icons, see: https://wowchemy.com/docs/page-builder/#icons
# For available icons, see: https://docs.hugoblox.com/getting-started/page-builder/#icons
# For an email link, use "fas" icon pack, "envelope" icon, and a link in the
# form "mailto:your-email@example.com" or "#contact" for contact widget.
social:

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
linktitle: "{{ replace .Name "-" " " | title }}"

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
subtitle: ""

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
event:

View file

@ -1,6 +1,6 @@
+++
# A section created with the Blank widget.
widget = "blank" # See https://wowchemy.com/docs/page-builder/
widget = "blank" # See https://docs.hugoblox.com/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 1 # Order that this section will appear.
@ -45,4 +45,4 @@ subtitle = ""
css_class = ""
+++
[**Add some elements here**](https://wowchemy.com/docs/writing-markdown-latex/)
[**Add some elements here**](https://docs.hugoblox.com/writing-markdown-latex/)

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
subtitle: ""

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
summary: ""

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
authors: []

View file

@ -1,5 +1,5 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/
# Documentation: https://docs.hugoblox.com/managing-content/
title: "{{ replace .Name "-" " " | title }}"
summary: ""

View file

@ -1,6 +1,6 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Algolia based search algorithm.
**************************************************/

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Animation
* Hugo Blox Builder Animation
**************************************************/
function fadeIn(element, duration = 600) {

View file

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Announcement Bar component
* --------------------------------------------------------------------------- */

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Headroom
* Hugo Blox Builder Headroom
**************************************************/
import Headroom from './_vendor/headroom.min.js';

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Initialization
* Hugo Blox Builder Initialization
**************************************************/
import {initThemeVariation} from './wowchemy-theming';

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Maps
* Hugo Blox Builder Maps
**************************************************/
// Initialize Google Maps or OpenStreetMap via Leaflet.

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Publications
* Hugo Blox Builder Publications
**************************************************/
// Active publication filters.

View file

@ -1,6 +1,6 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* In-built Fuse based search algorithm.
**************************************************/

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Theming System
* Hugo Blox Builder Theming System
* Supported Modes: {0: Light, 1: Dark, 2: Auto}
**************************************************/
@ -58,10 +58,10 @@ function initThemeVariation() {
}
if (isDarkTheme && !body.classList.contains('dark')) {
console.debug('Applying Wowchemy dark theme');
console.debug('Applying Hugo Blox Builder dark theme');
document.body.classList.add('dark');
} else if (!isDarkTheme && body.classList.contains('dark')) {
console.debug('Applying Wowchemy light theme');
console.debug('Applying Hugo Blox Builder light theme');
document.body.classList.remove('dark');
}

View file

@ -1,8 +1,8 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Wowchemy Utilities
* Hugo Blox Builder Utilities
**************************************************/
/**

View file

@ -1,6 +1,6 @@
/*************************************************
* Wowchemy
* https://github.com/wowchemy/wowchemy-hugo-themes
* Hugo Blox Builder
* https://github.com/HugoBlox/hugo-blox-builder
*
* Core JS functions and initialization.
**************************************************/
@ -95,7 +95,7 @@ function fixHugoOutput() {
document.querySelectorAll('input[type=\'checkbox\'][disabled]').forEach((checkbox) => {
checkbox.closest('ul').classList.add('task-list');
});
// Bootstrap table style is opt-in and Goldmark doesn't add it.
document.querySelectorAll('table').forEach((table) => {
table.classList.add('table');
@ -249,7 +249,7 @@ window.addEventListener('load', function () {
}
}
// Parse Wowchemy keyboard shortcuts.
// Parse Hugo Blox Builder keyboard shortcuts.
document.addEventListener('keyup', (event) => {
if (event.code === 'Escape') {
const body = document.body;

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Some files were not shown because too many files have changed in this diff Show more