Commit Graph

3599 Commits

Author SHA1 Message Date
Salim B 4230f8fa54 Rename and refactor shortcode 2021-05-03 21:08:23 +02:00
Salim B d61a580103 Add insertpages shortcode
This is an improvement over the `readfiles` shortcode in that it allows to insert content files that contain shortcodes themselves.

This new shortcode is used to fix a regression introduced in https://github.com/gohugoio/hugoDocs/pull/1442 (`new-in` shortcode was not rendered as intended).
2021-05-03 21:08:23 +02:00
Salim B 04d30677dd Mention WebP under 'Target Format' (#1431)
Plus use [official spelling](https://en.wikipedia.org/wiki/WebP) of `WebP`.
2021-05-02 20:47:53 -07:00
Jackson Lucky 9467845085 Update lookup-order.md (#1443)
Improve subject-verb agreement.
2021-05-02 20:45:56 -07:00
Bjørn Erik Pedersen a7b5879889 Update index.md 2021-05-02 17:38:19 +02:00
Bjørn Erik Pedersen 044d37e570 Merge branch 'tempv0.83.1' 2021-05-02 17:33:30 +02:00
Salim B b81aedb03f Fix page .Kind
In case of a taxonomy term page, `.Kind` (at least in Hugo v0.83) returns the string **`"term"`**, not `taxonomyTerm`.
2021-05-02 16:38:48 +02:00
hugoreleaser fcf7775adc releaser: Add release notes to /docs for release of 0.83.1
[ci skip]
2021-05-02 14:38:02 +00:00
Christian Oliff 9b39c77c87 fix typo in 0.83 release notes 2021-05-02 16:17:50 +02:00
Bjørn Erik Pedersen 1c38993ce7 Update index.md 2021-05-01 18:41:47 +02:00
Bjørn Erik Pedersen 45b8aefa67 Update index.md 2021-05-01 18:41:28 +02:00
Bjørn Erik Pedersen 43902dfaad Update index.md 2021-05-01 18:38:51 +02:00
Bjørn Erik Pedersen 3d959c7ae8 Merge branch 'tempv0.83.0' 2021-05-01 15:33:05 +02:00
Salim B 6c22dc3279 Fix URL 2021-05-01 14:52:39 +02:00
Salim B 497ea32247 Use Hugo version badge shortcode 2021-05-01 14:52:10 +02:00
hugoreleaser a182d10ddd releaser: Add release notes to /docs for release of 0.83.0
[ci skip]
2021-05-01 12:10:05 +00:00
Bjørn Erik Pedersen 287fd9ac09 docs: Fix shortcode 2021-05-01 13:01:23 +02:00
Bjørn Erik Pedersen 1666c7f31a docs: Regenerate CLI docs 2021-05-01 12:05:31 +02:00
Joe Mooring 9117f54b39 Remove code toggle from netlify.toml
Closes #1421
2021-04-30 22:27:41 +02:00
Darius Lupsa babbb9090a fix version number - 404 error 2021-04-30 09:16:40 +02:00
Darius Lupsa f4ef4c146a Repairing link from issue 131 using jamesrhea's comment https://github.com/gohugoio/hugoDocs/issues/131#issuecomment-324083739 2021-04-30 09:16:40 +02:00
arhuman 7f73f56851 Update related.md (#1436)
Fix typo
2021-04-28 15:23:13 -07:00
Salim B 41d24297c7 Mention not (#1432)
And be more precise about closing `{{ end }}` statement.
2021-04-28 15:22:49 -07:00
Bjørn Erik Pedersen fb551cc750 Update index.md 2021-04-20 16:11:07 +02:00
Bjørn Erik Pedersen 7af894857f Update index.md 2021-04-20 13:58:25 +02:00
Bjørn Erik Pedersen e03e72debe Merge branch 'temp0821' 2021-04-20 13:53:19 +02:00
Bjørn Erik Pedersen e626489616 Merge branch 'release-0.82.1' 2021-04-20 13:48:04 +02:00
hugoreleaser e1ab0f6ebd releaser: Add release notes to /docs for release of 0.82.1
[ci skip]
2021-04-20 11:02:48 +00:00
Joost Baaij 5d354c38d2 Replaced ``` code blocks with Code Toggler 2021-04-16 11:35:20 +02:00
Joe Mooring c9d065c20e Remove duplicate YAML keys (#1420) 2021-04-15 22:16:24 -07:00
Bjørn Erik Pedersen 8ae31e701d Add webp image encoding support
Fixes #5924
2021-04-15 17:22:55 +02:00
Thorsten 848f2af262 Update internal.md (#1407)
* Update internal.md

Info about automatically used opengraph image metadata added. See source in https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/opengraph.html

* Update content/en/templates/internal.md

Co-authored-by: Joe Mooring <joe@mooring.com>

Co-authored-by: Joe Mooring <joe@mooring.com>
2021-04-15 07:34:01 -07:00
Salim B c103a86a48 Fix ref shortcode example output (#1409)
* Fix `ref` shortcode example output

In the absence of further knowledge, I simply used `https://example.com/` as the base URL.

* Fix `relref` example, too

cf. https://github.com/gohugoio/hugoDocs/pull/1409#pullrequestreview-636252605
2021-04-15 07:31:11 -07:00
Joe Mooring 9f8ba56dc4 Remove leading dot from where function KEY (#1419)
Closes #1418
2021-04-14 22:42:50 -07:00
Joe Mooring b73da986de Improve description of Page Resources (#1381)
Fixes #1367
2021-04-14 21:09:29 -07:00
Joe Mooring 4e0bb96d5e Rework robots.txt page (#1405)
Fixes #1404
2021-04-14 20:37:47 -07:00
John Mueller edf893e6f6 Update migrations.md (#1412)
Fixing link for "blogger-to-hugo" Python tool (bitbucket link is broken)
2021-04-14 20:35:10 -07:00
Salim B 450f1580bd Add link to site function doc (#1417) 2021-04-14 20:33:33 -07:00
andreseduardop cfffa6e6f6 Added one extension to the list (#1414)
Co-authored-by: Christian Oliff <christianoliff@pm.me>
2021-04-12 22:14:13 +09:00
Bjørn Erik Pedersen 250e205523 Add hugo.IsExtended
Fixes #8399
2021-04-09 07:28:27 +02:00
Joe Mooring dea5e1fd7f Fix typo on merge function page (#1408) 2021-04-07 13:32:54 -07:00
Bjørn Erik Pedersen 1bbed2cf3c Update configuration.md
Fixes https://github.com/gohugoio/hugo/issues/8396
2021-04-07 16:37:18 +02:00
Salim B be0b64a468 Omit ISO 2021-04-05 08:55:46 +02:00
Salim B cbb5b83674 Fix dateFormat documentation
Please countercheck my changes – I _think_ `dateFormat` cannot return its `INPUT` "as a Go `time.Time` type value" as the documentation originally suggested. This is what `time` does.
2021-04-05 08:55:46 +02:00
Steven De Saeger ( Sedacrivity ) f9a8a7cb61 Update multilingual.md
Just getting into HUGO so reading the docs. 

I noticed that the referenced example for 

If `.ReadingTime.Count` in the context has value is 1

might be wrong.
2021-04-01 18:48:24 +02:00
Salim B a22dc6267f Fix grammar (#1398) 2021-04-01 04:19:04 -07:00
Salim B eb98b09973 Fix pretty URL example (#1397) 2021-03-31 22:37:32 -07:00
Salim B f4c4153dcb Mention date var complementation in post scheduling (#1396)
* Mention date var complementation in post scheduling

* Change footnote from inline to reference style
2021-03-31 22:28:39 -07:00
Joe Mooring 17fae284c1 Fix resources.ExecuteAsTemplate argument order (#1394)
Co-authored-by: kjirou <sorenariblog@gmail.com>
2021-03-31 15:27:25 -07:00
Salim B 97e2c2abb4 Use code-toggle shortcode in multilingual.md (#1388) 2021-03-31 15:25:36 -07:00