Commit graph

229 commits

Author SHA1 Message Date
George Cushen
b343bdd4a0 feat: ignore demo sections 2023-10-16 01:20:24 +01:00
George Cushen
8a0135da27 feat: ignore demo sections 2023-10-16 01:16:15 +01:00
Lukas Barth
f6330d58f5
fix(style): remove 'px' from img width and height attributes (#2996) 2023-10-05 18:52:11 +01:00
Tien Nguyen Minh
7b92ad1fbe
i18n: improve Vietnamese translation (#2995) 2023-10-04 20:51:33 +01:00
rodrigoalcarazdelaosa
4ed36f73f5
feat: update RevealJS version (#2992) 2023-10-02 22:25:30 +01:00
Øyvind Bye Skille
dd7ad85a62
i18n: update Norwegian (nb) translation (#2993)
Some new strings and some small corrections.
2023-10-02 22:16:09 +01:00
George Cushen
60baebf4de feat: adopt CSL standard for publication types
See https://docs.citationstyles.org/en/stable/specification.html#appendix-iii-types

BREAKING CHANGE:
Update the `publication_types` field in `content/publication/` files to one of the CSL standard publication types (or specify your own publication type directly in the publication file).
2023-09-30 18:11:49 +01:00
Geo
cbdf3e42b1
feat: support Hugo's change in behaviour of relURL/relLangURL
Hugo team changed behaviour of relURL/relLangURL, requiring removal of slash prefix to path

Fix built-in search results are empty when deploying site to domain's sub-folder

Fix #2985
2023-09-15 16:08:39 +01:00
Tom Vercauteren
f47bd809f7
feat: update Academicons icon pack (#2981)
Upgrade from version 1.9.2 to version 1.9.4. This provides the new arxiv icon among other updates.
2023-09-13 01:07:25 +01:00
George Cushen
59b648791d fix: gallery lightbox doesn't always load
Lightbox may not load in case of gallery shortcode contained within `text` field of a landing page block (v2 blocks).

Fix #2972
2023-08-12 17:50:02 +01:00
George Cushen
f38f65d011 fix: gallery lightbox doesn't always load
Lightbox may not load in case of gallery shortcode contained within `text` field of a landing page block (v2 blocks).

Fix #2972
2023-08-12 17:33:44 +01:00
Stefano Kowalke
f2a7bd1229
refactor: remove JQuery from parts of Search JS (#2970)
See #1402
2023-08-11 19:01:49 +01:00
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
s-team-FZI
1b9f1397c1
i18n: update DE (#2947)
Improve translation of Thesis to Abschlussarbeit #2947
2023-05-20 14:41:02 +01:00
Federico Agostini
ecde200961
docs: fix code comment (#2939) 2023-04-27 21:14:56 +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
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
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
George Cushen
58b270a3e1 feat: gallery detection in v2 block system 2022-11-27 21:56:19 +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
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
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
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
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
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
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