Commit Graph
9659 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 2d4583d43b Merge branch 'temp791-2' 2020-12-19 17:12:11 +01:00
hugoreleaser 1d34e609b5 releaser: Add release notes to /docs for release of 0.79.1
[ci skip]
2020-12-19 17:09:29 +01:00
Bjørn Erik Pedersen e267699884 Merge branch 'temp791' 2020-12-19 17:05:54 +01:00
Bjørn Erik Pedersen 75694d9040 Fix Resource.ResourceType so it always returns MIME's main type
The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.

Fixes #8052
2020-12-17 22:20:12 +01:00
David 0f65d77838 Typo s/adds/add (#1298) 2020-12-17 21:28:41 +07:00
Bjørn Erik Pedersen 0b896b2c0d images: Add images.Overlay filter
This allows for constructs ala:

```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:

```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```

Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.

Fixes #8057
Fixes #4595
Updates #6731
2020-12-17 09:14:18 +01:00
Chris Chute 0d4257dcde Clarify documentation on shimming
Incorporate comments from fbeyer in this [discourse thread](https://discourse.gohugo.io/t/using-externals-and-shims-to-use-reacts-cdn/29225). Specifically:
- Create shims in the `assets` folder rather than in a published location (they are only needed at build-time)
- Shim `react` and `react-dom` for clearer and more common use case
- Clarify that you do not need to use the `externals` argument for `js.Build` when you specify `browser` in your `package.json` file
2020-12-10 23:57:46 +01:00
Bjørn Erik Pedersen fcf601ddf6 Update index.html 2020-12-10 16:56:34 +01:00
Bjørn Erik Pedersen 6bf9bc1c1c Update index.html 2020-12-10 16:11:44 +01:00
Bjørn Erik Pedersen 1ce76bf3ad Update index.html 2020-12-10 13:10:31 +01:00
Bjørn Erik Pedersen e7d976eec1 Update index.html 2020-12-10 13:00:55 +01:00
Bjørn Erik Pedersen db2996e64f Update index.html 2020-12-10 12:56:18 +01:00
Bjørn Erik Pedersen 245e5bfc9a news: Add post about Apple M1 2020-12-10 11:19:24 +01:00
Andrew Zenk 3ad4115ed8 tpl: Add title parameter to YouTube shortcode 2020-12-02 12:53:53 +01:00
Elio Struyf 76ed976f89 Added two useful extensions to the list (#1243)
Added Hugo Themer and Front Matter to the list of VSCode extensions.
2020-12-01 22:57:11 +09:00
Bjørn Erik Pedersen e5a30dd114 Update related.md
Closes https://github.com/gohugoio/hugo/issues/8002
2020-11-29 19:48:40 +01:00
Joe Mooring 25cf8f48bb Improve substr examples 2020-11-27 22:18:39 +01:00
Bjørn Erik Pedersen e16e57e9a4 Update path.Split.md 2020-11-27 16:08:46 +01:00
Bjørn Erik Pedersen 2749b88fd0 Update path.Split.md 2020-11-27 16:06:43 +01:00
Bjørn Erik Pedersen d76cad3ff3 Release 0.79.0 2020-11-27 10:41:59 +01:00
hugoreleaser f5ccfbe982 releaser: Add release notes to /docs for release of 0.79.0
[ci skip]
2020-11-27 09:06:36 +00:00
Bjørn Erik Pedersen ebf1b87b0c Merge commit '9f1265fde4b9ef186148337c99f08601633b6056' 2020-11-27 09:30:05 +01:00
Andrew Medworth 1de7a358ca Clarify that "with" blocks do not render with empty values (#1287)
* Clarify that "with" blocks do not render on empty values

* Fix typo
2020-11-25 22:17:43 +01:00
Bjørn Erik Pedersen 1f1e8f39c4 Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
Fixes #7829
2020-11-25 20:34:34 +01:00
Bjørn Erik Pedersen e9b1414dda deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14
Closes #7986
2020-11-25 17:39:51 +01:00
Bjørn Erik Pedersen b48de8b0a2 Update js.md 2020-11-25 08:37:44 +01:00
Bjørn Erik Pedersen e0124e4b1f Update js.md 2020-11-25 08:30:20 +01:00
davidmauskop 087b39d74e Update hosting-on-render.md (#1286)
The flow for creating static sites in the Render dashboard was recently simplified
2020-11-25 16:09:19 +09:00
Atishay Jain 8f02b54124 Update js.md (#1284) 2020-11-25 09:19:31 +09:00
Bjørn Erik Pedersen 0f76cf66c5 docs: Regen docshelper 2020-11-24 13:49:01 +01:00
David Jones 1ada5d47e0 Add menu params
Fixes #7951
2020-11-22 22:09:59 +01:00
Mark Hansen 8dd8a8d1d1 Add link to "Build Websites with Hugo" book (#1174)
I'm reading Brian's book, and enjoying it, thought I'd link it.
2020-11-21 23:24:16 +09:00
Bjørn Erik Pedersen 1c120aef01 Revert "docs: Regenerate docshelper"
This reverts commit caf16c2085.

Closes #7972
2020-11-21 12:48:48 +01:00
Tom HummelandChristian Oliff ae2dc138a9 Fix typo in page bundles (#1283)
* Fix typo in page bundles

* Update page-bundles.md

Co-authored-by: Christian Oliff <christianoliff@pm.me>
2020-11-21 00:47:18 +09:00
Bjørn Erik Pedersen 7b60b56247 docs: Regenerate docshelper 2020-11-20 09:32:16 +01:00
Daniel Qian ab14bfec30 Update configuration directory section 2020-11-19 09:52:03 +01:00
Kirill Aristov 17da77ff1a Update multilingual.md (#1280)
* Update multilingual.md

Fix wrong camel case

* Update multilingual.md

Fix the last wrong DefaultContentLanguage to defaultContentLanguage
2020-11-18 17:50:03 +09:00
Ken Morse 5bce8db3af Fix for site-hierarchy image, issue #60 2020-11-16 09:23:42 +01:00
Barish Barla 9d7a2366d3 Fix typo 2020-11-15 00:22:28 +01:00
Barish Barla ad4210c411 Fix typo 2020-11-15 00:22:28 +01:00
Max Belsky c88bc03830 Fix orphan branch url (#1262) 2020-11-14 00:06:03 +07:00
Bjørn Erik Pedersen 1cf6cf5b34 Hugo 0.78.2 2020-11-13 11:35:43 +01:00
Bjørn Erik Pedersen 538c3cb865 Merge branch 'tempv0.78.2' 2020-11-13 11:35:04 +01:00
hugoreleaser e5e07fc81d releaser: Add release notes to /docs for release of 0.78.2
[ci skip]
2020-11-13 10:07:00 +00:00
Marcel Overdijk 120a61a474 Fixed wrong var assignment example 2020-11-12 13:57:35 +01:00
Bjørn Erik Pedersen 4cebbb1a76 Ignore remote JSON errors (for now) 2020-11-11 23:35:40 +01:00
Yaacov 618fcf9baa Add a link to modules config option 'replacements'
"Make and test changes in a module" : since v0.77.0, the modules config option 'replacements' has been introduced to handle that situation in a more convenient way
2020-11-11 23:34:59 +01:00
Yaacov e127227794 Fix typo ("wil" -> "will") (#1273) 2020-11-11 19:42:03 +09:00
Bjørn Erik Pedersen 0670e98942 Update js.md 2020-11-09 13:26:59 +01:00
Mackenzie Morgan 5bde834cf7 Update GH docs to say "main" as default branch 2020-11-06 20:57:52 +01:00