Commit Graph
13874 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen ebaa733d45 Make sure resources directory isn't created in hugo new theme
Fixes #11382
2023-08-23 22:50:35 +02:00
Bjørn Erik Pedersen 24b1be45c1 Go 1.21 Upgrade
Fixes #11351
2023-08-23 21:49:27 +02:00
Bjørn Erik Pedersen 111f02db2a testscripts: Make mod vendor test stable 2023-08-23 20:52:09 +02:00
michalbiesek 8a08f91d5b dockerfile: Update Docker images
- `golang:1.21-alpine`
- `alpine:3.18`
2023-08-23 18:06:52 +02:00
Bjørn Erik Pedersen dcf425c846 Fix it so disable a module does not disable transitive dependency required by others
The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`.

Fixes #11376
2023-08-23 18:05:18 +02:00
Joe Mooring 9a8c84d600 create/skeletons: Move theme's site config to top level
Closes #11380
2023-08-23 18:05:00 +02:00
dependabot[bot] a19d03b0e6 build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.5.5...v1.5.6)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 13:19:49 +02:00
Joe Mooring cdf0b3b7a6 modules: Make new cache directories read/write
Leave newly-created directories in the module cache read-write instead
of making them read-only.

Closes #11369
2023-08-22 08:47:02 +02:00
Oleksandr Redko d979831dbd deploy: Update InvalidateCloudFront to use Go CDK helper 2023-08-21 16:57:41 +02:00
Bjørn Erik Pedersen bcf7421ea5 Avoid escaping HTML chars inside hugo_stats.json
Fixes #11371
2023-08-21 13:17:21 +02:00
Joe Mooring b6538532f4 commands/new: Embed site and theme skeletons
The skeletons are used when creating new sites and themes with the CLI.

Closes #11358
2023-08-21 10:38:22 +02:00
Joe Mooring 1a4522b3ed Format examples 2023-08-18 20:33:55 -07:00
Joe Mooring a70f200944 Use "hugo new content" to create content 2023-08-18 09:36:44 -07:00
Joe Mooring 673846ff95 Remove comment 2023-08-17 17:03:08 -07:00
Joe Mooring b7febf0c51 Fix link 2023-08-17 11:47:28 -07:00
Joe Mooring 6f6fe2133d Miscellaneous edits 2023-08-15 19:37:17 -07:00
Joe Mooring 99227dd187 Remove lookup order table from output formats page 2023-08-15 12:59:34 -07:00
Joe Mooring bc88706573 tools/editors: Add Prettier Plugin for Go Templates 2023-08-15 07:47:42 -07:00
Joe Mooring 157b169eb6 Update docs.yaml 2023-08-15 07:04:25 -07:00
Joe Mooring 2bfb3bf4c8 docshelper: Improve template lookup order descriptions
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term

Fixes gohugoio/hugoDocs#1734
2023-08-15 12:53:18 +02:00
Joe Mooring 90944aa261 docshelper: Improve template lookup order descriptions
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term

Fixes gohugoio/hugoDocs#1734
2023-08-15 12:53:18 +02:00
Joe MooringandJames McMurry 1c8f514e05 Update cond function
Co-authored-by: James McMurry <jmcmurry@semanticnoise.com>
2023-08-14 19:08:40 -07:00
Joe Mooring e5f1f81134 Add assumptions to taxonomy and term template lookup order examples 2023-08-14 11:00:28 -07:00
Joe Mooring 475b406e28 Update postprocess
- Fix description list markdown
- Remove reference to HUGO_ENV per #2154
2023-08-14 08:38:08 -07:00
Joe Mooring 2d6cb8dfc0 glossary: Update content type 2023-08-14 08:24:41 -07:00
Joe Mooring 03b514bac5 Add descriptions to template lookup order example sections 2023-08-14 07:45:52 -07:00
Andreas Deininger 06678f9198 glossary: Fix broken link 2023-08-14 05:18:19 -07:00
dependabot[bot] db7bc49690 build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.17 to 0.19.2.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.17...v0.19.2)

---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 11:46:23 +02:00
Joe Mooring 4cd505612e Simplify news listing 2023-08-13 15:10:25 -07:00
Joe Mooring fadb980db3 Update glossary of terms 2023-08-13 12:21:20 -07:00
Joe Mooring 491bacd78b Change order of example sections for template lookup order 2023-08-13 10:47:01 -07:00
Joe Mooring 04b8f39ecb Create glossary of terms 2023-08-13 08:43:21 -07:00
Hybras 12e896bc07 Remove reference to asciidoctor-rouge extension 2023-08-13 08:42:17 -07:00
Will Faught 055f7bb37c Insert missing words 2023-08-12 13:52:58 -07:00
Joe Mooring 8cd6ac3874 Miscellaneous edits 2023-08-12 13:35:47 -07:00
Salim B 2cbe17f418 Update configuration.md 2023-08-12 22:06:26 +02:00
Salim B 529615373a Update data-templates.md 2023-08-12 22:06:26 +02:00
Bjørn Erik Pedersen 853154e656 Update theme 2023-08-12 12:26:40 +02:00
Andreas Deininger 45f08627aa resources.getRemote: Fix definition list 2023-08-11 16:42:15 -07:00
Bjørn Erik Pedersen b0baa890e3 cache: Hide IsResourceDir from the exported config 2023-08-09 23:49:08 +02:00
Bjørn Erik Pedersen a2f6400d65 cache: Hide IsResourceDir from the exported config 2023-08-09 23:49:08 +02:00
Bjørn Erik Pedersen 29a51dac14 Update docshelper 2023-08-09 23:48:55 +02:00
Joe Mooring 3bdfe88c68 Remove link to gitter from site footer
This option to "Discuss Source Code" is rarely used and not monitored.
2023-08-08 18:05:40 +02:00
Joe Mooring cacd0e461d Use "map" instead of "dictionary" 2023-08-08 08:01:07 -07:00
Joe Mooring 704dd5da68 Document the transform.Remarshal template function 2023-08-08 06:51:53 -07:00
Joe Mooring e8d744951e Populate news section via GitHub releases API
- Keeps the news section fresh
- Displays last 20 releases
- One API call per build, so we shouldn't be rate-limited
- Removes old articles
- Includes content from news section (if any), date sorted with releases

Closes #1816
2023-08-08 09:17:34 +02:00
Bjørn Erik Pedersen b4b071ea01 docs: Replace docs.json with docs.yaml
Updates #11345
2023-08-08 09:13:17 +02:00
Bjørn Erik Pedersen 7d74cd0cc8 commands: Handle floats without decimals in hugo config
Updates #11345
2023-08-08 09:13:17 +02:00
Bjørn Erik Pedersen d139f30234 docs: Replace docs.json with docs.yaml
Updates #11345
2023-08-08 09:13:17 +02:00
Bjørn Erik Pedersen 3ff1118c77 Replace docs.json with docs.yaml
See https://github.com/gohugoio/hugo/issues/11345
2023-08-08 09:12:27 +02:00