Commit Graph
1595 Commits
Author SHA1 Message Date
rodrigoalcarazdelaosa b9752d697a docs: reflect upstream changes to Hugo's tweet shortcode (#2903)
Update docs according to the latest changes documented [here](https://gohugo.io/content-management/shortcodes/#tweet).
2023-01-06 13:44:35 +00:00
Samuel Teuber 549d2cd126 fix(style): table class name in fixHugoOutput (#2897)
addClass must be called with class name only instead of '.table' as class name
2022-12-27 23:33:04 +00:00
George Cushen 943f2eb3ea feat: blocks v2: background.video.path -> background.video.filename 2022-12-27 23:31:36 +00:00
Geo 2c00b903e6 docs: edit 2022-11-30 18:21:39 +00:00
George Cushen eb6b88f20e starters(academic): gallery detection in v2 block system 2022-11-27 21:57:20 +00:00
George Cushen 58b270a3e1 feat: gallery detection in v2 block system 2022-11-27 21:56:19 +00:00
George Cushen b60ae7e07c starters(acadmic): migrate to v2 block system 2022-11-27 21:22:04 +00:00
George Cushen 0a571f7dbe starters(acadmic): migrate to v2 block system 2022-11-27 21:18:51 +00:00
George Cushen 41418661b6 feat: migrate more blocks to v2 block system 2022-11-27 21:17:34 +00:00
George Cushen 7a3d11a2a5 feat: migrate more blocks to v2 block system 2022-11-27 21:13:40 +00:00
George Cushen 712c955024 feat: update block config
For arrival of v2 block system.

Close #2883
2022-11-26 20:50:09 +00:00
George Cushen 45466f563a feat: add support for page-specific headers (navbars)
Both site header and footer now use dynamic block system.

E.g. for custom header at `layouts/partials/components/headers/simple.html:

```
---
header:
  navbar:
    block: simple
---
```

Also, Params.footer.widget changed to Params.footer.block
2022-11-06 16:38:05 +00:00
George Cushen a29d4ed136 feat: add support for Hugo v0.101.0 breaking changes
Hugo v0.101.0 had breaking changes to relURL and relLangURL

See https://github.com/gohugoio/hugo/issues/9994
See https://discourse.gohugo.io/t/changing-the-title-link/41239/5
2022-11-06 15:59:39 +00:00
Robrecht Cannoodt ff4b7b1193 fix: legacy support for custom_js/custom_head (#2866)
Hooks replaced custom_js.html  and custom_head.html

However, custom_js/custom_head remain supported for legacy purposes.

Despite commit acd74954b5 mentioning that the custom.html is still supported for now, I don't think it's being picked up at the moment. This PR resolves this issue.
2022-10-29 15:31:46 +01:00
George Cushen 5dcefaa0c5 feat(blocks-v2): add Collection, Contact, Tag Cloud 2022-10-25 22:48:55 +01:00
George Cushen c51be55f93 docs: edit 2022-10-24 23:58:20 +01:00
George Cushen a2a867ad9d docs: edit 2022-10-24 23:40:07 +01:00
George Cushen 0b624e2eff refactor: move old widgets to v1/ dir
Prevent conflicts with new v2 landing page block system

See #2049
2022-10-24 23:05:17 +01:00
George Cushen 340662423f starters(minimal): upgrade to use landing pages
See #2049
2022-10-24 22:48:34 +01:00
George Cushen ad46623201 feat: add landing pages (aka widget pages v2)
Closes #2049
2022-10-24 22:43:04 +01:00
George Cushen ed6595aae6 fix: algolia integration when common queries disabled 2022-10-22 22:10:19 +01:00
George Cushen 3349024c90 fix: load community block/widget styles
From `assets/scss/blocks/<unique-block-name>.scss`
2022-10-04 19:25:30 +01:00
George Cushen 931c901862 feat: load community block/widget styles
From `assets/scss/blocks/<unique-block-name>.scss`
2022-10-02 21:01:12 +01:00
Anirban Basu 82a4452e6b feat: display more specific warning if theme variation doesn't exist (#2843)
Based on the suggestion at https://discord.com/channels/722225264733716590/1024935456313450506/1025050134083543152
2022-10-02 18:51:29 +01:00
George Cushen b2e1006155 starters: update Academic 2022-10-02 17:58:21 +01:00
George Cushen 49c0268152 starters: update Academic 2022-10-02 17:52:41 +01:00
George Cushen 5acb1f8896 starters: update Academic 2022-10-02 17:41:19 +01:00
George Cushen 39a618761a feat: standardise blocks
- rename widgets/ folder to blocks/
- rename Blank block to Markdown
- rename Pages block to Collection
- replace Featured block with Collection block, filtered with `featured_only: true`
- standardise block variables to .wcPage and .wcBlock
- check requested block exists before loading
- refactor block parser to parse_block.html
2022-10-02 17:33:18 +01:00
George Cushen 537ba53461 feat: support SVG as section background 2022-10-02 15:45:24 +01:00
George Cushen 973bf69054 starters(academic): edit demo section 2022-09-29 20:00:32 +01:00
George Cushen b9cb216870 starters(academic): add example gallery 2022-09-29 19:45:13 +01:00
George Cushen cb585f4bba starters(academic): add example gallery 2022-09-29 19:40:19 +01:00
George Cushen 848a7c6a2a feat: add support for View wrappers
E.g. a custom view (views/custom.html) can be wrapped with:

views/custom-start.html
views/custom-end.html

This allows for custom grid-based views (cards, etc.)
2022-09-28 23:19:28 +01:00
George Cushen 230d4a35ce docs: fix broken links 2022-09-25 22:04:29 +01:00
George Cushen f08786ecee starters: upgrade second-brain, markdown-slides
Renamed Notes starter -> second-brain
2022-09-24 13:44:00 +01:00
George Cushen 460f619542 chore: bump version 2022-09-24 13:18:32 +01:00
George Cushen 173224079f fix: mindmap first item rendered indented 2022-09-24 13:17:32 +01:00
George Cushen a2b502f9d6 starters(slides): update modules
Fixes #2811
2022-09-24 12:57:01 +01:00
George Cushen 20fdc04606 feat(slides): remove dependency on Wowchemy Bootstrap module 2022-09-24 12:57:01 +01:00
Federico Agostini 342a418071 build: preserve comments in language pack synchroniser (#2831)
By migrating from PyYAML to Ruamel for YAML parsing
2022-09-17 15:56:54 +01:00
Anirban Basu c85924ba3e fix: use absolute path in cookie_consent.html (#2804)
Adding `site.GetPage /privacy.md` to reflect the absolute path to `privacy.md`, as per the Hugo documentation for GetPage.

This should force Hugo to only link to a `/privacy.md` page at the root of the site and prevent Hugo searching for unrelated pages with `privacy` in the name (as it currently does, if for example you also have a /tags/privacy/ page).

Note that currently there's a Hugo bug where Hugo does not respect absolute paths in `site.GetPage`. Hence, Hugo can still return other unrelated pages (for example any other pages that have `privacy....` in the filename) until this bug is fixed: https://github.com/gohugoio/hugo/issues/10243
2022-09-17 11:04:33 +01:00
George Cushen 71f51091fb feat: add Docsearch to 404 page 2022-09-16 19:43:46 +01:00
Pedro Ortiz Suarez 708b38cecc feat: update Academicons to v1.9.2 (#2833) 2022-09-16 19:42:43 +01:00
Wei-Tse Hsu 5191e384bd feat: add GitHub Discussions as a comment provider via Giscus (#2830) 2022-09-16 19:41:38 +01:00
George Cushen c40f8ca503 feat: add support for different Footer Widgets
For example, params.yaml:

```
footer:
  widget: mega
```

loads `layouts/partials/components/footers/mega.html`
2022-09-12 22:40:50 +01:00
George Cushen c36731acb3 fix: docs <article> wrap content only
Prevents Docsearch picking up Feedback Widget text etc. in search results
2022-09-07 22:44:54 +01:00
George Cushen 0f2261995e fix: dismiss Announcement Bar 2022-09-07 22:32:42 +01:00
George Cushen 1174c8564f feat: add Announcement Bar feature
In front matter:

```
announcement:
  text: ''Hello World!️'
```
2022-09-07 22:07:54 +01:00
George Cushen 769ac0e624 feat: add support for Algolia Docsearch
In params.yaml:

```
  search:
    provider: docsearch
    docsearch:
      app_id: ''
      api_key: ''
      index_name: ''
```
2022-09-07 21:51:28 +01:00
George Cushen 171a4dd85f refactor: import new wowchemy-core/seo modules 2022-09-07 21:39:52 +01:00