brevno-suite/hugo
4 years agoreleaser: Add release notes to /docs for release of 0.74.3 v0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Add release notes to /docs for release of 0.74.3

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Bump versions for release of 0.74.3

[ci skip]

4 years agoreleaser: Add release notes for 0.74.3
hugoreleaser [Thu, 23 Jul 2020 16:21:21 +0000 (16:21 +0000)]
releaser: Add release notes for 0.74.3
[ci skip]

4 years agopublisher: Collect transition attributes as classes
Bjørn Erik Pedersen [Thu, 23 Jul 2020 12:18:13 +0000 (14:18 +0200)]
publisher: Collect transition attributes as classes

Fixes #7509

4 years agoFix Asciidoctor args
Helder Pereira [Thu, 23 Jul 2020 13:59:48 +0000 (14:59 +0100)]
Fix Asciidoctor args

* Fix Asciidoctor args

* Fix Asciidoctor args documentation

* Update AsciiDoc documentation

Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de>
Fixes #7493

4 years agoFix date format in internal schema template
Joe Mooring [Sun, 19 Jul 2020 13:24:44 +0000 (09:24 -0400)]
Fix date format in internal schema template

Prior to this change, the offset indicator for dates with positive
offsets was rendered as &#43; instead of +.

Fixes #7495

4 years agoresources/js: Add option for setting bundle format
Bjørn Erik Pedersen [Tue, 21 Jul 2020 15:59:03 +0000 (17:59 +0200)]
resources/js: Add option for setting bundle format

Fixes #7503

4 years agoresources/js: Simplify options handling
Bjørn Erik Pedersen [Tue, 21 Jul 2020 15:03:06 +0000 (17:03 +0200)]
resources/js: Simplify options handling

Mostly to minify cache hash breakage.

Updates #7499

4 years agomake sure documentation intro text only appears once
Philipp Klose [Mon, 20 Jul 2020 22:26:54 +0000 (00:26 +0200)]
make sure documentation intro text only appears once

4 years agoresources/js: Add es5 build target
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:26:38 +0000 (22:26 +0200)]
resources/js: Add es5 build target

4 years agoMerge commit '28bd06265e88454b061810578919d891909a83ad'
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:20:33 +0000 (22:20 +0200)]
Merge commit '28bd06265e88454b061810578919d891909a83ad'

4 years agoSquashed 'docs/' changes from c3b4f8410..a26d0e610
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:19:42 +0000 (22:19 +0200)]
Squashed 'docs/' changes from c3b4f8410..a26d0e610

