Bjørn Erik Pedersen
8a6e706053
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
fd70bdafe7
docs: Regen docshelper
2020-11-24 13:49:01 +01:00
David Jones
8f5c9a747f
Add menu params
...
Fixes #7951
2020-11-22 22:09:59 +01:00
Bjørn Erik Pedersen
20a35374a3
Revert "docs: Regenerate docshelper"
...
This reverts commit caf16c2085
.
Closes #7972
2020-11-21 12:48:48 +01:00
Bjørn Erik Pedersen
caf16c2085
docs: Regenerate docshelper
2020-11-20 09:32:16 +01:00
hugoreleaser
959724f0e0
releaser: Add release notes to /docs for release of 0.78.2
...
[ci skip]
2020-11-13 10:07:00 +00:00
Mackenzie Morgan
943f3c932f
Update GH docs to say "main" as default branch
2020-11-06 20:57:52 +01:00
hugoreleaser
347f2de67d
releaser: Add release notes to /docs for release of 0.78.1
...
[ci skip]
2020-11-05 09:38:59 +00:00
hugoreleaser
fd62817bba
releaser: Add release notes to /docs for release of 0.78.0
...
[ci skip]
2020-11-03 13:13:12 +00:00
Bjørn Erik Pedersen
c64e9504d8
Merge commit 'b74591123eac47a20d1f26ff3e2d291cd9c5cfc0'
2020-11-03 13:05:34 +01:00
Bjørn Erik Pedersen
3b2fe3cd33
js: Add avoidTDZ option
...
Fixes #7865
2020-11-03 13:04:37 +01:00
Bjørn Erik Pedersen
85e4dd7370
Make js.Build fully support modules
...
Fixes #7816
Fixes #7777
Fixes #7916
2020-11-03 13:04:37 +01:00
hugoreleaser
ef290125c9
releaser: Add release notes to /docs for release of 0.77.0
...
[ci skip]
2020-10-30 10:12:16 +00:00
Bjørn Erik Pedersen
332b65e4cc
docs: Regen docs helper
2020-10-30 09:52:32 +01:00
Bjørn Erik Pedersen
3553fc533a
Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
2020-10-30 09:50:15 +01:00
Cameron Moore
807db97af8
tpl: Refactor time.AsTime location implementation
2020-10-21 09:49:25 +02:00
Mark Johnson
26eeb29147
tpl: Update Hugo time to support optional [LOCATION] parameter
2020-10-21 09:49:25 +02:00
hugoreleaser
60f0725b3e
releaser: Add release notes to /docs for release of 0.76.5
...
[ci skip]
2020-10-14 15:15:22 +00:00
hugoreleaser
50dfe40b91
releaser: Add release notes to /docs for release of 0.76.4
...
[ci skip]
2020-10-12 08:32:44 +00:00
hugoreleaser
e96234590d
releaser: Add release notes to /docs for release of 0.76.3
...
[ci skip]
2020-10-08 17:07:29 +00:00
hugoreleaser
207913f349
releaser: Add release notes to /docs for release of 0.76.2
...
[ci skip]
2020-10-07 08:59:11 +00:00
hugoreleaser
58ac83a98c
releaser: Add release notes to /docs for release of 0.76.1
...
[ci skip]
2020-10-07 07:33:10 +00:00
digitalcraftsman
ee56efffcb
Fix typo in 0.76.0 release note
2020-10-06 19:03:36 +02:00
hugoreleaser
9c7d6e475c
releaser: Add release notes to /docs for release of 0.76.0
...
[ci skip]
2020-10-06 15:29:25 +00:00
Bjørn Erik Pedersen
b9318e4315
docs: Regen docshelper
2020-10-06 16:25:23 +02:00
Bjørn Erik Pedersen
5e39eb20a6
Merge commit 'e5568488051a571df48401e03f1304b95dbc9028'
2020-10-06 16:24:00 +02:00
Bjørn Erik Pedersen
634938908e
pagemeta: Make BuildConfig.Render an enum
...
Allowing links on pages without rendering them.
Fixes #7783
2020-10-06 14:06:10 +02:00
Bjørn Erik Pedersen
c63db7f1f6
Allow cascade to be a slice with a _target discriminator
...
Fixes #7782
2020-10-06 14:06:10 +02:00
Bjørn Erik Pedersen
5e2a547cb5
Add force flag to server redirects config
...
Fixes #7778
2020-10-05 22:20:00 +02:00
Josh Gerdes
edc5c4741c
tpl: Add Do Not Track (dnt) option to Vimeo shortcode
...
Added a Vimeo EnableDNT privacy option to the Hugo config. This will enable the Vimeo 'Do Not Track' flag when either Vimeo shortcode tempalte options are used. When enabled, it will force the Vimeo player to be blocked from tracking any session data, including all cookies and stats.
Fixes #7700
2020-10-02 23:02:38 +02:00
Andrey Sitnik
0c3d2b67e0
Fix CLI example for PostCSS 8
2020-09-22 19:31:02 +02:00
Helder Pereira
8e553dcdef
markup/asciidocext: Add preserveTOC option
2020-09-17 10:50:25 +02:00
hugoreleaser
a4a7bab734
releaser: Add release notes to /docs for release of 0.75.1
...
[ci skip]
2020-09-15 06:45:52 +00:00
hugoreleaser
fef924baf1
releaser: Add release notes to /docs for release of 0.75.0
...
[ci skip]
2020-09-14 09:19:06 +00:00
Daniel Holbach
292b0e26ec
typo: already -> already
2020-09-14 10:15:59 +02:00
Bjørn Erik Pedersen
df56682a10
Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122'
2020-09-13 21:58:53 +02:00
Bjørn Erik Pedersen
be2404c8b1
docs: Regen docs helper
2020-09-13 21:58:38 +02:00
Bjørn Erik Pedersen
c8da8eb1f5
docs: Regenerate CLI docs
2020-09-13 21:58:10 +02:00
Bjørn Erik Pedersen
85ba9bfffb
Add "hugo mod npm pack"
...
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into:
```
assets/_jsconfig
´``
These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename.
But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific.
This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above.
Fixes #7644
Fixes #7656
Fixes #7675
2020-09-13 20:55:29 +02:00
Fernando Jorge Mota
fb0f2cc718
markup/highlight: Add support to linkable line anchors on Chroma
...
Fixes #7622
2020-09-13 11:00:16 +02:00
Helder Pereira
6a848cbc3a
markup/asciidocext: Fix AsciiDoc TOC with code
...
Fixes #7649
2020-09-10 21:53:13 +02:00
Bjørn Erik Pedersen
d4611c4322
modules: Add noVendor to module config
...
Fixes #7647
2020-09-10 08:47:05 +02:00
Bjørn Erik Pedersen
9a1e6d15a3
modules: Make ignoreVendor a glob pattern
...
Fixes #7642
2020-09-10 08:47:05 +02:00
Cameron Moore
f7c1b5fe1c
docs: Update replaceRE func
...
Updates for #7604
2020-09-07 22:45:14 +02:00
Cameron Moore
183e862607
docs: Update replace func
...
Updates for #7602
2020-09-07 22:45:14 +02:00
Cameron Moore
f50ee6bbe5
docs: Update merge function
...
Updates for #7601
2020-09-07 22:45:14 +02:00
Bjørn Erik Pedersen
8c490a73b3
docs: Regen CLI docs
2020-09-07 21:46:30 +02:00
Bjørn Erik Pedersen
e6cd9da42d
docs: Regen docs helper
2020-09-07 21:45:16 +02:00
Bjørn Erik Pedersen
b9e4f5898b
Merge commit '7d7771b673e5949f554515a2c236b23192c765c8'
2020-09-07 21:37:51 +02:00
Nicolas Piganeau
3ba7c92530
markup/asciidoc: Add support for .TableOfContents
...
Fill the .TableOfContents template variable when writing Asciidoc content.
This is done by letting Asciidoc render its TOC as HTML, then extract this
HTML rendered TOC, parse it into a tableofcontents.Root and finally remove
it from the HTML content.
This aims to stay in the logic that the Asciidoc parsing is entirely done
by the external helper.
See #1687
2020-09-06 11:34:32 +02:00
Bjørn Erik Pedersen
f8b8b091fc
Merge commit 'cb39847dee488c373dd5bc2a3706385342a59355'
2020-08-14 18:31:40 +02:00
hugoreleaser
da0437b481
releaser: Add release notes to /docs for release of 0.74.3
...
[ci skip]
2020-07-23 16:21:21 +00:00
Helder Pereira
45c665d396
Fix Asciidoctor args
...
* Fix Asciidoctor args
* Fix Asciidoctor args documentation
* Update AsciiDoc documentation
Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de>
Fixes #7493
2020-07-23 15:59:48 +02:00
Bjørn Erik Pedersen
0256959a35
resources/js: Add option for setting bundle format
...
Fixes #7503
2020-07-22 10:13:30 +02:00
Bjørn Erik Pedersen
e81aef0a95
resources/js: Add es5 build target
2020-07-20 22:26:38 +02:00
Bjørn Erik Pedersen
673e622fa9
Merge commit '28bd06265e88454b061810578919d891909a83ad'
2020-07-20 22:20:33 +02:00
hugoreleaser
48565de62f
releaser: Add release notes to /docs for release of 0.74.2
...
[ci skip]
2020-07-17 17:22:42 +00:00
hugoreleaser
15163266c1
releaser: Add release notes to /docs for release of 0.74.1
...
[ci skip]
2020-07-13 18:52:36 +00:00
hugoreleaser
d2b1162680
releaser: Add release notes to /docs for release of 0.74.0
...
[ci skip]
2020-07-13 10:30:11 +00:00
Bjørn Erik Pedersen
5f7a65a080
Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'
2020-07-13 11:01:55 +02:00
Bjørn Erik Pedersen
25e3da3343
docs: Regenerate docs helper
2020-07-13 11:01:38 +02:00
Bjørn Erik Pedersen
f1916f114b
Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
2020-07-07 07:00:01 +02:00
Bryan Klein
e9f87c4e3f
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
4a3efea7ef
Add support for inline partials
...
Fixes #7444
2020-07-01 23:10:21 +02:00
Derk Muenchhausen
f0266e2ef3
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
hugoreleaser
428907cc34
releaser: Add release notes to /docs for release of 0.73.0
...
[ci skip]
2020-06-23 16:29:21 +00:00
Bjørn Erik Pedersen
82abca32fa
Add GroupByLastmod
...
Fixes #7408
2020-06-19 11:58:58 +02:00
Bjørn Erik Pedersen
fc045e12a9
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
Bjørn Erik Pedersen
0a9172672a
Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
2020-06-16 14:19:31 +02:00
Edouard
7eeebe1e5a
tpl/crypto: Add hmac
2020-06-05 20:04:11 +02:00
Bjørn Erik Pedersen
f8c67f93e1
Allow hook template per section/type
...
Fixes #7349
2020-06-02 19:02:10 +02:00
hugoreleaser
8a7ef3cf4e
releaser: Add release notes to /docs for release of 0.72.0
...
[ci skip]
2020-05-31 12:05:36 +00:00
Bjørn Erik Pedersen
626b16e024
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
2020-05-31 12:43:33 +02:00
Bjørn Erik Pedersen
2919a6a503
common/maps: Add Scratch.Values
...
Fixes #7335
2020-05-29 19:51:49 +02:00
Bjørn Erik Pedersen
6a3e89743c
Add redirect support to the server
...
Fixes #7323
2020-05-28 16:25:34 +02:00
Yash Murty
9613e3e8a8
Fix typo in install instructions
2020-05-27 13:54:11 +02:00
hugoreleaser
a301f6b2ae
releaser: Add release notes to /docs for release of 0.71.1
...
[ci skip]
2020-05-25 09:08:55 +00:00
hugoreleaser
06150c87be
releaser: Add release notes to /docs for release of 0.71.0
...
[ci skip]
2020-05-18 16:05:47 +00:00
Bjørn Erik Pedersen
e0e81b280f
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
2020-05-18 15:25:26 +02:00
Joe Mooring
991934497e
Add math.Pow
...
Closes #7266
2020-05-14 10:00:31 +02:00
hugoreleaser
7f47b99ea9
releaser: Add release notes to /docs for release of 0.70.0
...
[ci skip]
2020-05-06 11:16:40 +00:00
Bjørn Erik Pedersen
57ebab7c23
Release 0.70.0
2020-05-06 13:06:10 +02:00
Bjørn Erik Pedersen
e4621446ce
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
2020-05-06 12:12:57 +02:00
Bjørn Erik Pedersen
6add6d77b4
Rename transpileJS to babel
...
And add a test.
Updates #5764
2020-04-29 10:51:33 +02:00
Niek de Wit
2a171ff1c5
resources: Add JavaScript transpiling solution
...
Add a new pipe called TranspileJS which uses the Babel cli. This makes it possible for users to write ES6 JavaScript code and transpile it to ES5 during website generation so that the code still works with older browser versions.
Fixes #5764
2020-04-29 10:51:33 +02:00
hugoreleaser
ec9dcf3048
releaser: Add release notes to /docs for release of 0.69.2
...
[ci skip]
2020-04-24 07:48:07 +00:00
hugoreleaser
17661debb6
releaser: Add release notes to /docs for release of 0.69.1
...
[ci skip]
2020-04-22 07:55:01 +00:00
Onur Yaman
cd4d820201
docs: Fix typo in Hugo's Security Model
2020-04-18 14:16:42 +02:00
hugoreleaser
4205844bce
releaser: Add release notes to /docs for release of 0.69.0
...
[ci skip]
2020-04-10 09:08:37 +00:00
Bjørn Erik Pedersen
b7ff4dc23e
docs: Regen docs helper
2020-04-10 09:07:41 +02:00
Bjørn Erik Pedersen
30748decf1
Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
2020-04-10 09:06:04 +02:00
Helicer
c774b230e9
Update hosting-on-aws-amplify.md
...
AWS Amplify now supports a GUI method for using the latest `hugo` version. Please feel free to modify my wording here, etc.
2020-04-07 22:48:55 +02:00
Bjørn Erik Pedersen
3d84ef9720
Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b'
2020-03-31 22:11:54 +02:00
Stéphane Wirtel
b6e097cfe6
fix typo in getting started
2020-03-24 17:31:37 +01:00
hugoreleaser
157669a0e6
releaser: Add release notes to /docs for release of 0.68.3
...
[ci skip]
2020-03-24 12:04:27 +00:00
hugoreleaser
63bbb40dfb
releaser: Add release notes to /docs for release of 0.68.2
...
[ci skip]
2020-03-24 08:21:09 +00:00
hugoreleaser
98dc46e1a9
releaser: Add release notes to /docs for release of 0.68.1
...
[ci skip]
2020-03-22 10:36:42 +00:00
hugoreleaser
1e67854b1a
releaser: Add release notes to /docs for release of 0.68.0
...
[ci skip]
2020-03-21 11:47:37 +00:00
Bjørn Erik Pedersen
7204b354a9
Some minify configuration adjustments
2020-03-20 20:35:57 +01:00
SatowTakeshi
574c2959b8
Add minify config
...
Fixes #6750
Updates #6892
2020-03-20 20:35:57 +01:00
Bjørn Erik Pedersen
99958f90fe
Allow headless bundles to list pages via $page.Pages and $page.RegularPages
...
Fixes #7075
2020-03-20 18:28:55 +01:00
Bjørn Erik Pedersen
c947351d7c
Merge commit 'aa54803a84208816e9c678359bd3f86760484ce0'
2020-03-20 09:19:29 +01:00
hugoreleaser
4f44227bd8
releaser: Add release notes to /docs for release of 0.67.1
...
[ci skip]
2020-03-15 19:30:34 +00:00
Tan Yuanhong
5914f91b6c
Add languageDirection to language configuration
...
Fixes #6550
2020-03-10 10:10:58 +01:00
hugoreleaser
7f1da3efcd
releaser: Add release notes to /docs for release of 0.67.0
...
[ci skip]
2020-03-09 20:35:43 +00:00
Bjørn Erik Pedersen
63393230c9
docs: Doument the server config
2020-03-09 20:36:00 +01:00
Bjørn Erik Pedersen
6b61f2a5bb
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
2020-03-09 20:21:17 +01:00
David Jones
51e178a6a2
deploy: Add include and exclude support for remote
2020-03-08 17:35:32 +01:00
hugoreleaser
78c3c78fca
releaser: Add release notes to /docs for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
Bjørn Erik Pedersen
ee31e61fb0
docs: Regen CLI docs
2020-03-03 13:36:35 +01:00
Bjørn Erik Pedersen
3d3fa5c3fe
Add build.UseResourceCacheWhen
...
Fixes #6993
2020-03-03 13:29:58 +01:00
Bjørn Erik Pedersen
b66d38c419
resources: Add basic @import support to resources.PostCSS
...
This commit also makes the HUGO_ENVIRONMENT environment variable available to Node.
Fixes #6957
Fixes #6961
2020-02-27 11:47:24 +01:00
Robert van Gent
05a74eaec0
deploy: Implement include/exclude filters for deploy
...
Fixes #6922
2020-02-27 07:26:05 +01:00
Joshua Wong
1352bc880d
Add hugo.IsProduction function
...
Fixes #6873
2020-02-25 17:58:07 +01:00
Chris Dennis
d184e5059c
tpl: Add math.Sqrt
...
Fixes #6941
2020-02-24 23:45:04 +01:00
hugoreleaser
211ba42a95
releaser: Add release notes to /docs for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
Bjørn Erik Pedersen
a524124beb
Fix crashes for 404 in IsAncestor etc.
...
Fixes #6931
2020-02-22 13:36:04 +01:00
hugoreleaser
c1eb625124
releaser: Add release notes to /docs for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
6be6684cc5
releaser: Add release notes to /docs for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
24afe2b822
releaser: Add release notes to /docs for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
Bjørn Erik Pedersen
a5ebdf7d17
docs: Regenerate CLI docs
2020-02-19 22:28:06 +01:00
Bjørn Erik Pedersen
fa520a2d98
Add Page.GetTerms
...
Fixes #6905
2020-02-19 14:52:23 +01:00
Bjørn Erik Pedersen
82029c1ec9
Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d'
2020-02-19 09:16:56 +01:00
Bjørn Erik Pedersen
775c7c2474
commands: Support "hugo mod get -u ./..."
...
Fixes #6828
2020-02-18 12:17:16 +01:00
hugoreleaser
c327e75d05
releaser: Add release notes to /docs for release of 0.64.1
...
[ci skip]
2020-02-09 20:44:34 +00:00
Bjørn Erik Pedersen
1e5eb8679e
Merge commit '3c0036805d64fdd8290f1c4a31371780ff3ea365'
2020-02-06 13:03:30 +01:00
hugoreleaser
241db8f78a
releaser: Add release notes to /docs for release of 0.64.0
...
[ci skip]
2020-02-04 09:07:21 +00:00
hugoreleaser
934ee21fac
releaser: Add release notes to /docs for release of 0.63.2
...
[ci skip]
2020-01-27 12:13:04 +00:00
hugoreleaser
ce9aceb749
releaser: Add release notes to /docs for release of 0.63.1
...
[ci skip]
2020-01-23 20:08:10 +00:00
hugoreleaser
745ddcbbab
releaser: Add release notes to /docs for release of 0.63.0
...
[ci skip]
2020-01-23 12:39:31 +00:00
Bjørn Erik Pedersen
cafb1d53c0
docs, output: Add base template lookup variant to docs.json
2020-01-23 11:59:52 +01:00
Bjørn Erik Pedersen
4f466db666
docs: Regen docs helper
2020-01-23 11:55:08 +01:00
hugoreleaser
83e501849e
releaser: Add release notes to /docs for release of 0.62.2
...
[ci skip]
2020-01-05 18:50:35 +00:00
Bjørn Erik Pedersen
d62ede8e9e
docs: Document the new autoHeadingIDType setting
...
See #6707
See #6616
2020-01-05 12:10:12 +01:00
Bjørn Erik Pedersen
81b7e48a55
docs: Regenerate docshelper
...
See #6707
See #6616
2020-01-05 11:57:49 +01:00
Bjørn Erik Pedersen
469351d5b6
Merge commit '26f1458a2df6b55eee3a5de46f5fec23a43a7c7d'
2020-01-05 11:14:51 +01:00
hugoreleaser
a1518704a7
releaser: Add release notes to /docs for release of 0.62.1
...
[ci skip]
2020-01-01 17:38:22 +00:00
hugoreleaser
6608f15570
releaser: Add release notes to /docs for release of 0.62.0
...
[ci skip]
2019-12-23 10:23:27 +00:00
Bjørn Erik Pedersen
740b72558b
Merge commit '8a4005cf2b0ef34265ff8051a6b76226685fc226'
2019-12-22 22:51:45 +01:00
Bjørn Erik Pedersen
c8bfe47c6a
docs: More on hooks
2019-12-21 11:59:36 +01:00
Bjørn Erik Pedersen
50cc7fe545
tpl: Do not return any value in errorf
...
Fixes #6653
2019-12-21 10:26:14 +01:00
Bjørn Erik Pedersen
1773d71d5b
tpl: Add a warnf template func
...
Fixes #6628
2019-12-21 10:23:00 +01:00
Bjørn Erik Pedersen
55c29d4de3
docs: Regen docshelper
2019-12-19 23:48:01 +01:00
John Zaitseff
158e7ec204
Fix incorrect MIME type from image/jpg to image/jpeg
...
According to multiple sources, both official ([IANA] and [RFC2046]) and
otherwise (eg, [Mozilla] and [Wikipedia]), the official MIME type for
JPEG images is `image/jpeg`, not `image/jpg`. Change Hugo to match.
[IANA]: https://www.iana.org/assignments/media-types/media-types.xhtml#image
[RFC2046]: https://tools.ietf.org/html/rfc2046
[Mozilla]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
[Wikipedia]: https://en.wikipedia.org/wiki/JPEG
2019-12-19 18:02:11 +01:00
Bjørn Erik Pedersen
00954c5d1f
Preserve HTML Text for link render hooks
...
The context now have two text methods:
* Text - rendered
* PlainText
Fixes #6629
2019-12-18 22:55:19 +01:00
Bjørn Erik Pedersen
3e316155c5
docs: Footnote
2019-12-18 16:37:43 +01:00
Bjørn Erik Pedersen
e625088ef5
Add render template hooks for links and images
...
This commit also
* revises the change detection for templates used by content files in server mode.
* Adds a Page.RenderString method
Fixes #6545
Fixes #4663
Closes #6043
2019-12-18 11:44:40 +01:00
Bjørn Erik Pedersen
67f3aa72cf
Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
2019-12-15 10:37:36 +01:00
Gavin D. Howard
4c804319f6
markup/tableofcontents: Add config option for ordered list
2019-12-12 07:48:40 +01:00
hugoreleaser
9b445b9da2
releaser: Add release notes to /docs for release of 0.61.0
...
[ci skip]
2019-12-11 08:26:33 +00:00
hugoreleaser
960667561f
releaser: Add release notes to /docs for release of 0.60.1
...
[ci skip]
2019-11-29 14:56:16 +00:00
hugoreleaser
f2dea9b036
releaser: Add release notes to /docs for release of 0.60.0
...
[ci skip]
2019-11-27 10:09:46 +00:00
Bjørn Erik Pedersen
bfb9613a14
Add Goldmark as the new default markdown handler
...
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo.
If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration:
```toml
[markup]
defaultMarkdownHandler="blackfriday"
```
Fixes #5963
Fixes #1778
Fixes #6355
2019-11-23 14:12:24 +01:00
Bjørn Erik Pedersen
14a985f8ab
Update homepage.md
...
Fixes https://github.com/gohugoio/hugo/issues/6510
2019-11-18 09:17:49 +01:00
Bjørn Erik Pedersen
a2670bf460
tpl/collections: Allow dict to create nested structures
...
Fixes #6497
2019-11-11 21:55:16 +01:00
Bjørn Erik Pedersen
79355043e8
Merge commit 'efc0b1bb6c6564f54d596467dbc6a18cb206954e'
2019-11-11 11:46:22 +01:00
Luke Francl
70a1aa345b
Support Go time format strings in permalinks
...
In the vein of an ancient TODO about supporting custom date formatting with
strftime, this allows `:`-prefixed Go time format strings in permalink segments.
This allows users to customize date-based permalinks any way they need to.
For example, with a date of 2019-11-09, the permalink `/:06/:1/:2` will render
as `/19/11/9`.
See:
07978e4a49 (diff-0688a3b65c7f5d01aa216f8d9b57fd00R111-R112)
https://discourse.gohugo.io/t/implementing-additional-date-formats-for-permalinks/17860
https://github.com/gohugoio/hugo/pull/6488
2019-11-10 11:00:02 +01:00
hugoreleaser
d5dab232c2
releaser: Add release notes to /docs for release of 0.59.1
...
[ci skip]
2019-10-31 15:20:53 +00:00
hugoreleaser
1dd0c69c7b
releaser: Add release notes to /docs for release of 0.59.0
...
[ci skip]
2019-10-21 09:38:50 +00:00
Bjørn Erik Pedersen
de8ca7e4d4
Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e'
2019-10-21 10:52:23 +02:00
Bjørn Erik Pedersen
ec5962278f
Merge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d'
2019-10-21 10:49:16 +02:00
Bjørn Erik Pedersen
27aef3f1fb
Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
2019-10-21 10:22:28 +02:00
Bjørn Erik Pedersen
39121de4d9
docs: Replace /docs
2019-10-21 10:21:51 +02:00
Bjørn Erik Pedersen
4b286b9d27
resources/images: Allow to set background fill colour
...
Closes #6298
2019-10-20 22:06:58 +02:00
Zach Bayoff
7b3edc2931
tpl: Add optional "title" attribute to iframe in Vimeo shortcode
...
Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64 .
2019-10-12 18:10:14 +02:00
Jamie Tanna
c466b88c99
deps: Upgrade to latest version of emoji dependency
...
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.
Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.
Follow-up to #6391 . (170f18d935
and
2df5d202c6
)
2019-10-05 22:58:53 +02:00
hugoreleaser
4aac02d49c
releaser: Add release notes to /docs for release of 0.58.3
...
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
253e5fdc69
releaser: Add release notes to /docs for release of 0.58.2
...
[ci skip]
2019-09-13 08:04:20 +00:00
hugoreleaser
24277b9202
releaser: Add release notes to /docs for release of 0.58.1
...
[ci skip]
2019-09-06 09:18:56 +00:00
hugoreleaser
64d8bf1ee9
releaser: Add release notes to /docs for release of 0.58.0
...
[ci skip]
2019-09-04 15:41:58 +00:00
hugoreleaser
a849cb2d9b
releaser: Add release notes to /docs for release of 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
hugoreleaser
58c56e9ded
releaser: Add release notes to /docs for release of 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
hugoreleaser
9b00e64765
releaser: Add release notes to /docs for release of 0.57.0
...
[ci skip]
2019-08-14 08:05:33 +00:00
hugoreleaser
f637a1eace
releaser: Add release notes to /docs for release of 0.56.3
...
[ci skip]
2019-07-31 12:48:33 +00:00
Bjørn Erik Pedersen
02b947eaa3
docs: Regenerate CLI docs
2019-07-31 12:11:22 +02:00
hugoreleaser
5f033a7fcc
releaser: Add release notes to /docs for release of 0.56.2
...
[ci skip]
2019-07-30 09:05:09 +00:00
hugoreleaser
0ad218afc5
releaser: Add release notes to /docs for release of 0.56.1
...
[ci skip]
2019-07-28 14:51:43 +00:00
hugoreleaser
45f4eb9846
releaser: Add release notes to /docs for release of 0.56.0
...
[ci skip]
2019-07-25 16:37:58 +00:00
Bjørn Erik Pedersen
77bf2991b1
docs: Add Hugo Modules docs
2019-07-25 13:21:30 +02:00
Bjørn Erik Pedersen
215d2ed883
docs: Regenerate CLI docs
2019-07-24 09:40:41 +02:00
Bjørn Erik Pedersen
23adc0c2d9
docs: Regenerate data helpers
2019-07-24 09:39:12 +02:00
Bjørn Erik Pedersen
461b0e066f
Merge commit '5cb4e46cfa65bddae8ac5344540e3dd1e4c266b2'
2019-07-24 09:36:50 +02:00
Bjørn Erik Pedersen
05d0eddd2b
Merge commit '35febb2e2a3780c3338a2665fddea7dda28a17f4'
2019-07-15 23:50:56 +02:00
Niklas Fasching
020086cb2b
Add org to front matter formats
...
actually it's 5, there's also csv. Afaict it's not meant to be used in that way
though so let's just add org.
2019-07-10 11:14:37 +02:00
Niklas Fasching
b6867bf806
Improve Org mode support: Replace goorgeous with go-org
...
Sadly, goorgeous has not been updated in over a year and still has a lot of
open issues (e.g. no support for nested lists).
go-org fixes most of those issues and supports a larger subset of Org mode
syntax.
2019-06-08 10:13:00 +02:00
Robert van Gent
9df57154ee
deploy: Default --target to the first deployment target
2019-06-08 00:41:59 +02:00
Robert van Gent
b0f536fb27
Drop dashes in http header matcher attributes; other changes from code review
2019-05-31 22:08:12 +02:00
Robert van Gent
1384d77a04
docs: Add documentation for "hugo deploy"
2019-05-31 22:08:12 +02:00
Bruno Amaral
d1cf53f5f4
Remove references to Google+
...
According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/6083347?hl=en
2019-05-26 19:24:45 +02:00
Bjørn Erik Pedersen
4f61a926f6
Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211'
2019-05-25 10:41:51 +02:00
Brice BERDAH
2278b0eb02
Medium -> Hugo exporting tool
...
Suggesting a simple yet powerful tool for people looking to export their Medium blog to Hugo
2019-05-24 15:35:41 +02:00
hugoreleaser
a5d4c82d2f
releaser: Add release notes to /docs for release of 0.55.6
...
[ci skip]
2019-05-18 07:55:28 +00:00
hugoreleaser
a83256b9cd
releaser: Add release notes to /docs for release of 0.55.5
...
[ci skip]
2019-05-02 13:03:34 +00:00
Bjørn Erik Pedersen
cee181c3a6
docs: Regenerate docs helper
2019-05-02 14:26:02 +02:00
Bjørn Erik Pedersen
b1d438ea28
Merge commit 'f147b5c53eda15982e0fe762847532eeddb7485f'
2019-05-02 14:24:13 +02:00
hugoreleaser
579004178b
releaser: Add release notes to /docs for release of 0.55.4
...
[ci skip]
2019-04-25 07:38:48 +00:00
hugoreleaser
993b84333c
releaser: Add release notes to /docs for release of 0.55.3
...
[ci skip]
2019-04-20 14:23:12 +00:00
Bjørn Erik Pedersen
75b16e30ec
docs: Regenerate docs helper
2019-04-20 15:20:08 +02:00
Bjørn Erik Pedersen
0508ca1856
Merge commit 'a0c28c943c2f4714fa340b22a583b96f5013090b'
2019-04-20 15:19:38 +02:00
hugoreleaser
9d02034881
releaser: Add release notes to /docs for release of 0.55.2
...
[ci skip]
2019-04-17 12:20:37 +00:00
hugoreleaser
223b3c2eec
releaser: Add release notes to /docs for release of 0.55.1
...
[ci skip]
2019-04-12 09:56:13 +00:00
Yihui Xie
7966c0b5b7
Remove the space in . RelPermalink
...
The same fix as 3b86b4a9f5
, applied to doc.
2019-04-10 22:45:20 +02:00
Bjørn Erik Pedersen
cc98fc8ad2
Merge commit '8b73644d81a81e82851b7f7c90aa8ab5524fbe93'
2019-04-09 23:59:59 +02:00
hugoreleaser
4333cc77fe
releaser: Add release notes to /docs for release of 0.55.0
...
[ci skip]
2019-04-08 16:39:45 +00:00
Jim McDonald
ed65bda3b4
docs: Add information about summary front matter variable
2019-04-06 00:17:54 +02:00
Bjørn Erik Pedersen
d1553b4b0f
integrity: Add support for sha384
...
Fixes #5815
2019-04-05 16:35:07 +02:00
Bjørn Erik Pedersen
87b16abd93
Add HUGO_NUMWORKERMULTIPLIER
...
And use that to calculate number of workers, if set, else fall back to number of logical CPUs.
Also tweak the relevant related settings to match the new setup.
Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5.
Fixes #5814
2019-04-05 10:21:25 +02:00
Bjørn Erik Pedersen
92baa14fd3
hugolib: Allow page-relative aliases
...
Fixes #5757
2019-04-02 10:32:47 +02:00
Bjørn Erik Pedersen
b6a60f718e
output: Add missing JSON tag
2019-03-28 20:59:09 +01:00
Bjørn Erik Pedersen
bfdc44964a
docs: Regenerate docshelper data
...
Closes #5799
2019-03-28 09:49:54 +01:00
Bjørn Erik Pedersen
bb533ca5e1
docs: Regenerate CLI docs
...
Fixes #5779
2019-03-26 18:46:01 +01:00
Bjørn Erik Pedersen
876e5f67b1
Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
2019-03-26 18:41:36 +01:00
Bjørn Erik Pedersen
597e418cb0
Make Page an interface
...
The main motivation of this commit is to add a `page.Page` interface to replace the very file-oriented `hugolib.Page` struct.
This is all a preparation step for issue #5074 , "pages from other data sources".
But this also fixes a set of annoying limitations, especially related to custom output formats, and shortcodes.
Most notable changes:
* The inner content of shortcodes using the `{{%` as the outer-most delimiter will now be sent to the content renderer, e.g. Blackfriday.
This means that any markdown will partake in the global ToC and footnote context etc.
* The Custom Output formats are now "fully virtualized". This removes many of the current limitations.
* The taxonomy list type now has a reference to the `Page` object.
This improves the taxonomy template `.Title` situation and make common template constructs much simpler.
See #5074
Fixes #5763
Fixes #5758
Fixes #5090
Fixes #5204
Fixes #4695
Fixes #5607
Fixes #5707
Fixes #5719
Fixes #3113
Fixes #5706
Fixes #5767
Fixes #5723
Fixes #5769
Fixes #5770
Fixes #5771
Fixes #5759
Fixes #5776
Fixes #5777
Fixes #5778
2019-03-23 18:51:22 +01:00
arrtchiu
75904332f3
Add skipHTML option to blackfriday config
2019-03-04 11:27:18 +01:00
hugoreleaser
5383fe458c
releaser: Prepare repository for 0.55.0-DEV
...
[ci skip]
2019-02-01 09:42:55 +00:00
hugoreleaser
b1a82c61ab
releaser: Add release notes to /docs for release of 0.54.0
...
[ci skip]
2019-02-01 09:40:32 +00:00
hugoreleaser
6fe6b9c17f
releaser: Bump versions for release of 0.54.0
...
[ci skip]
2019-02-01 09:40:32 +00:00
Bjørn Erik Pedersen
c7c66e664a
Merge commit 'f27faf9afd0a8db768a21954b8755f1bf1a14f1b'
2019-02-01 09:08:24 +01:00
Bjørn Erik Pedersen
ddc15ed41b
Merge commit '5e078383a787e8b5ec3ba73f05ea4130840afbe2'
2019-02-01 09:01:04 +01:00
Marc Robinson
507451229c
Update _index.md
...
Corrects misspelling of sync (synch)
2019-01-02 09:58:39 +01:00
Cameron Moore
9e4f9e0bb6
tpl: Fix reflect
...
Fixes #5564
2018-12-28 10:41:46 +01:00
Bjørn Erik Pedersen
22afe28047
Merge commit '978856e2ad12d2bcaf37bb9e31f806b30a4c42f4'
2018-12-26 10:27:54 +01:00
hugoreleaser
8431871201
releaser: Prepare repository for 0.54-DEV
...
[ci skip]
2018-12-24 08:26:54 +00:00
hugoreleaser
8fc339dc25
releaser: Add release notes to /docs for release of 0.53
...
[ci skip]
2018-12-24 08:24:42 +00:00
hugoreleaser
5236cb8e9a
releaser: Bump versions for release of 0.53
...
[ci skip]
2018-12-24 08:24:42 +00:00
Bjørn Erik Pedersen
62d031aedf
docs: Adjust CSV example
...
See #5555
2018-12-23 21:12:41 +01:00
Bjørn Erik Pedersen
ce06bdb16a
Rename CSV option from comma to delimiter
...
See #5555
2018-12-23 21:09:09 +01:00
Bjørn Erik Pedersen
2efc1a64c3
docs: Document transform.Unmarshal
...
Fixes #5556
2018-12-23 19:43:17 +01:00
Bjørn Erik Pedersen
e691c48a5a
docs: Regenerate CLI docs
...
Fixes #5544
2018-12-23 19:05:40 +01:00
Bjørn Erik Pedersen
1021714449
hugolib: Add .Name as a shortcode variable
...
Fixes #5546
2018-12-21 09:51:15 +01:00
Bjørn Erik Pedersen
6f069e549b
Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154'
2018-12-21 09:45:41 +01:00
Bjørn Erik Pedersen
5068681707
docs: Regenerate CLI docs
...
Fixes #5507
2018-12-12 09:09:45 +01:00
Bjørn Erik Pedersen
b17a61a605
Merge commit 'eb16165694f868d73e57b6aed5c26ba5e98229de'
2018-12-12 09:06:42 +01:00
Cameron Moore
c84f506f8e
tpl: Add reflect namespace
...
Add a reflect namespace that offers a two boolean functions for
testing if a value is a map or slice.
Fixes #4081
2018-12-07 23:29:37 +01:00
hugoreleaser
54ecade02f
releaser: Prepare repository for 0.53-DEV
...
[ci skip]
2018-11-28 14:08:36 +00:00
hugoreleaser
9433cf5a92
releaser: Add release notes to /docs for release of 0.52
...
[ci skip]
2018-11-28 14:06:31 +00:00
hugoreleaser
3c909eb3f3
releaser: Bump versions for release of 0.52
...
[ci skip]
2018-11-28 14:06:31 +00:00
Bjørn Erik Pedersen
f37c5a2567
tpl: Add "param" shortcode
...
Fixes #4010
2018-11-27 17:34:03 +01:00
Bjørn Erik Pedersen
aded0f25fd
docs: Document inline shortcodes
...
See #4011
2018-11-27 16:14:09 +01:00
Bjørn Erik Pedersen
94f0f7e597
cache/filecache: Add a :project placeholder
...
This allows for "cache per Hugo project", making `hugo --gc` work as expected, even if you have several Hugo projects running on the same PC.
See #5439
2018-11-14 23:14:51 +01:00
Bjørn Erik Pedersen
d3489eba5d
cache/filecache: Use time.Duration for maxAge
...
Fixes #5438
2018-11-14 23:14:50 +01:00
Bjørn Erik Pedersen
abeeff1325
docs: Document the new file cache
...
See #5404
2018-11-13 14:29:45 +01:00
Bjørn Erik Pedersen
5570a6e478
Revert "Add Elasticsearch/bonsai.io to services doc."
...
This reverts commit c0b3a1af03
.
2018-11-09 23:12:27 +01:00
Allison Zadrozny
c0b3a1af03
Add Elasticsearch/bonsai.io to services doc.
...
Hip hip for OSS! 🙌
2018-11-09 22:56:38 +01:00
hugoreleaser
2900801acf
releaser: Prepare repository for 0.52-DEV
...
[ci skip]
2018-11-07 10:11:48 +00:00
hugoreleaser
f3d5190793
releaser: Add release notes to /docs for release of 0.51
...
[ci skip]
2018-11-07 10:09:43 +00:00
hugoreleaser
1ccc0b79a2
releaser: Bump versions for release of 0.51
...
[ci skip]
2018-11-07 10:09:43 +00:00
Bjørn Erik Pedersen
e456e34bdb
docs: Document shortcode error handling
...
Closes https://github.com/gohugoio/hugoDocs/issues/660
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
5d14d04ac6
docs: Document symdiff
...
Closes https://github.com/gohugoio/hugoDocs/issues/659
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
ddcb402859
docs: Document complement
...
Closes https://github.com/gohugoio/hugoDocs/issues/658
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
2998fa0cd5
docs: Re-generate CLI docs
2018-11-05 14:18:45 +01:00
Bjørn Erik Pedersen
4f3c095963
Revert "tpl: Update Jsonify to return pretty-print output"
...
This reverts commit 5a52cd5f92
.
Closes #5394
2018-11-02 19:03:48 +01:00
Bjørn Erik Pedersen
486bc46a52
docs: Regenerate the docs helper
2018-11-02 13:36:09 +01:00
Christian Oliff
e65268f2c2
Correct minor typo ( #5372 )
...
> Errors will no show up
should be:
> Errors will now show up
2018-10-29 12:09:19 +01:00
hugoreleaser
f863b6a07e
releaser: Prepare repository for 0.51-DEV
...
[ci skip]
2018-10-29 09:54:42 +00:00
hugoreleaser
f5be599204
releaser: Add release notes to /docs for release of 0.50
...
[ci skip]
2018-10-29 09:51:50 +00:00
hugoreleaser
b14c11b0e1
releaser: Bump versions for release of 0.50
...
[ci skip]
2018-10-29 09:51:50 +00:00
Bjørn Erik Pedersen
3250198724
docs: Regenerate CLI docs
2018-10-29 09:29:27 +01:00
Bjørn Erik Pedersen
27569275b1
Merge commit 'd6a4af7018e8618944a6471ceeb7aae1d4df6afa'
2018-10-29 09:28:01 +01:00
Bjørn Erik Pedersen
4b2738d871
Merge commit '74309fe5699a595080fdb3a14711e0869babce99'
2018-10-29 09:23:25 +01:00
Bjørn Erik Pedersen
40e99672b6
docs: Regenerate CLI docs
...
Closes #5354
2018-10-26 15:10:43 +02:00
Sean Prashad
5a52cd5f92
tpl: Update Jsonify to return pretty-print output
...
Fixes #5040
2018-10-21 23:36:35 +02:00
Bjørn Erik Pedersen
604ddb90c5
Merge branch 'release-0.49.2'
2018-10-11 12:01:51 +02:00
hugoreleaser
b09e495a71
releaser: Prepare repository for 0.50-DEV
...
[ci skip]
2018-10-11 09:49:59 +00:00
hugoreleaser
42cde66663
releaser: Add release notes to /docs for release of 0.49.2
...
[ci skip]
2018-10-11 09:47:57 +00:00
hugoreleaser
ad60948c46
releaser: Bump versions for release of 0.49.2
...
[ci skip]
2018-10-11 09:47:57 +00:00
Bjørn Erik Pedersen
3583dd6d71
Merge branch 'release-0.49.1'
2018-10-10 13:00:01 +02:00
hugoreleaser
e5b4cb2419
releaser: Prepare repository for 0.50-DEV
...
[ci skip]
2018-10-10 10:38:45 +00:00
hugoreleaser
821adf3ae8
releaser: Add release notes to /docs for release of 0.49.1
...
[ci skip]
2018-10-10 10:36:37 +00:00
hugoreleaser
8ba9a27366
releaser: Bump versions for release of 0.49.1
...
[ci skip]
2018-10-10 10:36:37 +00:00
Cameron Moore
ce264b936c
tpl: Add a delimiter parameter to lang.NumFmt
...
The original implementation of NumFmt did not take into account that the
options delimiter (a space) could be a valid option. Adding a delim
parameter seems like the simplest, safest, and most flexible way to
solve this oversight in a backwards-compatible way.
Fixes #5260
2018-10-02 17:41:48 +03:00
Ricardo N Feliciano
ad705aac06
hugolib: Introduce Page.NextPage and Page.PrevPage
...
Introduce new page position variables in order to fix the ordering issue
of `.Next` and `.Prev` while also allowing an upgrade path via
deprecation.
`.NextInSection` becomes `.NextPageInSection`.
`.PrevInSection` becomes `.PrevPageInSection`.
`.Next` becomes a function returning `.PrevPage`.
`.Prev` becomes a function returning `.NextPage`.
Fixes #1061
2018-09-26 09:22:43 +02:00
hugoreleaser
66b9e2bff2
releaser: Prepare repository for 0.50-DEV
...
[ci skip]
2018-09-24 10:04:24 +00:00
hugoreleaser
398996e8b0
releaser: Add release notes to /docs for release of 0.49
...
[ci skip]
2018-09-24 10:01:04 +00:00
hugoreleaser
7f005f5e98
releaser: Bump versions for release of 0.49
...
[ci skip]
2018-09-24 10:01:04 +00:00
Bjørn Erik Pedersen
3697448450
docs: Document directory based archetypes
...
See #4535
2018-09-24 11:52:25 +02:00
Bjørn Erik Pedersen
3b6bd1210a
docs: Regenerate CLI docs
2018-09-24 10:11:41 +02:00
Bjørn Erik Pedersen
8388cd90e8
docs: Document group
...
Fixes https://github.com/gohugoio/hugoDocs/issues/597
2018-09-24 10:07:50 +02:00
Bjørn Erik Pedersen
bc57f5c36e
Merge commit '807c551922707fc5ae0eb26e8f01638c0c63fdb3'
2018-09-23 23:48:53 +02:00
Ricardo N Feliciano
cae07ce84b
tpl/collections: Allow first function to return an empty slice
...
Fixes #5235
2018-09-22 20:58:46 +02:00
Bjørn Erik Pedersen
df50c108ba
docs: Add docs for append
...
See #5190
2018-09-14 10:12:08 +02:00
Bjørn Erik Pedersen
b7ca3e1b3a
Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'
2018-09-14 08:35:23 +02:00
Bjørn Erik Pedersen
e5d66074ce
tpl/strings: Add strings.FirstUpper
...
Fixes #5174
2018-09-07 09:08:14 +02:00
Thomas Jost
be3ae3ec92
hugolib: Do not FirstUpper taxonomy titles
...
Doing so was probably a mistake. This may be a breaking change for some people,
but it's easy to restore the previous behaviour in the layouts.
Fixes #5172
2018-09-06 20:29:21 +02:00
hugoreleaser
1ff54ab3d9
releaser: Prepare repository for 0.49-DEV
...
[ci skip]
2018-08-29 06:36:18 +00:00
hugoreleaser
456f5476cf
releaser: Add release notes to /docs for release of 0.48
...
[ci skip]
2018-08-29 06:33:03 +00:00
hugoreleaser
09811d0bee
releaser: Bump versions for release of 0.48
...
[ci skip]
2018-08-29 06:33:03 +00:00
hugoreleaser
a81c64e43e
releaser: Prepare repository for 0.48-DEV
...
[ci skip]
2018-08-20 08:19:37 +00:00
hugoreleaser
7ef5096257
releaser: Add release notes to /docs for release of 0.47.1
...
[ci skip]
2018-08-20 08:16:49 +00:00
hugoreleaser
16b691a875
releaser: Bump versions for release of 0.47.1
...
[ci skip]
2018-08-20 08:16:49 +00:00
hugoreleaser
6746826689
releaser: Prepare repository for 0.48-DEV
...
[ci skip]
2018-08-17 09:17:44 +00:00
hugoreleaser
caf608d566
releaser: Add release notes to /docs for release of 0.47
...
[ci skip]
2018-08-17 09:15:18 +00:00
hugoreleaser
6711dacded
releaser: Bump versions for release of 0.47
...
[ci skip]
2018-08-17 09:15:18 +00:00
Bjørn Erik Pedersen
4a16b5f4b0
docs: Regenerate CLI docs
2018-08-17 10:12:19 +02:00
Bjørn Erik Pedersen
873f8805cb
Merge commit 'a95896878f4b4a79448b39ce93a4e0d3258b4a43'
2018-08-17 10:09:42 +02:00
Bjørn Erik Pedersen
1639fd20d8
Merge commit '3a44bf182fed5f34621f450114083a6dd7e88a07'
2018-08-08 13:54:42 +02:00
hugoreleaser
31faf98ce3
releaser: Prepare repository for 0.47-DEV
...
[ci skip]
2018-08-01 09:03:22 +00:00
hugoreleaser
f14d773841
releaser: Add release notes to /docs for release of 0.46
...
[ci skip]
2018-08-01 09:00:52 +00:00
hugoreleaser
3aa838cf2b
releaser: Bump versions for release of 0.46
...
[ci skip]
2018-08-01 09:00:52 +00:00
Bjørn Erik Pedersen
e6dd54943f
Merge commit '766085c2dc6fc95ac30fda2a9ebde2355fc12554'
2018-08-01 10:01:49 +02:00
hugoreleaser
0cae1cf828
releaser: Prepare repository for 0.46-DEV
...
[ci skip]
2018-07-25 08:58:54 +00:00
hugoreleaser
3b18042ee6
releaser: Add release notes to /docs for release of 0.45.1
...
[ci skip]
2018-07-25 08:56:21 +00:00
hugoreleaser
e38843f4bf
releaser: Bump versions for release of 0.45.1
...
[ci skip]
2018-07-25 08:56:21 +00:00
hugoreleaser
3a6784b162
releaser: Prepare repository for 0.46-DEV
...
[ci skip]
2018-07-22 12:12:08 +00:00
hugoreleaser
48d7a641d0
releaser: Add release notes to /docs for release of 0.45
...
[ci skip]
2018-07-22 12:09:26 +00:00
hugoreleaser
2c5a036def
releaser: Bump versions for release of 0.45
...
[ci skip]
2018-07-22 12:09:26 +00:00
Bjørn Erik Pedersen
1eb8b36b38
docs: Update ref, relref, GetPage docs
2018-07-19 17:02:03 +02:00
Bjørn Erik Pedersen
00c74ee7ff
docs: Document refLinksErrorLevel and refLinksNotFoundURL
...
See #4964
2018-07-19 15:04:00 +02:00
Bjørn Erik Pedersen
9da617912b
Merge commit 'a3535c8486b2ce762b1a8a9c30b03985c3e02cee'
2018-07-19 09:18:11 +02:00
Bjørn Erik Pedersen
59ebc83d72
Merge commit 'b6b37a1f00f808f3c0d2715f65ca2d3091f36495'
2018-07-18 11:05:58 +02:00
Lucas Bickel
fd1f4a7860
Fix addkit link to account for i18n
2018-07-16 21:23:27 +02:00
hugoreleaser
f44c9ab9cd
releaser: Prepare repository for 0.45-DEV
...
[ci skip]
2018-07-13 06:05:41 +00:00
hugoreleaser
9f9695cf7b
releaser: Add release notes to /docs for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
0831d8ccaf
releaser: Bump versions for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
Bjørn Erik Pedersen
a4fad5be6b
Adjust release notes
...
[ci skip]
2018-07-09 12:11:57 +02:00
hugoreleaser
6084f0433c
releaser: Prepare repository for 0.44-DEV
...
[ci skip]
2018-07-09 10:03:30 +00:00
hugoreleaser
cbb7214b6c
releaser: Add release notes to /docs for release of 0.43
...
[ci skip]
2018-07-09 10:00:04 +00:00
hugoreleaser
e6136b36f3
releaser: Bump versions for release of 0.43
...
[ci skip]
2018-07-09 10:00:04 +00:00
Yang Li
3cea2932e1
Fix typos
2018-07-07 12:29:56 +02:00
Bjørn Erik Pedersen
0efd374805
Merge commit '98293eaa1570b5aff4452021c8b6d6c8560b3f06'
2018-07-06 17:53:17 +02:00
Bjørn Erik Pedersen
2b8d907ab7
Add a newScratch template func
...
Fixes #4685
2018-07-06 17:51:38 +02:00
hugoreleaser
360fa12213
releaser: Prepare repository for 0.43-DEV
...
[ci skip]
2018-06-28 12:38:48 +00:00
hugoreleaser
02aa320030
releaser: Add release notes to /docs for release of 0.42.2
...
[ci skip]
2018-06-28 12:36:15 +00:00
hugoreleaser
d2640fbc19
releaser: Bump versions for release of 0.42.2
...
[ci skip]
2018-06-28 12:36:15 +00:00
hugoreleaser
4172a835e5
releaser: Add release notes to /docs for release of 0.42.1
...
[ci skip]
2018-06-13 10:16:33 +00:00
hugoreleaser
fc97388968
releaser: Bump versions for release of 0.42.1
...
[ci skip]
2018-06-13 10:16:33 +00:00
hugoreleaser
0f1fc01ef2
releaser: Prepare repository for 0.43-DEV
...
[ci skip]
2018-06-12 08:45:06 +02:00
hugoreleaser
ffb609f4ab
releaser: Add release notes to /docs for release of 0.42
...
[ci skip]
2018-06-12 06:37:19 +00:00
hugoreleaser
19d91abc92
releaser: Bump versions for release of 0.42
...
[ci skip]
2018-06-12 06:37:19 +00:00
Bjørn Erik Pedersen
c74b0f8f9b
docs: Update theme documentation
...
See #4460
2018-06-12 07:38:41 +02:00
Bjørn Erik Pedersen
80949dc73f
docs: Remove some files now moved
2018-06-12 06:43:21 +02:00
Bjørn Erik Pedersen
e02629f81a
Merge commit 'b239595af5a9fc1fc9a1ccc666c3ab06ccc32f04'
2018-06-11 22:32:19 +02:00
Alexandros
65deb72dc4
tplimpl: Remove speakerdeck shortcode
...
Fixes #4830
2018-06-09 11:13:36 +02:00
David E. Wheeler
019bd5576b
tpl/strings: strings.RuneCount
2018-06-04 20:47:03 +03:00
David E. Wheeler
13435a6f60
tpl: Add strings.Repeat
2018-06-03 09:55:37 +03:00
Stefan Neuhaus
20cbc2c785
Add a BlackFriday option for rel="noreferrer" on external links
...
Add a configuration option "noreferrerLinks". When set to "true" the "HTML_NOREFERRER_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "noreferrer" value for their "rel" attribute.
See #4722
2018-05-29 16:54:43 +02:00
Stefan Neuhaus
7a6192647a
Add a BlackFriday option for rel="nofollow" on external links
...
Add a configuration option "nofollowLinks". When set to "true" the "HTML_NOFOLLOW_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "nofollow" value for the "rel" attribute.
Fixes #4722
2018-05-28 01:21:36 +02:00
hugoreleaser
5241f0baee
releaser: Prepare repository for 0.42-DEV
...
[ci skip]
2018-05-27 10:30:06 +02:00
hugoreleaser
171caf28a9
releaser: Add release notes to /docs for release of 0.41
...
[ci skip]
2018-05-25 16:57:18 +00:00
hugoreleaser
0e77f5d4e7
releaser: Bump versions for release of 0.41
...
[ci skip]
2018-05-25 16:57:17 +00:00
Bjørn Erik Pedersen
c71f201fd9
docs: Document the GDPR Privacy Config
...
See #4751
2018-05-25 17:25:33 +02:00
Bjørn Erik Pedersen
7b9dbef41a
Merge commit 'd2b1030060d3c91d5f9ffa3456418da16bd74f1d'
2018-05-25 15:05:23 +02:00
Bjørn Erik Pedersen
00e36a4164
Merge branch 'release-0.40.3'
2018-05-09 09:54:25 +02:00
hugoreleaser
bfb7744902
releaser: Prepare repository for 0.41-DEV
...
[ci skip]
2018-05-09 07:48:57 +00:00
hugoreleaser
ecae2106b9
releaser: Add release notes to /docs for release of 0.40.3
...
[ci skip]
2018-05-09 07:46:30 +00:00
hugoreleaser
315a73c9fe
releaser: Bump versions for release of 0.40.3
...
[ci skip]
2018-05-09 07:46:30 +00:00
Bjørn Erik Pedersen
914cc85e22
Merge commit '83bef6955e014d40c0f00db9cebe09113154e999'
2018-05-04 09:44:59 +02:00
Hélène Martin
a6816db775
Fix typo
...
This could either be "check out Hugo's themes" or "check out the Hugo themes". I think the latter reads better.
2018-05-03 07:05:35 +02:00
hugoreleaser
8b03c51eae
releaser: Prepare repository for 0.41-DEV
...
[ci skip]
2018-04-30 06:50:00 +00:00
hugoreleaser
5a9d1324d8
releaser: Add release notes to /docs for release of 0.40.2
...
[ci skip]
2018-04-30 06:47:41 +00:00