Commit Graph

5180 Commits

Author SHA1 Message Date
Joe Mooring ddefbefaaf content: Improve contributing page 2025-03-07 18:50:03 -08:00
Joe Mooring f41d28ee12 content: Adjust usage of whitespace removal with action delimiters 2025-03-07 18:50:03 -08:00
Joe Mooring 4f4076364f misc: Document the front matter fields used on this site 2025-03-06 17:47:57 -08:00
Joe Mooring 7de6dbab39 content: Fix front matter for several function pages 2025-03-06 17:47:57 -08:00
Joe Mooring 68bc28d674 content: Add linkTitle to shortcode pages 2025-03-06 17:47:57 -08:00
Joe Mooring 5f32c92ed9 theme: Restore deduplication logic for related items 2025-03-06 09:07:27 -08:00
Joe Mooring a943a4bb83 theme: Implement related content tooling 2025-03-06 02:55:29 -08:00
Joe Mooring fd628be6ed content: Replace calls to the code shortcode with fenced code blocks 2025-03-06 02:49:11 -08:00
Joe Mooring b23c9a583a content: Fix position of new-in badges 2025-03-05 19:32:34 -08:00
Joe Mooring ec056f251e content: Fix typo 2025-03-05 19:03:28 -08:00
Joe Mooring 2fcd21ee5c content: Remove "related" array from function and method pages
Closes #2967
2025-03-05 17:03:42 -08:00
Joe Mooring 71d8426ee6 theme: Create code block render hook 2025-03-05 17:03:42 -08:00
Joe Mooring 4cdde66496 theme: Adjust number of news items to display 2025-03-05 17:03:42 -08:00
Joe Mooring 34ab45261f content: Miscellaneous edits 2025-03-05 17:03:42 -08:00
Joe Mooring b6cae5cbc6 content: Consolidate configuration documentation 2025-03-05 04:50:06 -08:00
Bangel c4f759e016 Add es2024
this looks like it was added here: https://github.com/gohugoio/hugo/pull/12641/files#diff-7cdb1b21088d3cf238702166ae0ebc064f18894c9cc7b065de47b954946e4044
2025-03-03 15:34:47 +01:00
Bangel 93cce62c81 Update support list of more recent targets with js.Build / esbuild
This commit added support for up to es2023 but the docs need to be updated https://github.com/gohugoio/hugo/commit/1cdd3d0a9e4a988fb505a1bcbb3e7692b64bef55#diff-5223fc9312c6fe5c4ef688ea1007031d660142fb76b601e2c75bbff9dbb814e7
2025-03-03 15:34:47 +01:00
Bjørn Erik Pedersen 974d0655f7 Update hosting-on-codeberg.md 2025-03-01 19:17:35 +01:00
cujohub b3f0ed9cef content: Add hosting instructions for Codeberg Pages 2025-02-28 17:13:49 -08:00
cujohub 8217c0900f content: Correct the SourceHut repository URL 2025-02-28 14:37:39 -08:00
cujohub a8cf3d28fe content: Add hosting instructions for SourceHut Pages 2025-02-28 14:25:43 -08:00
Joe Mooring 8c059cbe14 theme: Use content adapter for news section 2025-02-28 14:15:31 -08:00
Bjørn Erik Pedersen 03938c600c Remove some old new-in 2025-02-27 20:43:26 +01:00
meltingscales 5c50a75e8d content: Fix typo 2025-02-27 10:14:52 -08:00
Bjørn Erik Pedersen 3c555d5f8a One more copy button 2025-02-26 20:21:57 +01:00
Bjørn Erik Pedersen 94bce999a2 Add some copy buttons 2025-02-26 20:19:47 +01:00
Bjørn Erik Pedersen 9e1cc0c2b1 Update PortableText.md 2025-02-26 18:03:50 +01:00
Bjørn Erik Pedersen dd26ac49f5 Document transform.PortableText 2025-02-26 17:41:06 +01:00
Muhammed Musaddique K 59e057bb43 Update index.md
fix the code snippet in creation of the hugo.yaml file. The code block when copied as a whole and run creates a file in the root folder not .github/workflows/ .
2025-02-25 21:03:10 +01:00
Bjørn Erik Pedersen d07e07d6c9 Remove some unused home page front matter 2025-02-24 16:53:42 +01:00
Patrice Chalin d482657b76 Add footnote about alias to the build front matter key 2025-02-23 19:49:11 -08:00
Joe Mooring f0629b77c7 content: Fix typo 2025-02-22 08:34:36 -08: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 ac3b5505c8 Close new-in 2025-02-17 18:05:08 +01:00
Bjørn Erik Pedersen fd6e7feee8 Regen CLI docs 2025-02-17 18:01:10 +01:00
Bjørn Erik Pedersen 5de494dedc Merge branch 'tempv0.144.0' 2025-02-17 17:58:22 +01: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 c08c8e15e7.

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
Joe Mooring 269657e8f1 content: Fix formatting error 2025-02-14 05:39:21 -08:00
Joe Mooring bc16341ca1 theme: Render mathematical markup with transform.ToMath
Closes #2897
2025-02-14 09:54:02 +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
Joe Mooring 43ab224280 content: Bump minimum required Go version to 1.23.0 2025-02-13 07:00:56 -08:00