10366 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen
c2baf71553
netlify: Hugo 0.104.1 2022-09-26 19:27:00 +02:00
Ivan Duka
05d1192cde
Update diagrams.md (#1823)
Make it a bit more explicit that the variable won't be set until `.Content` that contains the render hook is processed.
2022-09-26 09:46:34 +02:00
Bjørn Erik Pedersen
3c43a8bbe8
netlify: Hugo 0.104.0 v0.104.0 2022-09-23 16:59:08 +02:00
Bjørn Erik Pedersen
57973b3346
Merge branch 'tempv0.104.0' 2022-09-23 16:58:43 +02:00
Bjørn Erik Pedersen
da775a36d2 docs: Regen docs helper 2022-09-22 18:55:00 +02:00
Bjørn Erik Pedersen
ae48b5901f docs: Regenerate CLI docs 2022-09-22 17:57:13 +02:00
Bjørn Erik Pedersen
af4a823b14 resources/images: Add $image.Colors
Which returns the most dominant colors of an image using a simple histogram method.

Fixes #10307
2022-09-22 15:57:35 +02:00
Christian Oliff
8e3f9ca64b
Remove outdated IE conditional comments example (#1821)
This only applied to IE9 and lower which hasn't been supported for a long time and has 0.0% browser marketshare.
2022-09-22 11:22:21 +02:00
bearomorphism
d1a84701bd
fix typo in template introduction (#1820) 2022-09-20 14:15:45 +02:00
Bjørn Erik Pedersen
c0c7339e0a
Update internal.md 2022-09-20 11:34:50 +02:00
Bjørn Erik Pedersen
17aefc515a
Remove the recommendation about where to put the GA tempalte
Thinking about it, I'm not sure where it's best to put it myself, so I don't think we should recommend anything so fast.

See gohugoio/hugo#9987
2022-09-20 10:37:15 +02:00
Bjørn Erik Pedersen
2632972361
Adjust GA template instructions
Vs. what Google says in their instructions.

See https://github.com/gohugoio/hugo/issues/9987
2022-09-20 10:31:09 +02:00
Bjørn Erik Pedersen
1cc265d99f
Update the GA template usage section
Mostly to remove the async example (not relevant for GA4 which people should be using by now).

See https://github.com/gohugoio/hugo/issues/9987
2022-09-20 10:22:53 +02:00
Mathieu Parent
e119683383 config/security: Allow proxy variables in subcommands
In particular for go get
2022-09-19 12:37:35 +02:00
Bjørn Erik Pedersen
9218ab9937
netlify: Hugo 0.103.1 2022-09-18 16:52:45 +02:00
Tanya Bouman
0b0e890d1f
Update markdownify and RenderString documentation (#1818)
These updates are from https://github.com/gohugoio/hugo/issues/9538
2022-09-16 16:53:11 +02:00
Salim B
50f5d4776f
Fix internal link (#1817) v0.103.0 2022-09-15 19:41:07 +02:00
Bjørn Erik Pedersen
6beb443c58
netlify: Hugo 0.103.0 2022-09-15 18:50:21 +02:00
Bjørn Erik Pedersen
14b5af2482
Merge branch 'tempv0.103.0' 2022-09-15 18:49:36 +02:00
Bjørn Erik Pedersen
548e7aa62e server: Add 404 support 2022-09-14 14:25:33 +02:00
Bjørn Erik Pedersen
3a20aa0bae
Update theme 2022-09-14 09:20:15 +02:00
Bjørn Erik Pedersen
392668f4f4
Update theme 2022-09-12 09:11:08 +02:00
Christian Oliff
65d82c8458
fix versions in GitHub Pages docs (#1815) 2022-09-12 10:37:18 +09:00
Tampere
4e078a306d
Create hosting-on-azure-static-web-apps.md (#1738)
Co-authored-by: Tampere <103528272+carerragt@users.noreply.github.com>
Co-authored-by: Christian Oliff <christianoliff@pm.me>
2022-09-12 10:32:20 +09:00
Christian Oliff
e24e25052f
fix requirement typo (#1814) 2022-09-12 10:24:51 +09:00
Christian Oliff
0790eb173d
fix broken link (#1813) 2022-09-12 10:20:04 +09:00
Sidharth R
f4a1b38c76
📄 Add more clarity on merging of config files (#1493)
Co-authored-by: Christian Oliff <christianoliff@pm.me>
2022-09-12 10:07:40 +09:00
hh.lohmann
2e82efff09
Install on Windows: Correct + augment (#1520)
* PowerShell / "other CLIs" don't have "set"
* "setx" for global setting for current user (no admin rights required)
2022-09-10 17:10:07 +02:00
onicholsoncc
4bffd076e9
Update frontends to add CloudCannon's CMS (#1509)
* Update frontends to add CloudCannon's CMS

* Update frontends.md
2022-09-10 17:09:44 +02:00
onicholsoncc
17eea31339
Update index.md to add resource (#1508)
Added CloudCannon's Hugo tutorial
2022-09-10 17:09:24 +02:00
Andreas Richter
5a5ac1d2f1
Add documentation for babel sourceMap (#1492)
* Document sourceMap argument on babel.

* Add docs for babel sourceMap.

* inputSourceMap already defaults to true inside of babel.

* @davidsneighbour agree, better just not to mention it since it does default to true. It used to be a required setting.

* Fix missing extenal sourceMap docs for js.Build which was also part of the PR

* Missing change (missing from previous commit)
2022-09-10 17:05:45 +02:00
Atrian Wagner
899b7117ce Update menu-templates.md
Adding a note that not all first-level directories are sections and including a link to Content Sections, which explains in more detail.
2022-09-10 17:04:56 +02:00
Dan Gold
284dc4266c Include flexible translation in i18n.md
The flexible translation feature of the i18n function is documented within the article for Multilingual Mode, but is not mentioned in the base i18n article. This copies the relevant article section from one to the other verbatim.
2022-09-10 17:04:31 +02:00
Darius Lupsa
f03421274f docs: Escaping Hugo/GO template code
Short example how to escape Hugo/GO template code used in a highlight shortcode.

Fixes: #1422
2022-09-10 17:03:59 +02:00
Nathan Lovato
4f0755683c Improve the documentation of imageConfig and the image resource
- Added information about the expected argument type when calling
imageResource.
- Added a warning regarding calling imageConfig with incorrect arguments.
- Added information about two properties the `image` resource provides.

Co-authored-by: jmooring
2022-09-10 17:02:02 +02:00
Sebastiaan Lampo
89aa723cc5 Clarify leaf bundle explanation and related FAQ
Organize the content of the leaf bundle such that the example with 4 leaf
bundles shows four headings. Align headings with branch bundles.
Explain that the content files will not result in rendered pages.

Add a hint to check for index.md's that may inadvertently have created
a leaf bundle thus preventing a page from being rendered.
2022-09-10 16:56:47 +02:00
Geo
0c6b32bb91 Update starter-kits.md 2022-09-10 16:55:56 +02:00
Geo
a68151b1b7 Update starter-kits.md 2022-09-10 16:55:56 +02:00
Geo
91b145384f Update starter-kits.md
Add the open source Wowchemy starter kit for Hugo
2022-09-10 16:55:56 +02:00
Toby Glei
c8104b4228 Update hosting-on-21yunbox.md 2022-09-10 16:50:45 +02:00
Toby Glei
51ee7603b0 Update hosting-on-21yunbox.md 2022-09-10 16:50:45 +02:00
Toby Glei
d88314499b docs(en): add hosting on 21YunBox
docs(en): add hosting on 21YunBox
2022-09-10 16:50:45 +02:00
Jorn Vanloofsvelt
aab04f2692 Update shortcode-templates.md to correct an error. 2022-09-10 16:48:25 +02:00
Đăng Tú
ed48563aa2
Misc improvements
Add Windows note for installing from source (gcc)

Correct multilingual.md typo and i18n.md info

Add detail for Installation on Windows note

Reverse misinfo, this need more investigation.
2022-09-10 16:44:51 +02:00
Bjørn Erik Pedersen
87dd24e1d6
Fix merge failure 2022-09-10 16:38:36 +02:00
Andreas Richter
0bcc6dca82
js.Build: Update docs to not allow boolean inputs for sourceMap
Remove docs indicating that boolean values can be provided to sourceMap.
2022-09-10 16:35:07 +02:00
Andreas Richter
e50a28fbc7
js.Build: Add SourceMap flag into js.Build opts which can turn on sourcemap
Add documentation for sourceMap opt in js.Build. Comment on future external support.
Temporarily tagged with 0.75-DEV
2022-09-10 16:34:44 +02:00
Doron Cohen
9695093a14 Fix Arch Linux installation command
Running `sudo pacman -Syu hugo` starts a full system upgrade which I believe is not the intention here.

```
❯ sudo pacman -Syu hugo
[sudo] password for doron: 
:: Synchronizing package databases...
 core                                                                                                                         131.8 KiB   399 KiB/s 00:00 [##############################################################################################] 100%
 extra                                                                                                                       1663.7 KiB  1095 KiB/s 00:02 [##############################################################################################] 100%
 community                                                                                                                      5.1 MiB  3.15 MiB/s 00:02 [##############################################################################################] 100%
:: Starting full system upgrade...
...
```
2022-09-10 16:31:13 +02:00
cskalyan
3de773d7a5 Please remove hugo-elasticsearch plugin.
Hugo-elasticsearch npm plugin has bugs and does not work well in generating indexes. JSON output it produces is invalid and does not work well on windows. There is not enough documentation as well.
2022-09-10 16:28:11 +02:00
Bjørn Erik Pedersen
6510f0a5a6
release: Add some more ignore expressions to release notes config 2022-09-10 16:26:52 +02:00