14538 Commits

Author SHA1 Message Date
Joe Mooring
d91c4cccf3
theme: Fix news items URLs 2025-02-20 19:54:07 -08:00
Joe Mooring
ca931cd1f6
theme: Restore RSS feed for news section 2025-02-20 09:45:28 -08:00
Joe Mooring
e6b870bc9e
theme: Adjust copy-to-clipboard button 2025-02-19 11:16:40 -08:00
Bjørn Erik Pedersen
0718514310
Update netlify.toml 2025-02-19 13:57:49 +01:00
Bjørn Erik Pedersen
e68431034e theme: Format layouts
```
npx prettier --write layouts
```
2025-02-18 18:04:34 +01:00
Bjørn Erik Pedersen
aa3cd839a2 theme: Format assets
```
npx prettier --write assets
```
2025-02-18 18:04:34 +01:00
Bjørn Erik Pedersen
22ad3eee3d theme: Add some more space on the right for copy buttons
Fixes #2919
2025-02-18 13:33:28 +01:00
Bjørn Erik Pedersen
f4a19083a8
netlify: Hugo 0.144.1 2025-02-18 13:32:53 +01:00
Christian Oliff
974cb87958
theme: Remove Internet Explorer configs (#2929) 2025-02-18 09:25:59 +01:00
Christian Oliff
4a23a1f41e
content: Fix typos 2025-02-18 00:06:28 -08:00
Bjørn Erik Pedersen
d49f15d032
theme: Get the scrollspy back working 2025-02-17 23:49:23 +01:00
Joe Mooring
720c7ff673
config: Evict getresource cache hourly 2025-02-17 13:40:08 -08:00
Bjørn Erik Pedersen
1f62ca97ea
theme: Hide the Turbo progress bar 2025-02-17 22:14:40 +01:00
Bjørn Erik Pedersen
f6449ace34 Move the dark class up to the html element
To get the correct `color-scheme`.

Fixes #2918
2025-02-17 20:27:44 +01:00
Joe Mooring
074cd1a074
content: Miscellaneous edits 2025-02-17 11:13:34 -08:00
Joe Mooring
e098a77164
content: Miscellaneous edits 2025-02-17 09:38:41 -08:00
Joe Mooring
8e1e104aac content: Updates for v0.144.0 2025-02-17 18:14:19 +01:00
Bjørn Erik Pedersen
18e1aa916d theme: Add anchor links via JS 2025-02-17 18:11:46 +01:00
Bjørn Erik Pedersen
ac3b5505c8
Close new-in 2025-02-17 18:05:08 +01:00
Bjørn Erik Pedersen
bfa4db6b8a
netlify: Hugo 0.144.0 2025-02-17 18:01:32 +01:00
Bjørn Erik Pedersen
fd6e7feee8
Regen CLI docs 2025-02-17 18:01:10 +01:00
Bjørn Erik Pedersen
da9d1218a1
Regen docs helper 2025-02-17 17:59:43 +01:00
Bjørn Erik Pedersen
5de494dedc
Merge branch 'tempv0.144.0' 2025-02-17 17:58:22 +01:00
Joe Mooring
f683e64698
theme: Minor improvements to base template 2025-02-17 02:22:37 -08:00
Bjørn Erik Pedersen
ef8bf89d8b resources/page: Revise the new contentbasename permalinks tokens
* Make it work for all pages, including those created from content adapters and not backed by a file.
* Allow the `slug` to win, so the new tokens are:

`:contentbasename`:

1. ContentBaseName

`:slugorcontentbasename`:

1. Slug
2. ContentBaseName

Note that a page will always have a `ContentBaseName`, so no need to fall back to e.g. the title.

Closes #11722
2025-02-17 09:41:49 +01:00
Henrique Dias
901adb07b7 resources/page: Add :contentbasename and :contentbasenameorslug permalink tokens
See #11722
2025-02-17 09:41:49 +01:00
Joe Mooring
0fca8ef251
all: Change shortcode usage and design to prevent invalid HTML 2025-02-17 00:38:33 -08:00
harry
c41d766137 Update RegularPagesRecursive.md
fixing a small typo in the info page
2025-02-15 23:09:33 +01:00
Joe Mooring
e935747483
content: Correct return type for strings.Split 2025-02-15 10:30:21 -08:00
Bjørn Erik Pedersen
3d504abbad
Revert "content: Add ids to the Netlify steps"
This reverts commit c08c8e15e733088d760fbc4e9e80546b6399659a.

This will eventually fix itself with https://github.com/gohugoio/hugo/issues/13403
2025-02-15 18:01:01 +01:00
Bjørn Erik Pedersen
c08c8e15e7
content: Add ids to the Netlify steps
But it's probably easier to just use e.g. h6.
2025-02-15 14:46:38 +01:00
Bjørn Erik Pedersen
5a3b470a2f
theme: "move" the id from content to article
This is the id used for Algolia records without id on the element itself.
2025-02-15 14:36:22 +01:00
Bjørn Erik Pedersen
b878613aad
theme: Add page kind as a CSS class to body 2025-02-15 11:58:53 +01:00
Joe Mooring
269657e8f1
content: Fix formatting error 2025-02-14 05:39:21 -08:00
Joe Mooring
664f6c92f3 config: Change image cache location 2025-02-14 10:10:11 +01:00
Bjørn Erik Pedersen
fa6b719b1b theme: Reduce ToC to level 2-4
Fixes #2902
2025-02-14 10:09:21 +01:00
Joe Mooring
bc16341ca1 theme: Render mathematical markup with transform.ToMath
Closes #2897
2025-02-14 09:54:02 +01:00
Joe Mooring
14bf9dc700
theme: Add aria-label attribute to search fields
Closes #2899
2025-02-14 09:29:09 +01:00
Joe Mooring
ed42af5b3b theme: Adjust search field and search activation
- Activate search with / regardless of OS
- Adjust colors for "standalone" search button

Closes #2893
2025-02-14 09:15:06 +01:00
Joe Mooring
f042e49709 dev: Add prettier-plugin-void-html
This is a Prettier plugin to format void HTML elements using the void
tag syntax instead of self-closing syntax. Additionally, if
self-closing syntax is used on non-void elements, then they will be
"unwrapped" so that both the opening and closing tags are present.
2025-02-14 09:11:20 +01:00
Joe Mooring
f6ec83533e
content: Fix inline shortcode example 2025-02-13 20:57:15 -08:00
Joe Mooring
0a74210e2b
theme: Remove readfile shortcode 2025-02-13 19:55:54 -08:00
Bjørn Erik Pedersen
334ca06ac6 theme: Fix some dark mode accessibility as reported by Axe core
Tested with the Chrome extension.
2025-02-13 18:21:33 +01:00
Bjørn Erik Pedersen
02626ff921
theme: aria-lbabel => aria-label 2025-02-13 17:54:18 +01:00
Bjørn Erik Pedersen
227b76ab7e
Add Prettier and config 2025-02-13 07:36:41 -08:00
Joe Mooring
43ab224280
content: Bump minimum required Go version to 1.23.0 2025-02-13 07:00:56 -08:00
Bjørn Erik Pedersen
03e54683f5 modules: Add GOAUTH to module config
Closes #13385
2025-02-13 15:01:28 +01:00
Bjørn Erik Pedersen
9f06a3b9cb js/esbuild: Add drop option
Fixes #13362
2025-02-13 13:26:46 +01:00
Bjørn Erik Pedersen
ddcd993698 Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a' 2025-02-13 10:40:34 +01:00
Joe Mooring
d1a2519330 theme: Optimize for printing 2025-02-13 09:01:07 +01:00