9509 Commits

Author SHA1 Message Date
retlat
0aaecc16c7
Remove unnecessary period. (#1168) 2020-07-08 00:00:47 +09:00
Bjørn Erik Pedersen
1d86f0aed7 Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d' 2020-07-07 07:00:01 +02:00
Pavan Narendra
cfd74b57d9 Add a config file update step.
The baseURL parameter in the config file needs to be updated.
2020-07-07 06:57:49 +02:00
Regis Philibert
5957d8815d Wrap cache configuration in code-toggle 2020-07-06 10:15:27 -04:00
Bryan Klein
068b2ab28c Update formats.md doc for new allowed extensions.
This PR documents the changes made in https://github.com/gohugoio/hugo/pull/7447/files adding two other extensions to the Allowed list.
2020-07-03 01:27:51 +02:00
Bjørn Erik Pedersen
d71ed99d3b Add support for inline partials
Fixes #7444
2020-07-01 23:10:21 +02:00
Derk Muenchhausen
efe0e549c5 Rework external asciidoctor integration
This commit solves the relative path problem with asciidoctor tooling. An include will resolve relatively, so you can refer easily to files in the same folder.

Also `asciidoctor-diagram` and PlantUML rendering works now, because the created temporary files will be placed in the correct folder.

This patch covers just the Ruby version of asciidoctor. The old AsciiDoc CLI EOLs in Jan 2020, so this variant is removed from code.

The configuration is completely rewritten and now available in `config.toml` under the key `[markup.asciidocext]`:

```toml
[markup.asciidocext]
    extensions = ["asciidoctor-html5s", "asciidoctor-diagram"]
    workingFolderCurrent = true
    trace = true
    [markup.asciidocext.attributes]
        my-base-url = "https://example.com/"
        my-attribute-name = "my value"
```

- backends, safe-modes, and extensions are now whitelisted to the popular (ruby) extensions and valid values.
- the default for extensions is to not enable any, because they're all external dependencies so the build would break if the user didn't install them beforehand.
- the default backend is html5 because html5s is an external gem dependency.
- the default safe-mode is safe, explanations of the modes: https://asciidoctor.org/man/asciidoctor/
- the config is namespaced under asciidocext_config and the parser looks at asciidocext to allow a future native Go asciidoc.
- `uglyUrls=true` option and `--source` flag are supported
- `--destination` flag is required

Follow the updated documentation under `docs/content/en/content-management/formats.md`. 
  
This patch would be a breaking change, because you need to correct all your absolute include pathes to relative paths, so using relative paths must be configured explicitly by setting `workingFolderCurrent = true`.
2020-06-25 09:51:33 +02:00
Christian Oliff
914405c0ef
capitalization and indentation fix for taxonomies page (#1159)
as a bonus, this prevents the horizontal scrollbar appearing on the markdown snippet at the the bottom
2020-06-25 15:40:02 +09:00
Jessica Huynh
223b80f420
Fix page kinds shortcode not rendering on Taxonomies page (#1158)
* remove trailing space after "terms" in page-kinds shortcode

* use % style shortcode to render page-kinds markdown table
2020-06-25 15:09:56 +09:00
OmarEmaraDev
a9b6fa9842 Clarify weight description. 2020-06-24 12:41:32 +02:00
OmarEmaraDev
29e121681f Warn about zero weights in front matter. 2020-06-24 12:41:32 +02:00
Bjørn Erik Pedersen
27ce7ba8c6
Release 0.73.0 v0.73.0 2020-06-23 19:18:16 +02:00
Bjørn Erik Pedersen
e9596b2ee1
Merge branch 'temp73' 2020-06-23 19:05:46 +02:00
hugoreleaser
074a270cdc releaser: Add release notes to /docs for release of 0.73.0
[ci skip]
2020-06-23 16:29:21 +00:00
Daniel Santos
4f56a9fc0f
width fix of expanding code box in documentation (#1156)
With some viewport widths the expansion of code sample boxes is still going over the sidebar. This fixes it.
2020-06-22 18:05:29 +07:00
Daniel Santos
f27254d602
css fix of expanding code box in documentation (#1155)
The code sample box in Hugo code samples expanded on mouse over to 100vw which went over the sidebar toc. This solution solves this looking better and expanding only over the middle column.
2020-06-19 22:04:04 +07:00
SIkebe
43b5761788
Fix incorrect directory name in quick-start (#1154) 2020-06-19 19:26:20 +07:00
Bjørn Erik Pedersen
16726eacf4 Add GroupByLastmod
Fixes #7408
2020-06-19 11:58:58 +02:00
Christian Oliff
73c31758e0
Fix for broken link again (#1151) 2020-06-18 19:15:17 +09:00
max-re
d070672951
Fix broken link (#1144) 2020-06-18 19:10:11 +09:00
Bjørn Erik Pedersen
bc0b484d1b Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy
And we have taken great measures to limit potential site breakage:

* For `disableKinds` and `outputs` we try to map from old to new values if possible, if not we print an ERROR that can be toggled off if not relevant.
* The layout lookup is mostly compatible with more options for the new `term` kind.

That leaves:

* Where queries in site.Pages using taxonomy/taxonomyTerm Kind values as filter.
* Other places where these kind value are used in the templates (classes etc.)

Fixes #6911
Fixes #7395
2020-06-18 09:09:56 +02:00
Christian Oliff
674d71842e Fix Typo on Docker section of installation page
Fixes: #1147
2020-06-17 17:10:03 +02:00
Bjørn Erik Pedersen
b877781659 Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171' 2020-06-16 14:19:31 +02:00
Maurice
ac2c4a4871
Update documentation for Ugly URLs (#1082)
* Update urls.md

Update documentation to reflect status of this issue - (the --uglyurls CLI parameter no longer exists)
https://github.com/gohugoio/hugo/issues/4428

See also: https://gohugo.io/getting-started/configuration/#configure-with-environment-variables

* Update urls.md

Remove a "use" that was not necessary.
2020-06-14 20:51:19 +07:00
Jake Jarvis
88bdec17a5 Change 072.0 to 0.72.0 in release post's description 2020-06-13 01:04:31 +02:00
vojta001
2aa7d7818c
Update rss.md (#1104)
Fix a link to RSS 2.0 template
2020-06-11 14:31:52 +07:00
Paul Murray
c80677aeb9
Update quick-start.md (#1076)
improved grammar
2020-06-11 14:30:04 +07:00
Christian Oliff
d04196bbdd Minor spelling and capitalization fixes 2020-06-10 12:50:40 +02:00
Kahvi Patel
837d2feba6 Fixed spelling mistake
Fixed mistake in /content-management/organization/ doc.
2020-06-05 20:22:39 +02:00
Edouard
c7cdebed38 tpl/crypto: Add hmac 2020-06-05 20:04:11 +02:00
Bjørn Erik Pedersen
67dc78e12c
Update installing.md 2020-06-04 16:09:27 +02:00
Bjørn Erik Pedersen
ce280c5d6f
Update relurl.md 2020-06-03 22:05:32 +02:00
Christian Oliff
bb4d0e703d Capitalization and Redirecting URL fixes 2020-06-03 17:50:58 +02:00
Bjørn Erik Pedersen
e1fecada0d
Update partials.md 2020-06-03 10:46:32 +02:00
Christian Oliff
1d99bb182a Typos and whitespacing issues fixed 2020-06-03 10:45:04 +02:00
P.F. Hawkins
b20dba1255 actually fix index function link this time 2020-06-02 19:56:50 +02:00
Bjørn Erik Pedersen
260130cc02 Allow hook template per section/type
Fixes #7349
2020-06-02 19:02:10 +02:00
Christian Oliff
f47d6f1e31 Fixing typos, whitespace issues and links 2020-06-02 17:56:23 +02:00
P.F. Hawkins
dc82309b96 fix link to the index function 2020-06-02 17:53:33 +02:00
P.F. Hawkins
1eab0cbeaa
add missing word (#1130)
* add missing word

* capitalize YouTube

Co-authored-by: Christian Oliff <christianoliff@pm.me>
2020-06-03 00:08:44 +09:00
Christian Oliff
9c3ee62ae8 more fixes 2020-06-02 09:42:19 +02:00
Christian Oliff
e9bc5880af whitespace, typos and HTTPS fixes 2020-06-02 09:42:19 +02:00
Daniel Ruf
93b8064931 Add missing word to Module section 2020-06-01 18:51:32 +02:00
Bryce Derriso
80ced9062c Display image on page bundles page. 2020-06-01 00:30:42 +02:00
Bjørn Erik Pedersen
727029b0af
Update index.md 2020-05-31 15:46:21 +02:00
Bjørn Erik Pedersen
51fc48e4d2
Release 0.72.0 2020-05-31 15:33:02 +02:00
hugoreleaser
1ff68ac3b6
releaser: Add release notes to /docs for release of 0.72.0
[ci skip]
2020-05-31 15:33:01 +02:00
Bjørn Erik Pedersen
f74a25b927
common/maps: Add Scratch.Values
Fixes #7335
2020-05-31 15:33:01 +02:00
Bjørn Erik Pedersen
2fd83db96b
Add redirect support to the server
Fixes #7323
2020-05-31 15:33:01 +02:00
Yash Murty
bdfccf9f4e
Fix typo in install instructions 2020-05-31 15:33:01 +02:00