Commit graph

1815 commits

Author SHA1 Message Date
Aki Ariga 15ee0927a7
i18n: improve Japanese (JA) translation (#2974)
Updated some of untranslated Japanese in i18n yaml.
2023-08-07 18:43:26 +01:00
George Cushen 2342b0c39a fix: 1c09422 error calling isset
error calling isset: calling IsSet with unsupported type "invalid" (<nil>) will always return false

See 1c094227ec (commitcomment-123412561)
2023-08-06 07:59:06 +01:00
Federico Agostini 1c094227ec
feat: update Headroom implementation to support recent Hugo versions (#2950)
It has been reported that recent Hugo versions broke user's configuration of Headroom JS via the `header.on_scroll` option.

With this PR, Headroom JS configuration is working again.

Fixes #2935
2023-07-30 19:02:22 +01:00
Christian Brueffer 92cc5a2710
feat(blocks>slider): only show prev/next arrows when more than one slide (#2949) 2023-06-18 23:14:59 +01:00
kjrstory 8b1b5ee32a
starters: add google_tag_manager and microsoft_clarity to default config (#2955) 2023-06-18 23:07:49 +01:00
s-team-FZI 1b9f1397c1
i18n: update DE (#2947)
Improve translation of Thesis to Abschlussarbeit #2947
2023-05-20 14:41:02 +01:00
Geo 2d67669ce7
fix: GitHub deprecated GH Actions Node version 2023-05-01 17:14:43 +01:00
Geo 437712791d
fix: GitHub deprecated GH Actions Node version (#2940) 2023-05-01 17:13:24 +01:00
Geo 1bc21b7892
fix: GitHub deprecated GH Actions Node version 2023-05-01 17:03:02 +01:00
Federico Agostini ecde200961
docs: fix code comment (#2939) 2023-04-27 21:14:56 +01:00
George Cushen 859b574642 starters(academic): switch from Avatar block to Biography block 2023-04-20 22:02:49 +01:00
George Cushen 951c7b6f70 feat: add Biography block to v2 block collection
To use, reference as: `about.biography`

Close #2925
2023-04-20 21:57:46 +01:00
rodrigoalcarazdelaosa c329e54a1e
feat: update JS dependencies to their latest versions (#2934) 2023-04-20 21:35:43 +01:00
George Cushen 57e374fe08 docs: update hero image 2023-04-18 21:48:57 +01:00
George Cushen d32a1ce197 fix: migrate Research Group template from v1 to v2 blocks (#2914) 2023-04-18 20:49:39 +01:00
George Cushen ca2775cd57 fix: migrate Research Group template from v1 to v2 blocks (#2914) 2023-04-18 20:47:07 +01:00
Federico Agostini a4e5661b88
templates: migrate Research Group template from v1 to v2 blocks (#2914) 2023-04-18 20:32:26 +01:00
Ted Magaoay 9ea080c354
fix: gallery images overlapping in latest Chrome version (#2930) 2023-04-14 20:28:29 +01:00
JOnathan duMonT a7f7d7aa46
i18n: improve French (FR) translation (#2928) 2023-03-23 17:50:00 +00:00
Federico Agostini f55ff594c0
fix: shortcode context for v2 blocks (#2919)
Shortcodes in the new block system do not get access to the correct .Page variable (see #2918 ). The problem is the use of markdownify function to parse $block.content.text, since it actually is an alias to site.Home.RenderString since v 0.93.0 (see gohugoio/hugo#9959 (comment)).

This causes the shortcodes to always get the Homepage as .Page variable. The fix is to substitute markdownify with $page.RenderString, which gives the correct context.

Fixes #2918
2023-02-13 20:03:01 +00:00
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