Joe Mooring
4d00320512
Add id attribute to h2 elements ( #1590 )
...
Prior to this change, it was not possible to link to headings. For
example, this link wasn't functional:
functions/lang/#langformatnumber
2021-12-04 19:40:52 -08:00
Paul van Brouwershaven
7993f17d02
Implement XML data support
...
Example:
```
{{ with resources.Get "https://example.com/rss.xml " | transform.Unmarshal }}
{{ range .channel.item }}
<strong>{{ .title | plainify | htmlUnescape }}</strong><br />
<p>{{ .description | plainify | htmlUnescape }}</p>
{{ $link := .link | plainify | htmlUnescape }}
<a href="{{ $link }}">{{ $link }}</a><br />
<hr>
{{ end }}
{{ end }}
```
Closes #4470
2021-12-02 17:30:36 +01:00
Paul van Brouwershaven
1eb9d34cfd
Make resources.Get use a file cache for remote resources
...
Closes #9228
2021-12-02 12:56:25 +01:00
Joe Mooring
8262b077c6
Improve inline resource examples ( #1587 )
2021-11-30 08:24:56 -08:00
Paul van Brouwershaven
8a0fffd56d
Add remote support to resources.Get
...
Closes #5255
Supports #9044
2021-11-30 11:49:51 +01:00
Christian Oliff
2eae7c7ec0
fix disqus example name ( #1588 )
2021-11-30 00:21:29 -08:00
Manny Aparaschivei
a772f48048
Added install instructions for openSUSE Tumbleweed ( #1459 )
2021-11-29 22:45:12 -08:00
Joe Mooring
7ad1c301bc
Remove screen capture from Hosting on GitHub page ( #1586 )
2021-11-29 22:13:42 -08:00
Vincent Liao
a58541f495
add more details on about gh-pages and baseURL on hosting-on-github.md ( #1346 )
...
* add more details on about gh-pages and baseURL on hosting-on-github.md
* Update content/en/hosting-and-deployment/hosting-on-github.md
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
* Update content/en/hosting-and-deployment/hosting-on-github.md
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
Co-authored-by: Joe Mooring <joe@mooring.com>
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
2021-11-29 22:04:18 -08:00
Joe Mooring
3bd0b46dc5
Update configuration page ( #1585 )
...
Add copyright and languageCode entries.
Fixes #1582
Fixes #1583
2021-11-29 21:17:00 -08:00
Joe Mooring
4cf1f013e9
Update OS functions
...
Corrections and clarifications.
2021-11-27 16:43:58 +01:00
Joe Mooring
2c45a95c28
Remove getting-started/code-toggle/
...
This does not belong in the documentation. Its usage as a shortcode in
this documentation site is self-documented through example.
Fixes #1063
Fixes #1473
2021-11-26 23:15:16 +01:00
Joe Mooring
40fdff5981
Describe artificial language private use subtags ( #1577 )
...
Supports https://github.com/gohugoio/hugo/issues/9119
2021-11-21 09:40:10 -08:00
Joe Mooring
91011d210b
Remove google_news from list of internal templates ( #1576 )
...
Supports https://github.com/gohugoio/hugo/issues/9172
2021-11-20 18:32:55 -08:00
Joe Mooring
36c7879e4c
Update the .Unix function
...
- Correct decscription
- Include Milli, Micro, and Nano variants
- Improve examples
2021-11-21 00:34:20 +01:00
Bjørn Erik Pedersen
7310634880
Remove a showcase
...
On request -- because of its age.
2021-11-20 11:30:55 +01:00
Bjørn Erik Pedersen
818c371a09
Update index.md
2021-11-17 10:41:00 +01:00
Bjørn Erik Pedersen
3136d39d90
netlify: Hugo 0.89.4
v0.89.4
2021-11-17 10:36:14 +01:00
Bjørn Erik Pedersen
092bc92783
Merge branch 'tempv0.89.4'
2021-11-17 10:35:49 +01:00
hugoreleaser
18e01f105d
releaser: Add release notes to /docs for release of 0.89.4
...
[ci skip]
2021-11-17 08:24:08 +00:00
Joe Mooring
79135281f9
Correct and sort list of target image formats ( #1574 )
2021-11-15 21:48:03 -08:00
Bjørn Erik Pedersen
af4170c7ea
netlify: Hugo 0.89.3
v0.89.3
2021-11-15 15:17:20 +01:00
Bjørn Erik Pedersen
7f54442514
Merge branch 'tempv0.89.3'
2021-11-15 15:16:24 +01:00
hugoreleaser
a32e4a6c27
releaser: Add release notes to /docs for release of 0.89.3
...
[ci skip]
2021-11-15 12:17:45 +00:00
Bjørn Erik Pedersen
6dd3dc3f90
Update configuration.md
2021-11-10 11:38:28 +01:00
Ron Liskey
5fbe741d70
Update index.md ( #1570 )
...
* Update index.md
Clean up English grammar inconsistencies for clarity.
* Update content/en/content-management/organization/index.md
Co-authored-by: Joe Mooring <joe@mooring.com>
* Update content/en/content-management/organization/index.md
Co-authored-by: Joe Mooring <joe@mooring.com>
* Update content/en/content-management/organization/index.md
Co-authored-by: Joe Mooring <joe@mooring.com>
* Update content/en/content-management/organization/index.md
Co-authored-by: Joe Mooring <joe@mooring.com>
Co-authored-by: Joe Mooring <joe@mooring.com>
2021-11-08 08:17:01 -08:00
Bjørn Erik Pedersen
37a69496f9
netlify: Bump to Hugo 0.89.2
v0.89.2
2021-11-08 17:08:34 +01:00
Bjørn Erik Pedersen
3b293f1f47
Merge branch 'tempv0.89.2'
2021-11-08 17:08:12 +01:00
hugoreleaser
64c934e7ae
releaser: Add release notes to /docs for release of 0.89.2
...
[ci skip]
2021-11-08 15:22:23 +00:00
Bjørn Erik Pedersen
919c51c7df
Update index.md
2021-11-05 17:36:15 +01:00
Bjørn Erik Pedersen
13dd463b16
netlify: Hugo 0.89.1
v0.89.1
2021-11-05 17:31:51 +01:00
hugoreleaser
d8cda1474b
releaser: Add release notes to /docs for release of 0.89.1
...
[ci skip]
2021-11-05 17:31:50 +01:00
hugoreleaser
a2adf77427
releaser: Add release notes to /docs for release of 0.89.1
...
[ci skip]
2021-11-05 15:44:32 +00:00
Joe Mooring
c3088c4fcd
Add code toggle to menus page ( #1568 )
...
Closes #1299
2021-11-04 11:04:15 -07:00
Joe Mooring
2d0f38978b
Remove blank lines from code-toggle output ( #1564 )
2021-11-04 07:10:53 -07:00
Joe Mooring
7cf058bfdd
Add localization examples ( #1563 )
...
Closes #1556
2021-11-04 07:10:39 -07:00
Andreas Deininger
cf8627c2e6
Fixing typos, fixing incomplete link ( #1561 )
2021-11-03 12:21:22 -07:00
Joe Mooring
c78cc014b5
Document the removePathAccents setting
...
Closes #94
2021-11-03 18:18:26 +01:00
Joe Mooring
70beddaf48
Make corrections to 0.89.0 release notes ( #1560 )
2021-11-02 13:34:00 -07:00
Bjørn Erik Pedersen
1917195f07
Update index.md
2021-11-02 11:58:04 +01:00
Bjørn Erik Pedersen
7fb8e070c8
Run hugo --gc
v0.89.0
2021-11-02 11:56:11 +01:00
Bjørn Erik Pedersen
1772d45fb4
Release 0.89.0
2021-11-02 11:55:45 +01:00
Bjørn Erik Pedersen
d9006179b3
Merge branch 'tempv0.89.0'
2021-11-02 11:50:24 +01:00
hugoreleaser
8db86b61e3
releaser: Add release notes to /docs for release of 0.89.0
...
[ci skip]
2021-11-02 10:00:17 +00:00
Bjørn Erik Pedersen
abf2685712
docs: Regen CLI docs
2021-11-02 09:01:26 +01:00
Joe Mooring
fbbdb0ab15
Update the timeout default
...
This was increased to 30s with:
https://github.com/gohugoio/hugo/pull/6535
2021-11-02 08:50:27 +01:00
Joe Mooring
9cbd1c15af
Fix description of lang.FormatNumberCustom
...
It currently refers to itself as a simple alternative, when it should
refer to lang.FormatNumber.
2021-11-01 18:54:43 +01:00
Joe Mooring
6043b54cc1
Remove "render" keyword from Host on Render page
...
This was causing the Host on Render page to be listed under "See Also"
on the .RenderString function page.
2021-11-01 18:19:59 +01:00
Joe Mooring
f8ea8e84f3
Clarify description of front matter url ( #1557 )
...
Related to:
- https://github.com/gohugoio/hugo/pull/7084
- https://github.com/gohugoio/hugo/issues/6448
2021-11-01 09:56:12 -07:00
Joe Mooring
91a0c99540
Update Twitter shortcode oEmbed endpoint
...
The existing endpoint will be retired and removed on November 23, 2021.
References:
- https://twittercommunity.com/t/consolidating-the-oembed-functionality/154690
- https://developer.twitter.com/en/docs/twitter-for-websites/oembed-api#Embedded
This is a backward compatible change.
The existing endpoint requires a single parameter: the id of the tweet.
The new endpoint requires two parameters: the id of the tweet, and the
user with whom it is associated. For the moment, if you supply the wrong
user, the request will be redirected (with a small delay) to the correct
user/id pair. This behavior is undocumented, but we will take advantage
of it as Hugo site authors transition to the new syntax.
{{< tweet 1453110110599868418 >}} --> works, throws warning, deprecate at some point
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} --> new syntax
Fixes #8130
2021-11-01 15:51:00 +01:00