13914 Commits

Author SHA1 Message Date
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 Mooring
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
Joe Mooring
7726bbcac6
Use docs.json to generate default config throughout the site 2023-08-07 09:09:15 -07:00
Bjørn Erik Pedersen
b1b6912412
config: Add a type value for the tags related config entry
Which doesn't have any practical difference, but it looks cleaner in the generated docs.
2023-08-07 18:01:46 +02:00
Joe Mooring
57dca93df7 Use docs.json to generate default config for related content 2023-08-07 17:20:58 +02:00
Bjørn Erik Pedersen
74d5082c72
Add some .RenderShortcodes docs 2023-08-07 15:43:45 +02:00
Bjørn Erik Pedersen
cf5ab5062b
netlify: Hugo 0.117.0 2023-08-07 15:11:31 +02:00
dependabot[bot]
0de81c6430 build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 14:20:55 +02:00
Bjørn Erik Pedersen
420f7aa698 Add all config to docshelper.json
Also consolidate so the mediaTypes and outputFormats are listed once only.

Fixes #11328
2023-08-07 13:42:54 +02:00
Bjørn Erik Pedersen
851bf3515e Add all config to docshelper.json
Also consolidate so the mediaTypes and outputFormats are listed once only.

Fixes #11328
2023-08-07 13:42:54 +02:00
dependabot[bot]
d4a6c16c17 build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:18:03 +02:00
Bjørn Erik Pedersen
5d5fb22ead
Merge commit '7c62d6ef1654c0383eae474d3bd9ddf7754c1f30' 2023-08-07 10:38:12 +02:00