a26d0e610 Add documentation to js.Build (#1175)
439a22c3e Update index.md
7a779b39a Hugo 0.74.2
07cb5740c Merge branch 'temp742'
abcea676c releaser: Add release notes to /docs for release of 0.74.2
e0dcdbfea Revert "Adding an issue link to the issue creation workflow (#1023)"
21c7131f1 Adding an issue link to the issue creation workflow (#1023)
922afb18b Update index.md
b9512b192 Update index.md
b7af5993c Update index.md
816f864b6 Release 0.74.1
1732f3461 Merge branch 'temp741'
d473f21c1 releaser: Add release notes to /docs for release of 0.74.1
bb234e9cd Add release notes 0.74.0
5cb3166d4 releaser: Add release notes to /docs for release of 0.74.0
7f35a3800 Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'
4b7054be5 docs: Regenerate docs helper
1d86f0aed Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
068b2ab28 Update formats.md doc for new allowed extensions.
d71ed99d3 Add support for inline partials
efe0e549c Rework external asciidoctor integration

git-subtree-dir: docs
git-subtree-split: a26d0e610457c7942fd79e7abdd78021f9401796

4 years agodeps: esbuild v0.6.5
Bjørn Erik Pedersen [Mon, 20 Jul 2020 20:19:08 +0000 (22:19 +0200)]
deps: esbuild v0.6.5

4 years agoreleaser: Prepare repository for 0.75.0-DEV
hugoreleaser [Fri, 17 Jul 2020 17:35:17 +0000 (17:35 +0000)]
releaser: Prepare repository for 0.75.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.74.2 v0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Add release notes to /docs for release of 0.74.2

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Bump versions for release of 0.74.2

[ci skip]

4 years agoreleaser: Add release notes for 0.74.2
hugoreleaser [Fri, 17 Jul 2020 17:22:42 +0000 (17:22 +0000)]
releaser: Add release notes for 0.74.2
[ci skip]

4 years agoAdd .Defines to js.Build options
Bjørn Erik Pedersen [Fri, 17 Jul 2020 16:36:09 +0000 (18:36 +0200)]
Add .Defines to js.Build options

This is needed to import `react` as a library, e.g.:

```
{{ $jsx := resources.Get "index.jsx" }}
{{ $options := dict "defines" (dict "process.env.NODE_ENV" "\"development\"") }}
{{ $js := $jsx | js.Build $options }}
```

Fixes #7489

4 years agoreleaser: Prepare repository for 0.75.0-DEV
hugoreleaser [Mon, 13 Jul 2020 19:06:13 +0000 (19:06 +0000)]
releaser: Prepare repository for 0.75.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.74.1 v0.74.1
hugoreleaser [Mon, 13 Jul 2020 18:52:36 +0000 (18:52 +0000)]
releaser: Add release notes to /docs for release of 0.74.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.1
hugoreleaser [Mon, 13 Jul 2020 18:52:36 +0000 (18:52 +0000)]
releaser: Bump versions for release of 0.74.1

[ci skip]

4 years agoreleaser: Add release notes for 0.74.1
hugoreleaser [Mon, 13 Jul 2020 18:52:36 +0000 (18:52 +0000)]
releaser: Add release notes for 0.74.1
[ci skip]

4 years agoFix baseof block regression
Bjørn Erik Pedersen [Mon, 13 Jul 2020 11:40:35 +0000 (13:40 +0200)]
Fix baseof block regression

From Hugo 0.74.0.

Fixes #7478

4 years agoreleaser: Prepare repository for 0.75.0-DEV
hugoreleaser [Mon, 13 Jul 2020 10:42:11 +0000 (10:42 +0000)]
releaser: Prepare repository for 0.75.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.74.0 v0.74.0
hugoreleaser [Mon, 13 Jul 2020 10:30:11 +0000 (10:30 +0000)]
releaser: Add release notes to /docs for release of 0.74.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.74.0
hugoreleaser [Mon, 13 Jul 2020 10:30:11 +0000 (10:30 +0000)]
releaser: Bump versions for release of 0.74.0

[ci skip]

4 years agoRelease 0.74.0
Bjørn Erik Pedersen [Mon, 13 Jul 2020 10:20:41 +0000 (12:20 +0200)]
Release 0.74.0

4 years agoreleaser: Add release notes for 0.74.0
hugoreleaser [Mon, 13 Jul 2020 09:47:04 +0000 (09:47 +0000)]
releaser: Add release notes for 0.74.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoSquashed 'docs/' changes from cfd74b57d..c3b4f8410
Bjørn Erik Pedersen [Mon, 13 Jul 2020 09:01:55 +0000 (11:01 +0200)]
Squashed 'docs/' changes from cfd74b57d..c3b4f8410

c3b4f8410 Update theme
0aaecc16c Remove unnecessary period. (#1168)

git-subtree-dir: docs
git-subtree-split: c3b4f84106cf312fa2698c60c43c2b46bc4969e3

4 years agoMerge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'
Bjørn Erik Pedersen [Mon, 13 Jul 2020 09:01:55 +0000 (11:01 +0200)]
Merge commit '823ce055ed3356da37e9ec4ac70446bdbbaa8de8'

4 years agodocs: Regenerate docs helper
Bjørn Erik Pedersen [Mon, 13 Jul 2020 09:01:38 +0000 (11:01 +0200)]
docs: Regenerate docs helper

4 years agoAdd proper Media Type handling in js.Build
Bjørn Erik Pedersen [Sun, 12 Jul 2020 10:47:14 +0000 (12:47 +0200)]
Add proper Media Type handling in js.Build

See #732

4 years agoAdd js.Build asset bundling
Remko Tronçon [Thu, 2 Jul 2020 16:16:32 +0000 (18:16 +0200)]
Add js.Build asset bundling

Fixes #7321

4 years agoMerge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
Bjørn Erik Pedersen [Tue, 7 Jul 2020 05:00:01 +0000 (07:00 +0200)]
Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'

4 years agoSquashed 'docs/' changes from ac2c4a487..cfd74b57d
Bjørn Erik Pedersen [Tue, 7 Jul 2020 04:58:43 +0000 (06:58 +0200)]
Squashed 'docs/' changes from ac2c4a487..cfd74b57d

cfd74b57d Add a config file update step.
5957d8815 Wrap cache configuration in code-toggle
914405c0e capitalization and indentation fix for taxonomies page (#1159)
223b80f42 Fix page kinds shortcode not rendering on Taxonomies page (#1158)
a9b6fa984 Clarify weight description.
29e121681 Warn about zero weights in front matter.
27ce7ba8c Release 0.73.0
e9596b2ee Merge branch 'temp73'
074a270cd releaser: Add release notes to /docs for release of 0.73.0
4f56a9fc0 width fix of expanding code box in documentation (#1156)
f27254d60 css fix of expanding code box in documentation (#1155)
43b576178 Fix incorrect directory name in quick-start (#1154)
16726eacf Add GroupByLastmod
73c31758e Fix for broken link again (#1151)
d07067295 Fix broken link (#1144)
bc0b484d1 Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy
674d71842 Fix Typo on Docker section of installation page
b87778165 Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
c7cdebed3 tpl/crypto: Add hmac
260130cc0 Allow hook template per section/type
1f70519d8 releaser: Add release notes to /docs for release of 0.72.0
8516d540c Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
c49195c69 common/maps: Add Scratch.Values
78072df81 Add redirect support to the server
90ca0af6b Fix typo in install instructions

git-subtree-dir: docs
git-subtree-split: cfd74b57d968d98f88d3ddaee651d9cbe79b7ce1

4 years agoAdd openapi3.Unmarshal
Bjørn Erik Pedersen [Tue, 30 Jun 2020 14:11:05 +0000 (16:11 +0200)]
Add openapi3.Unmarshal

Fixes #7442
Fixes #7443

4 years agoRemove trailing hyphen from auto heading ID
Joe Mooring [Sat, 4 Jul 2020 21:02:00 +0000 (17:02 -0400)]
Remove trailing hyphen from auto heading ID

Applicable when autoHeadingIDType is either `github` or `github-ascii`.

When autoHeadingIDType is `blackfriday`, the existing code removes
trailing whitespace while iterating through the characters, using
a boolean "futureDash" mechanism.

Fixes #6798

4 years agodeploy: Ensure that non-trivial default flag values are passed through.
Robert van Gent [Sat, 4 Jul 2020 17:15:46 +0000 (10:15 -0700)]
deploy: Ensure that non-trivial default flag values are passed through.

4 years agoFix server reload when non-HTML shortcode changes
Bjørn Erik Pedersen [Fri, 3 Jul 2020 16:02:32 +0000 (18:02 +0200)]
Fix server reload when non-HTML shortcode changes

Fixes #7448

4 years agotpl/strings: Add strings.Count
Bjørn Erik Pedersen [Fri, 3 Jul 2020 08:34:40 +0000 (10:34 +0200)]
tpl/strings: Add strings.Count

Fixes #7453

4 years agoUpdate formats.md doc for new allowed extensions.
Bryan Klein [Thu, 2 Jul 2020 22:16:33 +0000 (15:16 -0700)]
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.

4 years agotpl: Add debug.Dump
Bjørn Erik Pedersen [Thu, 2 Jul 2020 07:04:46 +0000 (09:04 +0200)]
tpl: Add debug.Dump

Fixes #3957

4 years agoUpdate config.go to add two Asciidoctor extensions
Bryan Klein [Wed, 1 Jul 2020 22:01:14 +0000 (15:01 -0700)]
Update config.go to add two Asciidoctor extensions

Added two common extensions to allow my Hugo+Asciidoctor site to build with the new configuration.

4 years agoAdd support for inline partials
Bjørn Erik Pedersen [Wed, 1 Jul 2020 08:43:17 +0000 (10:43 +0200)]
Add support for inline partials

Fixes #7444

4 years agoAdd support for native Org dates in frontmatter
Sebastian Boehm [Fri, 26 Jun 2020 21:52:12 +0000 (23:52 +0200)]
Add support for native Org dates in frontmatter

4 years agodeps: Update go-org to v1.3.0
Niklas Fasching [Mon, 29 Jun 2020 15:02:02 +0000 (17:02 +0200)]
deps: Update go-org to v1.3.0

- Add support for image links (i.e. link with image as description)
- Kinda breaking: Wrap headlines and headline+content in containers as emacs
  Org mode does. Could break people's styles - I don't expect it, but who knows
  what counts as sane when it comes to css.

  Before:

  ```
  <h2 id="headline-1">FOO</h2>
  foo bar
  ```

  After:

  ```
  <div id="outline-container-headline-1" class="outline-2">
  <h2 id="headline-1">FOO</h2>
  <div id="outline-text-headline-1" class="outline-text-2">
  foo bar
  </div>
  </div>
  ```

4 years agodeps: Update go-org to v1.2.0
Niklas Fasching [Fri, 26 Jun 2020 19:05:37 +0000 (21:05 +0200)]
deps: Update go-org to v1.2.0

- Add support for #+MACRO
- fix a bug with #+LINK (edge case, should never happen anyways :TM:)
- Make title export optional (add export option)
- Remove cosmetic whitespace added by go-org (for easier visual
  diffing) inside p tags (<p>\nfoo\n</p> => <p>foo</p>)
  (should make `white-space: pre` on p look more in line with expectations)
- implement table separators via multiple tbodies (the html spec is ok with
  that)

4 years agoUpdate bug_report.md
Bjørn Erik Pedersen [Fri, 26 Jun 2020 19:03:09 +0000 (21:03 +0200)]
Update bug_report.md

4 years agohugolib: Add missing zero check on file
Bjørn Erik Pedersen [Fri, 26 Jun 2020 11:27:01 +0000 (13:27 +0200)]
hugolib: Add missing zero check on file

4 years agocache: Remove some unused code
Bjørn Erik Pedersen [Thu, 25 Jun 2020 15:34:58 +0000 (17:34 +0200)]
cache: Remove some unused code

4 years agocommands: Add an option to print memory usage at intervals
Bjørn Erik Pedersen [Thu, 25 Jun 2020 09:44:27 +0000 (11:44 +0200)]
commands: Add an option to print memory usage at intervals

Use it with `hugo --print-mem

4 years agoRework external asciidoctor integration
Derk Muenchhausen [Thu, 25 Jun 2020 07:51:33 +0000 (09:51 +0200)]
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`.

4 years agoEnable the embedded template test when race detector is off
Bjørn Erik Pedersen [Thu, 25 Jun 2020 07:16:28 +0000 (09:16 +0200)]
Enable the embedded template test when race detector is off

See #5926

4 years agoMerge branch 'release-0.73.0'
Bjørn Erik Pedersen [Tue, 23 Jun 2020 16:45:33 +0000 (18:45 +0200)]
Merge branch 'release-0.73.0'

4 years agoreleaser: Prepare repository for 0.74.0-DEV
hugoreleaser [Tue, 23 Jun 2020 16:42:50 +0000 (16:42 +0000)]
releaser: Prepare repository for 0.74.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.73.0 v0.73.0
hugoreleaser [Tue, 23 Jun 2020 16:29:21 +0000 (16:29 +0000)]
releaser: Add release notes to /docs for release of 0.73.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.73.0
hugoreleaser [Tue, 23 Jun 2020 16:29:21 +0000 (16:29 +0000)]
releaser: Bump versions for release of 0.73.0

[ci skip]

4 years agoRelease 0.73.0
Bjørn Erik Pedersen [Tue, 23 Jun 2020 09:46:23 +0000 (11:46 +0200)]
Release 0.73.0

4 years agoUpdated installation instruction about Sass/SCSS support
Mateusz Szczyrzyca [Tue, 23 Jun 2020 14:48:16 +0000 (16:48 +0200)]
Updated installation instruction about Sass/SCSS support

4 years agoreleaser: Add release notes for 0.73.0
hugoreleaser [Tue, 23 Jun 2020 08:57:01 +0000 (08:57 +0000)]
releaser: Add release notes for 0.73.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoRemove some old release notes
Bjørn Erik Pedersen [Tue, 23 Jun 2020 07:37:25 +0000 (09:37 +0200)]
Remove some old release notes

4 years agoCreate robots.txt in the domain root directory
Nico [Sat, 20 Jun 2020 13:00:25 +0000 (15:00 +0200)]
Create robots.txt in the domain root directory

Before a robots.txt is created in every Site. So in public/robots.txt if there are no languages (was correct). But if there are multiple languages in every language directory, too (was wrong). If defaultContentLanguageInSubdir is true, no language is created into the root directory, so no robots.txt is in the root directory (was wrong). If multihosts are configured for each language, that is the only case where one robots.txt must be created in each language directory (was correct).

I've changed the behaviour, that only in the multihost case the robots.txt is created in the language directories. In any other case it is created in public/robots.txt. I've also added tests that files are not created in the wrong directories.

Fixes #5160
See also #4193

4 years agoMake GroupByParamDate work with string params
Bjørn Erik Pedersen [Fri, 19 Jun 2020 08:13:35 +0000 (10:13 +0200)]
Make GroupByParamDate work with string params

Fixes #3983

4 years agoAdd GroupByLastmod
Bjørn Erik Pedersen [Fri, 19 Jun 2020 07:37:37 +0000 (09:37 +0200)]
Add GroupByLastmod

Fixes #7408

4 years agoRename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy
Bjørn Erik Pedersen [Tue, 16 Jun 2020 13:43:50 +0000 (15:43 +0200)]
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

4 years agoFix aliases with path in baseURL
Helder Pereira [Tue, 16 Jun 2020 23:05:53 +0000 (00:05 +0100)]
Fix aliases with path in baseURL

4 years agoMerge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
Bjørn Erik Pedersen [Tue, 16 Jun 2020 12:19:31 +0000 (14:19 +0200)]
Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'

4 years agoSquashed 'docs/' changes from 9be494de3..ac2c4a487
Bjørn Erik Pedersen [Tue, 16 Jun 2020 12:18:51 +0000 (14:18 +0200)]
Squashed 'docs/' changes from 9be494de3..ac2c4a487

ac2c4a487 Update documentation for Ugly URLs (#1082)
88bdec17a Change 072.0 to 0.72.0 in release post's description
2aa7d7818 Update rss.md (#1104)
c80677aeb Update quick-start.md (#1076)
d04196bbd Minor spelling and capitalization fixes
837d2feba Fixed spelling mistake
67dc78e12 Update installing.md
ce280c5d6 Update relurl.md
bb4d0e703 Capitalization and Redirecting URL fixes
e1fecada0 Update partials.md
1d99bb182 Typos and whitespacing issues fixed
b20dba125 actually fix index function link this time
f47d6f1e3 Fixing typos, whitespace issues and links
dc82309b9 fix link to the index function
1eab0cbea add missing word (#1130)
9c3ee62ae more fixes
e9bc5880a whitespace, typos and HTTPS fixes
93b806493 Add missing word to Module section
80ced9062 Display image on page bundles page.
727029b0a Update index.md
51fc48e4d Release 0.72.0
1ff68ac3b releaser: Add release notes to /docs for release of 0.72.0
f74a25b92 common/maps: Add Scratch.Values
2fd83db96 Add redirect support to the server
bdfccf9f4 Fix typo in install instructions
e12737ea6 Create SUPPORT.md

git-subtree-dir: docs
git-subtree-split: ac2c4a4871e90ddfb180f23704ce7ec9023529ca

4 years agoFix server data race/nil pointer in withMaps
Bjørn Erik Pedersen [Tue, 16 Jun 2020 08:42:41 +0000 (10:42 +0200)]
Fix server data race/nil pointer in withMaps

Fixes #7392

4 years agoFix order of GetTerms
Bjørn Erik Pedersen [Mon, 15 Jun 2020 14:33:09 +0000 (16:33 +0200)]
Fix order of GetTerms

Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms).

Fixes #7213

4 years agoAdd genDocsHelper mage target
Cameron Moore [Fri, 5 Jun 2020 15:48:37 +0000 (10:48 -0500)]
Add genDocsHelper mage target

Expose the functionality of the hidden `hugo gen docshelper` command as
a mage target.

4 years agoFix aliases with uglyURLs
Helder Pereira [Sun, 14 Jun 2020 21:33:00 +0000 (22:33 +0100)]
Fix aliases with uglyURLs

4 years agoFix crash for closing shortcode with no .Inner set
Bjørn Erik Pedersen [Sun, 14 Jun 2020 16:16:45 +0000 (18:16 +0200)]
Fix crash for closing shortcode with no .Inner set

Fixes #6857
Closes #7330

4 years agoFix aliases with relativeURLs
Helder Pereira [Sun, 14 Jun 2020 09:14:56 +0000 (10:14 +0100)]
Fix aliases with relativeURLs

4 years agoRegenerate templates
Bjørn Erik Pedersen [Fri, 12 Jun 2020 09:29:04 +0000 (11:29 +0200)]
Regenerate templates

4 years agoBeautify HTML generated by pagination template
Joe Mooring [Tue, 21 Apr 2020 22:49:30 +0000 (18:49 -0400)]
Beautify HTML generated by pagination template

Fixes #7199.

4 years agoAdd a nested data dir test
Bjørn Erik Pedersen [Fri, 12 Jun 2020 07:14:20 +0000 (09:14 +0200)]
Add a nested data dir test

Ref. a discussion.

4 years agohugofs: Use os.PathError in RootMappingFs.doLstat
Raphael Krupinski [Thu, 11 Jun 2020 12:59:01 +0000 (14:59 +0200)]
hugofs: Use os.PathError  in RootMappingFs.doLstat

4 years agocommands: Fix URL rewrites vs fast render server mode
Bjørn Erik Pedersen [Fri, 5 Jun 2020 10:13:26 +0000 (12:13 +0200)]
commands: Fix URL rewrites vs fast render server mode

Fixes #7357

4 years agotpl/crypto: Add hmac
Edouard [Fri, 5 Jun 2020 18:04:11 +0000 (20:04 +0200)]
tpl/crypto: Add hmac

4 years agoRemove credit (#7347)
Alexandros [Tue, 2 Jun 2020 17:31:15 +0000 (20:31 +0300)]
Remove credit (#7347)

4 years agoAllow hook template per section/type
Bjørn Erik Pedersen [Tue, 2 Jun 2020 16:08:17 +0000 (18:08 +0200)]
Allow hook template per section/type

Fixes #7349

4 years agotpl: Fix bad rounding in NumFmt
Sam Smith [Wed, 1 Apr 2020 22:13:23 +0000 (23:13 +0100)]
tpl: Fix bad rounding in NumFmt

strconv.FormatFloat doesn't round properly sometimes, this adds a
different method of rounding, fixes #7116

4 years agoreleaser: Prepare repository for 0.73.0-DEV
hugoreleaser [Sun, 31 May 2020 12:16:50 +0000 (12:16 +0000)]
releaser: Prepare repository for 0.73.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.72.0 v0.72.0
hugoreleaser [Sun, 31 May 2020 12:05:36 +0000 (12:05 +0000)]
releaser: Add release notes to /docs for release of 0.72.0

[ci skip]

4 years agoreleaser: Bump versions for release of 0.72.0
hugoreleaser [Sun, 31 May 2020 12:05:36 +0000 (12:05 +0000)]
releaser: Bump versions for release of 0.72.0

[ci skip]

4 years agoRelease 0.72.0
Bjørn Erik Pedersen [Sun, 31 May 2020 11:48:27 +0000 (13:48 +0200)]
Release 0.72.0

4 years agoreleaser: Add release notes for 0.72.0
hugoreleaser [Sun, 31 May 2020 11:03:50 +0000 (11:03 +0000)]
releaser: Add release notes for 0.72.0

Rename to *-ready.md to continue.
[ci skip]

4 years agoreleaser: Adjust the "thanks" section
Bjørn Erik Pedersen [Sun, 31 May 2020 10:46:18 +0000 (12:46 +0200)]
releaser: Adjust the "thanks" section

4 years agoMerge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'
Bjørn Erik Pedersen [Sun, 31 May 2020 10:43:33 +0000 (12:43 +0200)]
Merge commit '9e1dcefc5f559944b70d2fa520f6acd5c56a69f2'

4 years agoSquashed 'docs/' changes from 6c2195936..9be494de3
Bjørn Erik Pedersen [Sun, 31 May 2020 10:43:23 +0000 (12:43 +0200)]
Squashed 'docs/' changes from 6c2195936..9be494de3

9be494de3 Clean up the markup config
c3e123133 Remove JustComment
bc1b02bc5 Add Smart to Anchor section
49e796409 Added where .RegularPagesRecursive was added
a92296e31 Fixed the new-in shortcode in pages-vs-site-pages
051e1267c Documented .RegularPagesRecursive
5bcec88a3 Fix broken link in RSS templates page
3db79d433 Correct pull request link on migrations.md
55c347168 Release 0.71.1
11a4e36c3 Merge branch 'temp711'
481fc8ed6 releaser: Add release notes to /docs for release of 0.71.1
40ba83c26 Update site.md
382632b58 Use-modules: More help how to get started importing a theme (#1107)
06751d465 Addition of hugefastsearch to search options (#1118)
8346d3b18 Add example of how to set the permalinks option for pages in "root"
ebb3b4f3a Refine highlight shortcode options
1075a172a Update index.md
7cc927ea6 Fix typo in v0.71.0 release notes
4121da273 Pull in latest theme version to get link hooks
4809be651 Document render-heading feature
2078a3bd1 Release 0.71.0
c09f6899e releaser: Add release notes to /docs for release of 0.71.0
90ffe2b50 Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
bf3dd0837 Add math.Pow

git-subtree-dir: docs
git-subtree-split: 9be494de3ac79081be60e0f002db110cb96ec7a3

4 years agocommon/maps: Add Scratch.Values
Bjørn Erik Pedersen [Fri, 29 May 2020 16:50:12 +0000 (18:50 +0200)]
common/maps: Add Scratch.Values

Fixes #7335

4 years agodeps: Update Goldmark to improve Typographer
Bjørn Erik Pedersen [Fri, 29 May 2020 17:02:30 +0000 (19:02 +0200)]
deps: Update Goldmark to improve Typographer

See https://github.com/yuin/goldmark/releases/tag/v1.1.31
See #7289

4 years agoAdd redirect support to the server
Bjørn Erik Pedersen [Wed, 27 May 2020 11:50:13 +0000 (13:50 +0200)]
Add redirect support to the server

Fixes #7323

4 years agoFix typo in install instructions
Yash Murty [Wed, 27 May 2020 10:39:56 +0000 (19:39 +0900)]
Fix typo in install instructions

4 years agopublisher: Fix tag collector for nested table elements
Bjørn Erik Pedersen [Mon, 25 May 2020 19:05:59 +0000 (21:05 +0200)]
publisher: Fix tag collector for nested table elements

Fixes #7318

4 years agosnap: Fix build error: my previous commits did not fix it
Anthony Fok [Mon, 25 May 2020 09:28:00 +0000 (03:28 -0600)]
snap: Fix build error: my previous commits did not fix it

- Revert to legacy snap and my custom plugin x-nodejs for now
- Quote "@babel/cli" and add "@babel/core"
- Change bin/babel.js to bin/babel

4 years agoreleaser: Prepare repository for 0.72.0-DEV
hugoreleaser [Mon, 25 May 2020 09:21:10 +0000 (09:21 +0000)]
releaser: Prepare repository for 0.72.0-DEV

[ci skip]

4 years agoreleaser: Add release notes to /docs for release of 0.71.1 v0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Add release notes to /docs for release of 0.71.1

[ci skip]

4 years agoreleaser: Bump versions for release of 0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Bump versions for release of 0.71.1

[ci skip]