brevno-suite/hugo
5 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]

5 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]

5 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]

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

5 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]

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

5 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

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

5 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

5 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

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

5 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

5 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

5 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

5 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.

5 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

5 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

5 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.

5 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

5 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.

5 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

5 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

5 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>
  ```

5 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)

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

5 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

5 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

5 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

5 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`.

5 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

5 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'

5 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]

5 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]

5 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]

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

5 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

5 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]

5 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

5 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

5 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

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

Fixes #7408

5 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

5 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

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

5 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

5 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

5 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

5 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.

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

5 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

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

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

5 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.

5 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.

5 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

5 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

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

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

5 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

5 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

5 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]

5 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]

5 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]

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

5 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]

5 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

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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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]

5 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]

5 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]

5 years agoreleaser: Add release notes for 0.71.1
hugoreleaser [Mon, 25 May 2020 09:08:55 +0000 (09:08 +0000)]
releaser: Add release notes for 0.71.1
[ci skip]

5 years agoAdd some more date test cases
Bjørn Erik Pedersen [Sun, 24 May 2020 12:35:49 +0000 (14:35 +0200)]
Add some more date test cases

See #7310

5 years agoFix RenderString vs render hooks
Bjørn Erik Pedersen [Sun, 24 May 2020 11:03:32 +0000 (13:03 +0200)]
Fix RenderString vs render hooks

Fixes #7265

5 years agoPrevent WARNINGs in RenderString
Bjørn Erik Pedersen [Sun, 24 May 2020 10:49:45 +0000 (12:49 +0200)]
Prevent WARNINGs in RenderString

5 years agoFix IsAncestor/IsDescendant for taxonomies
Bjørn Erik Pedersen [Sat, 23 May 2020 13:04:00 +0000 (15:04 +0200)]
Fix IsAncestor/IsDescendant for taxonomies

Fixes #7305

5 years agoFix GetPage on section/bundle name overlaps
Bjørn Erik Pedersen [Thu, 21 May 2020 09:25:00 +0000 (11:25 +0200)]
Fix GetPage on section/bundle name overlaps

In the internal Radix we stored the directory based nodes without a traling slash, e.g. `/blog`.

The original motivation was probably to make it easy to do prefix searching: Give me all ancestors.

This, however have lead to some ambigouty with overlapping directory names.

This particular problem was, however, not possible to work around in an easy way, so from now we store these as `/blog/`.

Fixes #7301

5 years agoFix Go template script escaping
Bjørn Erik Pedersen [Sat, 23 May 2020 13:32:27 +0000 (15:32 +0200)]
Fix Go template script escaping

Fixes #6695

5 years agoAdd a test helper
Bjørn Erik Pedersen [Fri, 22 May 2020 08:57:25 +0000 (10:57 +0200)]
Add a test helper

5 years agoreleaser: Prepare repository for 0.72.0-DEV
hugoreleaser [Mon, 18 May 2020 16:18:12 +0000 (16:18 +0000)]
releaser: Prepare repository for 0.72.0-DEV

[ci skip]

5 years agoreleaser: Add release notes to /docs for release of 0.71.0 v0.71.0
hugoreleaser [Mon, 18 May 2020 16:05:47 +0000 (16:05 +0000)]
releaser: Add release notes to /docs for release of 0.71.0

[ci skip]

5 years agoreleaser: Bump versions for release of 0.71.0
hugoreleaser [Mon, 18 May 2020 16:05:47 +0000 (16:05 +0000)]
releaser: Bump versions for release of 0.71.0

[ci skip]

5 years agoRelease 0.71
Bjørn Erik Pedersen [Mon, 18 May 2020 15:57:12 +0000 (17:57 +0200)]
Release 0.71

5 years agoreleaser: Add release notes for 0.71.0
hugoreleaser [Mon, 18 May 2020 15:47:00 +0000 (15:47 +0000)]
releaser: Add release notes for 0.71.0

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

5 years agoFix Babel on Windows
Bjørn Erik Pedersen [Mon, 18 May 2020 13:56:43 +0000 (15:56 +0200)]
Fix Babel on Windows

Fixes #7251

5 years agocommands: Use WARN log level also for the early initialization
Bjørn Erik Pedersen [Mon, 18 May 2020 14:52:45 +0000 (16:52 +0200)]
commands: Use WARN log level also for the early initialization

Fixes #7285

5 years agoMerge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'
Bjørn Erik Pedersen [Mon, 18 May 2020 13:25:26 +0000 (15:25 +0200)]
Merge commit 'c9403cbceaaeff53ff4833561f4eefe1dc1a405e'

5 years agoSquashed 'docs/' changes from ec0abe052..6c2195936
Bjørn Erik Pedersen [Mon, 18 May 2020 13:24:58 +0000 (15:24 +0200)]
Squashed 'docs/' changes from ec0abe052..6c2195936

6c2195936 Update featured.png
109a0fcca add len function to navigation side menu
39a356bc5 Revert "Add some rickrolls redirects"
b8393b1b5 Add some rickrolls redirects
2ce21c34b Update configuration-markup.md (add rel="noopener")
95bd7974e Disambiguate global and page resources
5e233dc4b Update base.md
959b9dc3a Fix typo on "where" page
aff8059a1 Release 0.70.0
44a172ac0 releaser: Add release notes to /docs for release of 0.70.0
1b01c8988 Release 0.70.0
5ece21c6c Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
0894aec5b Rename transpileJS to babel
5da27c7a6 resources: Add JavaScript transpiling solution

git-subtree-dir: docs
git-subtree-split: 6c21959360394165435fa36eac489bf6a701ae9a

5 years agoUpdate to Go 1.14.3 and Go 1.13.11
Bjørn Erik Pedersen [Fri, 15 May 2020 08:52:33 +0000 (10:52 +0200)]
Update to Go 1.14.3 and Go 1.13.11

5 years agoImprove error message when no Babel installed
Bjørn Erik Pedersen [Sat, 16 May 2020 10:50:57 +0000 (12:50 +0200)]
Improve error message when no Babel installed

5 years agoAdd test for headings render hook
Cameron Little [Fri, 8 May 2020 19:16:34 +0000 (21:16 +0200)]
Add test for headings render hook

5 years agoAdd render template hooks for headings
Eli W. Hunter [Sat, 14 Mar 2020 14:43:10 +0000 (10:43 -0400)]
Add render template hooks for headings

This commit also

* Renames previous types to be non-specific. (e.g. hookedRenderer rather
  than linkRenderer)

Resolves #6713

5 years agoAdd math.Pow
Joe Mooring [Wed, 13 May 2020 17:35:07 +0000 (13:35 -0400)]
Add math.Pow

Closes #7266

5 years agodeploy: Do not suppress .well-known/ directory
John Weldon [Wed, 13 May 2020 23:20:52 +0000 (16:20 -0700)]
deploy: Do not suppress .well-known/ directory

Deployments ignore directories with a leading `.`, but should not ignore
certain well known 'hidden' directories like `.well-known/`

Fixes #6691