repo_name
stringclasses
2 values
pr_number
int64
2.62k
123k
pr_title
stringlengths
8
193
pr_description
stringlengths
0
27.9k
author
stringlengths
3
23
date_created
unknown
date_merged
unknown
previous_commit
stringlengths
40
40
pr_commit
stringlengths
40
40
query
stringlengths
21
28k
filepath
stringlengths
7
174
before_content
stringlengths
0
554M
after_content
stringlengths
0
554M
label
int64
-1
1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./common/para/para_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package para import ( "context" "runtime" "sort" "sync" "sync/atomic" "testing" "time" "github.com/gohugoio/hugo/htesting" qt "github.com/frankban/quicktest" ) func TestPara(t *testing.T) { if runtime.NumCPU() < 4 { t.Skipf("skip para test, CPU count is %d", runtime.NumCPU()) } if !htesting.IsCI() { t.Skip("skip para test when not running on CI") } c := qt.New(t) c.Run("Order", func(c *qt.C) { n := 500 ints := make([]int, n) for i := 0; i < n; i++ { ints[i] = i } p := New(4) r, _ := p.Start(context.Background()) var result []int var mu sync.Mutex for i := 0; i < n; i++ { i := i r.Run(func() error { mu.Lock() defer mu.Unlock() result = append(result, i) return nil }) } c.Assert(r.Wait(), qt.IsNil) c.Assert(result, qt.HasLen, len(ints)) c.Assert(sort.IntsAreSorted(result), qt.Equals, false, qt.Commentf("Para does not seem to be parallel")) sort.Ints(result) c.Assert(result, qt.DeepEquals, ints) }) c.Run("Time", func(c *qt.C) { const n = 100 p := New(5) r, _ := p.Start(context.Background()) start := time.Now() var counter int64 for i := 0; i < n; i++ { r.Run(func() error { atomic.AddInt64(&counter, 1) time.Sleep(1 * time.Millisecond) return nil }) } c.Assert(r.Wait(), qt.IsNil) c.Assert(counter, qt.Equals, int64(n)) since := time.Since(start) limit := n / 2 * time.Millisecond c.Assert(since < limit, qt.Equals, true, qt.Commentf("%s >= %s", since, limit)) }) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package para import ( "context" "runtime" "sort" "sync" "sync/atomic" "testing" "time" "github.com/gohugoio/hugo/htesting" qt "github.com/frankban/quicktest" ) func TestPara(t *testing.T) { if runtime.NumCPU() < 4 { t.Skipf("skip para test, CPU count is %d", runtime.NumCPU()) } if !htesting.IsCI() { t.Skip("skip para test when not running on CI") } c := qt.New(t) c.Run("Order", func(c *qt.C) { n := 500 ints := make([]int, n) for i := 0; i < n; i++ { ints[i] = i } p := New(4) r, _ := p.Start(context.Background()) var result []int var mu sync.Mutex for i := 0; i < n; i++ { i := i r.Run(func() error { mu.Lock() defer mu.Unlock() result = append(result, i) return nil }) } c.Assert(r.Wait(), qt.IsNil) c.Assert(result, qt.HasLen, len(ints)) c.Assert(sort.IntsAreSorted(result), qt.Equals, false, qt.Commentf("Para does not seem to be parallel")) sort.Ints(result) c.Assert(result, qt.DeepEquals, ints) }) c.Run("Time", func(c *qt.C) { const n = 100 p := New(5) r, _ := p.Start(context.Background()) start := time.Now() var counter int64 for i := 0; i < n; i++ { r.Run(func() error { atomic.AddInt64(&counter, 1) time.Sleep(1 * time.Millisecond) return nil }) } c.Assert(r.Wait(), qt.IsNil) c.Assert(counter, qt.Equals, int64(n)) since := time.Since(start) limit := n / 2 * time.Millisecond c.Assert(since < limit, qt.Equals, true, qt.Commentf("%s >= %s", since, limit)) }) }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/hugo-modules/configuration.md
--- title: Configure Modules linktitle: Configure Modules description: This page describes the configuration options for a module. date: 2019-07-24 categories: [hugo modules] keywords: [themes, source, organization, directories] menu: docs: parent: "modules" weight: 10 weight: 10 sections_weight: 10 toc: true --- ## Module Config: Top level {{< code-toggle file="config">}} [module] noVendor = "" proxy = "direct" noProxy = "none" private = "*.*" replacements = "" {{< /code-toggle >}} noVendor {{< new-in "0.75.0" >}} : A optional Glob pattern matching module paths to skip when vendoring, e.g. "github.com/**" proxy : Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar. noProxy : Comma separated glob list matching paths that should not use the proxy configured above. private : Comma separated glob list matching paths that should be treated as private. replacements {{< new-in "0.77.0" >}} : A comma separated (or a slice) list of module path to directory replacement mapping, e.g. `"github.com/bep/myprettytheme -> ../..,github.com/bep/shortcodes -> /some/path`. This is mostly useful for temporary locally development of a module, and then it makes sense to set it as an OS environment variable, e.g: `env HUGO_MODULE_REPLACEMENTS="github.com/bep/myprettytheme -> ../.."`. Any relative path is relate to [themesDir](https://gohugo.io/getting-started/configuration/#all-configuration-settings), and absolute paths are allowed. Note that the above terms maps directly to their counterparts in Go Modules. Some of these setting may be natural to set as OS environment variables. To set the proxy server to use, as an example: ``` env HUGO_MODULE_PROXY=https://proxy.example.org hugo ``` {{< gomodules-info >}} ## Module Config: hugoVersion If your module requires a particular version of Hugo to work, you can indicate that in the `module` section and the user will be warned if using a too old/new version. {{< code-toggle file="config">}} [module] [module.hugoVersion] min = "" max = "" extended = false {{< /code-toggle >}} Any of the above can be omitted. min : The minimum Hugo version supported, e.g. `0.55.0` max : The maximum Hugo version supported, e.g. `0.55.0` extended : Whether the extended version of Hugo is required. ## Module Config: imports {{< code-toggle file="config">}} [module] [[module.imports]] path = "github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v" ignoreConfig = false disable = false [[module.imports]] path = "my-shortcodes" {{< /code-toggle >}} path : Can be either a valid Go Module module path, e.g. `github.com/gohugoio/myShortcodes`, or the directory name for the module as stored in your themes folder. ignoreConfig : If enabled, any module configuration file, e.g. `config.toml`, will not be loaded. Note that this will also stop the loading of any transitive module dependencies. disable : Set to `true` to disable the module while keeping any version info in the `go.*` files. {{< gomodules-info >}} ## Module Config: mounts {{% note %}} When the `mounts` config was introduced in Hugo 0.56.0, we were careful to preserve the existing `staticDir` and similar configuration to make sure all existing sites just continued to work. But you should not have both: if you add a `mounts` section you should remove the old `staticDir` etc. settings. {{% /note %}} {{% warning %}} When you add a mount, the default mount for the concerned target root is ignored: be sure to explicitly add it. {{% /warning %}} **Default mounts** {{< code-toggle file="config">}} [module] [[module.mounts]] source="content" target="content" [[module.mounts]] source="static" target="static" [[module.mounts]] source="layouts" target="layouts" [[module.mounts]] source="data" target="data" [[module.mounts]] source="assets" target="assets" [[module.mounts]] source="i18n" target="i18n" [[module.mounts]] source="archetypes" target="archetypes" {{< /code-toggle >}} source : The source directory of the mount. For the main project, this can be either project-relative or absolute and even a symbolic link. For other modules it must be project-relative. target : Where it should be mounted into Hugo's virtual filesystem. It must start with one of Hugo's component folders: `static`, `content`, `layouts`, `data`, `assets`, `i18n`, or `archetypes`. E.g. `content/blog`. lang : The language code, e.g. "en". Only relevant for `content` mounts, and `static` mounts when in multihost mode.
--- title: Configure Modules linktitle: Configure Modules description: This page describes the configuration options for a module. date: 2019-07-24 categories: [hugo modules] keywords: [themes, source, organization, directories] menu: docs: parent: "modules" weight: 10 weight: 10 sections_weight: 10 toc: true --- ## Module Config: Top level {{< code-toggle file="config">}} [module] noVendor = "" proxy = "direct" noProxy = "none" private = "*.*" replacements = "" {{< /code-toggle >}} noVendor {{< new-in "0.75.0" >}} : A optional Glob pattern matching module paths to skip when vendoring, e.g. "github.com/**" proxy : Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar. noProxy : Comma separated glob list matching paths that should not use the proxy configured above. private : Comma separated glob list matching paths that should be treated as private. replacements {{< new-in "0.77.0" >}} : A comma separated (or a slice) list of module path to directory replacement mapping, e.g. `"github.com/bep/myprettytheme -> ../..,github.com/bep/shortcodes -> /some/path`. This is mostly useful for temporary locally development of a module, and then it makes sense to set it as an OS environment variable, e.g: `env HUGO_MODULE_REPLACEMENTS="github.com/bep/myprettytheme -> ../.."`. Any relative path is relate to [themesDir](https://gohugo.io/getting-started/configuration/#all-configuration-settings), and absolute paths are allowed. Note that the above terms maps directly to their counterparts in Go Modules. Some of these setting may be natural to set as OS environment variables. To set the proxy server to use, as an example: ``` env HUGO_MODULE_PROXY=https://proxy.example.org hugo ``` {{< gomodules-info >}} ## Module Config: hugoVersion If your module requires a particular version of Hugo to work, you can indicate that in the `module` section and the user will be warned if using a too old/new version. {{< code-toggle file="config">}} [module] [module.hugoVersion] min = "" max = "" extended = false {{< /code-toggle >}} Any of the above can be omitted. min : The minimum Hugo version supported, e.g. `0.55.0` max : The maximum Hugo version supported, e.g. `0.55.0` extended : Whether the extended version of Hugo is required. ## Module Config: imports {{< code-toggle file="config">}} [module] [[module.imports]] path = "github.com/gohugoio/hugoTestModules1_linux/modh1_2_1v" ignoreConfig = false disable = false [[module.imports]] path = "my-shortcodes" {{< /code-toggle >}} path : Can be either a valid Go Module module path, e.g. `github.com/gohugoio/myShortcodes`, or the directory name for the module as stored in your themes folder. ignoreConfig : If enabled, any module configuration file, e.g. `config.toml`, will not be loaded. Note that this will also stop the loading of any transitive module dependencies. disable : Set to `true` to disable the module while keeping any version info in the `go.*` files. {{< gomodules-info >}} ## Module Config: mounts {{% note %}} When the `mounts` config was introduced in Hugo 0.56.0, we were careful to preserve the existing `staticDir` and similar configuration to make sure all existing sites just continued to work. But you should not have both: if you add a `mounts` section you should remove the old `staticDir` etc. settings. {{% /note %}} {{% warning %}} When you add a mount, the default mount for the concerned target root is ignored: be sure to explicitly add it. {{% /warning %}} **Default mounts** {{< code-toggle file="config">}} [module] [[module.mounts]] source="content" target="content" [[module.mounts]] source="static" target="static" [[module.mounts]] source="layouts" target="layouts" [[module.mounts]] source="data" target="data" [[module.mounts]] source="assets" target="assets" [[module.mounts]] source="i18n" target="i18n" [[module.mounts]] source="archetypes" target="archetypes" {{< /code-toggle >}} source : The source directory of the mount. For the main project, this can be either project-relative or absolute and even a symbolic link. For other modules it must be project-relative. target : Where it should be mounted into Hugo's virtual filesystem. It must start with one of Hugo's component folders: `static`, `content`, `layouts`, `data`, `assets`, `i18n`, or `archetypes`. E.g. `content/blog`. lang : The language code, e.g. "en". Only relevant for `content` mounts, and `static` mounts when in multihost mode.
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/getting-started/external-learning-resources/hia.jpg
C   %# , #&')*)-0-(0%()(C   (((((((((((((((((((((((((((((((((((((((((((((((((((" X !1AQaq"26t#BRUbr3s$45C%T7D&Scud:!12"AQq3a#4BR$rSb ?R$DDD@DDD@DDD@DDD@O#;ˇ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_?W+_DNT2?W+_O qEdDC#qEdm_9Pm_?W+_DNT2?W+_O qEdDC'>{ whnO,ac_?4r-XFDE#D@DDD@DDD@DDD@DDD@DDD@DD
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./tpl/math/init.go
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package math import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "math" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.Add, []string{"add"}, [][2]string{ {"{{add 1 2}}", "3"}, }, ) ns.AddMethodMapping(ctx.Ceil, nil, [][2]string{ {"{{math.Ceil 2.1}}", "3"}, }, ) ns.AddMethodMapping(ctx.Div, []string{"div"}, [][2]string{ {"{{div 6 3}}", "2"}, }, ) ns.AddMethodMapping(ctx.Floor, nil, [][2]string{ {"{{math.Floor 1.9}}", "1"}, }, ) ns.AddMethodMapping(ctx.Log, nil, [][2]string{ {"{{math.Log 1}}", "0"}, }, ) ns.AddMethodMapping(ctx.Sqrt, nil, [][2]string{ {"{{math.Sqrt 81}}", "9"}, }, ) ns.AddMethodMapping(ctx.Mod, []string{"mod"}, [][2]string{ {"{{mod 15 3}}", "0"}, }, ) ns.AddMethodMapping(ctx.ModBool, []string{"modBool"}, [][2]string{ {"{{modBool 15 3}}", "true"}, }, ) ns.AddMethodMapping(ctx.Mul, []string{"mul"}, [][2]string{ {"{{mul 2 3}}", "6"}, }, ) ns.AddMethodMapping(ctx.Pow, []string{"pow"}, [][2]string{ {"{{math.Pow 2 3}}", "8"}, }, ) ns.AddMethodMapping(ctx.Round, nil, [][2]string{ {"{{math.Round 1.5}}", "2"}, }, ) ns.AddMethodMapping(ctx.Sub, []string{"sub"}, [][2]string{ {"{{sub 3 2}}", "1"}, }, ) return ns } internal.AddTemplateFuncsNamespace(f) }
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package math import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "math" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.Add, []string{"add"}, [][2]string{ {"{{add 1 2}}", "3"}, }, ) ns.AddMethodMapping(ctx.Ceil, nil, [][2]string{ {"{{math.Ceil 2.1}}", "3"}, }, ) ns.AddMethodMapping(ctx.Div, []string{"div"}, [][2]string{ {"{{div 6 3}}", "2"}, }, ) ns.AddMethodMapping(ctx.Floor, nil, [][2]string{ {"{{math.Floor 1.9}}", "1"}, }, ) ns.AddMethodMapping(ctx.Log, nil, [][2]string{ {"{{math.Log 1}}", "0"}, }, ) ns.AddMethodMapping(ctx.Sqrt, nil, [][2]string{ {"{{math.Sqrt 81}}", "9"}, }, ) ns.AddMethodMapping(ctx.Mod, []string{"mod"}, [][2]string{ {"{{mod 15 3}}", "0"}, }, ) ns.AddMethodMapping(ctx.ModBool, []string{"modBool"}, [][2]string{ {"{{modBool 15 3}}", "true"}, }, ) ns.AddMethodMapping(ctx.Mul, []string{"mul"}, [][2]string{ {"{{mul 2 3}}", "6"}, }, ) ns.AddMethodMapping(ctx.Pow, []string{"pow"}, [][2]string{ {"{{math.Pow 2 3}}", "8"}, }, ) ns.AddMethodMapping(ctx.Round, nil, [][2]string{ {"{{math.Round 1.5}}", "2"}, }, ) ns.AddMethodMapping(ctx.Sub, []string{"sub"}, [][2]string{ {"{{sub 3 2}}", "1"}, }, ) return ns } internal.AddTemplateFuncsNamespace(f) }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/static/share/powered-by-hugo-dark.png
PNG  IHDRtEXtSoftwareAdobe ImageReadyqe<PLTEL~@@@e ?wwwUUU@"""333  000```wI_2 DDDo#fffF0~O8L /(g&WDPPP?(-;pppX 7r G%3%8BtRNSD [IDATxi{^{DUjv. 9gOU/{F"^IB@ @@@ @ @@ @]KL̃8l$wtK,'N|8#:9@2*/HYcE;)%5J"LJIuy_ %p@'Y)q̍ǹ)~*./y<KFo1H%pj$tAT"'YpXrQ@qސXqJ`!@8&{FiI0W#)FpSrI~] a 3?fV0)a 3FRb.MRw)шJ$U$ )+[$R5>87E>IT2~,eJ1Z;b}r^?/NxnuSɑ d.5dW]?tSZ}(պbyD0dp GjP w&ˏ#7a;b Gy<I1҆i!OwHdo6)T;u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R] l >Gq& *Unj} @RഀnJq_\˔9-~?n5@  3u 9Lxjow,<}IdX+*qZْH6 1?:e8֛H9!>Y ILW{dגUZCDr*"GTfKoYDteoMe}!@Yd1id3ͬ?,J؇iQZ[|W Ċ bB iԊK6\ [@t"1G-X9Џ dgKCƘs==Xԥ^p\# T*y9ϰQ hChȇ"E3E>Hxǣ@VY<J)y*sAs u^ܺ^JQxa#' Vm0H#-5tiۅz9ݣM薟DcrH{IF9ty#k'É8 };Iwz+i o-so"MA"Dٚhۨ X=f 4oDw[a/~ma#aoN,dh;y|0T$BYlrM`wr/8!{wˆHT.|S-p7oKշ<6.ojN=16~YOnrw]_-K^HFan_&|-:oMgؠӝOVzd+B' 's6k4b#[*ow6!@v$dH%qr@VM٬wNIJّޤKHT2IS '!)pJUTK] Y)7/y rZx<&vz䥒}!xnʊnݰGN"Ma8!s^* w%K$1K`N*Z'y|h qR߮~·׿<B,#yo79GMp5aߘɾ# |c&p$5aטɾ+ lcc@H Wh 5Kc@2L@@ @ @@ @@@ @ (N`vTIENDB`
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./.github/workflows/test.yml
on: [push, pull_request] name: Test jobs: test: env: GOPROXY: https://proxy.golang.org GO111MODULE: on strategy: matrix: go-version: [1.14.x, 1.15.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Install Go uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 with: go-version: ${{ matrix.go-version }} - name: Install Ruby uses: actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526 with: ruby-version: '2.7' - name: Install Python uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df with: python-version: '3.x' - name: Install Mage run: go get github.com/magefile/mage@07afc7d24f4d6d6442305d49552f04fbda5ccb3e - name: Install asciidoctor uses: reitzig/actions-asciidoctor@7570212ae20b63653481675fb1ff62d1073632b0 - name: Checkout code uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Install docutils run: | pip install docutils rst2html.py --version - if: matrix.os == 'ubuntu-latest' name: Install pandoc on Linux run: | sudo apt-get update -y sudo apt-get install -y pandoc - if: matrix.os == 'macos-latest' run: | brew install pandoc - if: matrix.os == 'windows-latest' run: | choco install pandoc - run: pandoc -v - if: matrix.os == 'ubuntu-latest' name: Install dart-sass-embedded Linux run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-linux-x64.tar.gz; echo "642738beaea4ef1b9168446bc105267a2948a5e939537f5bd5afb48159140a44 sass_embedded-1.0.0-beta.5-linux-x64.tar.gz" | sha256sum -c; tar -xvf sass_embedded-1.0.0-beta.5-linux-x64.tar.gz; echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH - if: matrix.os == 'macos-latest' name: Install dart-sass-embedded MacOS run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-macos-x64.tar.gz; echo "47b55a39126155f89fdfb8eea7c19ba976b3f6fadbdb6867e5582a18137bd180 sass_embedded-1.0.0-beta.5-macos-x64.tar.gz" | shasum -a 256 -c; tar -xvf sass_embedded-1.0.0-beta.5-macos-x64.tar.gz; echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH - if: matrix.os == 'windows-latest' name: Install dart-sass-embedded Windows run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-windows-x64.zip; echo "5e65c0d8cbe038b6a120a3e7f390ad731708998f37c2de8ba565c51746a4588c sass_embedded-1.0.0-beta.5-windows-x64.zip" | sha256sum -c; unzip sass_embedded-1.0.0-beta.5-windows-x64.zip; echo "$env:GITHUB_WORKSPACE/sass_embedded/" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf-8 -Append - name: Test run: | mage -v test mage -v check; - name: Build Docs env: HUGO_BUILD_TAGS: extended HUGO_TIMEOUT: 31000 HUGO_IGNOREERRORS: error-remote-getjson run: | mage -v hugo ./hugo -s docs/ ./hugo --renderToMemory -s docs/
on: [push, pull_request] name: Test jobs: test: env: GOPROXY: https://proxy.golang.org GO111MODULE: on strategy: matrix: go-version: [1.14.x, 1.15.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Install Go uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 with: go-version: ${{ matrix.go-version }} - name: Install Ruby uses: actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526 with: ruby-version: '2.7' - name: Install Python uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df with: python-version: '3.x' - name: Install Mage run: go get github.com/magefile/mage@07afc7d24f4d6d6442305d49552f04fbda5ccb3e - name: Install asciidoctor uses: reitzig/actions-asciidoctor@7570212ae20b63653481675fb1ff62d1073632b0 - name: Checkout code uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Install docutils run: | pip install docutils rst2html.py --version - if: matrix.os == 'ubuntu-latest' name: Install pandoc on Linux run: | sudo apt-get update -y sudo apt-get install -y pandoc - if: matrix.os == 'macos-latest' run: | brew install pandoc - if: matrix.os == 'windows-latest' run: | choco install pandoc - run: pandoc -v - if: matrix.os == 'ubuntu-latest' name: Install dart-sass-embedded Linux run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-linux-x64.tar.gz; echo "642738beaea4ef1b9168446bc105267a2948a5e939537f5bd5afb48159140a44 sass_embedded-1.0.0-beta.5-linux-x64.tar.gz" | sha256sum -c; tar -xvf sass_embedded-1.0.0-beta.5-linux-x64.tar.gz; echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH - if: matrix.os == 'macos-latest' name: Install dart-sass-embedded MacOS run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-macos-x64.tar.gz; echo "47b55a39126155f89fdfb8eea7c19ba976b3f6fadbdb6867e5582a18137bd180 sass_embedded-1.0.0-beta.5-macos-x64.tar.gz" | shasum -a 256 -c; tar -xvf sass_embedded-1.0.0-beta.5-macos-x64.tar.gz; echo "$GITHUB_WORKSPACE/sass_embedded/" >> $GITHUB_PATH - if: matrix.os == 'windows-latest' name: Install dart-sass-embedded Windows run: | curl -LJO https://github.com/sass/dart-sass-embedded/releases/download/1.0.0-beta.5/sass_embedded-1.0.0-beta.5-windows-x64.zip; echo "5e65c0d8cbe038b6a120a3e7f390ad731708998f37c2de8ba565c51746a4588c sass_embedded-1.0.0-beta.5-windows-x64.zip" | sha256sum -c; unzip sass_embedded-1.0.0-beta.5-windows-x64.zip; echo "$env:GITHUB_WORKSPACE/sass_embedded/" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf-8 -Append - name: Test run: | mage -v test mage -v check; - name: Build Docs env: HUGO_BUILD_TAGS: extended HUGO_TIMEOUT: 31000 HUGO_IGNOREERRORS: error-remote-getjson run: | mage -v hugo ./hugo -s docs/ ./hugo --renderToMemory -s docs/
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./hugolib/minify_publisher_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "testing" "github.com/spf13/viper" ) func TestMinifyPublisher(t *testing.T) { t.Parallel() v := viper.New() v.Set("minify", true) v.Set("baseURL", "https://example.org/") htmlTemplate := ` <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>HTML5 boilerplate – all you really need…</title> <link rel="stylesheet" href="css/style.css"> <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body id="home"> <h1>{{ .Title }}</h1> <p>{{ .Permalink }}</p> </body> </html> ` b := newTestSitesBuilder(t) b.WithViper(v).WithTemplatesAdded("layouts/index.html", htmlTemplate) b.CreateSites().Build(BuildCfg{}) // Check minification // HTML b.AssertFileContent("public/index.html", "<!doctype html>") // RSS b.AssertFileContent("public/index.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><rss version=\"2.0\" xmlns:atom=\"http://www.w3.org/2005/Atom\"><channel><title/><link>https://example.org/</link>") // Sitemap b.AssertFileContent("public/sitemap.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><url><loc>h") }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "testing" "github.com/spf13/viper" ) func TestMinifyPublisher(t *testing.T) { t.Parallel() v := viper.New() v.Set("minify", true) v.Set("baseURL", "https://example.org/") htmlTemplate := ` <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>HTML5 boilerplate – all you really need…</title> <link rel="stylesheet" href="css/style.css"> <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body id="home"> <h1>{{ .Title }}</h1> <p>{{ .Permalink }}</p> </body> </html> ` b := newTestSitesBuilder(t) b.WithViper(v).WithTemplatesAdded("layouts/index.html", htmlTemplate) b.CreateSites().Build(BuildCfg{}) // Check minification // HTML b.AssertFileContent("public/index.html", "<!doctype html>") // RSS b.AssertFileContent("public/index.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><rss version=\"2.0\" xmlns:atom=\"http://www.w3.org/2005/Atom\"><channel><title/><link>https://example.org/</link>") // Sitemap b.AssertFileContent("public/sitemap.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><url><loc>h") }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/.editorconfig
# https://editorconfig.org root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space trim_trailing_whitespace = true [*.go] indent_size = 8 indent_style = tab [*.js] insert_final_newline = true [*.md] trim_trailing_whitespace = false
# https://editorconfig.org root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space trim_trailing_whitespace = true [*.go] indent_size = 8 indent_style = tab [*.js] insert_final_newline = true [*.md] trim_trailing_whitespace = false
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./publisher/htmlElementsCollector_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package publisher import ( "fmt" "strings" "testing" qt "github.com/frankban/quicktest" ) func TestClassCollector(t *testing.T) { c := qt.New((t)) f := func(tags, classes, ids string) HTMLElements { var tagss, classess, idss []string if tags != "" { tagss = strings.Split(tags, " ") } if classes != "" { classess = strings.Split(classes, " ") } if ids != "" { idss = strings.Split(ids, " ") } return HTMLElements{ Tags: tagss, Classes: classess, IDs: idss, } } for _, test := range []struct { name string html string expect HTMLElements }{ {"basic", `<body class="b a"></body>`, f("body", "a b", "")}, {"duplicates", `<div class="b a b"></div>`, f("div", "a b", "")}, {"single quote", `<body class='b a'></body>`, f("body", "a b", "")}, {"no quote", `<body class=b id=myelement></body>`, f("body", "b", "myelement")}, {"thead", ` https://github.com/gohugoio/hugo/issues/7318 <table class="cl1"> <thead class="cl2"><tr class="cl3"><td class="cl4"></td></tr></thead> <tbody class="cl5"><tr class="cl6"><td class="cl7"></td></tr></tbody> </table>`, f("table tbody td thead tr", "cl1 cl2 cl3 cl4 cl5 cl6 cl7", "")}, // https://github.com/gohugoio/hugo/issues/7161 {"minified a href", `<a class="b a" href=/></a>`, f("a", "a b", "")}, {"AlpineJS bind 1", `<body> <div x-bind:class="{ 'class1': data.open, 'class2 class3': data.foo == 'bar' }"> </div> </body>`, f("body div", "class1 class2 class3", "")}, { "Alpine bind 2", `<div x-bind:class="{ 'bg-black': filter.checked }" class="inline-block mr-1 mb-2 rounded bg-gray-300 px-2 py-2">FOO</div>`, f("div", "bg-black bg-gray-300 inline-block mb-2 mr-1 px-2 py-2 rounded", ""), }, {"Alpine bind 3", `<div x-bind:class="{ 'text-gray-800': !checked, 'text-white': checked }"></div>`, f("div", "text-gray-800 text-white", "")}, {"Alpine bind 4", `<div x-bind:class="{ 'text-gray-800': !checked, 'text-white': checked }"></div>`, f("div", "text-gray-800 text-white", "")}, {"Alpine bind 5", `<a x-bind:class="{ 'text-a': a && b, 'text-b': !a && b || c, 'pl-3': a === 1, pl-2: b == 3, 'text-gray-600': (a > 1) }" class="block w-36 cursor-pointer pr-3 no-underline capitalize"></a>`, f("a", "block capitalize cursor-pointer no-underline pl-2 pl-3 pr-3 text-a text-b text-gray-600 w-36", "")}, {"Alpine transition 1", `<div x-transition:enter-start="opacity-0 transform mobile:-translate-x-8 sm:-translate-y-8">`, f("div", "mobile:-translate-x-8 opacity-0 sm:-translate-y-8 transform", "")}, {"Vue bind", `<div v-bind:class="{ active: isActive }"></div>`, f("div", "active", "")}, // https://github.com/gohugoio/hugo/issues/7746 {"Apostrophe inside attribute value", `<a class="missingclass" title="Plus d'information">my text</a><div></div>`, f("a div", "missingclass", "")}, } { c.Run(test.name, func(c *qt.C) { w := newHTMLElementsCollectorWriter(newHTMLElementsCollector()) fmt.Fprint(w, test.html) got := w.collector.getHTMLElements() c.Assert(got, qt.DeepEquals, test.expect) }) } } func BenchmarkClassCollectorWriter(b *testing.B) { const benchHTML = ` <html> <body id="i1" class="a b c d"> <a class="c d e"></a> <br> <a class="c d e"></a> <a class="c d e"></a> <br> <a id="i2" class="c d e f"></a> <a id="i3" class="c d e"></a> <a class="c d e"></a> <br> <a class="c d e"></a> <a class="c d e"></a> <a class="c d e"></a> <a class="c d e"></a> </body> </html> ` for i := 0; i < b.N; i++ { w := newHTMLElementsCollectorWriter(newHTMLElementsCollector()) fmt.Fprint(w, benchHTML) } }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package publisher import ( "fmt" "strings" "testing" qt "github.com/frankban/quicktest" ) func TestClassCollector(t *testing.T) { c := qt.New((t)) f := func(tags, classes, ids string) HTMLElements { var tagss, classess, idss []string if tags != "" { tagss = strings.Split(tags, " ") } if classes != "" { classess = strings.Split(classes, " ") } if ids != "" { idss = strings.Split(ids, " ") } return HTMLElements{ Tags: tagss, Classes: classess, IDs: idss, } } for _, test := range []struct { name string html string expect HTMLElements }{ {"basic", `<body class="b a"></body>`, f("body", "a b", "")}, {"duplicates", `<div class="b a b"></div>`, f("div", "a b", "")}, {"single quote", `<body class='b a'></body>`, f("body", "a b", "")}, {"no quote", `<body class=b id=myelement></body>`, f("body", "b", "myelement")}, {"thead", ` https://github.com/gohugoio/hugo/issues/7318 <table class="cl1"> <thead class="cl2"><tr class="cl3"><td class="cl4"></td></tr></thead> <tbody class="cl5"><tr class="cl6"><td class="cl7"></td></tr></tbody> </table>`, f("table tbody td thead tr", "cl1 cl2 cl3 cl4 cl5 cl6 cl7", "")}, // https://github.com/gohugoio/hugo/issues/7161 {"minified a href", `<a class="b a" href=/></a>`, f("a", "a b", "")}, {"AlpineJS bind 1", `<body> <div x-bind:class="{ 'class1': data.open, 'class2 class3': data.foo == 'bar' }"> </div> </body>`, f("body div", "class1 class2 class3", "")}, { "Alpine bind 2", `<div x-bind:class="{ 'bg-black': filter.checked }" class="inline-block mr-1 mb-2 rounded bg-gray-300 px-2 py-2">FOO</div>`, f("div", "bg-black bg-gray-300 inline-block mb-2 mr-1 px-2 py-2 rounded", ""), }, {"Alpine bind 3", `<div x-bind:class="{ 'text-gray-800': !checked, 'text-white': checked }"></div>`, f("div", "text-gray-800 text-white", "")}, {"Alpine bind 4", `<div x-bind:class="{ 'text-gray-800': !checked, 'text-white': checked }"></div>`, f("div", "text-gray-800 text-white", "")}, {"Alpine bind 5", `<a x-bind:class="{ 'text-a': a && b, 'text-b': !a && b || c, 'pl-3': a === 1, pl-2: b == 3, 'text-gray-600': (a > 1) }" class="block w-36 cursor-pointer pr-3 no-underline capitalize"></a>`, f("a", "block capitalize cursor-pointer no-underline pl-2 pl-3 pr-3 text-a text-b text-gray-600 w-36", "")}, {"Alpine transition 1", `<div x-transition:enter-start="opacity-0 transform mobile:-translate-x-8 sm:-translate-y-8">`, f("div", "mobile:-translate-x-8 opacity-0 sm:-translate-y-8 transform", "")}, {"Vue bind", `<div v-bind:class="{ active: isActive }"></div>`, f("div", "active", "")}, // https://github.com/gohugoio/hugo/issues/7746 {"Apostrophe inside attribute value", `<a class="missingclass" title="Plus d'information">my text</a><div></div>`, f("a div", "missingclass", "")}, } { c.Run(test.name, func(c *qt.C) { w := newHTMLElementsCollectorWriter(newHTMLElementsCollector()) fmt.Fprint(w, test.html) got := w.collector.getHTMLElements() c.Assert(got, qt.DeepEquals, test.expect) }) } } func BenchmarkClassCollectorWriter(b *testing.B) { const benchHTML = ` <html> <body id="i1" class="a b c d"> <a class="c d e"></a> <br> <a class="c d e"></a> <a class="c d e"></a> <br> <a id="i2" class="c d e f"></a> <a id="i3" class="c d e"></a> <a class="c d e"></a> <br> <a class="c d e"></a> <a class="c d e"></a> <a class="c d e"></a> <a class="c d e"></a> </body> </html> ` for i := 0; i < b.N; i++ { w := newHTMLElementsCollectorWriter(newHTMLElementsCollector()) fmt.Fprint(w, benchHTML) } }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/_vendor/github.com/gohugoio/gohugoioTheme/static/fonts/muli-latin-600italic.woff
wOFFU$GDEF,.cGPOS 'U^\GSUB ܙ_OS/2 Q`jcmap Tecvt tN;fpgm vdzgaspglyf8)ePFheadM 66 "8hheaMD"$thmtxMhAlocaOpmaxpQx ] nameQ'iDpostR*LprepU 96NoxA ~S !B@+񋪉n(%#@xڍpYFi$u0333333' c擡c&EfePS_M[{Lϛ~*%D/zɫDSgXD  '? DzQDk)@}okiA2n a$lm6pS%h&i~:q0CLsvNsqMH[Y~Gxߐ*7f8*2~$Ʌ-U٬ 7[_YWa.-X-JCV4$DA27Uˋ b%NlUM)@\VY#ĊdpUP"/@ lw=J6=Fn(.=Xm?}/Qg X'LsŒ9.Ԛ I2vfXٶK8 nX|80.489$8 WBb }(/] tq<OuĞe6-gV5/}4߂(;UؙZ7)SgqK>&kh8V;i0s>r)>a>*Etc>aYƶzGP6+?V>aDs7뙳[)-a2mLܬfSA363GiCRʴٺۜ_L;+ڶj<1xl~m7z~qΑ֤5룊@+ֆHqݢ_.օs|ĺ}tcF]@¬2u<8#ݝu˄2=Ih6h#FeQY)=¨abݏv\׭/Q0i Tbq$gBU۩^JäVm60nu, /ecr0V]S@kNӬ71߼YF*o n$"Pԅ DhSÀ䃂b"' % e~%T9[hc<^hHShTF 3YB?5EZ"}S"lmlSU WWUx//R^:&a}I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eh  M v 9 J [ l } t D M 0ARc8y 5c}@Q[l*Far M^o+7C`KsO9GnK~) + : a p !!!&!5!D!S!b!q!!!!!"""G"x"""#"#x##$B$N$i$$$$%T%%%&&@&\&x&&&&&&'' ''='b'''(7())c))))**U****+.+R+,Y-0--.b./q///0!0F0c00001=1^1111222r2{22222O F(9 xڍCBPEOv l۶]lYh-trdRgId_8\^c/8J޾qoNyR7Χ5i.k8[ i&E*{sqʑhǪ;eHԅ&Tݒߨ>z{zLqFտWtD:2{gz3l0/Y[km r뺾A);3s;%4XoTSā̾kILxll→mum۶:EmffPm̾RӪ.c2 0s2ӌ 'QD(F$by[I $wg,YΑBMR|bO҈4Vg"&ִa*mG;1L=H'0̑t9]J73c ~qdҋa }b3 " /KY=;x7>'kVv$gUnr<%oW~W-){UI8΄psl fhB3l"pR9K\ WyPsK ǁ,FRVbjV,c(hHE)Z1U╠D%)Y&|e#-/U7A:1%lܕΐ1I.4iW.*xx<iFg{zFuotLufMa40{W0s=4SsQ 7t, "o7aA`o7勷w&]a=oE(,$w\lkHt`ǂ>GP&{)Еs&YWp1M~Y4ճ2GT$~,Sxcp"(b##c_Ɲ  ؝33hۭ8889 <6660i,8|^=  33lTa9eš#9$$phpp0h`ߺw#f6*
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./hugolib/site.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "html/template" "io" "log" "mime" "net/url" "os" "path" "path/filepath" "regexp" "sort" "strconv" "strings" "time" "github.com/gohugoio/hugo/common/constants" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/markup/converter/hooks" "github.com/gohugoio/hugo/resources/resource" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/hugofs/files" "github.com/gohugoio/hugo/common/maps" "github.com/pkg/errors" "github.com/gohugoio/hugo/common/text" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/publisher" _errors "github.com/pkg/errors" "github.com/gohugoio/hugo/langs" "github.com/gohugoio/hugo/resources/page" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/lazy" "github.com/gohugoio/hugo/media" "github.com/fsnotify/fsnotify" bp "github.com/gohugoio/hugo/bufferpool" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/navigation" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/related" "github.com/gohugoio/hugo/resources/page/pagemeta" "github.com/gohugoio/hugo/source" "github.com/gohugoio/hugo/tpl" "github.com/spf13/afero" "github.com/spf13/cast" "github.com/spf13/viper" ) // Site contains all the information relevant for constructing a static // site. The basic flow of information is as follows: // // 1. A list of Files is parsed and then converted into Pages. // // 2. Pages contain sections (based on the file they were generated from), // aliases and slugs (included in a pages frontmatter) which are the // various targets that will get generated. There will be canonical // listing. The canonical path can be overruled based on a pattern. // // 3. Taxonomies are created via configuration and will present some aspect of // the final page and typically a perm url. // // 4. All Pages are passed through a template based on their desired // layout based on numerous different elements. // // 5. The entire collection of files is written to disk. type Site struct { // The owning container. When multiple languages, there will be multiple // sites. h *HugoSites *PageCollections taxonomies TaxonomyList Sections Taxonomy Info *SiteInfo language *langs.Language siteCfg siteConfigHolder disabledKinds map[string]bool enableInlineShortcodes bool // Output formats defined in site config per Page Kind, or some defaults // if not set. // Output formats defined in Page front matter will override these. outputFormats map[string]output.Formats // All the output formats and media types available for this site. // These values will be merged from the Hugo defaults, the site config and, // finally, the language settings. outputFormatsConfig output.Formats mediaTypesConfig media.Types siteConfigConfig SiteConfig // How to handle page front matter. frontmatterHandler pagemeta.FrontMatterHandler // We render each site for all the relevant output formats in serial with // this rendering context pointing to the current one. rc *siteRenderingContext // The output formats that we need to render this site in. This slice // will be fixed once set. // This will be the union of Site.Pages' outputFormats. // This slice will be sorted. renderFormats output.Formats // Logger etc. *deps.Deps `json:"-"` // The func used to title case titles. titleFunc func(s string) string relatedDocsHandler *page.RelatedDocsHandler siteRefLinker publisher publisher.Publisher menus navigation.Menus // Shortcut to the home page. Note that this may be nil if // home page, for some odd reason, is disabled. home *pageState // The last modification date of this site. lastmod time.Time // Lazily loaded site dependencies init *siteInit } func (s *Site) Taxonomies() TaxonomyList { s.init.taxonomies.Do() return s.taxonomies } type taxonomiesConfig map[string]string func (t taxonomiesConfig) Values() []viewName { var vals []viewName for k, v := range t { vals = append(vals, viewName{singular: k, plural: v}) } sort.Slice(vals, func(i, j int) bool { return vals[i].plural < vals[j].plural }) return vals } type siteConfigHolder struct { sitemap config.Sitemap taxonomiesConfig taxonomiesConfig timeout time.Duration hasCJKLanguage bool enableEmoji bool } // Lazily loaded site dependencies. type siteInit struct { prevNext *lazy.Init prevNextInSection *lazy.Init menus *lazy.Init taxonomies *lazy.Init } func (init *siteInit) Reset() { init.prevNext.Reset() init.prevNextInSection.Reset() init.menus.Reset() init.taxonomies.Reset() } func (s *Site) initInit(init *lazy.Init, pctx pageContext) bool { _, err := init.Do() if err != nil { s.h.FatalError(pctx.wrapError(err)) } return err == nil } func (s *Site) prepareInits() { s.init = &siteInit{} var init lazy.Init s.init.prevNext = init.Branch(func() (interface{}, error) { regularPages := s.RegularPages() for i, p := range regularPages { np, ok := p.(nextPrevProvider) if !ok { continue } pos := np.getNextPrev() if pos == nil { continue } pos.nextPage = nil pos.prevPage = nil if i > 0 { pos.nextPage = regularPages[i-1] } if i < len(regularPages)-1 { pos.prevPage = regularPages[i+1] } } return nil, nil }) s.init.prevNextInSection = init.Branch(func() (interface{}, error) { var sections page.Pages s.home.treeRef.m.collectSectionsRecursiveIncludingSelf(pageMapQuery{Prefix: s.home.treeRef.key}, func(n *contentNode) { sections = append(sections, n.p) }) setNextPrev := func(pas page.Pages) { for i, p := range pas { np, ok := p.(nextPrevInSectionProvider) if !ok { continue } pos := np.getNextPrevInSection() if pos == nil { continue } pos.nextPage = nil pos.prevPage = nil if i > 0 { pos.nextPage = pas[i-1] } if i < len(pas)-1 { pos.prevPage = pas[i+1] } } } for _, sect := range sections { treeRef := sect.(treeRefProvider).getTreeRef() var pas page.Pages treeRef.m.collectPages(pageMapQuery{Prefix: treeRef.key + cmBranchSeparator}, func(c *contentNode) { pas = append(pas, c.p) }) page.SortByDefault(pas) setNextPrev(pas) } // The root section only goes one level down. treeRef := s.home.getTreeRef() var pas page.Pages treeRef.m.collectPages(pageMapQuery{Prefix: treeRef.key + cmBranchSeparator}, func(c *contentNode) { pas = append(pas, c.p) }) page.SortByDefault(pas) setNextPrev(pas) return nil, nil }) s.init.menus = init.Branch(func() (interface{}, error) { s.assembleMenus() return nil, nil }) s.init.taxonomies = init.Branch(func() (interface{}, error) { err := s.pageMap.assembleTaxonomies() return nil, err }) } type siteRenderingContext struct { output.Format } func (s *Site) Menus() navigation.Menus { s.init.menus.Do() return s.menus } func (s *Site) initRenderFormats() { formatSet := make(map[string]bool) formats := output.Formats{} s.pageMap.pageTrees.WalkRenderable(func(s string, n *contentNode) bool { for _, f := range n.p.m.configuredOutputFormats { if !formatSet[f.Name] { formats = append(formats, f) formatSet[f.Name] = true } } return false }) // Add the per kind configured output formats for _, kind := range allKindsInPages { if siteFormats, found := s.outputFormats[kind]; found { for _, f := range siteFormats { if !formatSet[f.Name] { formats = append(formats, f) formatSet[f.Name] = true } } } } sort.Sort(formats) s.renderFormats = formats } func (s *Site) GetRelatedDocsHandler() *page.RelatedDocsHandler { return s.relatedDocsHandler } func (s *Site) Language() *langs.Language { return s.language } func (s *Site) isEnabled(kind string) bool { if kind == kindUnknown { panic("Unknown kind") } return !s.disabledKinds[kind] } // reset returns a new Site prepared for rebuild. func (s *Site) reset() *Site { return &Site{ Deps: s.Deps, disabledKinds: s.disabledKinds, titleFunc: s.titleFunc, relatedDocsHandler: s.relatedDocsHandler.Clone(), siteRefLinker: s.siteRefLinker, outputFormats: s.outputFormats, rc: s.rc, outputFormatsConfig: s.outputFormatsConfig, frontmatterHandler: s.frontmatterHandler, mediaTypesConfig: s.mediaTypesConfig, language: s.language, h: s.h, publisher: s.publisher, siteConfigConfig: s.siteConfigConfig, enableInlineShortcodes: s.enableInlineShortcodes, init: s.init, PageCollections: s.PageCollections, siteCfg: s.siteCfg, } } // newSite creates a new site with the given configuration. func newSite(cfg deps.DepsCfg) (*Site, error) { if cfg.Language == nil { cfg.Language = langs.NewDefaultLanguage(cfg.Cfg) } if cfg.Logger == nil { panic("logger must be set") } ignoreErrors := cast.ToStringSlice(cfg.Language.Get("ignoreErrors")) ignorableLogger := loggers.NewIgnorableLogger(cfg.Logger, ignoreErrors...) disabledKinds := make(map[string]bool) for _, disabled := range cast.ToStringSlice(cfg.Language.Get("disableKinds")) { disabledKinds[disabled] = true } if disabledKinds["taxonomyTerm"] { // Correct from the value it had before Hugo 0.73.0. if disabledKinds[page.KindTaxonomy] { disabledKinds[page.KindTerm] = true } else { disabledKinds[page.KindTaxonomy] = true } delete(disabledKinds, "taxonomyTerm") } else if disabledKinds[page.KindTaxonomy] && !disabledKinds[page.KindTerm] { // This is a potentially ambigous situation. It may be correct. ignorableLogger.Errorsf(constants.ErrIDAmbigousDisableKindTaxonomy, `You have the value 'taxonomy' in the disabledKinds list. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term). But this also means that your site configuration may not do what you expect. If it is correct, you can suppress this message by following the instructions below.`) } var ( mediaTypesConfig []map[string]interface{} outputFormatsConfig []map[string]interface{} siteOutputFormatsConfig output.Formats siteMediaTypesConfig media.Types err error ) // Add language last, if set, so it gets precedence. for _, cfg := range []config.Provider{cfg.Cfg, cfg.Language} { if cfg.IsSet("mediaTypes") { mediaTypesConfig = append(mediaTypesConfig, cfg.GetStringMap("mediaTypes")) } if cfg.IsSet("outputFormats") { outputFormatsConfig = append(outputFormatsConfig, cfg.GetStringMap("outputFormats")) } } siteMediaTypesConfig, err = media.DecodeTypes(mediaTypesConfig...) if err != nil { return nil, err } siteOutputFormatsConfig, err = output.DecodeFormats(siteMediaTypesConfig, outputFormatsConfig...) if err != nil { return nil, err } rssDisabled := disabledKinds[kindRSS] if rssDisabled { // Legacy tmp := siteOutputFormatsConfig[:0] for _, x := range siteOutputFormatsConfig { if !strings.EqualFold(x.Name, "rss") { tmp = append(tmp, x) } } siteOutputFormatsConfig = tmp } var siteOutputs map[string]interface{} if cfg.Language.IsSet("outputs") { siteOutputs = cfg.Language.GetStringMap("outputs") // Check and correct taxonomy kinds vs pre Hugo 0.73.0. v1, hasTaxonomyTerm := siteOutputs["taxonomyterm"] v2, hasTaxonomy := siteOutputs[page.KindTaxonomy] _, hasTerm := siteOutputs[page.KindTerm] if hasTaxonomy && hasTaxonomyTerm { siteOutputs[page.KindTaxonomy] = v1 siteOutputs[page.KindTerm] = v2 delete(siteOutputs, "taxonomyTerm") } else if hasTaxonomy && !hasTerm { // This is a potentially ambigous situation. It may be correct. ignorableLogger.Errorsf(constants.ErrIDAmbigousOutputKindTaxonomy, `You have configured output formats for 'taxonomy' in your site configuration. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term). But this also means that your site configuration may not do what you expect. If it is correct, you can suppress this message by following the instructions below.`) } if !hasTaxonomy && hasTaxonomyTerm { siteOutputs[page.KindTaxonomy] = v1 delete(siteOutputs, "taxonomyterm") } } outputFormats, err := createSiteOutputFormats(siteOutputFormatsConfig, siteOutputs, rssDisabled) if err != nil { return nil, err } taxonomies := cfg.Language.GetStringMapString("taxonomies") var relatedContentConfig related.Config if cfg.Language.IsSet("related") { relatedContentConfig, err = related.DecodeConfig(cfg.Language.Get("related")) if err != nil { return nil, err } } else { relatedContentConfig = related.DefaultConfig if _, found := taxonomies["tag"]; found { relatedContentConfig.Add(related.IndexConfig{Name: "tags", Weight: 80}) } } titleFunc := helpers.GetTitleFunc(cfg.Language.GetString("titleCaseStyle")) frontMatterHandler, err := pagemeta.NewFrontmatterHandler(cfg.Logger, cfg.Cfg) if err != nil { return nil, err } timeout := 30 * time.Second if cfg.Language.IsSet("timeout") { v := cfg.Language.Get("timeout") if n := cast.ToInt(v); n > 0 { timeout = time.Duration(n) * time.Millisecond } else { d, err := time.ParseDuration(cast.ToString(v)) if err == nil { timeout = d } } } siteConfig := siteConfigHolder{ sitemap: config.DecodeSitemap(config.Sitemap{Priority: -1, Filename: "sitemap.xml"}, cfg.Language.GetStringMap("sitemap")), taxonomiesConfig: taxonomies, timeout: timeout, hasCJKLanguage: cfg.Language.GetBool("hasCJKLanguage"), enableEmoji: cfg.Language.Cfg.GetBool("enableEmoji"), } s := &Site{ language: cfg.Language, disabledKinds: disabledKinds, outputFormats: outputFormats, outputFormatsConfig: siteOutputFormatsConfig, mediaTypesConfig: siteMediaTypesConfig, enableInlineShortcodes: cfg.Language.GetBool("enableInlineShortcodes"), siteCfg: siteConfig, titleFunc: titleFunc, rc: &siteRenderingContext{output.HTMLFormat}, frontmatterHandler: frontMatterHandler, relatedDocsHandler: page.NewRelatedDocsHandler(relatedContentConfig), } s.prepareInits() return s, nil } // NewSite creates a new site with the given dependency configuration. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. func NewSite(cfg deps.DepsCfg) (*Site, error) { s, err := newSite(cfg) if err != nil { return nil, err } if err = applyDeps(cfg, s); err != nil { return nil, err } return s, nil } // NewSiteDefaultLang creates a new site in the default language. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. // TODO(bep) test refactor -- remove func NewSiteDefaultLang(withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { v := viper.New() if err := loadDefaultSettingsFor(v); err != nil { return nil, err } return newSiteForLang(langs.NewDefaultLanguage(v), withTemplate...) } // NewEnglishSite creates a new site in English language. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. // TODO(bep) test refactor -- remove func NewEnglishSite(withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { v := viper.New() if err := loadDefaultSettingsFor(v); err != nil { return nil, err } return newSiteForLang(langs.NewLanguage("en", v), withTemplate...) } // newSiteForLang creates a new site in the given language. func newSiteForLang(lang *langs.Language, withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { withTemplates := func(templ tpl.TemplateManager) error { for _, wt := range withTemplate { if err := wt(templ); err != nil { return err } } return nil } cfg := deps.DepsCfg{WithTemplate: withTemplates, Cfg: lang} return NewSiteForCfg(cfg) } // NewSiteForCfg creates a new site for the given configuration. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. func NewSiteForCfg(cfg deps.DepsCfg) (*Site, error) { h, err := NewHugoSites(cfg) if err != nil { return nil, err } return h.Sites[0], nil } type SiteInfo struct { Authors page.AuthorList Social SiteSocial hugoInfo hugo.Info title string RSSLink string Author map[string]interface{} LanguageCode string Copyright string permalinks map[string]string LanguagePrefix string Languages langs.Languages BuildDrafts bool canonifyURLs bool relativeURLs bool uglyURLs func(p page.Page) bool owner *HugoSites s *Site language *langs.Language defaultContentLanguageInSubdir bool sectionPagesMenu string } func (s *SiteInfo) Pages() page.Pages { return s.s.Pages() } func (s *SiteInfo) RegularPages() page.Pages { return s.s.RegularPages() } func (s *SiteInfo) AllPages() page.Pages { return s.s.AllPages() } func (s *SiteInfo) AllRegularPages() page.Pages { return s.s.AllRegularPages() } func (s *SiteInfo) Permalinks() map[string]string { // Remove in 0.61 helpers.Deprecated(".Site.Permalinks", "", true) return s.permalinks } func (s *SiteInfo) LastChange() time.Time { return s.s.lastmod } func (s *SiteInfo) Title() string { return s.title } func (s *SiteInfo) Site() page.Site { return s } func (s *SiteInfo) Menus() navigation.Menus { return s.s.Menus() } // TODO(bep) type func (s *SiteInfo) Taxonomies() interface{} { return s.s.Taxonomies() } func (s *SiteInfo) Params() maps.Params { return s.s.Language().Params() } func (s *SiteInfo) Data() map[string]interface{} { return s.s.h.Data() } func (s *SiteInfo) Language() *langs.Language { return s.language } func (s *SiteInfo) Config() SiteConfig { return s.s.siteConfigConfig } func (s *SiteInfo) Hugo() hugo.Info { return s.hugoInfo } // Sites is a convenience method to get all the Hugo sites/languages configured. func (s *SiteInfo) Sites() page.Sites { return s.s.h.siteInfos() } func (s *SiteInfo) String() string { return fmt.Sprintf("Site(%q)", s.title) } func (s *SiteInfo) BaseURL() template.URL { return template.URL(s.s.PathSpec.BaseURL.String()) } // ServerPort returns the port part of the BaseURL, 0 if none found. func (s *SiteInfo) ServerPort() int { ps := s.s.PathSpec.BaseURL.URL().Port() if ps == "" { return 0 } p, err := strconv.Atoi(ps) if err != nil { return 0 } return p } // GoogleAnalytics is kept here for historic reasons. func (s *SiteInfo) GoogleAnalytics() string { return s.Config().Services.GoogleAnalytics.ID } // DisqusShortname is kept here for historic reasons. func (s *SiteInfo) DisqusShortname() string { return s.Config().Services.Disqus.Shortname } // SiteSocial is a place to put social details on a site level. These are the // standard keys that themes will expect to have available, but can be // expanded to any others on a per site basis // github // facebook // facebook_admin // twitter // twitter_domain // pinterest // instagram // youtube // linkedin type SiteSocial map[string]string // Param is a convenience method to do lookups in SiteInfo's Params map. // // This method is also implemented on Page. func (s *SiteInfo) Param(key interface{}) (interface{}, error) { return resource.Param(s, nil, key) } func (s *SiteInfo) IsMultiLingual() bool { return len(s.Languages) > 1 } func (s *SiteInfo) IsServer() bool { return s.owner.running } type siteRefLinker struct { s *Site errorLogger *log.Logger notFoundURL string } func newSiteRefLinker(cfg config.Provider, s *Site) (siteRefLinker, error) { logger := s.Log.Error() notFoundURL := cfg.GetString("refLinksNotFoundURL") errLevel := cfg.GetString("refLinksErrorLevel") if strings.EqualFold(errLevel, "warning") { logger = s.Log.Warn() } return siteRefLinker{s: s, errorLogger: logger, notFoundURL: notFoundURL}, nil } func (s siteRefLinker) logNotFound(ref, what string, p page.Page, position text.Position) { if position.IsValid() { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q: %s: %s", s.s.Lang(), ref, position.String(), what) } else if p == nil { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q: %s", s.s.Lang(), ref, what) } else { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q from page %q: %s", s.s.Lang(), ref, p.Path(), what) } } func (s *siteRefLinker) refLink(ref string, source interface{}, relative bool, outputFormat string) (string, error) { p, err := unwrapPage(source) if err != nil { return "", err } var refURL *url.URL ref = filepath.ToSlash(ref) refURL, err = url.Parse(ref) if err != nil { return s.notFoundURL, err } var target page.Page var link string if refURL.Path != "" { var err error target, err = s.s.getPageRef(p, refURL.Path) var pos text.Position if err != nil || target == nil { if p, ok := source.(text.Positioner); ok { pos = p.Position() } } if err != nil { s.logNotFound(refURL.Path, err.Error(), p, pos) return s.notFoundURL, nil } if target == nil { s.logNotFound(refURL.Path, "page not found", p, pos) return s.notFoundURL, nil } var permalinker Permalinker = target if outputFormat != "" { o := target.OutputFormats().Get(outputFormat) if o == nil { s.logNotFound(refURL.Path, fmt.Sprintf("output format %q", outputFormat), p, pos) return s.notFoundURL, nil } permalinker = o } if relative { link = permalinker.RelPermalink() } else { link = permalinker.Permalink() } } if refURL.Fragment != "" { _ = target link = link + "#" + refURL.Fragment if pctx, ok := target.(pageContext); ok { if refURL.Path != "" { if di, ok := pctx.getContentConverter().(converter.DocumentInfo); ok { link = link + di.AnchorSuffix() } } } else if pctx, ok := p.(pageContext); ok { if di, ok := pctx.getContentConverter().(converter.DocumentInfo); ok { link = link + di.AnchorSuffix() } } } return link, nil } func (s *Site) running() bool { return s.h != nil && s.h.running } func (s *Site) multilingual() *Multilingual { return s.h.multilingual } type whatChanged struct { source bool files map[string]bool } // RegisterMediaTypes will register the Site's media types in the mime // package, so it will behave correctly with Hugo's built-in server. func (s *Site) RegisterMediaTypes() { for _, mt := range s.mediaTypesConfig { for _, suffix := range mt.Suffixes { _ = mime.AddExtensionType(mt.Delimiter+suffix, mt.Type()+"; charset=utf-8") } } } func (s *Site) filterFileEvents(events []fsnotify.Event) []fsnotify.Event { var filtered []fsnotify.Event seen := make(map[fsnotify.Event]bool) for _, ev := range events { // Avoid processing the same event twice. if seen[ev] { continue } seen[ev] = true if s.SourceSpec.IgnoreFile(ev.Name) { continue } // Throw away any directories isRegular, err := s.SourceSpec.IsRegularSourceFile(ev.Name) if err != nil && os.IsNotExist(err) && (ev.Op&fsnotify.Remove == fsnotify.Remove || ev.Op&fsnotify.Rename == fsnotify.Rename) { // Force keep of event isRegular = true } if !isRegular { continue } filtered = append(filtered, ev) } return filtered } func (s *Site) translateFileEvents(events []fsnotify.Event) []fsnotify.Event { var filtered []fsnotify.Event eventMap := make(map[string][]fsnotify.Event) // We often get a Remove etc. followed by a Create, a Create followed by a Write. // Remove the superfluous events to mage the update logic simpler. for _, ev := range events { eventMap[ev.Name] = append(eventMap[ev.Name], ev) } for _, ev := range events { mapped := eventMap[ev.Name] // Keep one found := false var kept fsnotify.Event for i, ev2 := range mapped { if i == 0 { kept = ev2 } if ev2.Op&fsnotify.Write == fsnotify.Write { kept = ev2 found = true } if !found && ev2.Op&fsnotify.Create == fsnotify.Create { kept = ev2 } } filtered = append(filtered, kept) } return filtered } var ( // These are only used for cache busting, so false positives are fine. // We also deliberately do not match for file suffixes to also catch // directory names. // TODO(bep) consider this when completing the relevant PR rewrite on this. cssFileRe = regexp.MustCompile("(css|sass|scss)") cssConfigRe = regexp.MustCompile(`(postcss|tailwind)\.config\.js`) jsFileRe = regexp.MustCompile("(js|ts|jsx|tsx)") ) // reBuild partially rebuilds a site given the filesystem events. // It returns whatever the content source was changed. // TODO(bep) clean up/rewrite this method. func (s *Site) processPartial(config *BuildCfg, init func(config *BuildCfg) error, events []fsnotify.Event) error { events = s.filterFileEvents(events) events = s.translateFileEvents(events) changeIdentities := make(identity.Identities) s.Log.Debug().Printf("Rebuild for events %q", events) h := s.h // First we need to determine what changed var ( sourceChanged = []fsnotify.Event{} sourceReallyChanged = []fsnotify.Event{} contentFilesChanged []string tmplChanged bool tmplAdded bool dataChanged bool i18nChanged bool sourceFilesChanged = make(map[string]bool) // prevent spamming the log on changes logger = helpers.NewDistinctFeedbackLogger() ) var cachePartitions []string // Special case // TODO(bep) I have a ongoing branch where I have redone the cache. Consider this there. var ( evictCSSRe *regexp.Regexp evictJSRe *regexp.Regexp ) for _, ev := range events { if assetsFilename, _ := s.BaseFs.Assets.MakePathRelative(ev.Name); assetsFilename != "" { cachePartitions = append(cachePartitions, resources.ResourceKeyPartitions(assetsFilename)...) if evictCSSRe == nil { if cssFileRe.MatchString(assetsFilename) || cssConfigRe.MatchString(assetsFilename) { evictCSSRe = cssFileRe } } if evictJSRe == nil && jsFileRe.MatchString(assetsFilename) { evictJSRe = jsFileRe } } id, found := s.eventToIdentity(ev) if found { changeIdentities[id] = id switch id.Type { case files.ComponentFolderContent: logger.Println("Source changed", ev) sourceChanged = append(sourceChanged, ev) case files.ComponentFolderLayouts: tmplChanged = true if !s.Tmpl().HasTemplate(id.Path) { tmplAdded = true } if tmplAdded { logger.Println("Template added", ev) } else { logger.Println("Template changed", ev) } case files.ComponentFolderData: logger.Println("Data changed", ev) dataChanged = true case files.ComponentFolderI18n: logger.Println("i18n changed", ev) i18nChanged = true } } } changed := &whatChanged{ source: len(sourceChanged) > 0, files: sourceFilesChanged, } config.whatChanged = changed if err := init(config); err != nil { return err } // These in memory resource caches will be rebuilt on demand. for _, s := range s.h.Sites { s.ResourceSpec.ResourceCache.DeletePartitions(cachePartitions...) if evictCSSRe != nil { s.ResourceSpec.ResourceCache.DeleteMatches(evictCSSRe) } if evictJSRe != nil { s.ResourceSpec.ResourceCache.DeleteMatches(evictJSRe) } } if tmplChanged || i18nChanged { sites := s.h.Sites first := sites[0] s.h.init.Reset() // TOD(bep) globals clean if err := first.Deps.LoadResources(); err != nil { return err } for i := 1; i < len(sites); i++ { site := sites[i] var err error depsCfg := deps.DepsCfg{ Language: site.language, MediaTypes: site.mediaTypesConfig, OutputFormats: site.outputFormatsConfig, } site.Deps, err = first.Deps.ForLanguage(depsCfg, func(d *deps.Deps) error { d.Site = site.Info return nil }) if err != nil { return err } } } if dataChanged { s.h.init.data.Reset() } for _, ev := range sourceChanged { removed := false if ev.Op&fsnotify.Remove == fsnotify.Remove { removed = true } // Some editors (Vim) sometimes issue only a Rename operation when writing an existing file // Sometimes a rename operation means that file has been renamed other times it means // it's been updated if ev.Op&fsnotify.Rename == fsnotify.Rename { // If the file is still on disk, it's only been updated, if it's not, it's been moved if ex, err := afero.Exists(s.Fs.Source, ev.Name); !ex || err != nil { removed = true } } if removed && files.IsContentFile(ev.Name) { h.removePageByFilename(ev.Name) } sourceReallyChanged = append(sourceReallyChanged, ev) sourceFilesChanged[ev.Name] = true } if config.ErrRecovery || tmplAdded || dataChanged { h.resetPageState() } else { h.resetPageStateFromEvents(changeIdentities) } if len(sourceReallyChanged) > 0 || len(contentFilesChanged) > 0 { var filenamesChanged []string for _, e := range sourceReallyChanged { filenamesChanged = append(filenamesChanged, e.Name) } if len(contentFilesChanged) > 0 { filenamesChanged = append(filenamesChanged, contentFilesChanged...) } filenamesChanged = helpers.UniqueStringsReuse(filenamesChanged) if err := s.readAndProcessContent(filenamesChanged...); err != nil { return err } } return nil } func (s *Site) process(config BuildCfg) (err error) { if err = s.initialize(); err != nil { err = errors.Wrap(err, "initialize") return } if err = s.readAndProcessContent(); err != nil { err = errors.Wrap(err, "readAndProcessContent") return } return err } func (s *Site) render(ctx *siteRenderContext) (err error) { if err := page.Clear(); err != nil { return err } if ctx.outIdx == 0 { // Note that even if disableAliases is set, the aliases themselves are // preserved on page. The motivation with this is to be able to generate // 301 redirects in a .htacess file and similar using a custom output format. if !s.Cfg.GetBool("disableAliases") { // Aliases must be rendered before pages. // Some sites, Hugo docs included, have faulty alias definitions that point // to itself or another real page. These will be overwritten in the next // step. if err = s.renderAliases(); err != nil { return } } } if err = s.renderPages(ctx); err != nil { return } if ctx.outIdx == 0 { if err = s.renderSitemap(); err != nil { return } if ctx.multihost { if err = s.renderRobotsTXT(); err != nil { return } } if err = s.render404(); err != nil { return } } if !ctx.renderSingletonPages() { return } if err = s.renderMainLanguageRedirect(); err != nil { return } return } func (s *Site) Initialise() (err error) { return s.initialize() } func (s *Site) initialize() (err error) { return s.initializeSiteInfo() } // HomeAbsURL is a convenience method giving the absolute URL to the home page. func (s *SiteInfo) HomeAbsURL() string { base := "" if s.IsMultiLingual() { base = s.Language().Lang } return s.owner.AbsURL(base, false) } // SitemapAbsURL is a convenience method giving the absolute URL to the sitemap. func (s *SiteInfo) SitemapAbsURL() string { p := s.HomeAbsURL() if !strings.HasSuffix(p, "/") { p += "/" } p += s.s.siteCfg.sitemap.Filename return p } func (s *Site) initializeSiteInfo() error { var ( lang = s.language languages langs.Languages ) if s.h != nil && s.h.multilingual != nil { languages = s.h.multilingual.Languages } permalinks := s.Cfg.GetStringMapString("permalinks") defaultContentInSubDir := s.Cfg.GetBool("defaultContentLanguageInSubdir") defaultContentLanguage := s.Cfg.GetString("defaultContentLanguage") languagePrefix := "" if s.multilingualEnabled() && (defaultContentInSubDir || lang.Lang != defaultContentLanguage) { languagePrefix = "/" + lang.Lang } uglyURLs := func(p page.Page) bool { return false } v := s.Cfg.Get("uglyURLs") if v != nil { switch vv := v.(type) { case bool: uglyURLs = func(p page.Page) bool { return vv } case string: // Is what be get from CLI (--uglyURLs) vvv := cast.ToBool(vv) uglyURLs = func(p page.Page) bool { return vvv } default: m := cast.ToStringMapBool(v) uglyURLs = func(p page.Page) bool { return m[p.Section()] } } } s.Info = &SiteInfo{ title: lang.GetString("title"), Author: lang.GetStringMap("author"), Social: lang.GetStringMapString("social"), LanguageCode: lang.GetString("languageCode"), Copyright: lang.GetString("copyright"), language: lang, LanguagePrefix: languagePrefix, Languages: languages, defaultContentLanguageInSubdir: defaultContentInSubDir, sectionPagesMenu: lang.GetString("sectionPagesMenu"), BuildDrafts: s.Cfg.GetBool("buildDrafts"), canonifyURLs: s.Cfg.GetBool("canonifyURLs"), relativeURLs: s.Cfg.GetBool("relativeURLs"), uglyURLs: uglyURLs, permalinks: permalinks, owner: s.h, s: s, hugoInfo: hugo.NewInfo(s.Cfg.GetString("environment")), } rssOutputFormat, found := s.outputFormats[page.KindHome].GetByName(output.RSSFormat.Name) if found { s.Info.RSSLink = s.permalink(rssOutputFormat.BaseFilename()) } return nil } func (s *Site) eventToIdentity(e fsnotify.Event) (identity.PathIdentity, bool) { for _, fs := range s.BaseFs.SourceFilesystems.FileSystems() { if p := fs.Path(e.Name); p != "" { return identity.NewPathIdentity(fs.Name, filepath.ToSlash(p)), true } } return identity.PathIdentity{}, false } func (s *Site) readAndProcessContent(filenames ...string) error { sourceSpec := source.NewSourceSpec(s.PathSpec, s.BaseFs.Content.Fs) proc := newPagesProcessor(s.h, sourceSpec) c := newPagesCollector(sourceSpec, s.h.getContentMaps(), s.Log, s.h.ContentChanges, proc, filenames...) if err := c.Collect(); err != nil { return err } return nil } func (s *Site) getMenusFromConfig() navigation.Menus { ret := navigation.Menus{} if menus := s.language.GetStringMap("menus"); menus != nil { for name, menu := range menus { m, err := cast.ToSliceE(menu) if err != nil { s.Log.Errorf("unable to process menus in site config\n") s.Log.Errorln(err) } else { for _, entry := range m { s.Log.Debug().Printf("found menu: %q, in site config\n", name) menuEntry := navigation.MenuEntry{Menu: name} ime, err := maps.ToStringMapE(entry) if err != nil { s.Log.Errorf("unable to process menus in site config\n") s.Log.Errorln(err) } menuEntry.MarshallMap(ime) // TODO(bep) clean up all of this menuEntry.ConfiguredURL = s.Info.createNodeMenuEntryURL(menuEntry.ConfiguredURL) if ret[name] == nil { ret[name] = navigation.Menu{} } ret[name] = ret[name].Add(&menuEntry) } } } return ret } return ret } func (s *SiteInfo) createNodeMenuEntryURL(in string) string { if !strings.HasPrefix(in, "/") { return in } // make it match the nodes menuEntryURL := in menuEntryURL = helpers.SanitizeURLKeepTrailingSlash(s.s.PathSpec.URLize(menuEntryURL)) if !s.canonifyURLs { menuEntryURL = helpers.AddContextRoot(s.s.PathSpec.BaseURL.String(), menuEntryURL) } return menuEntryURL } func (s *Site) assembleMenus() { s.menus = make(navigation.Menus) type twoD struct { MenuName, EntryName string } flat := map[twoD]*navigation.MenuEntry{} children := map[twoD]navigation.Menu{} // add menu entries from config to flat hash menuConfig := s.getMenusFromConfig() for name, menu := range menuConfig { for _, me := range menu { flat[twoD{name, me.KeyName()}] = me } } sectionPagesMenu := s.Info.sectionPagesMenu if sectionPagesMenu != "" { s.pageMap.sections.Walk(func(s string, v interface{}) bool { p := v.(*contentNode).p if p.IsHome() { return false } // From Hugo 0.22 we have nested sections, but until we get a // feel of how that would work in this setting, let us keep // this menu for the top level only. id := p.Section() if _, ok := flat[twoD{sectionPagesMenu, id}]; ok { return false } me := navigation.MenuEntry{ Identifier: id, Name: p.LinkTitle(), Weight: p.Weight(), Page: p, } flat[twoD{sectionPagesMenu, me.KeyName()}] = &me return false }) } // Add menu entries provided by pages s.pageMap.pageTrees.WalkRenderable(func(ss string, n *contentNode) bool { p := n.p for name, me := range p.pageMenus.menus() { if _, ok := flat[twoD{name, me.KeyName()}]; ok { err := p.wrapError(errors.Errorf("duplicate menu entry with identifier %q in menu %q", me.KeyName(), name)) s.Log.Warnln(err) continue } flat[twoD{name, me.KeyName()}] = me } return false }) // Create Children Menus First for _, e := range flat { if e.Parent != "" { children[twoD{e.Menu, e.Parent}] = children[twoD{e.Menu, e.Parent}].Add(e) } } // Placing Children in Parents (in flat) for p, childmenu := range children { _, ok := flat[twoD{p.MenuName, p.EntryName}] if !ok { // if parent does not exist, create one without a URL flat[twoD{p.MenuName, p.EntryName}] = &navigation.MenuEntry{Name: p.EntryName} } flat[twoD{p.MenuName, p.EntryName}].Children = childmenu } // Assembling Top Level of Tree for menu, e := range flat { if e.Parent == "" { _, ok := s.menus[menu.MenuName] if !ok { s.menus[menu.MenuName] = navigation.Menu{} } s.menus[menu.MenuName] = s.menus[menu.MenuName].Add(e) } } } // get any language code to prefix the target file path with. func (s *Site) getLanguageTargetPathLang(alwaysInSubDir bool) string { if s.h.IsMultihost() { return s.Language().Lang } return s.getLanguagePermalinkLang(alwaysInSubDir) } // get any lanaguagecode to prefix the relative permalink with. func (s *Site) getLanguagePermalinkLang(alwaysInSubDir bool) string { if !s.Info.IsMultiLingual() || s.h.IsMultihost() { return "" } if alwaysInSubDir { return s.Language().Lang } isDefault := s.Language().Lang == s.multilingual().DefaultLang.Lang if !isDefault || s.Info.defaultContentLanguageInSubdir { return s.Language().Lang } return "" } func (s *Site) getTaxonomyKey(key string) string { if s.PathSpec.DisablePathToLower { return s.PathSpec.MakePath(key) } return strings.ToLower(s.PathSpec.MakePath(key)) } // Prepare site for a new full build. func (s *Site) resetBuildState(sourceChanged bool) { s.relatedDocsHandler = s.relatedDocsHandler.Clone() s.init.Reset() if sourceChanged { s.pageMap.contentMap.pageReverseIndex.Reset() s.PageCollections = newPageCollections(s.pageMap) s.pageMap.withEveryBundlePage(func(p *pageState) bool { p.pagePages = &pagePages{} if p.bucket != nil { p.bucket.pagesMapBucketPages = &pagesMapBucketPages{} } p.parent = nil p.Scratcher = maps.NewScratcher() return false }) } else { s.pageMap.withEveryBundlePage(func(p *pageState) bool { p.Scratcher = maps.NewScratcher() return false }) } } func (s *Site) errorCollator(results <-chan error, errs chan<- error) { var errors []error for e := range results { errors = append(errors, e) } errs <- s.h.pickOneAndLogTheRest(errors) close(errs) } // GetPage looks up a page of a given type for the given ref. // In Hugo <= 0.44 you had to add Page Kind (section, home) etc. as the first // argument and then either a unix styled path (with or without a leading slash)) // or path elements separated. // When we now remove the Kind from this API, we need to make the transition as painless // as possible for existing sites. Most sites will use {{ .Site.GetPage "section" "my/section" }}, // i.e. 2 arguments, so we test for that. func (s *SiteInfo) GetPage(ref ...string) (page.Page, error) { p, err := s.s.getPageOldVersion(ref...) if p == nil { // The nil struct has meaning in some situations, mostly to avoid breaking // existing sites doing $nilpage.IsDescendant($p), which will always return // false. p = page.NilPage } return p, err } func (s *SiteInfo) GetPageWithTemplateInfo(info tpl.Info, ref ...string) (page.Page, error) { p, err := s.GetPage(ref...) if p != nil { // Track pages referenced by templates/shortcodes // when in server mode. if im, ok := info.(identity.Manager); ok { im.Add(p) } } return p, err } func (s *Site) permalink(link string) string { return s.PathSpec.PermalinkForBaseURL(link, s.PathSpec.BaseURL.String()) } func (s *Site) absURLPath(targetPath string) string { var path string if s.Info.relativeURLs { path = helpers.GetDottedRelativePath(targetPath) } else { url := s.PathSpec.BaseURL.String() if !strings.HasSuffix(url, "/") { url += "/" } path = url } return path } func (s *Site) lookupLayouts(layouts ...string) tpl.Template { for _, l := range layouts { if templ, found := s.Tmpl().Lookup(l); found { return templ } } return nil } func (s *Site) renderAndWriteXML(statCounter *uint64, name string, targetPath string, d interface{}, templ tpl.Template) error { s.Log.Debug().Printf("Render XML for %q to %q", name, targetPath) renderBuffer := bp.GetBuffer() defer bp.PutBuffer(renderBuffer) if err := s.renderForTemplate(name, "", d, renderBuffer, templ); err != nil { return err } pd := publisher.Descriptor{ Src: renderBuffer, TargetPath: targetPath, StatCounter: statCounter, // For the minification part of XML, // we currently only use the MIME type. OutputFormat: output.RSSFormat, AbsURLPath: s.absURLPath(targetPath), } return s.publisher.Publish(pd) } func (s *Site) renderAndWritePage(statCounter *uint64, name string, targetPath string, p *pageState, templ tpl.Template) error { s.Log.Debug().Printf("Render %s to %q", name, targetPath) renderBuffer := bp.GetBuffer() defer bp.PutBuffer(renderBuffer) of := p.outputFormat() if err := s.renderForTemplate(p.Kind(), of.Name, p, renderBuffer, templ); err != nil { return err } if renderBuffer.Len() == 0 { return nil } isHTML := of.IsHTML isRSS := of.Name == "RSS" pd := publisher.Descriptor{ Src: renderBuffer, TargetPath: targetPath, StatCounter: statCounter, OutputFormat: p.outputFormat(), } if isRSS { // Always canonify URLs in RSS pd.AbsURLPath = s.absURLPath(targetPath) } else if isHTML { if s.Info.relativeURLs || s.Info.canonifyURLs { pd.AbsURLPath = s.absURLPath(targetPath) } if s.running() && s.Cfg.GetBool("watch") && !s.Cfg.GetBool("disableLiveReload") { pd.LiveReloadBaseURL = s.PathSpec.BaseURL.URL() if s.Cfg.GetInt("liveReloadPort") != -1 { pd.LiveReloadBaseURL.Host = fmt.Sprintf("%s:%d", pd.LiveReloadBaseURL.Hostname(), s.Cfg.GetInt("liveReloadPort")) } } // For performance reasons we only inject the Hugo generator tag on the home page. if p.IsHome() { pd.AddHugoGeneratorTag = !s.Cfg.GetBool("disableHugoGeneratorInject") } } return s.publisher.Publish(pd) } var infoOnMissingLayout = map[string]bool{ // The 404 layout is very much optional in Hugo, but we do look for it. "404": true, } // hookRenderer is the canonical implementation of all hooks.ITEMRenderer, // where ITEM is the thing being hooked. type hookRenderer struct { templateHandler tpl.TemplateHandler identity.SearchProvider templ tpl.Template } func (hr hookRenderer) RenderLink(w io.Writer, ctx hooks.LinkContext) error { return hr.templateHandler.Execute(hr.templ, w, ctx) } func (hr hookRenderer) RenderHeading(w io.Writer, ctx hooks.HeadingContext) error { return hr.templateHandler.Execute(hr.templ, w, ctx) } func (s *Site) renderForTemplate(name, outputFormat string, d interface{}, w io.Writer, templ tpl.Template) (err error) { if templ == nil { s.logMissingLayout(name, "", "", outputFormat) return nil } if err = s.Tmpl().Execute(templ, w, d); err != nil { return _errors.Wrapf(err, "render of %q failed", name) } return } func (s *Site) lookupTemplate(layouts ...string) (tpl.Template, bool) { for _, l := range layouts { if templ, found := s.Tmpl().Lookup(l); found { return templ, true } } return nil, false } func (s *Site) publish(statCounter *uint64, path string, r io.Reader) (err error) { s.PathSpec.ProcessingStats.Incr(statCounter) return helpers.WriteToDisk(filepath.Clean(path), r, s.BaseFs.PublishFs) } func (s *Site) kindFromFileInfoOrSections(fi *fileInfo, sections []string) string { if fi.TranslationBaseName() == "_index" { if fi.Dir() == "" { return page.KindHome } return s.kindFromSections(sections) } return page.KindPage } func (s *Site) kindFromSections(sections []string) string { if len(sections) == 0 { return page.KindHome } return s.kindFromSectionPath(path.Join(sections...)) } func (s *Site) kindFromSectionPath(sectionPath string) string { for _, plural := range s.siteCfg.taxonomiesConfig { if plural == sectionPath { return page.KindTaxonomy } if strings.HasPrefix(sectionPath, plural) { return page.KindTerm } } return page.KindSection } func (s *Site) newPage( n *contentNode, parentbBucket *pagesMapBucket, kind, title string, sections ...string) *pageState { m := map[string]interface{}{} if title != "" { m["title"] = title } p, err := newPageFromMeta( n, parentbBucket, m, &pageMeta{ s: s, kind: kind, sections: sections, }) if err != nil { panic(err) } return p } func (s *Site) shouldBuild(p page.Page) bool { return shouldBuild(s.BuildFuture, s.BuildExpired, s.BuildDrafts, p.Draft(), p.PublishDate(), p.ExpiryDate()) } func shouldBuild(buildFuture bool, buildExpired bool, buildDrafts bool, Draft bool, publishDate time.Time, expiryDate time.Time) bool { if !(buildDrafts || !Draft) { return false } if !buildFuture && !publishDate.IsZero() && publishDate.After(time.Now()) { return false } if !buildExpired && !expiryDate.IsZero() && expiryDate.Before(time.Now()) { return false } return true }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "html/template" "io" "log" "mime" "net/url" "os" "path" "path/filepath" "regexp" "sort" "strconv" "strings" "time" "github.com/gohugoio/hugo/common/constants" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/markup/converter/hooks" "github.com/gohugoio/hugo/resources/resource" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/hugofs/files" "github.com/gohugoio/hugo/common/maps" "github.com/pkg/errors" "github.com/gohugoio/hugo/common/text" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/publisher" _errors "github.com/pkg/errors" "github.com/gohugoio/hugo/langs" "github.com/gohugoio/hugo/resources/page" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/lazy" "github.com/gohugoio/hugo/media" "github.com/fsnotify/fsnotify" bp "github.com/gohugoio/hugo/bufferpool" "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/navigation" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/related" "github.com/gohugoio/hugo/resources/page/pagemeta" "github.com/gohugoio/hugo/source" "github.com/gohugoio/hugo/tpl" "github.com/spf13/afero" "github.com/spf13/cast" "github.com/spf13/viper" ) // Site contains all the information relevant for constructing a static // site. The basic flow of information is as follows: // // 1. A list of Files is parsed and then converted into Pages. // // 2. Pages contain sections (based on the file they were generated from), // aliases and slugs (included in a pages frontmatter) which are the // various targets that will get generated. There will be canonical // listing. The canonical path can be overruled based on a pattern. // // 3. Taxonomies are created via configuration and will present some aspect of // the final page and typically a perm url. // // 4. All Pages are passed through a template based on their desired // layout based on numerous different elements. // // 5. The entire collection of files is written to disk. type Site struct { // The owning container. When multiple languages, there will be multiple // sites. h *HugoSites *PageCollections taxonomies TaxonomyList Sections Taxonomy Info *SiteInfo language *langs.Language siteCfg siteConfigHolder disabledKinds map[string]bool enableInlineShortcodes bool // Output formats defined in site config per Page Kind, or some defaults // if not set. // Output formats defined in Page front matter will override these. outputFormats map[string]output.Formats // All the output formats and media types available for this site. // These values will be merged from the Hugo defaults, the site config and, // finally, the language settings. outputFormatsConfig output.Formats mediaTypesConfig media.Types siteConfigConfig SiteConfig // How to handle page front matter. frontmatterHandler pagemeta.FrontMatterHandler // We render each site for all the relevant output formats in serial with // this rendering context pointing to the current one. rc *siteRenderingContext // The output formats that we need to render this site in. This slice // will be fixed once set. // This will be the union of Site.Pages' outputFormats. // This slice will be sorted. renderFormats output.Formats // Logger etc. *deps.Deps `json:"-"` // The func used to title case titles. titleFunc func(s string) string relatedDocsHandler *page.RelatedDocsHandler siteRefLinker publisher publisher.Publisher menus navigation.Menus // Shortcut to the home page. Note that this may be nil if // home page, for some odd reason, is disabled. home *pageState // The last modification date of this site. lastmod time.Time // Lazily loaded site dependencies init *siteInit } func (s *Site) Taxonomies() TaxonomyList { s.init.taxonomies.Do() return s.taxonomies } type taxonomiesConfig map[string]string func (t taxonomiesConfig) Values() []viewName { var vals []viewName for k, v := range t { vals = append(vals, viewName{singular: k, plural: v}) } sort.Slice(vals, func(i, j int) bool { return vals[i].plural < vals[j].plural }) return vals } type siteConfigHolder struct { sitemap config.Sitemap taxonomiesConfig taxonomiesConfig timeout time.Duration hasCJKLanguage bool enableEmoji bool } // Lazily loaded site dependencies. type siteInit struct { prevNext *lazy.Init prevNextInSection *lazy.Init menus *lazy.Init taxonomies *lazy.Init } func (init *siteInit) Reset() { init.prevNext.Reset() init.prevNextInSection.Reset() init.menus.Reset() init.taxonomies.Reset() } func (s *Site) initInit(init *lazy.Init, pctx pageContext) bool { _, err := init.Do() if err != nil { s.h.FatalError(pctx.wrapError(err)) } return err == nil } func (s *Site) prepareInits() { s.init = &siteInit{} var init lazy.Init s.init.prevNext = init.Branch(func() (interface{}, error) { regularPages := s.RegularPages() for i, p := range regularPages { np, ok := p.(nextPrevProvider) if !ok { continue } pos := np.getNextPrev() if pos == nil { continue } pos.nextPage = nil pos.prevPage = nil if i > 0 { pos.nextPage = regularPages[i-1] } if i < len(regularPages)-1 { pos.prevPage = regularPages[i+1] } } return nil, nil }) s.init.prevNextInSection = init.Branch(func() (interface{}, error) { var sections page.Pages s.home.treeRef.m.collectSectionsRecursiveIncludingSelf(pageMapQuery{Prefix: s.home.treeRef.key}, func(n *contentNode) { sections = append(sections, n.p) }) setNextPrev := func(pas page.Pages) { for i, p := range pas { np, ok := p.(nextPrevInSectionProvider) if !ok { continue } pos := np.getNextPrevInSection() if pos == nil { continue } pos.nextPage = nil pos.prevPage = nil if i > 0 { pos.nextPage = pas[i-1] } if i < len(pas)-1 { pos.prevPage = pas[i+1] } } } for _, sect := range sections { treeRef := sect.(treeRefProvider).getTreeRef() var pas page.Pages treeRef.m.collectPages(pageMapQuery{Prefix: treeRef.key + cmBranchSeparator}, func(c *contentNode) { pas = append(pas, c.p) }) page.SortByDefault(pas) setNextPrev(pas) } // The root section only goes one level down. treeRef := s.home.getTreeRef() var pas page.Pages treeRef.m.collectPages(pageMapQuery{Prefix: treeRef.key + cmBranchSeparator}, func(c *contentNode) { pas = append(pas, c.p) }) page.SortByDefault(pas) setNextPrev(pas) return nil, nil }) s.init.menus = init.Branch(func() (interface{}, error) { s.assembleMenus() return nil, nil }) s.init.taxonomies = init.Branch(func() (interface{}, error) { err := s.pageMap.assembleTaxonomies() return nil, err }) } type siteRenderingContext struct { output.Format } func (s *Site) Menus() navigation.Menus { s.init.menus.Do() return s.menus } func (s *Site) initRenderFormats() { formatSet := make(map[string]bool) formats := output.Formats{} s.pageMap.pageTrees.WalkRenderable(func(s string, n *contentNode) bool { for _, f := range n.p.m.configuredOutputFormats { if !formatSet[f.Name] { formats = append(formats, f) formatSet[f.Name] = true } } return false }) // Add the per kind configured output formats for _, kind := range allKindsInPages { if siteFormats, found := s.outputFormats[kind]; found { for _, f := range siteFormats { if !formatSet[f.Name] { formats = append(formats, f) formatSet[f.Name] = true } } } } sort.Sort(formats) s.renderFormats = formats } func (s *Site) GetRelatedDocsHandler() *page.RelatedDocsHandler { return s.relatedDocsHandler } func (s *Site) Language() *langs.Language { return s.language } func (s *Site) isEnabled(kind string) bool { if kind == kindUnknown { panic("Unknown kind") } return !s.disabledKinds[kind] } // reset returns a new Site prepared for rebuild. func (s *Site) reset() *Site { return &Site{ Deps: s.Deps, disabledKinds: s.disabledKinds, titleFunc: s.titleFunc, relatedDocsHandler: s.relatedDocsHandler.Clone(), siteRefLinker: s.siteRefLinker, outputFormats: s.outputFormats, rc: s.rc, outputFormatsConfig: s.outputFormatsConfig, frontmatterHandler: s.frontmatterHandler, mediaTypesConfig: s.mediaTypesConfig, language: s.language, h: s.h, publisher: s.publisher, siteConfigConfig: s.siteConfigConfig, enableInlineShortcodes: s.enableInlineShortcodes, init: s.init, PageCollections: s.PageCollections, siteCfg: s.siteCfg, } } // newSite creates a new site with the given configuration. func newSite(cfg deps.DepsCfg) (*Site, error) { if cfg.Language == nil { cfg.Language = langs.NewDefaultLanguage(cfg.Cfg) } if cfg.Logger == nil { panic("logger must be set") } ignoreErrors := cast.ToStringSlice(cfg.Language.Get("ignoreErrors")) ignorableLogger := loggers.NewIgnorableLogger(cfg.Logger, ignoreErrors...) disabledKinds := make(map[string]bool) for _, disabled := range cast.ToStringSlice(cfg.Language.Get("disableKinds")) { disabledKinds[disabled] = true } if disabledKinds["taxonomyTerm"] { // Correct from the value it had before Hugo 0.73.0. if disabledKinds[page.KindTaxonomy] { disabledKinds[page.KindTerm] = true } else { disabledKinds[page.KindTaxonomy] = true } delete(disabledKinds, "taxonomyTerm") } else if disabledKinds[page.KindTaxonomy] && !disabledKinds[page.KindTerm] { // This is a potentially ambigous situation. It may be correct. ignorableLogger.Errorsf(constants.ErrIDAmbigousDisableKindTaxonomy, `You have the value 'taxonomy' in the disabledKinds list. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term). But this also means that your site configuration may not do what you expect. If it is correct, you can suppress this message by following the instructions below.`) } var ( mediaTypesConfig []map[string]interface{} outputFormatsConfig []map[string]interface{} siteOutputFormatsConfig output.Formats siteMediaTypesConfig media.Types err error ) // Add language last, if set, so it gets precedence. for _, cfg := range []config.Provider{cfg.Cfg, cfg.Language} { if cfg.IsSet("mediaTypes") { mediaTypesConfig = append(mediaTypesConfig, cfg.GetStringMap("mediaTypes")) } if cfg.IsSet("outputFormats") { outputFormatsConfig = append(outputFormatsConfig, cfg.GetStringMap("outputFormats")) } } siteMediaTypesConfig, err = media.DecodeTypes(mediaTypesConfig...) if err != nil { return nil, err } siteOutputFormatsConfig, err = output.DecodeFormats(siteMediaTypesConfig, outputFormatsConfig...) if err != nil { return nil, err } rssDisabled := disabledKinds[kindRSS] if rssDisabled { // Legacy tmp := siteOutputFormatsConfig[:0] for _, x := range siteOutputFormatsConfig { if !strings.EqualFold(x.Name, "rss") { tmp = append(tmp, x) } } siteOutputFormatsConfig = tmp } var siteOutputs map[string]interface{} if cfg.Language.IsSet("outputs") { siteOutputs = cfg.Language.GetStringMap("outputs") // Check and correct taxonomy kinds vs pre Hugo 0.73.0. v1, hasTaxonomyTerm := siteOutputs["taxonomyterm"] v2, hasTaxonomy := siteOutputs[page.KindTaxonomy] _, hasTerm := siteOutputs[page.KindTerm] if hasTaxonomy && hasTaxonomyTerm { siteOutputs[page.KindTaxonomy] = v1 siteOutputs[page.KindTerm] = v2 delete(siteOutputs, "taxonomyTerm") } else if hasTaxonomy && !hasTerm { // This is a potentially ambigous situation. It may be correct. ignorableLogger.Errorsf(constants.ErrIDAmbigousOutputKindTaxonomy, `You have configured output formats for 'taxonomy' in your site configuration. In Hugo 0.73.0 we fixed these to be what most people expect (taxonomy and term). But this also means that your site configuration may not do what you expect. If it is correct, you can suppress this message by following the instructions below.`) } if !hasTaxonomy && hasTaxonomyTerm { siteOutputs[page.KindTaxonomy] = v1 delete(siteOutputs, "taxonomyterm") } } outputFormats, err := createSiteOutputFormats(siteOutputFormatsConfig, siteOutputs, rssDisabled) if err != nil { return nil, err } taxonomies := cfg.Language.GetStringMapString("taxonomies") var relatedContentConfig related.Config if cfg.Language.IsSet("related") { relatedContentConfig, err = related.DecodeConfig(cfg.Language.Get("related")) if err != nil { return nil, err } } else { relatedContentConfig = related.DefaultConfig if _, found := taxonomies["tag"]; found { relatedContentConfig.Add(related.IndexConfig{Name: "tags", Weight: 80}) } } titleFunc := helpers.GetTitleFunc(cfg.Language.GetString("titleCaseStyle")) frontMatterHandler, err := pagemeta.NewFrontmatterHandler(cfg.Logger, cfg.Cfg) if err != nil { return nil, err } timeout := 30 * time.Second if cfg.Language.IsSet("timeout") { v := cfg.Language.Get("timeout") if n := cast.ToInt(v); n > 0 { timeout = time.Duration(n) * time.Millisecond } else { d, err := time.ParseDuration(cast.ToString(v)) if err == nil { timeout = d } } } siteConfig := siteConfigHolder{ sitemap: config.DecodeSitemap(config.Sitemap{Priority: -1, Filename: "sitemap.xml"}, cfg.Language.GetStringMap("sitemap")), taxonomiesConfig: taxonomies, timeout: timeout, hasCJKLanguage: cfg.Language.GetBool("hasCJKLanguage"), enableEmoji: cfg.Language.Cfg.GetBool("enableEmoji"), } s := &Site{ language: cfg.Language, disabledKinds: disabledKinds, outputFormats: outputFormats, outputFormatsConfig: siteOutputFormatsConfig, mediaTypesConfig: siteMediaTypesConfig, enableInlineShortcodes: cfg.Language.GetBool("enableInlineShortcodes"), siteCfg: siteConfig, titleFunc: titleFunc, rc: &siteRenderingContext{output.HTMLFormat}, frontmatterHandler: frontMatterHandler, relatedDocsHandler: page.NewRelatedDocsHandler(relatedContentConfig), } s.prepareInits() return s, nil } // NewSite creates a new site with the given dependency configuration. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. func NewSite(cfg deps.DepsCfg) (*Site, error) { s, err := newSite(cfg) if err != nil { return nil, err } if err = applyDeps(cfg, s); err != nil { return nil, err } return s, nil } // NewSiteDefaultLang creates a new site in the default language. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. // TODO(bep) test refactor -- remove func NewSiteDefaultLang(withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { v := viper.New() if err := loadDefaultSettingsFor(v); err != nil { return nil, err } return newSiteForLang(langs.NewDefaultLanguage(v), withTemplate...) } // NewEnglishSite creates a new site in English language. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. // TODO(bep) test refactor -- remove func NewEnglishSite(withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { v := viper.New() if err := loadDefaultSettingsFor(v); err != nil { return nil, err } return newSiteForLang(langs.NewLanguage("en", v), withTemplate...) } // newSiteForLang creates a new site in the given language. func newSiteForLang(lang *langs.Language, withTemplate ...func(templ tpl.TemplateManager) error) (*Site, error) { withTemplates := func(templ tpl.TemplateManager) error { for _, wt := range withTemplate { if err := wt(templ); err != nil { return err } } return nil } cfg := deps.DepsCfg{WithTemplate: withTemplates, Cfg: lang} return NewSiteForCfg(cfg) } // NewSiteForCfg creates a new site for the given configuration. // The site will have a template system loaded and ready to use. // Note: This is mainly used in single site tests. func NewSiteForCfg(cfg deps.DepsCfg) (*Site, error) { h, err := NewHugoSites(cfg) if err != nil { return nil, err } return h.Sites[0], nil } type SiteInfo struct { Authors page.AuthorList Social SiteSocial hugoInfo hugo.Info title string RSSLink string Author map[string]interface{} LanguageCode string Copyright string permalinks map[string]string LanguagePrefix string Languages langs.Languages BuildDrafts bool canonifyURLs bool relativeURLs bool uglyURLs func(p page.Page) bool owner *HugoSites s *Site language *langs.Language defaultContentLanguageInSubdir bool sectionPagesMenu string } func (s *SiteInfo) Pages() page.Pages { return s.s.Pages() } func (s *SiteInfo) RegularPages() page.Pages { return s.s.RegularPages() } func (s *SiteInfo) AllPages() page.Pages { return s.s.AllPages() } func (s *SiteInfo) AllRegularPages() page.Pages { return s.s.AllRegularPages() } func (s *SiteInfo) Permalinks() map[string]string { // Remove in 0.61 helpers.Deprecated(".Site.Permalinks", "", true) return s.permalinks } func (s *SiteInfo) LastChange() time.Time { return s.s.lastmod } func (s *SiteInfo) Title() string { return s.title } func (s *SiteInfo) Site() page.Site { return s } func (s *SiteInfo) Menus() navigation.Menus { return s.s.Menus() } // TODO(bep) type func (s *SiteInfo) Taxonomies() interface{} { return s.s.Taxonomies() } func (s *SiteInfo) Params() maps.Params { return s.s.Language().Params() } func (s *SiteInfo) Data() map[string]interface{} { return s.s.h.Data() } func (s *SiteInfo) Language() *langs.Language { return s.language } func (s *SiteInfo) Config() SiteConfig { return s.s.siteConfigConfig } func (s *SiteInfo) Hugo() hugo.Info { return s.hugoInfo } // Sites is a convenience method to get all the Hugo sites/languages configured. func (s *SiteInfo) Sites() page.Sites { return s.s.h.siteInfos() } func (s *SiteInfo) String() string { return fmt.Sprintf("Site(%q)", s.title) } func (s *SiteInfo) BaseURL() template.URL { return template.URL(s.s.PathSpec.BaseURL.String()) } // ServerPort returns the port part of the BaseURL, 0 if none found. func (s *SiteInfo) ServerPort() int { ps := s.s.PathSpec.BaseURL.URL().Port() if ps == "" { return 0 } p, err := strconv.Atoi(ps) if err != nil { return 0 } return p } // GoogleAnalytics is kept here for historic reasons. func (s *SiteInfo) GoogleAnalytics() string { return s.Config().Services.GoogleAnalytics.ID } // DisqusShortname is kept here for historic reasons. func (s *SiteInfo) DisqusShortname() string { return s.Config().Services.Disqus.Shortname } // SiteSocial is a place to put social details on a site level. These are the // standard keys that themes will expect to have available, but can be // expanded to any others on a per site basis // github // facebook // facebook_admin // twitter // twitter_domain // pinterest // instagram // youtube // linkedin type SiteSocial map[string]string // Param is a convenience method to do lookups in SiteInfo's Params map. // // This method is also implemented on Page. func (s *SiteInfo) Param(key interface{}) (interface{}, error) { return resource.Param(s, nil, key) } func (s *SiteInfo) IsMultiLingual() bool { return len(s.Languages) > 1 } func (s *SiteInfo) IsServer() bool { return s.owner.running } type siteRefLinker struct { s *Site errorLogger *log.Logger notFoundURL string } func newSiteRefLinker(cfg config.Provider, s *Site) (siteRefLinker, error) { logger := s.Log.Error() notFoundURL := cfg.GetString("refLinksNotFoundURL") errLevel := cfg.GetString("refLinksErrorLevel") if strings.EqualFold(errLevel, "warning") { logger = s.Log.Warn() } return siteRefLinker{s: s, errorLogger: logger, notFoundURL: notFoundURL}, nil } func (s siteRefLinker) logNotFound(ref, what string, p page.Page, position text.Position) { if position.IsValid() { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q: %s: %s", s.s.Lang(), ref, position.String(), what) } else if p == nil { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q: %s", s.s.Lang(), ref, what) } else { s.errorLogger.Printf("[%s] REF_NOT_FOUND: Ref %q from page %q: %s", s.s.Lang(), ref, p.Path(), what) } } func (s *siteRefLinker) refLink(ref string, source interface{}, relative bool, outputFormat string) (string, error) { p, err := unwrapPage(source) if err != nil { return "", err } var refURL *url.URL ref = filepath.ToSlash(ref) refURL, err = url.Parse(ref) if err != nil { return s.notFoundURL, err } var target page.Page var link string if refURL.Path != "" { var err error target, err = s.s.getPageRef(p, refURL.Path) var pos text.Position if err != nil || target == nil { if p, ok := source.(text.Positioner); ok { pos = p.Position() } } if err != nil { s.logNotFound(refURL.Path, err.Error(), p, pos) return s.notFoundURL, nil } if target == nil { s.logNotFound(refURL.Path, "page not found", p, pos) return s.notFoundURL, nil } var permalinker Permalinker = target if outputFormat != "" { o := target.OutputFormats().Get(outputFormat) if o == nil { s.logNotFound(refURL.Path, fmt.Sprintf("output format %q", outputFormat), p, pos) return s.notFoundURL, nil } permalinker = o } if relative { link = permalinker.RelPermalink() } else { link = permalinker.Permalink() } } if refURL.Fragment != "" { _ = target link = link + "#" + refURL.Fragment if pctx, ok := target.(pageContext); ok { if refURL.Path != "" { if di, ok := pctx.getContentConverter().(converter.DocumentInfo); ok { link = link + di.AnchorSuffix() } } } else if pctx, ok := p.(pageContext); ok { if di, ok := pctx.getContentConverter().(converter.DocumentInfo); ok { link = link + di.AnchorSuffix() } } } return link, nil } func (s *Site) running() bool { return s.h != nil && s.h.running } func (s *Site) multilingual() *Multilingual { return s.h.multilingual } type whatChanged struct { source bool files map[string]bool } // RegisterMediaTypes will register the Site's media types in the mime // package, so it will behave correctly with Hugo's built-in server. func (s *Site) RegisterMediaTypes() { for _, mt := range s.mediaTypesConfig { for _, suffix := range mt.Suffixes { _ = mime.AddExtensionType(mt.Delimiter+suffix, mt.Type()+"; charset=utf-8") } } } func (s *Site) filterFileEvents(events []fsnotify.Event) []fsnotify.Event { var filtered []fsnotify.Event seen := make(map[fsnotify.Event]bool) for _, ev := range events { // Avoid processing the same event twice. if seen[ev] { continue } seen[ev] = true if s.SourceSpec.IgnoreFile(ev.Name) { continue } // Throw away any directories isRegular, err := s.SourceSpec.IsRegularSourceFile(ev.Name) if err != nil && os.IsNotExist(err) && (ev.Op&fsnotify.Remove == fsnotify.Remove || ev.Op&fsnotify.Rename == fsnotify.Rename) { // Force keep of event isRegular = true } if !isRegular { continue } filtered = append(filtered, ev) } return filtered } func (s *Site) translateFileEvents(events []fsnotify.Event) []fsnotify.Event { var filtered []fsnotify.Event eventMap := make(map[string][]fsnotify.Event) // We often get a Remove etc. followed by a Create, a Create followed by a Write. // Remove the superfluous events to mage the update logic simpler. for _, ev := range events { eventMap[ev.Name] = append(eventMap[ev.Name], ev) } for _, ev := range events { mapped := eventMap[ev.Name] // Keep one found := false var kept fsnotify.Event for i, ev2 := range mapped { if i == 0 { kept = ev2 } if ev2.Op&fsnotify.Write == fsnotify.Write { kept = ev2 found = true } if !found && ev2.Op&fsnotify.Create == fsnotify.Create { kept = ev2 } } filtered = append(filtered, kept) } return filtered } var ( // These are only used for cache busting, so false positives are fine. // We also deliberately do not match for file suffixes to also catch // directory names. // TODO(bep) consider this when completing the relevant PR rewrite on this. cssFileRe = regexp.MustCompile("(css|sass|scss)") cssConfigRe = regexp.MustCompile(`(postcss|tailwind)\.config\.js`) jsFileRe = regexp.MustCompile("(js|ts|jsx|tsx)") ) // reBuild partially rebuilds a site given the filesystem events. // It returns whatever the content source was changed. // TODO(bep) clean up/rewrite this method. func (s *Site) processPartial(config *BuildCfg, init func(config *BuildCfg) error, events []fsnotify.Event) error { events = s.filterFileEvents(events) events = s.translateFileEvents(events) changeIdentities := make(identity.Identities) s.Log.Debug().Printf("Rebuild for events %q", events) h := s.h // First we need to determine what changed var ( sourceChanged = []fsnotify.Event{} sourceReallyChanged = []fsnotify.Event{} contentFilesChanged []string tmplChanged bool tmplAdded bool dataChanged bool i18nChanged bool sourceFilesChanged = make(map[string]bool) // prevent spamming the log on changes logger = helpers.NewDistinctFeedbackLogger() ) var cachePartitions []string // Special case // TODO(bep) I have a ongoing branch where I have redone the cache. Consider this there. var ( evictCSSRe *regexp.Regexp evictJSRe *regexp.Regexp ) for _, ev := range events { if assetsFilename, _ := s.BaseFs.Assets.MakePathRelative(ev.Name); assetsFilename != "" { cachePartitions = append(cachePartitions, resources.ResourceKeyPartitions(assetsFilename)...) if evictCSSRe == nil { if cssFileRe.MatchString(assetsFilename) || cssConfigRe.MatchString(assetsFilename) { evictCSSRe = cssFileRe } } if evictJSRe == nil && jsFileRe.MatchString(assetsFilename) { evictJSRe = jsFileRe } } id, found := s.eventToIdentity(ev) if found { changeIdentities[id] = id switch id.Type { case files.ComponentFolderContent: logger.Println("Source changed", ev) sourceChanged = append(sourceChanged, ev) case files.ComponentFolderLayouts: tmplChanged = true if !s.Tmpl().HasTemplate(id.Path) { tmplAdded = true } if tmplAdded { logger.Println("Template added", ev) } else { logger.Println("Template changed", ev) } case files.ComponentFolderData: logger.Println("Data changed", ev) dataChanged = true case files.ComponentFolderI18n: logger.Println("i18n changed", ev) i18nChanged = true } } } changed := &whatChanged{ source: len(sourceChanged) > 0, files: sourceFilesChanged, } config.whatChanged = changed if err := init(config); err != nil { return err } // These in memory resource caches will be rebuilt on demand. for _, s := range s.h.Sites { s.ResourceSpec.ResourceCache.DeletePartitions(cachePartitions...) if evictCSSRe != nil { s.ResourceSpec.ResourceCache.DeleteMatches(evictCSSRe) } if evictJSRe != nil { s.ResourceSpec.ResourceCache.DeleteMatches(evictJSRe) } } if tmplChanged || i18nChanged { sites := s.h.Sites first := sites[0] s.h.init.Reset() // TOD(bep) globals clean if err := first.Deps.LoadResources(); err != nil { return err } for i := 1; i < len(sites); i++ { site := sites[i] var err error depsCfg := deps.DepsCfg{ Language: site.language, MediaTypes: site.mediaTypesConfig, OutputFormats: site.outputFormatsConfig, } site.Deps, err = first.Deps.ForLanguage(depsCfg, func(d *deps.Deps) error { d.Site = site.Info return nil }) if err != nil { return err } } } if dataChanged { s.h.init.data.Reset() } for _, ev := range sourceChanged { removed := false if ev.Op&fsnotify.Remove == fsnotify.Remove { removed = true } // Some editors (Vim) sometimes issue only a Rename operation when writing an existing file // Sometimes a rename operation means that file has been renamed other times it means // it's been updated if ev.Op&fsnotify.Rename == fsnotify.Rename { // If the file is still on disk, it's only been updated, if it's not, it's been moved if ex, err := afero.Exists(s.Fs.Source, ev.Name); !ex || err != nil { removed = true } } if removed && files.IsContentFile(ev.Name) { h.removePageByFilename(ev.Name) } sourceReallyChanged = append(sourceReallyChanged, ev) sourceFilesChanged[ev.Name] = true } if config.ErrRecovery || tmplAdded || dataChanged { h.resetPageState() } else { h.resetPageStateFromEvents(changeIdentities) } if len(sourceReallyChanged) > 0 || len(contentFilesChanged) > 0 { var filenamesChanged []string for _, e := range sourceReallyChanged { filenamesChanged = append(filenamesChanged, e.Name) } if len(contentFilesChanged) > 0 { filenamesChanged = append(filenamesChanged, contentFilesChanged...) } filenamesChanged = helpers.UniqueStringsReuse(filenamesChanged) if err := s.readAndProcessContent(filenamesChanged...); err != nil { return err } } return nil } func (s *Site) process(config BuildCfg) (err error) { if err = s.initialize(); err != nil { err = errors.Wrap(err, "initialize") return } if err = s.readAndProcessContent(); err != nil { err = errors.Wrap(err, "readAndProcessContent") return } return err } func (s *Site) render(ctx *siteRenderContext) (err error) { if err := page.Clear(); err != nil { return err } if ctx.outIdx == 0 { // Note that even if disableAliases is set, the aliases themselves are // preserved on page. The motivation with this is to be able to generate // 301 redirects in a .htacess file and similar using a custom output format. if !s.Cfg.GetBool("disableAliases") { // Aliases must be rendered before pages. // Some sites, Hugo docs included, have faulty alias definitions that point // to itself or another real page. These will be overwritten in the next // step. if err = s.renderAliases(); err != nil { return } } } if err = s.renderPages(ctx); err != nil { return } if ctx.outIdx == 0 { if err = s.renderSitemap(); err != nil { return } if ctx.multihost { if err = s.renderRobotsTXT(); err != nil { return } } if err = s.render404(); err != nil { return } } if !ctx.renderSingletonPages() { return } if err = s.renderMainLanguageRedirect(); err != nil { return } return } func (s *Site) Initialise() (err error) { return s.initialize() } func (s *Site) initialize() (err error) { return s.initializeSiteInfo() } // HomeAbsURL is a convenience method giving the absolute URL to the home page. func (s *SiteInfo) HomeAbsURL() string { base := "" if s.IsMultiLingual() { base = s.Language().Lang } return s.owner.AbsURL(base, false) } // SitemapAbsURL is a convenience method giving the absolute URL to the sitemap. func (s *SiteInfo) SitemapAbsURL() string { p := s.HomeAbsURL() if !strings.HasSuffix(p, "/") { p += "/" } p += s.s.siteCfg.sitemap.Filename return p } func (s *Site) initializeSiteInfo() error { var ( lang = s.language languages langs.Languages ) if s.h != nil && s.h.multilingual != nil { languages = s.h.multilingual.Languages } permalinks := s.Cfg.GetStringMapString("permalinks") defaultContentInSubDir := s.Cfg.GetBool("defaultContentLanguageInSubdir") defaultContentLanguage := s.Cfg.GetString("defaultContentLanguage") languagePrefix := "" if s.multilingualEnabled() && (defaultContentInSubDir || lang.Lang != defaultContentLanguage) { languagePrefix = "/" + lang.Lang } uglyURLs := func(p page.Page) bool { return false } v := s.Cfg.Get("uglyURLs") if v != nil { switch vv := v.(type) { case bool: uglyURLs = func(p page.Page) bool { return vv } case string: // Is what be get from CLI (--uglyURLs) vvv := cast.ToBool(vv) uglyURLs = func(p page.Page) bool { return vvv } default: m := cast.ToStringMapBool(v) uglyURLs = func(p page.Page) bool { return m[p.Section()] } } } s.Info = &SiteInfo{ title: lang.GetString("title"), Author: lang.GetStringMap("author"), Social: lang.GetStringMapString("social"), LanguageCode: lang.GetString("languageCode"), Copyright: lang.GetString("copyright"), language: lang, LanguagePrefix: languagePrefix, Languages: languages, defaultContentLanguageInSubdir: defaultContentInSubDir, sectionPagesMenu: lang.GetString("sectionPagesMenu"), BuildDrafts: s.Cfg.GetBool("buildDrafts"), canonifyURLs: s.Cfg.GetBool("canonifyURLs"), relativeURLs: s.Cfg.GetBool("relativeURLs"), uglyURLs: uglyURLs, permalinks: permalinks, owner: s.h, s: s, hugoInfo: hugo.NewInfo(s.Cfg.GetString("environment")), } rssOutputFormat, found := s.outputFormats[page.KindHome].GetByName(output.RSSFormat.Name) if found { s.Info.RSSLink = s.permalink(rssOutputFormat.BaseFilename()) } return nil } func (s *Site) eventToIdentity(e fsnotify.Event) (identity.PathIdentity, bool) { for _, fs := range s.BaseFs.SourceFilesystems.FileSystems() { if p := fs.Path(e.Name); p != "" { return identity.NewPathIdentity(fs.Name, filepath.ToSlash(p)), true } } return identity.PathIdentity{}, false } func (s *Site) readAndProcessContent(filenames ...string) error { sourceSpec := source.NewSourceSpec(s.PathSpec, s.BaseFs.Content.Fs) proc := newPagesProcessor(s.h, sourceSpec) c := newPagesCollector(sourceSpec, s.h.getContentMaps(), s.Log, s.h.ContentChanges, proc, filenames...) if err := c.Collect(); err != nil { return err } return nil } func (s *Site) getMenusFromConfig() navigation.Menus { ret := navigation.Menus{} if menus := s.language.GetStringMap("menus"); menus != nil { for name, menu := range menus { m, err := cast.ToSliceE(menu) if err != nil { s.Log.Errorf("unable to process menus in site config\n") s.Log.Errorln(err) } else { for _, entry := range m { s.Log.Debug().Printf("found menu: %q, in site config\n", name) menuEntry := navigation.MenuEntry{Menu: name} ime, err := maps.ToStringMapE(entry) if err != nil { s.Log.Errorf("unable to process menus in site config\n") s.Log.Errorln(err) } menuEntry.MarshallMap(ime) // TODO(bep) clean up all of this menuEntry.ConfiguredURL = s.Info.createNodeMenuEntryURL(menuEntry.ConfiguredURL) if ret[name] == nil { ret[name] = navigation.Menu{} } ret[name] = ret[name].Add(&menuEntry) } } } return ret } return ret } func (s *SiteInfo) createNodeMenuEntryURL(in string) string { if !strings.HasPrefix(in, "/") { return in } // make it match the nodes menuEntryURL := in menuEntryURL = helpers.SanitizeURLKeepTrailingSlash(s.s.PathSpec.URLize(menuEntryURL)) if !s.canonifyURLs { menuEntryURL = helpers.AddContextRoot(s.s.PathSpec.BaseURL.String(), menuEntryURL) } return menuEntryURL } func (s *Site) assembleMenus() { s.menus = make(navigation.Menus) type twoD struct { MenuName, EntryName string } flat := map[twoD]*navigation.MenuEntry{} children := map[twoD]navigation.Menu{} // add menu entries from config to flat hash menuConfig := s.getMenusFromConfig() for name, menu := range menuConfig { for _, me := range menu { flat[twoD{name, me.KeyName()}] = me } } sectionPagesMenu := s.Info.sectionPagesMenu if sectionPagesMenu != "" { s.pageMap.sections.Walk(func(s string, v interface{}) bool { p := v.(*contentNode).p if p.IsHome() { return false } // From Hugo 0.22 we have nested sections, but until we get a // feel of how that would work in this setting, let us keep // this menu for the top level only. id := p.Section() if _, ok := flat[twoD{sectionPagesMenu, id}]; ok { return false } me := navigation.MenuEntry{ Identifier: id, Name: p.LinkTitle(), Weight: p.Weight(), Page: p, } flat[twoD{sectionPagesMenu, me.KeyName()}] = &me return false }) } // Add menu entries provided by pages s.pageMap.pageTrees.WalkRenderable(func(ss string, n *contentNode) bool { p := n.p for name, me := range p.pageMenus.menus() { if _, ok := flat[twoD{name, me.KeyName()}]; ok { err := p.wrapError(errors.Errorf("duplicate menu entry with identifier %q in menu %q", me.KeyName(), name)) s.Log.Warnln(err) continue } flat[twoD{name, me.KeyName()}] = me } return false }) // Create Children Menus First for _, e := range flat { if e.Parent != "" { children[twoD{e.Menu, e.Parent}] = children[twoD{e.Menu, e.Parent}].Add(e) } } // Placing Children in Parents (in flat) for p, childmenu := range children { _, ok := flat[twoD{p.MenuName, p.EntryName}] if !ok { // if parent does not exist, create one without a URL flat[twoD{p.MenuName, p.EntryName}] = &navigation.MenuEntry{Name: p.EntryName} } flat[twoD{p.MenuName, p.EntryName}].Children = childmenu } // Assembling Top Level of Tree for menu, e := range flat { if e.Parent == "" { _, ok := s.menus[menu.MenuName] if !ok { s.menus[menu.MenuName] = navigation.Menu{} } s.menus[menu.MenuName] = s.menus[menu.MenuName].Add(e) } } } // get any language code to prefix the target file path with. func (s *Site) getLanguageTargetPathLang(alwaysInSubDir bool) string { if s.h.IsMultihost() { return s.Language().Lang } return s.getLanguagePermalinkLang(alwaysInSubDir) } // get any lanaguagecode to prefix the relative permalink with. func (s *Site) getLanguagePermalinkLang(alwaysInSubDir bool) string { if !s.Info.IsMultiLingual() || s.h.IsMultihost() { return "" } if alwaysInSubDir { return s.Language().Lang } isDefault := s.Language().Lang == s.multilingual().DefaultLang.Lang if !isDefault || s.Info.defaultContentLanguageInSubdir { return s.Language().Lang } return "" } func (s *Site) getTaxonomyKey(key string) string { if s.PathSpec.DisablePathToLower { return s.PathSpec.MakePath(key) } return strings.ToLower(s.PathSpec.MakePath(key)) } // Prepare site for a new full build. func (s *Site) resetBuildState(sourceChanged bool) { s.relatedDocsHandler = s.relatedDocsHandler.Clone() s.init.Reset() if sourceChanged { s.pageMap.contentMap.pageReverseIndex.Reset() s.PageCollections = newPageCollections(s.pageMap) s.pageMap.withEveryBundlePage(func(p *pageState) bool { p.pagePages = &pagePages{} if p.bucket != nil { p.bucket.pagesMapBucketPages = &pagesMapBucketPages{} } p.parent = nil p.Scratcher = maps.NewScratcher() return false }) } else { s.pageMap.withEveryBundlePage(func(p *pageState) bool { p.Scratcher = maps.NewScratcher() return false }) } } func (s *Site) errorCollator(results <-chan error, errs chan<- error) { var errors []error for e := range results { errors = append(errors, e) } errs <- s.h.pickOneAndLogTheRest(errors) close(errs) } // GetPage looks up a page of a given type for the given ref. // In Hugo <= 0.44 you had to add Page Kind (section, home) etc. as the first // argument and then either a unix styled path (with or without a leading slash)) // or path elements separated. // When we now remove the Kind from this API, we need to make the transition as painless // as possible for existing sites. Most sites will use {{ .Site.GetPage "section" "my/section" }}, // i.e. 2 arguments, so we test for that. func (s *SiteInfo) GetPage(ref ...string) (page.Page, error) { p, err := s.s.getPageOldVersion(ref...) if p == nil { // The nil struct has meaning in some situations, mostly to avoid breaking // existing sites doing $nilpage.IsDescendant($p), which will always return // false. p = page.NilPage } return p, err } func (s *SiteInfo) GetPageWithTemplateInfo(info tpl.Info, ref ...string) (page.Page, error) { p, err := s.GetPage(ref...) if p != nil { // Track pages referenced by templates/shortcodes // when in server mode. if im, ok := info.(identity.Manager); ok { im.Add(p) } } return p, err } func (s *Site) permalink(link string) string { return s.PathSpec.PermalinkForBaseURL(link, s.PathSpec.BaseURL.String()) } func (s *Site) absURLPath(targetPath string) string { var path string if s.Info.relativeURLs { path = helpers.GetDottedRelativePath(targetPath) } else { url := s.PathSpec.BaseURL.String() if !strings.HasSuffix(url, "/") { url += "/" } path = url } return path } func (s *Site) lookupLayouts(layouts ...string) tpl.Template { for _, l := range layouts { if templ, found := s.Tmpl().Lookup(l); found { return templ } } return nil } func (s *Site) renderAndWriteXML(statCounter *uint64, name string, targetPath string, d interface{}, templ tpl.Template) error { s.Log.Debug().Printf("Render XML for %q to %q", name, targetPath) renderBuffer := bp.GetBuffer() defer bp.PutBuffer(renderBuffer) if err := s.renderForTemplate(name, "", d, renderBuffer, templ); err != nil { return err } pd := publisher.Descriptor{ Src: renderBuffer, TargetPath: targetPath, StatCounter: statCounter, // For the minification part of XML, // we currently only use the MIME type. OutputFormat: output.RSSFormat, AbsURLPath: s.absURLPath(targetPath), } return s.publisher.Publish(pd) } func (s *Site) renderAndWritePage(statCounter *uint64, name string, targetPath string, p *pageState, templ tpl.Template) error { s.Log.Debug().Printf("Render %s to %q", name, targetPath) renderBuffer := bp.GetBuffer() defer bp.PutBuffer(renderBuffer) of := p.outputFormat() if err := s.renderForTemplate(p.Kind(), of.Name, p, renderBuffer, templ); err != nil { return err } if renderBuffer.Len() == 0 { return nil } isHTML := of.IsHTML isRSS := of.Name == "RSS" pd := publisher.Descriptor{ Src: renderBuffer, TargetPath: targetPath, StatCounter: statCounter, OutputFormat: p.outputFormat(), } if isRSS { // Always canonify URLs in RSS pd.AbsURLPath = s.absURLPath(targetPath) } else if isHTML { if s.Info.relativeURLs || s.Info.canonifyURLs { pd.AbsURLPath = s.absURLPath(targetPath) } if s.running() && s.Cfg.GetBool("watch") && !s.Cfg.GetBool("disableLiveReload") { pd.LiveReloadBaseURL = s.PathSpec.BaseURL.URL() if s.Cfg.GetInt("liveReloadPort") != -1 { pd.LiveReloadBaseURL.Host = fmt.Sprintf("%s:%d", pd.LiveReloadBaseURL.Hostname(), s.Cfg.GetInt("liveReloadPort")) } } // For performance reasons we only inject the Hugo generator tag on the home page. if p.IsHome() { pd.AddHugoGeneratorTag = !s.Cfg.GetBool("disableHugoGeneratorInject") } } return s.publisher.Publish(pd) } var infoOnMissingLayout = map[string]bool{ // The 404 layout is very much optional in Hugo, but we do look for it. "404": true, } // hookRenderer is the canonical implementation of all hooks.ITEMRenderer, // where ITEM is the thing being hooked. type hookRenderer struct { templateHandler tpl.TemplateHandler identity.SearchProvider templ tpl.Template } func (hr hookRenderer) RenderLink(w io.Writer, ctx hooks.LinkContext) error { return hr.templateHandler.Execute(hr.templ, w, ctx) } func (hr hookRenderer) RenderHeading(w io.Writer, ctx hooks.HeadingContext) error { return hr.templateHandler.Execute(hr.templ, w, ctx) } func (s *Site) renderForTemplate(name, outputFormat string, d interface{}, w io.Writer, templ tpl.Template) (err error) { if templ == nil { s.logMissingLayout(name, "", "", outputFormat) return nil } if err = s.Tmpl().Execute(templ, w, d); err != nil { return _errors.Wrapf(err, "render of %q failed", name) } return } func (s *Site) lookupTemplate(layouts ...string) (tpl.Template, bool) { for _, l := range layouts { if templ, found := s.Tmpl().Lookup(l); found { return templ, true } } return nil, false } func (s *Site) publish(statCounter *uint64, path string, r io.Reader) (err error) { s.PathSpec.ProcessingStats.Incr(statCounter) return helpers.WriteToDisk(filepath.Clean(path), r, s.BaseFs.PublishFs) } func (s *Site) kindFromFileInfoOrSections(fi *fileInfo, sections []string) string { if fi.TranslationBaseName() == "_index" { if fi.Dir() == "" { return page.KindHome } return s.kindFromSections(sections) } return page.KindPage } func (s *Site) kindFromSections(sections []string) string { if len(sections) == 0 { return page.KindHome } return s.kindFromSectionPath(path.Join(sections...)) } func (s *Site) kindFromSectionPath(sectionPath string) string { for _, plural := range s.siteCfg.taxonomiesConfig { if plural == sectionPath { return page.KindTaxonomy } if strings.HasPrefix(sectionPath, plural) { return page.KindTerm } } return page.KindSection } func (s *Site) newPage( n *contentNode, parentbBucket *pagesMapBucket, kind, title string, sections ...string) *pageState { m := map[string]interface{}{} if title != "" { m["title"] = title } p, err := newPageFromMeta( n, parentbBucket, m, &pageMeta{ s: s, kind: kind, sections: sections, }) if err != nil { panic(err) } return p } func (s *Site) shouldBuild(p page.Page) bool { return shouldBuild(s.BuildFuture, s.BuildExpired, s.BuildDrafts, p.Draft(), p.PublishDate(), p.ExpiryDate()) } func shouldBuild(buildFuture bool, buildExpired bool, buildDrafts bool, Draft bool, publishDate time.Time, expiryDate time.Time) bool { if !(buildDrafts || !Draft) { return false } if !buildFuture && !publishDate.IsZero() && publishDate.After(time.Now()) { return false } if !buildExpired && !expiryDate.IsZero() && expiryDate.Before(time.Now()) { return false } return true }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/getting-started/code-toggle.md
--- title: Code Toggle description: Code Toggle tryout and showcase. date: 2018-03-16 categories: [getting started,fundamentals] keywords: [configuration,toml,yaml,json] weight: 60 sections_weight: 60 draft: false toc: true --- ## The Config Toggler! This is an example for the Config Toggle shortcode. Its purpose is to let users choose a Config language by clicking on its corresponding tab. Upon doing so, every Code toggler on the page will be switched to the target language. Also, target language will be saved in user's `localStorage` so when they go to a different pages, Code Toggler display their last "toggled" config language. {{% note %}} The `code-toggler` shortcode is not an internal Hugo shortcode. This page's purpose is to test out a custom feature that we use throughout this site. See: https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/shortcodes/code-toggle.html {{% /note %}} ## That Config Toggler {{< code-toggle file="config">}} baseURL: "https://yoursite.example.com/" title: "My Hugo Site" footnoteReturnLinkContents: "↩" permalinks: posts: /:year/:month/:title/ params: Subtitle: "Hugo is Absurdly Fast!" AuthorName: "Jon Doe" GitHubUser: "spf13" ListOfFoo: - "foo1" - "foo2" SidebarRecentLimit: 5 {{< /code-toggle >}} ## Another Config Toggler! {{< code-toggle file="theme">}} # theme.toml template for a Hugo theme name = "Hugo Theme" license = "MIT" licenselink = "https://github.com/budparr/gohugo.io/blob/master/LICENSE.md" description = "" homepage = "https://github.com/budparr/gohugo.io" tags = ["website"] features = ["", ""] min_version = 0.18 [author] name = "Bud Parr" homepage = "https://github.com/budparr" {{< /code-toggle >}} ## Two regular code blocks {{< code file="bf-config.toml" >}} [blackfriday] angledQuotes = true fractions = false plainIDAnchors = true extensions = ["hardLineBreak"] {{< /code >}} {{< code file="bf-config.yml" >}} blackfriday: angledQuotes: true fractions: false plainIDAnchors: true extensions: - hardLineBreak {{< /code >}}
--- title: Code Toggle description: Code Toggle tryout and showcase. date: 2018-03-16 categories: [getting started,fundamentals] keywords: [configuration,toml,yaml,json] weight: 60 sections_weight: 60 draft: false toc: true --- ## The Config Toggler! This is an example for the Config Toggle shortcode. Its purpose is to let users choose a Config language by clicking on its corresponding tab. Upon doing so, every Code toggler on the page will be switched to the target language. Also, target language will be saved in user's `localStorage` so when they go to a different pages, Code Toggler display their last "toggled" config language. {{% note %}} The `code-toggler` shortcode is not an internal Hugo shortcode. This page's purpose is to test out a custom feature that we use throughout this site. See: https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/shortcodes/code-toggle.html {{% /note %}} ## That Config Toggler {{< code-toggle file="config">}} baseURL: "https://yoursite.example.com/" title: "My Hugo Site" footnoteReturnLinkContents: "↩" permalinks: posts: /:year/:month/:title/ params: Subtitle: "Hugo is Absurdly Fast!" AuthorName: "Jon Doe" GitHubUser: "spf13" ListOfFoo: - "foo1" - "foo2" SidebarRecentLimit: 5 {{< /code-toggle >}} ## Another Config Toggler! {{< code-toggle file="theme">}} # theme.toml template for a Hugo theme name = "Hugo Theme" license = "MIT" licenselink = "https://github.com/budparr/gohugo.io/blob/master/LICENSE.md" description = "" homepage = "https://github.com/budparr/gohugo.io" tags = ["website"] features = ["", ""] min_version = 0.18 [author] name = "Bud Parr" homepage = "https://github.com/budparr" {{< /code-toggle >}} ## Two regular code blocks {{< code file="bf-config.toml" >}} [blackfriday] angledQuotes = true fractions = false plainIDAnchors = true extensions = ["hardLineBreak"] {{< /code >}} {{< code file="bf-config.yml" >}} blackfriday: angledQuotes: true fractions: false plainIDAnchors: true extensions: - hardLineBreak {{< /code >}}
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/commands/hugo_list_all.md
--- date: 2020-09-13 title: "hugo list all" slug: hugo_list_all url: /commands/hugo_list_all/ --- ## hugo list all List all posts ### Synopsis List all of the posts in your content directory, include drafts, future and expired pages. ``` hugo list all [flags] ``` ### Options ``` -h, --help help for all ``` ### Options inherited from parent commands ``` --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging ``` ### SEE ALSO * [hugo list](/commands/hugo_list/) - Listing out various types of content ###### Auto generated by spf13/cobra on 13-Sep-2020
--- date: 2020-09-13 title: "hugo list all" slug: hugo_list_all url: /commands/hugo_list_all/ --- ## hugo list all List all posts ### Synopsis List all of the posts in your content directory, include drafts, future and expired pages. ``` hugo list all [flags] ``` ### Options ``` -h, --help help for all ``` ### Options inherited from parent commands ``` --config string config file (default is path/config.yaml|json|toml) --configDir string config dir (default "config") --debug debug output -e, --environment string build environment --ignoreVendor ignores any _vendor directory --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) --quiet build in quiet mode -s, --source string filesystem path to read files relative from --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging ``` ### SEE ALSO * [hugo list](/commands/hugo_list/) - Listing out various types of content ###### Auto generated by spf13/cobra on 13-Sep-2020
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/main.css
/*Base Styles*/ @import '_tachyons'; /* purgecss start ignore */ @import '_header-link'; @import '_animation'; @import '_documentation-styles'; @import 'docsearch.js/dist/cdn/docsearch.min'; @import '_carousel'; @import '_code'; @import '_tabs'; @import '_color-scheme'; @import '_columns'; @import '_content'; @import '_content-tables'; @import '_definition-lists'; @import '_fluid-type'; @import '_font-family'; @import '_hugo-internal-template-styling'; @import '_no-js'; @import '_social-icons'; @import '_stickyheader'; @import '_svg'; @import '_chroma'; @import '_variables'; .nested-blockquote blockquote { border-left: 4px solid var(--primary-color); padding-left: 1em; /*margin: 0;*/ } .mw-90 { max-width:90%; } /* purgecss end ignore */
/*Base Styles*/ @import '_tachyons'; /* purgecss start ignore */ @import '_header-link'; @import '_animation'; @import '_documentation-styles'; @import 'docsearch.js/dist/cdn/docsearch.min'; @import '_carousel'; @import '_code'; @import '_tabs'; @import '_color-scheme'; @import '_columns'; @import '_content'; @import '_content-tables'; @import '_definition-lists'; @import '_fluid-type'; @import '_font-family'; @import '_hugo-internal-template-styling'; @import '_no-js'; @import '_social-icons'; @import '_stickyheader'; @import '_svg'; @import '_chroma'; @import '_variables'; .nested-blockquote blockquote { border-left: 4px solid var(--primary-color); padding-left: 1em; /*margin: 0;*/ } .mw-90 { max-width:90%; } /* purgecss end ignore */
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/resources/_gen/images/content-management/image-processing/sunset_hu875bbbed66c1db46c12ef98a97f76229_34584_300x0_resize_q10_catmullrom.jpg
P7<F<2PFAFZUP_xȂxnnxUZZxix낂," }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?EPERL)h( (J)hZ((Z((-PbR@ LSKE%PQKE6()h)h )h)h( (JZ(Z((Z((ZZmPQKE%%:Z((RER@PER@PRER@ E-QKE%PQKK@ E-bPbRLRbF(Rb1NKEEKEREQ@-PE-QE-%PE-R@PQKK@ E-PbPbRъn(;PqF)hS)Qu REQE-QK@ KE-%PE-RQKER@ KE-&( 1KE&(-PbR@ 1KE7bmPQK@RE-QKER@PRK@ E-QKE%-JZ(Z(ZJ)hJ)h6Z(R@qE-R)qE-1K)h \QKELQZ((-\bbofREa)h((`. ((`(RXJJZJ. JZJw3Ky; 乥CJw=sFj/0zR--Cz_0{Ұ^`K*0@{CcRqҭnĉ(R)@(nu E3unvE3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,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/news/0.60.1-relnotes/featured-061.png
PNG  IHDRQgAMA asRGBPLTEf'c&`%_#-Pb%e'd&a%X!]"^#\#W \'U b&[#e&^'FZ"QHS i'Qg(c%T&a(Y&]$V&d(!X&k'(Tp)m'`$Z#{$Kp&)P%t%"# x%c(#!Ou)FZ gl UJ.:LP9892C),O'"z*+xju5]*Lib)Jp?ZQ>i`!Ja&$j#D$ qu |}3E+V%?v}z{s7Bʗ  gn@j%8x{H*ңgk=6٫.Y&`5ATm85YZ'F9Ʊa1LX0L>X5-L# )O7=ͫ2F1H;ف%(~S.׽x|I$<'о:A8:҇76q!z@M]G"U]46Hug1zU_;t7'Ap,(gtڜZ˪(ے9zw+,f~׽,ꓗ M_{tޟH繴ʒծDms-[՝ IDATx{`Tյ21Wc&y<܄G𶶷i@mE4`%ҊQA`-H<D\*WU<gsyM&ɐ셉笳gZk?H"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"E)RH"eR_)RHj \!_)c"uKJ Uvʗ%EHEslllsu eHHLWv2}InXKe+U7&EJ%_,\T)[._)aXNt KuIFj0Ǥ5B0JaGNWWqw쨐"%\+ZiQ,^$;*H ̋ 4ZhpYvTH&5U|㫱s }ky|RTTƎU&v]vTAx,cU)R8)m.ʯQcpMuwMӡ4voڻGjdTU{KJ&cD?ݴ;3`M*̈ҚZzҥHa+g:P=ǡNI\.,_Pq7_F+Dª1Υ$$ e۩)!j^!PܶèaGvKHQV![ÝkƒF ;Ƶ;ba)SOjnغcw B8AuÎ HR(ֻ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%}ZIM1vMjjx+4d$PB()b鮠!3"QuW|Ndpms$&E 5j{i-a>5Q(KduKl (d#4F%P)1)pUϿ /t Ѷd((-aA(\ByKp`-JwŭȻpnPMEtRlB> (T0LUof*b%Rnt$jL SC,L2ڍ^C,:3dSRC*J2DtR $PR g1L9`~3$U>-L2+ױ !N,o QƨPTˠUF%B+4P0By`J!?G^OSm RӂdЁS &4gBY!%V&R%$U1ĩ!ȿ#A$~1<!dͥc AP 䧰gQ HCQJu d@)@ B0;ubR!onљ"AKNy ao~( DQ$bkJ )1`p M@ @ Xp[,u]w=`tϖ|b"xGA vQɠ: e(` 1c[QEVv8+v=8sɡg7>u~jcAE Q QPP?4NBk$C3h0h%B8 PhыB4'2/EЀApFp YNb BIB# 58xmqZ`0$k@ `T=WHB,FN22(3Rbr85IYԹA`9BI!6-T{ Bog0  hAXB3 y U95Blѐ@jS[PQJ <<?} |%BS  @&9U>C''pnЄA  9 )$N I  ԵJ@2 Z QUY XgշCP2(!)d9D ,gbŒ[6,&8gI hA #W(PP$Ě%ۦ,Z̘31"P-WShaLXB48&K !(2fWoaA[ JءCC+c dt~ 4 %RC!pZ̔uJB ' ?SSנEЂA !Pa8ne({oAɠ)`8F ^6 J 'CC " %uA)aPġ=uj!˳  J=<fo̞Xy'v JC cHU#.%RKCC+]zQ Aɠ0P`H8%!Aɠ`8(N5p/#2Fj8TAxcUco+KۧcA ˂ihߵk] /-FZ~+L0lukK N / ! RTa +2x<3 R]aC:j u.PeL6C! P,PIx u{.@t@t"DC髬9/>=IENDB`
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/news/0.26-relnotes/index.md
--- date: 2017-08-07 title: "Hugo 0.26: Language Style Edition" description: "Hugo 0.26 brings proper AP Style or Chicago Style Title Case, « French Guillemets » and more." categories: ["Releases"] images: - images/blog/hugo-26-poster.png --- This release brings a choice of **AP Style or Chicago Style Title Case** ([8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [#989](https://github.com/gohugoio/hugo/issues/989)). You can also now configure Blackfriday to render **« French Guillemets »** ([cb9dfc26](https://github.com/gohugoio/hugo/commit/cb9dfc2613ae5125cafa450097fb0f62dd3770e7) [#3725](https://github.com/gohugoio/hugo/issues/3725)). To enable French Guillemets, put this in your site `config.toml`: ```bash [blackfriday] angledQuotes = true smartypantsQuotesNBSP = true ``` Oh, and this release also fixes it so you should see no ugly long crashes no more when you step wrong in your templates ([794ea21e](https://github.com/gohugoio/hugo/commit/794ea21e9449b876c5514f1ce8fe61449bbe4980)). Hugo `0.26` represents **46 contributions by 11 contributors** to the main Hugo code base. [@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@anthonyfok](https://github.com/anthonyfok), [@jorinvo](https://github.com/jorinvo), and [@digitalcraftsman](https://github.com/digitalcraftsman) for their ongoing contributions. And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **838 contributions by 30 contributors**. A special thanks to [@rdwatters](https://github.com/rdwatters), [@bep](https://github.com/bep), [@digitalcraftsman](https://github.com/digitalcraftsman), and [@budparr](https://github.com/budparr) for their work on the documentation site. This may look like a **Waiting Sausage**, a barbecue term used in Norway for that sausage you eat while waiting for the steak to get ready. And it is: We're working on bigger and even more interesting changes behind the scenes. Stay tuned! Hugo now has: * 18802+ [stars](https://github.com/gohugoio/hugo/stargazers) * 457+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) * 175+ [themes](http://themes.gohugo.io/) ## Notes * `sourceRelativeLinks` has been deprecated for a while and has now been removed. [9891c0fb](https://github.com/gohugoio/hugo/commit/9891c0fb0eb274b8a95b62c40070a87a6e04088c) [@bep](https://github.com/bep) [#3766](https://github.com/gohugoio/hugo/issues/3766) * The `title` template function and taxonomy page titles now default to following the [AP Stylebook](https://www.apstylebook.com/) for title casing. To override this default to use the old behavior, set `titleCaseStyle` to `Go` in your site configuration. [8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [@bep](https://github.com/bep) [#989](https://github.com/gohugoio/hugo/issues/989) ## Enhancements ### Templates * Use hash for cache key [6cd33f69](https://github.com/gohugoio/hugo/commit/6cd33f6953671edb13d42dcb15746bd10df3428b) [@RealOrangeOne](https://github.com/RealOrangeOne) [#3690](https://github.com/gohugoio/hugo/issues/3690) * Add some empty slice tests to intersect [e0cf2e05](https://github.com/gohugoio/hugo/commit/e0cf2e05bbdcb8b4a3f875df84a878f4ca80e904) [@bep](https://github.com/bep) [#3686](https://github.com/gohugoio/hugo/issues/3686) ### Core * Support `reflinks` starting with a slash [dbe63970](https://github.com/gohugoio/hugo/commit/dbe63970e09313dec287816ab070b5c2f5a13b1b) [@bep](https://github.com/bep) [#3703](https://github.com/gohugoio/hugo/issues/3703) * Make template panics into nice error messages [794ea21e](https://github.com/gohugoio/hugo/commit/794ea21e9449b876c5514f1ce8fe61449bbe4980) [@bep](https://github.com/bep) ### Other * Make the `title` case style guide configurable [8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [@bep](https://github.com/bep) [#989](https://github.com/gohugoio/hugo/issues/989) * Add support for French Guillemets [cb9dfc26](https://github.com/gohugoio/hugo/commit/cb9dfc2613ae5125cafa450097fb0f62dd3770e7) [@bep](https://github.com/bep) [#3725](https://github.com/gohugoio/hugo/issues/3725) * Add support for French Guillemets [c4a0b6e8](https://github.com/gohugoio/hugo/commit/c4a0b6e8abdf9f800fbd7a7f89e9f736edc60431) [@bep](https://github.com/bep) [#3725](https://github.com/gohugoio/hugo/issues/3725) * Switch from fork bep/inflect to markbates/inflect [09907d36](https://github.com/gohugoio/hugo/commit/09907d36af586c5b29389312f2ecc2962c06313c) [@jorinvo](https://github.com/jorinvo) * Remove unused dependencies from vendor.json [9b4170ce](https://github.com/gohugoio/hugo/commit/9b4170ce768717adfbe9d97c46e38ceaec2ce994) [@jorinvo](https://github.com/jorinvo) * Add `--debug` option to be improved on over time [aee2b067](https://github.com/gohugoio/hugo/commit/aee2b06780858c12d8cb04c7b1ba592543410aa9) [@maxandersen](https://github.com/maxandersen) * Reduce Docker image size from 277MB to 27MB [bfe0bfbb](https://github.com/gohugoio/hugo/commit/bfe0bfbbd1a59ddadb72a6b07fecce71716088ec) [@ellerbrock](https://github.com/ellerbrock) [#3730](https://github.com/gohugoio/hugo/issues/3730)[#3738](https://github.com/gohugoio/hugo/issues/3738) * Optimize Docker image size [606d6a8c](https://github.com/gohugoio/hugo/commit/606d6a8c9177dda4551ed198e0aabbe569f0725d) [@ellerbrock](https://github.com/ellerbrock) [#3674](https://github.com/gohugoio/hugo/issues/3674) * Add `--trace` to asciidoctor args [b60aa1a5](https://github.com/gohugoio/hugo/commit/b60aa1a504f3fbf9c19a6bf2030fdc7a04ab4a5a) [@miltador](https://github.com/miltador) [#3714](https://github.com/gohugoio/hugo/issues/3714) * Add script to pull in docs changes [ff433f98](https://github.com/gohugoio/hugo/commit/ff433f98133662063cbb16e220fd44c678c82823) [@bep](https://github.com/bep) * Add `HasShortcode` [deccc540](https://github.com/gohugoio/hugo/commit/deccc54004cbe88ddbf8f3f951d3178dc0693189) [@bep](https://github.com/bep) [#3707](https://github.com/gohugoio/hugo/issues/3707) * Improve the twitter card template [00b590d7](https://github.com/gohugoio/hugo/commit/00b590d7ab4f3021814acceaf74c4eaf64edb226) [@bep](https://github.com/bep) [#3711](https://github.com/gohugoio/hugo/issues/3711) * Add `GOEXE` to support building with different versions of `go` [ea5e9e34](https://github.com/gohugoio/hugo/commit/ea5e9e346c93320538c6517b619b5f57473291c8) [@mdhender](https://github.com/mdhender) ## Fixes ### Templates * Fix intersect on `[]interface{}` handling [55d0b894](https://github.com/gohugoio/hugo/commit/55d0b89417651eba3ae51c96bd9de9e0daa0399e) [@moorereason](https://github.com/moorereason) [#3718](https://github.com/gohugoio/hugo/issues/3718) ### Other * Fix broken `TaskList` in Markdown [481924b3](https://github.com/gohugoio/hugo/commit/481924b34d23b0ce435778cce7bce77571b22f9d) [@mpcabd](https://github.com/mpcabd) [#3710](https://github.com/gohugoio/hugo/issues/3710)
--- date: 2017-08-07 title: "Hugo 0.26: Language Style Edition" description: "Hugo 0.26 brings proper AP Style or Chicago Style Title Case, « French Guillemets » and more." categories: ["Releases"] images: - images/blog/hugo-26-poster.png --- This release brings a choice of **AP Style or Chicago Style Title Case** ([8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [#989](https://github.com/gohugoio/hugo/issues/989)). You can also now configure Blackfriday to render **« French Guillemets »** ([cb9dfc26](https://github.com/gohugoio/hugo/commit/cb9dfc2613ae5125cafa450097fb0f62dd3770e7) [#3725](https://github.com/gohugoio/hugo/issues/3725)). To enable French Guillemets, put this in your site `config.toml`: ```bash [blackfriday] angledQuotes = true smartypantsQuotesNBSP = true ``` Oh, and this release also fixes it so you should see no ugly long crashes no more when you step wrong in your templates ([794ea21e](https://github.com/gohugoio/hugo/commit/794ea21e9449b876c5514f1ce8fe61449bbe4980)). Hugo `0.26` represents **46 contributions by 11 contributors** to the main Hugo code base. [@bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@anthonyfok](https://github.com/anthonyfok), [@jorinvo](https://github.com/jorinvo), and [@digitalcraftsman](https://github.com/digitalcraftsman) for their ongoing contributions. And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **838 contributions by 30 contributors**. A special thanks to [@rdwatters](https://github.com/rdwatters), [@bep](https://github.com/bep), [@digitalcraftsman](https://github.com/digitalcraftsman), and [@budparr](https://github.com/budparr) for their work on the documentation site. This may look like a **Waiting Sausage**, a barbecue term used in Norway for that sausage you eat while waiting for the steak to get ready. And it is: We're working on bigger and even more interesting changes behind the scenes. Stay tuned! Hugo now has: * 18802+ [stars](https://github.com/gohugoio/hugo/stargazers) * 457+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) * 175+ [themes](http://themes.gohugo.io/) ## Notes * `sourceRelativeLinks` has been deprecated for a while and has now been removed. [9891c0fb](https://github.com/gohugoio/hugo/commit/9891c0fb0eb274b8a95b62c40070a87a6e04088c) [@bep](https://github.com/bep) [#3766](https://github.com/gohugoio/hugo/issues/3766) * The `title` template function and taxonomy page titles now default to following the [AP Stylebook](https://www.apstylebook.com/) for title casing. To override this default to use the old behavior, set `titleCaseStyle` to `Go` in your site configuration. [8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [@bep](https://github.com/bep) [#989](https://github.com/gohugoio/hugo/issues/989) ## Enhancements ### Templates * Use hash for cache key [6cd33f69](https://github.com/gohugoio/hugo/commit/6cd33f6953671edb13d42dcb15746bd10df3428b) [@RealOrangeOne](https://github.com/RealOrangeOne) [#3690](https://github.com/gohugoio/hugo/issues/3690) * Add some empty slice tests to intersect [e0cf2e05](https://github.com/gohugoio/hugo/commit/e0cf2e05bbdcb8b4a3f875df84a878f4ca80e904) [@bep](https://github.com/bep) [#3686](https://github.com/gohugoio/hugo/issues/3686) ### Core * Support `reflinks` starting with a slash [dbe63970](https://github.com/gohugoio/hugo/commit/dbe63970e09313dec287816ab070b5c2f5a13b1b) [@bep](https://github.com/bep) [#3703](https://github.com/gohugoio/hugo/issues/3703) * Make template panics into nice error messages [794ea21e](https://github.com/gohugoio/hugo/commit/794ea21e9449b876c5514f1ce8fe61449bbe4980) [@bep](https://github.com/bep) ### Other * Make the `title` case style guide configurable [8fb594bf](https://github.com/gohugoio/hugo/commit/8fb594bfb090c017d4e5cbb2905780221e202c41) [@bep](https://github.com/bep) [#989](https://github.com/gohugoio/hugo/issues/989) * Add support for French Guillemets [cb9dfc26](https://github.com/gohugoio/hugo/commit/cb9dfc2613ae5125cafa450097fb0f62dd3770e7) [@bep](https://github.com/bep) [#3725](https://github.com/gohugoio/hugo/issues/3725) * Add support for French Guillemets [c4a0b6e8](https://github.com/gohugoio/hugo/commit/c4a0b6e8abdf9f800fbd7a7f89e9f736edc60431) [@bep](https://github.com/bep) [#3725](https://github.com/gohugoio/hugo/issues/3725) * Switch from fork bep/inflect to markbates/inflect [09907d36](https://github.com/gohugoio/hugo/commit/09907d36af586c5b29389312f2ecc2962c06313c) [@jorinvo](https://github.com/jorinvo) * Remove unused dependencies from vendor.json [9b4170ce](https://github.com/gohugoio/hugo/commit/9b4170ce768717adfbe9d97c46e38ceaec2ce994) [@jorinvo](https://github.com/jorinvo) * Add `--debug` option to be improved on over time [aee2b067](https://github.com/gohugoio/hugo/commit/aee2b06780858c12d8cb04c7b1ba592543410aa9) [@maxandersen](https://github.com/maxandersen) * Reduce Docker image size from 277MB to 27MB [bfe0bfbb](https://github.com/gohugoio/hugo/commit/bfe0bfbbd1a59ddadb72a6b07fecce71716088ec) [@ellerbrock](https://github.com/ellerbrock) [#3730](https://github.com/gohugoio/hugo/issues/3730)[#3738](https://github.com/gohugoio/hugo/issues/3738) * Optimize Docker image size [606d6a8c](https://github.com/gohugoio/hugo/commit/606d6a8c9177dda4551ed198e0aabbe569f0725d) [@ellerbrock](https://github.com/ellerbrock) [#3674](https://github.com/gohugoio/hugo/issues/3674) * Add `--trace` to asciidoctor args [b60aa1a5](https://github.com/gohugoio/hugo/commit/b60aa1a504f3fbf9c19a6bf2030fdc7a04ab4a5a) [@miltador](https://github.com/miltador) [#3714](https://github.com/gohugoio/hugo/issues/3714) * Add script to pull in docs changes [ff433f98](https://github.com/gohugoio/hugo/commit/ff433f98133662063cbb16e220fd44c678c82823) [@bep](https://github.com/bep) * Add `HasShortcode` [deccc540](https://github.com/gohugoio/hugo/commit/deccc54004cbe88ddbf8f3f951d3178dc0693189) [@bep](https://github.com/bep) [#3707](https://github.com/gohugoio/hugo/issues/3707) * Improve the twitter card template [00b590d7](https://github.com/gohugoio/hugo/commit/00b590d7ab4f3021814acceaf74c4eaf64edb226) [@bep](https://github.com/bep) [#3711](https://github.com/gohugoio/hugo/issues/3711) * Add `GOEXE` to support building with different versions of `go` [ea5e9e34](https://github.com/gohugoio/hugo/commit/ea5e9e346c93320538c6517b619b5f57473291c8) [@mdhender](https://github.com/mdhender) ## Fixes ### Templates * Fix intersect on `[]interface{}` handling [55d0b894](https://github.com/gohugoio/hugo/commit/55d0b89417651eba3ae51c96bd9de9e0daa0399e) [@moorereason](https://github.com/moorereason) [#3718](https://github.com/gohugoio/hugo/issues/3718) ### Other * Fix broken `TaskList` in Markdown [481924b3](https://github.com/gohugoio/hugo/commit/481924b34d23b0ce435778cce7bce77571b22f9d) [@mpcabd](https://github.com/mpcabd) [#3710](https://github.com/gohugoio/hugo/issues/3710)
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/content/en/news/0.47.1-relnotes/index.md
--- date: 2018-08-20 title: "Two Bug Fixes" description: "Hugo 0.47.1: Two Bug Fixes" categories: ["Releases"] images: - images/blog/hugo-bug-poster.png --- This is a bug-fix release with two fixes. # Fixes * Fix .Site.Params case regression [fdff0d3a](https://github.com/gohugoio/hugo/commit/fdff0d3af4670f7079e539fef4b92af2a866d02d) [@bep](https://github.com/bep) [#5094](https://github.com/gohugoio/hugo/issues/5094) * Do not strip IE conditional statements [5a0ee2b9](https://github.com/gohugoio/hugo/commit/5a0ee2b934e38d596da0f9742361f81c1221e3d5) [@bep](https://github.com/bep) [#5089](https://github.com/gohugoio/hugo/issues/5089) ## Updates to Linux Snap build * Remove unused files from Git, Perl, etc. [834617f9](https://github.com/gohugoio/hugo/commit/834617f9f8d870643b2631fe607471c8e2ef2f47) [@anthonyfok](https://github.com/anthonyfok) * Add nodejs to allow PostCSS to work [ef20ec1f](https://github.com/gohugoio/hugo/commit/ef20ec1fbaa8f5841b3fbe18978d4d8c19d8fc53) [@anthonyfok](https://github.com/anthonyfok)
--- date: 2018-08-20 title: "Two Bug Fixes" description: "Hugo 0.47.1: Two Bug Fixes" categories: ["Releases"] images: - images/blog/hugo-bug-poster.png --- This is a bug-fix release with two fixes. # Fixes * Fix .Site.Params case regression [fdff0d3a](https://github.com/gohugoio/hugo/commit/fdff0d3af4670f7079e539fef4b92af2a866d02d) [@bep](https://github.com/bep) [#5094](https://github.com/gohugoio/hugo/issues/5094) * Do not strip IE conditional statements [5a0ee2b9](https://github.com/gohugoio/hugo/commit/5a0ee2b934e38d596da0f9742361f81c1221e3d5) [@bep](https://github.com/bep) [#5089](https://github.com/gohugoio/hugo/issues/5089) ## Updates to Linux Snap build * Remove unused files from Git, Perl, etc. [834617f9](https://github.com/gohugoio/hugo/commit/834617f9f8d870643b2631fe607471c8e2ef2f47) [@anthonyfok](https://github.com/anthonyfok) * Add nodejs to allow PostCSS to work [ef20ec1f](https://github.com/gohugoio/hugo/commit/ef20ec1fbaa8f5841b3fbe18978d4d8c19d8fc53) [@anthonyfok](https://github.com/anthonyfok)
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./hugolib/hugo_sites_build_test.go
package hugolib import ( "fmt" "path/filepath" "strings" "testing" "time" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/resources/page" "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" ) func TestMultiSitesMainLangInRoot(t *testing.T) { t.Parallel() for _, b := range []bool{false} { doTestMultiSitesMainLangInRoot(t, b) } } func doTestMultiSitesMainLangInRoot(t *testing.T, defaultInSubDir bool) { c := qt.New(t) siteConfig := map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": defaultInSubDir, } b := newMultiSiteTestBuilder(t, "toml", multiSiteTOMLConfigTemplate, siteConfig) pathMod := func(s string) string { return s } if !defaultInSubDir { pathMod = func(s string) string { return strings.Replace(s, "/fr/", "/", -1) } } b.CreateSites() b.Build(BuildCfg{}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) enSite := sites[0] frSite := sites[1] c.Assert(enSite.Info.LanguagePrefix, qt.Equals, "/en") if defaultInSubDir { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "/fr") } else { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "") } c.Assert(enSite.PathSpec.RelURL("foo", true), qt.Equals, "/blog/en/foo") doc1en := enSite.RegularPages()[0] doc1fr := frSite.RegularPages()[0] enPerm := doc1en.Permalink() enRelPerm := doc1en.RelPermalink() c.Assert(enPerm, qt.Equals, "http://example.com/blog/en/sect/doc1-slug/") c.Assert(enRelPerm, qt.Equals, "/blog/en/sect/doc1-slug/") frPerm := doc1fr.Permalink() frRelPerm := doc1fr.RelPermalink() b.AssertFileContent(pathMod("public/fr/sect/doc1/index.html"), "Single", "Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Hello") if defaultInSubDir { c.Assert(frPerm, qt.Equals, "http://example.com/blog/fr/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/fr/sect/doc1/") // should have a redirect on top level. b.AssertFileContent("public/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog/fr" />`) } else { // Main language in root c.Assert(frPerm, qt.Equals, "http://example.com/blog/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/sect/doc1/") // should have redirect back to root b.AssertFileContent("public/fr/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog" />`) } b.AssertFileContent(pathMod("public/fr/index.html"), "Home", "Bonjour") b.AssertFileContent("public/en/index.html", "Home", "Hello") // Check list pages b.AssertFileContent(pathMod("public/fr/sect/index.html"), "List", "Bonjour") b.AssertFileContent("public/en/sect/index.html", "List", "Hello") b.AssertFileContent(pathMod("public/fr/plaques/FRtag1/index.html"), "Taxonomy List", "Bonjour") b.AssertFileContent("public/en/tags/tag1/index.html", "Taxonomy List", "Hello") // Check sitemaps // Sitemaps behaves different: In a multilanguage setup there will always be a index file and // one sitemap in each lang folder. b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") if defaultInSubDir { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/fr/</loc>") } else { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/</loc>") } b.AssertFileContent("public/en/sitemap.xml", "<loc>http://example.com/blog/en/</loc>") // Check rss b.AssertFileContent(pathMod("public/fr/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/index.xml"`), `rel="self" type="application/rss+xml"`) b.AssertFileContent("public/en/index.xml", `<atom:link href="http://example.com/blog/en/index.xml"`) b.AssertFileContent( pathMod("public/fr/sect/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/sect/index.xml"`)) b.AssertFileContent("public/en/sect/index.xml", `<atom:link href="http://example.com/blog/en/sect/index.xml"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/plaques/FRtag1/index.xml"`)) b.AssertFileContent("public/en/tags/tag1/index.xml", `<atom:link href="http://example.com/blog/en/tags/tag1/index.xml"`) // Check paginators b.AssertFileContent(pathMod("public/fr/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/"`)) b.AssertFileContent("public/en/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/"`) b.AssertFileContent(pathMod("public/fr/page/2/index.html"), "Home Page 2", "Bonjour", pathMod("http://example.com/blog/fr/")) b.AssertFileContent("public/en/page/2/index.html", "Home Page 2", "Hello", "http://example.com/blog/en/") b.AssertFileContent(pathMod("public/fr/sect/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/sect/"`)) b.AssertFileContent("public/en/sect/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/sect/"`) b.AssertFileContent(pathMod("public/fr/sect/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/sect/")) b.AssertFileContent("public/en/sect/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/sect/") b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/plaques/FRtag1/"`)) b.AssertFileContent("public/en/tags/tag1/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/tags/tag1/"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/plaques/FRtag1/")) b.AssertFileContent("public/en/tags/tag1/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/tags/tag1/") // nn (Nynorsk) and nb (Bokmål) have custom pagePath: side ("page" in Norwegian) b.AssertFileContent("public/nn/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nn/"`) b.AssertFileContent("public/nb/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nb/"`) } func TestMultiSitesWithTwoLanguages(t *testing.T) { t.Parallel() c := qt.New(t) b := newTestSitesBuilder(t).WithConfigFile("toml", ` defaultContentLanguage = "nn" [languages] [languages.nn] languageName = "Nynorsk" weight = 1 title = "Tittel på Nynorsk" [languages.nn.params] p1 = "p1nn" [languages.en] title = "Title in English" languageName = "English" weight = 2 [languages.en.params] p1 = "p1en" `) b.CreateSites() b.Build(BuildCfg{SkipRender: true}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 2) nnSite := sites[0] nnHome := nnSite.getPage(page.KindHome) c.Assert(len(nnHome.AllTranslations()), qt.Equals, 2) c.Assert(len(nnHome.Translations()), qt.Equals, 1) c.Assert(nnHome.IsTranslated(), qt.Equals, true) enHome := sites[1].getPage(page.KindHome) p1, err := enHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1en") p1, err = nnHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1nn") } func TestMultiSitesBuild(t *testing.T) { for _, config := range []struct { content string suffix string }{ {multiSiteTOMLConfigTemplate, "toml"}, {multiSiteYAMLConfigTemplate, "yml"}, {multiSiteJSONConfigTemplate, "json"}, } { t.Run(config.suffix, func(t *testing.T) { t.Parallel() doTestMultiSitesBuild(t, config.content, config.suffix) }) } } func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { c := qt.New(t) b := newMultiSiteTestBuilder(t, configSuffix, configTemplate, nil) b.CreateSites() sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) b.Build(BuildCfg{}) // Check site config for _, s := range sites { c.Assert(s.Info.defaultContentLanguageInSubdir, qt.Equals, true) c.Assert(s.disabledKinds, qt.Not(qt.IsNil)) } gp1 := b.H.GetContentPage(filepath.FromSlash("content/sect/doc1.en.md")) c.Assert(gp1, qt.Not(qt.IsNil)) c.Assert(gp1.Title(), qt.Equals, "doc1") gp2 := b.H.GetContentPage(filepath.FromSlash("content/dummysect/notfound.md")) c.Assert(gp2, qt.IsNil) enSite := sites[0] enSiteHome := enSite.getPage(page.KindHome) c.Assert(enSiteHome.IsTranslated(), qt.Equals, true) c.Assert(enSite.language.Lang, qt.Equals, "en") // dumpPages(enSite.RegularPages()...) c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(enSite.AllPages()), qt.Equals, 32) // Check 404s b.AssertFileContent("public/en/404.html", "404|en|404 Page not found") b.AssertFileContent("public/fr/404.html", "404|fr|404 Page not found") // Check robots.txt // the domain root is the public directory, so the robots.txt has to be created there and not in the language directories b.AssertFileContent("public/robots.txt", "robots") b.AssertFileDoesNotExist("public/en/robots.txt") b.AssertFileDoesNotExist("public/nn/robots.txt") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Permalink: http://example.com/blog/en/sect/doc1-slug/") b.AssertFileContent("public/en/sect/doc2/index.html", "Permalink: http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/superbob/index.html", "Permalink: http://example.com/blog/superbob/") doc2 := enSite.RegularPages()[1] doc3 := enSite.RegularPages()[2] c.Assert(doc3, qt.Equals, doc2.Prev()) doc1en := enSite.RegularPages()[0] doc1fr := doc1en.Translations()[0] b.AssertFileContent("public/fr/sect/doc1/index.html", "Permalink: http://example.com/blog/fr/sect/doc1/") c.Assert(doc1fr, qt.Equals, doc1en.Translations()[0]) c.Assert(doc1en, qt.Equals, doc1fr.Translations()[0]) c.Assert(doc1fr.Language().Lang, qt.Equals, "fr") doc4 := enSite.AllPages()[4] c.Assert(len(doc4.Translations()), qt.Equals, 0) // Taxonomies and their URLs c.Assert(len(enSite.Taxonomies()), qt.Equals, 1) tags := enSite.Taxonomies()["tags"] c.Assert(len(tags), qt.Equals, 2) c.Assert(doc1en, qt.Equals, tags["tag1"][0].Page) frSite := sites[1] c.Assert(frSite.language.Lang, qt.Equals, "fr") c.Assert(len(frSite.RegularPages()), qt.Equals, 4) c.Assert(len(frSite.AllPages()), qt.Equals, 32) for _, frenchPage := range frSite.RegularPages() { p := frenchPage c.Assert(p.Language().Lang, qt.Equals, "fr") } // See https://github.com/gohugoio/hugo/issues/4285 // Before Hugo 0.33 you had to be explicit with the content path to get the correct Page, which // isn't ideal in a multilingual setup. You want a way to get the current language version if available. // Now you can do lookups with translation base name to get that behaviour. // Let us test all the regular page variants: getPageDoc1En := enSite.getPage(page.KindPage, filepath.ToSlash(doc1en.File().Path())) getPageDoc1EnBase := enSite.getPage(page.KindPage, "sect/doc1") getPageDoc1Fr := frSite.getPage(page.KindPage, filepath.ToSlash(doc1fr.File().Path())) getPageDoc1FrBase := frSite.getPage(page.KindPage, "sect/doc1") c.Assert(getPageDoc1En, qt.Equals, doc1en) c.Assert(getPageDoc1Fr, qt.Equals, doc1fr) c.Assert(getPageDoc1EnBase, qt.Equals, doc1en) c.Assert(getPageDoc1FrBase, qt.Equals, doc1fr) // Check redirect to main language, French b.AssertFileContent("public/index.html", "0; url=http://example.com/blog/fr") // check home page content (including data files rendering) b.AssertFileContent("public/en/index.html", "Default Home Page 1", "Hello", "Hugo Rocks!") b.AssertFileContent("public/fr/index.html", "French Home Page 1", "Bonjour", "Hugo Rocks!") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour", "LingoFrench") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello", "LingoDefault") // Check node translations homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") c.Assert(homeEn.Translations()[1].Language().Lang, qt.Equals, "nn") c.Assert(homeEn.Translations()[1].Title(), qt.Equals, "På nynorsk") c.Assert(homeEn.Translations()[2].Language().Lang, qt.Equals, "nb") c.Assert(homeEn.Translations()[2].Title(), qt.Equals, "På bokmål") c.Assert(homeEn.Translations()[2].Language().LanguageName, qt.Equals, "Bokmål") sectFr := frSite.getPage(page.KindSection, "sect") c.Assert(sectFr, qt.Not(qt.IsNil)) c.Assert(sectFr.Language().Lang, qt.Equals, "fr") c.Assert(len(sectFr.Translations()), qt.Equals, 1) c.Assert(sectFr.Translations()[0].Language().Lang, qt.Equals, "en") c.Assert(sectFr.Translations()[0].Title(), qt.Equals, "Sects") nnSite := sites[2] c.Assert(nnSite.language.Lang, qt.Equals, "nn") taxNn := nnSite.getPage(page.KindTaxonomy, "lag") c.Assert(taxNn, qt.Not(qt.IsNil)) c.Assert(len(taxNn.Translations()), qt.Equals, 1) c.Assert(taxNn.Translations()[0].Language().Lang, qt.Equals, "nb") taxTermNn := nnSite.getPage(page.KindTerm, "lag", "sogndal") c.Assert(taxTermNn, qt.Not(qt.IsNil)) c.Assert(nnSite.getPage(page.KindTerm, "LAG", "SOGNDAL"), qt.Equals, taxTermNn) c.Assert(len(taxTermNn.Translations()), qt.Equals, 1) c.Assert(taxTermNn.Translations()[0].Language().Lang, qt.Equals, "nb") // Check sitemap(s) b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") b.AssertFileContent("public/en/sitemap.xml", "http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/fr/sitemap.xml", "http://example.com/blog/fr/sect/doc1/") // Check taxonomies enTags := enSite.Taxonomies()["tags"] frTags := frSite.Taxonomies()["plaques"] c.Assert(len(enTags), qt.Equals, 2, qt.Commentf("Tags in en: %v", enTags)) c.Assert(len(frTags), qt.Equals, 2, qt.Commentf("Tags in fr: %v", frTags)) c.Assert(enTags["tag1"], qt.Not(qt.IsNil)) c.Assert(frTags["FRtag1"], qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/plaques/FRtag1/index.html", "FRtag1|Bonjour|http://example.com/blog/fr/plaques/FRtag1/") // Check Blackfriday config c.Assert(strings.Contains(content(doc1fr), "&laquo;"), qt.Equals, true) c.Assert(strings.Contains(content(doc1en), "&laquo;"), qt.Equals, false) c.Assert(strings.Contains(content(doc1en), "&ldquo;"), qt.Equals, true) // en and nn have custom site menus c.Assert(len(frSite.Menus()), qt.Equals, 0) c.Assert(len(enSite.Menus()), qt.Equals, 1) c.Assert(len(nnSite.Menus()), qt.Equals, 1) c.Assert(enSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Home") c.Assert(nnSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Heim") // Issue #3108 prevPage := enSite.RegularPages()[0].Prev() c.Assert(prevPage, qt.Not(qt.IsNil)) c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) for { if prevPage == nil { break } c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) prevPage = prevPage.Prev() } // Check bundles b.AssertFileContent("public/fr/bundles/b1/index.html", "RelPermalink: /blog/fr/bundles/b1/|") bundleFr := frSite.getPage(page.KindPage, "bundles/b1/index.md") c.Assert(bundleFr, qt.Not(qt.IsNil)) c.Assert(len(bundleFr.Resources()), qt.Equals, 1) logoFr := bundleFr.Resources().GetMatch("logo*") c.Assert(logoFr, qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/bundles/b1/index.html", "Resources: image/png: /blog/fr/bundles/b1/logo.png") b.AssertFileContent("public/fr/bundles/b1/logo.png", "PNG Data") bundleEn := enSite.getPage(page.KindPage, "bundles/b1/index.en.md") c.Assert(bundleEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "RelPermalink: /blog/en/bundles/b1/|") c.Assert(len(bundleEn.Resources()), qt.Equals, 1) logoEn := bundleEn.Resources().GetMatch("logo*") c.Assert(logoEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "Resources: image/png: /blog/en/bundles/b1/logo.png") b.AssertFileContent("public/en/bundles/b1/logo.png", "PNG Data") } func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 // This leaktest seems to be a little bit shaky on Travis. if !htesting.IsCI() { defer leaktest.CheckTimeout(t, 10*time.Second)() } c := qt.New(t) b := newMultiSiteTestDefaultBuilder(t).Running().CreateSites().Build(BuildCfg{}) sites := b.H.Sites fs := b.Fs b.AssertFileContent("public/en/sect/doc2/index.html", "Single: doc2|Hello|en|", "\n\n<h1 id=\"doc2\">doc2</h1>\n\n<p><em>some content</em>") enSite := sites[0] frSite := sites[1] c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(frSite.RegularPages()), qt.Equals, 4) // Verify translations b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Hello") b.AssertFileContent("public/fr/sect/doc1/index.html", "Bonjour") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello") homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) contentFs := b.H.Fs.Source for i, this := range []struct { preFunc func(t *testing.T) events []fsnotify.Event assertFunc func(t *testing.T) }{ // * Remove doc // * Add docs existing languages // (Add doc new language: TODO(bep) we should load config.toml as part of these so we can add languages). // * Rename file // * Change doc // * Change a template // * Change language file { func(t *testing.T) { fs.Source.Remove("content/sect/doc2.en.md") }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc2.en.md"), Op: fsnotify.Remove}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 4, qt.Commentf("1 en removed")) }, }, { func(t *testing.T) { writeNewContentFile(t, contentFs, "new_en_1", "2016-07-31", "content/new1.en.md", -5) writeNewContentFile(t, contentFs, "new_en_2", "1989-07-30", "content/new2.en.md", -10) writeNewContentFile(t, contentFs, "new_fr_1", "2016-07-30", "content/new1.fr.md", 10) }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new2.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new1.fr.md"), Op: fsnotify.Create}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) c.Assert(frSite.RegularPages()[3].Title(), qt.Equals, "new_fr_1") c.Assert(enSite.RegularPages()[0].Title(), qt.Equals, "new_en_2") c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1/index.html") c.Assert(strings.Contains(rendered, "new_en_1"), qt.Equals, true) }, }, { func(t *testing.T) { p := "content/sect/doc1.en.md" doc1 := readFileFromFs(t, contentFs, p) doc1 += "CHANGED" writeToFs(t, contentFs, p, doc1) }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc1.en.md"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "CHANGED"), qt.Equals, true) }, }, // Rename a file { func(t *testing.T) { if err := contentFs.Rename("content/new1.en.md", "content/new1renamed.en.md"); err != nil { t.Fatalf("Rename failed: %s", err) } }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1renamed.en.md"), Op: fsnotify.Rename}, {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Rename}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6, qt.Commentf("Rename")) c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1renamed/index.html") c.Assert(rendered, qt.Contains, "new_en_1") }, }, { // Change a template func(t *testing.T) { template := "layouts/_default/single.html" templateContent := readSource(t, fs, template) templateContent += "{{ print \"Template Changed\"}}" writeSource(t, fs, template, templateContent) }, []fsnotify.Event{{Name: filepath.FromSlash("layouts/_default/single.html"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "Template Changed"), qt.Equals, true) }, }, { // Change a language file func(t *testing.T) { languageFile := "i18n/fr.yaml" langContent := readSource(t, fs, languageFile) langContent = strings.Replace(langContent, "Bonjour", "Salut", 1) writeSource(t, fs, languageFile, langContent) }, []fsnotify.Event{{Name: filepath.FromSlash("i18n/fr.yaml"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) docEn := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(docEn, "Hello"), qt.Equals, true) docFr := readDestination(t, fs, "public/fr/sect/doc1/index.html") c.Assert(strings.Contains(docFr, "Salut"), qt.Equals, true) homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") }, }, // Change a shortcode { func(t *testing.T) { writeSource(t, fs, "layouts/shortcodes/shortcode.html", "Modified Shortcode: {{ i18n \"hello\" }}") }, []fsnotify.Event{ {Name: filepath.FromSlash("layouts/shortcodes/shortcode.html"), Op: fsnotify.Write}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Modified Shortcode: Salut") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Modified Shortcode: Hello") }, }, } { if this.preFunc != nil { this.preFunc(t) } err := b.H.Build(BuildCfg{}, this.events...) if err != nil { t.Fatalf("[%d] Failed to rebuild sites: %s", i, err) } this.assertFunc(t) } } // https://github.com/gohugoio/hugo/issues/4706 func TestContentStressTest(t *testing.T) { b := newTestSitesBuilder(t) numPages := 500 contentTempl := ` --- %s title: %q weight: %d multioutput: %t --- # Header CONTENT The End. ` contentTempl = strings.Replace(contentTempl, "CONTENT", strings.Repeat(` ## Another header Some text. Some more text. `, 100), -1) var content []string defaultOutputs := `outputs: ["html", "json", "rss" ]` for i := 1; i <= numPages; i++ { outputs := defaultOutputs multioutput := true if i%3 == 0 { outputs = `outputs: ["json"]` multioutput = false } section := "s1" if i%10 == 0 { section = "s2" } content = append(content, []string{fmt.Sprintf("%s/page%d.md", section, i), fmt.Sprintf(contentTempl, outputs, fmt.Sprintf("Title %d", i), i, multioutput)}...) } content = append(content, []string{"_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("Home %d", 0), 0, true)}...) content = append(content, []string{"s1/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 1), 1, true)}...) content = append(content, []string{"s2/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 2), 2, true)}...) b.WithSimpleConfigFile() b.WithTemplates("layouts/_default/single.html", `Single: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/myview.html", `View: {{ len .Content }}`) b.WithTemplates("layouts/_default/single.json", `Single JSON: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/list.html", ` Page: {{ .Paginator.PageNumber }} P: {{ with .File }}{{ path.Join .Path }}{{ end }} List: {{ len .Paginator.Pages }}|List Content: {{ len .Content }} {{ $shuffled := where .Site.RegularPages "Params.multioutput" true | shuffle }} {{ $first5 := $shuffled | first 5 }} L1: {{ len .Site.RegularPages }} L2: {{ len $first5 }} {{ range $i, $e := $first5 }} Render {{ $i }}: {{ .Render "myview" }} {{ end }} END `) b.WithContent(content...) b.CreateSites().Build(BuildCfg{}) contentMatchers := []string{"<h2 id=\"another-header\">Another header</h2>", "<h2 id=\"another-header-99\">Another header</h2>", "<p>The End.</p>"} for i := 1; i <= numPages; i++ { if i%3 != 0 { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.html", section, i), contentMatchers...) } } for i := 1; i <= numPages; i++ { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.json", section, i), contentMatchers...) } checkContent(b, "public/s1/index.html", "P: s1/_index.md\nList: 10|List Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132\n\nRender 1: View: 8132\n\nRender 2: View: 8132\n\nRender 3: View: 8132\n\nRender 4: View: 8132\n\nEND\n") checkContent(b, "public/s2/index.html", "P: s2/_index.md\nList: 10|List Content: 8132", "Render 4: View: 8132\n\nEND") checkContent(b, "public/index.html", "P: _index.md\nList: 10|List Content: 8132", "4: View: 8132\n\nEND") // Check paginated pages for i := 2; i <= 9; i++ { checkContent(b, fmt.Sprintf("public/page/%d/index.html", i), fmt.Sprintf("Page: %d", i), "Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132", "Render 4: View: 8132\n\nEND") } } func checkContent(s *sitesBuilder, filename string, matches ...string) { s.T.Helper() content := readDestination(s.T, s.Fs, filename) for _, match := range matches { if !strings.Contains(content, match) { s.Fatalf("No match for\n%q\nin content for %s\n%q\nDiff:\n%s", match, filename, content, htesting.DiffStrings(content, match)) } } } func TestTranslationsFromContentToNonContent(t *testing.T) { b := newTestSitesBuilder(t) b.WithConfigFile("toml", ` baseURL = "http://example.com/" defaultContentLanguage = "en" [languages] [languages.en] weight = 10 contentDir = "content/en" [languages.nn] weight = 20 contentDir = "content/nn" `) b.WithContent("en/mysection/_index.md", ` --- Title: My Section --- `) b.WithContent("en/_index.md", ` --- Title: My Home --- `) b.WithContent("en/categories/mycat/_index.md", ` --- Title: My MyCat --- `) b.WithContent("en/categories/_index.md", ` --- Title: My categories --- `) for _, lang := range []string{"en", "nn"} { b.WithContent(lang+"/mysection/page.md", ` --- Title: My Page categories: ["mycat"] --- `) } b.Build(BuildCfg{}) for _, path := range []string{ "/", "/mysection", "/categories", "/categories/mycat", } { t.Run(path, func(t *testing.T) { c := qt.New(t) s1, _ := b.H.Sites[0].getPageNew(nil, path) s2, _ := b.H.Sites[1].getPageNew(nil, path) c.Assert(s1, qt.Not(qt.IsNil)) c.Assert(s2, qt.Not(qt.IsNil)) c.Assert(len(s1.Translations()), qt.Equals, 1) c.Assert(len(s2.Translations()), qt.Equals, 1) c.Assert(s1.Translations()[0], qt.Equals, s2) c.Assert(s2.Translations()[0], qt.Equals, s1) m1 := s1.Translations().MergeByLanguage(s2.Translations()) m2 := s2.Translations().MergeByLanguage(s1.Translations()) c.Assert(len(m1), qt.Equals, 1) c.Assert(len(m2), qt.Equals, 1) }) } } // https://github.com/gohugoio/hugo/issues/5777 func TestTableOfContentsInShortcodes(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) b.WithTemplatesAdded("layouts/shortcodes/toc.html", tocShortcode) b.WithTemplatesAdded("layouts/shortcodes/wrapper.html", "{{ .Inner }}") b.WithContent("post/simple.en.md", tocPageSimple) b.WithContent("post/variants1.en.md", tocPageVariants1) b.WithContent("post/variants2.en.md", tocPageVariants2) b.WithContent("post/withSCInHeading.en.md", tocPageWithShortcodesInHeadings) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", tocPageSimpleExpected, // Make sure it is inserted twice `TOC1: <nav id="TableOfContents">`, `TOC2: <nav id="TableOfContents">`, ) b.AssertFileContentFn("public/en/post/variants1/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 4 }) b.AssertFileContentFn("public/en/post/variants2/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 6 }) b.AssertFileContent("public/en/post/withSCInHeading/index.html", tocPageWithShortcodesInHeadingsExpected) } var tocShortcode = ` TOC1: {{ .Page.TableOfContents }} TOC2: {{ .Page.TableOfContents }} ` func TestSelfReferencedContentInShortcode(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) var ( shortcode = `{{- .Page.Content -}}{{- .Page.Summary -}}{{- .Page.Plain -}}{{- .Page.PlainWords -}}{{- .Page.WordCount -}}{{- .Page.ReadingTime -}}` page = `--- title: sctest --- Empty:{{< mycontent >}}: ` ) b.WithTemplatesAdded("layouts/shortcodes/mycontent.html", shortcode) b.WithContent("post/simple.en.md", page) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", "Empty:[]00:") } var tocPageSimple = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {#1-1} Some more text. # Heading 2 {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageVariants1 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 3: {{% toc %}} ` var tocPageVariants2 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 2: {{< wrapper >}} {{< toc >}} {{< /wrapper >}} Variant 3: {{% toc %}} ` var tocPageSimpleExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1</a></li> </ul></li> <li><a href="#2">Heading 2</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var tocPageWithShortcodesInHeadings = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {{< shortcode >}} {#1-1} Some more text. # Heading 2 {{% shortcode %}} {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageWithShortcodesInHeadingsExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1 Shortcode: Hello</a></li> </ul></li> <li><a href="#2">Heading 2 Shortcode: Hello</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var multiSiteTOMLConfigTemplate = ` baseURL = "http://example.com/blog" paginate = 1 disablePathToLower = true defaultContentLanguage = "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir = {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT = true [permalinks] other = "/somewhere/else/:filename" # TODO(bep) [markup] defaultMarkdownHandler = "blackfriday" [markup.blackfriday] angledQuotes = true [Taxonomies] tag = "tags" [Languages] [Languages.en] weight = 10 title = "In English" languageName = "English" [Languages.en.blackfriday] angledQuotes = false [[Languages.en.menu.main]] url = "/" name = "Home" weight = 0 [Languages.fr] weight = 20 title = "Le Français" languageName = "Français" [Languages.fr.Taxonomies] plaque = "plaques" [Languages.nn] weight = 30 title = "På nynorsk" languageName = "Nynorsk" paginatePath = "side" [Languages.nn.Taxonomies] lag = "lag" [[Languages.nn.menu.main]] url = "/" name = "Heim" weight = 1 [Languages.nb] weight = 40 title = "På bokmål" languageName = "Bokmål" paginatePath = "side" [Languages.nb.Taxonomies] lag = "lag" ` var multiSiteYAMLConfigTemplate = ` baseURL: "http://example.com/blog" disablePathToLower: true paginate: 1 defaultContentLanguage: "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir: {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT: true permalinks: other: "/somewhere/else/:filename" # TODO(bep) markup: defaultMarkdownHandler: blackfriday blackFriday: angledQuotes: true Taxonomies: tag: "tags" Languages: en: weight: 10 title: "In English" languageName: "English" blackfriday: angledQuotes: false menu: main: - url: "/" name: "Home" weight: 0 fr: weight: 20 title: "Le Français" languageName: "Français" Taxonomies: plaque: "plaques" nn: weight: 30 title: "På nynorsk" languageName: "Nynorsk" paginatePath: "side" Taxonomies: lag: "lag" menu: main: - url: "/" name: "Heim" weight: 1 nb: weight: 40 title: "På bokmål" languageName: "Bokmål" paginatePath: "side" Taxonomies: lag: "lag" ` // TODO(bep) clean move var multiSiteJSONConfigTemplate = ` { "baseURL": "http://example.com/blog", "paginate": 1, "disablePathToLower": true, "defaultContentLanguage": "{{ .DefaultContentLanguage }}", "defaultContentLanguageInSubdir": true, "enableRobotsTXT": true, "permalinks": { "other": "/somewhere/else/:filename" }, "markup": { "defaultMarkdownHandler": "blackfriday", "blackfriday": { "angledQuotes": true } }, "Taxonomies": { "tag": "tags" }, "Languages": { "en": { "weight": 10, "title": "In English", "languageName": "English", "blackfriday": { "angledQuotes": false }, "menu": { "main": [ { "url": "/", "name": "Home", "weight": 0 } ] } }, "fr": { "weight": 20, "title": "Le Français", "languageName": "Français", "Taxonomies": { "plaque": "plaques" } }, "nn": { "weight": 30, "title": "På nynorsk", "paginatePath": "side", "languageName": "Nynorsk", "Taxonomies": { "lag": "lag" }, "menu": { "main": [ { "url": "/", "name": "Heim", "weight": 1 } ] } }, "nb": { "weight": 40, "title": "På bokmål", "paginatePath": "side", "languageName": "Bokmål", "Taxonomies": { "lag": "lag" } } } } ` func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { t.Helper() writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { t.Helper() if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } } func readDestination(t testing.TB, fs *hugofs.Fs, filename string) string { t.Helper() return readFileFromFs(t, fs.Destination, filename) } func destinationExists(fs *hugofs.Fs, filename string) bool { b, err := helpers.Exists(filename, fs.Destination) if err != nil { panic(err) } return b } func readSource(t *testing.T, fs *hugofs.Fs, filename string) string { return readFileFromFs(t, fs.Source, filename) } func readFileFromFs(t testing.TB, fs afero.Fs, filename string) string { t.Helper() filename = filepath.Clean(filename) b, err := afero.ReadFile(fs, filename) if err != nil { // Print some debug info hadSlash := strings.HasPrefix(filename, helpers.FilePathSeparator) start := 0 if hadSlash { start = 1 } end := start + 1 parts := strings.Split(filename, helpers.FilePathSeparator) if parts[start] == "work" { end++ } /* root := filepath.Join(parts[start:end]...) if hadSlash { root = helpers.FilePathSeparator + root } helpers.PrintFs(fs, root, os.Stdout) */ t.Fatalf("Failed to read file: %s", err) } return string(b) } const testPageTemplate = `--- title: "%s" publishdate: "%s" weight: %d --- # Doc %s ` func newTestPage(title, date string, weight int) string { return fmt.Sprintf(testPageTemplate, title, date, weight, title) } func writeNewContentFile(t *testing.T, fs afero.Fs, title, date, filename string, weight int) { content := newTestPage(title, date, weight) writeToFs(t, fs, filename, content) } type multiSiteTestBuilder struct { configData interface{} config string configFormat string *sitesBuilder } func newMultiSiteTestDefaultBuilder(t testing.TB) *multiSiteTestBuilder { return newMultiSiteTestBuilder(t, "", "", nil) } func (b *multiSiteTestBuilder) WithNewConfig(config string) *multiSiteTestBuilder { b.WithConfigTemplate(b.configData, b.configFormat, config) return b } func (b *multiSiteTestBuilder) WithNewConfigData(data interface{}) *multiSiteTestBuilder { b.WithConfigTemplate(data, b.configFormat, b.config) return b } func newMultiSiteTestBuilder(t testing.TB, configFormat, config string, configData interface{}) *multiSiteTestBuilder { if configData == nil { configData = map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": true, } } if config == "" { config = multiSiteTOMLConfigTemplate } if configFormat == "" { configFormat = "toml" } b := newTestSitesBuilder(t).WithConfigTemplate(configData, configFormat, config) b.WithContent("root.en.md", `--- title: root weight: 10000 slug: root publishdate: "2000-01-01" --- # root `, "sect/doc1.en.md", `--- title: doc1 weight: 1 slug: doc1-slug tags: - tag1 publishdate: "2000-01-01" --- # doc1 *some "content"* {{< shortcode >}} {{< lingo >}} NOTE: slug should be used as URL `, "sect/doc1.fr.md", `--- title: doc1 weight: 1 plaques: - FRtag1 - FRtag2 publishdate: "2000-01-04" --- # doc1 *quelque "contenu"* {{< shortcode >}} {{< lingo >}} NOTE: should be in the 'en' Page's 'Translations' field. NOTE: date is after "doc3" `, "sect/doc2.en.md", `--- title: doc2 weight: 2 publishdate: "2000-01-02" --- # doc2 *some content* NOTE: without slug, "doc2" should be used, without ".en" as URL `, "sect/doc3.en.md", `--- title: doc3 weight: 3 publishdate: "2000-01-03" aliases: [/en/al/alias1,/al/alias2/] tags: - tag2 - tag1 url: /superbob/ --- # doc3 *some content* NOTE: third 'en' doc, should trigger pagination on home page. `, "sect/doc4.md", `--- title: doc4 weight: 4 plaques: - FRtag1 publishdate: "2000-01-05" --- # doc4 *du contenu francophone* NOTE: should use the defaultContentLanguage and mark this doc as 'fr'. NOTE: doesn't have any corresponding translation in 'en' `, "other/doc5.fr.md", `--- title: doc5 weight: 5 publishdate: "2000-01-06" --- # doc5 *autre contenu francophone* NOTE: should use the "permalinks" configuration with :filename `, // Add some for the stats "stats/expired.fr.md", `--- title: expired publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.fr.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/expired.en.md", `--- title: expired weight: 7 publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.en.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/draft.en.md", `--- title: expired publishdate: "2000-01-06" draft: true --- # Draft `, "stats/tax.nn.md", `--- title: Tax NN weight: 8 publishdate: "2000-01-06" weight: 1001 lag: - Sogndal --- # Tax NN `, "stats/tax.nb.md", `--- title: Tax NB weight: 8 publishdate: "2000-01-06" weight: 1002 lag: - Sogndal --- # Tax NB `, // Bundle "bundles/b1/index.en.md", `--- title: Bundle EN publishdate: "2000-01-06" weight: 2001 --- # Bundle Content EN `, "bundles/b1/index.md", `--- title: Bundle Default publishdate: "2000-01-06" weight: 2002 --- # Bundle Content Default `, "bundles/b1/logo.png", ` PNG Data `) i18nContent := func(id, value string) string { return fmt.Sprintf(` [%s] other = %q `, id, value) } b.WithSourceFile("i18n/en.toml", i18nContent("hello", "Hello")) b.WithSourceFile("i18n/fr.toml", i18nContent("hello", "Bonjour")) b.WithSourceFile("i18n/nb.toml", i18nContent("hello", "Hallo")) b.WithSourceFile("i18n/nn.toml", i18nContent("hello", "Hallo")) return &multiSiteTestBuilder{sitesBuilder: b, configFormat: configFormat, config: config, configData: configData} } func TestRebuildOnAssetChange(t *testing.T) { b := newTestSitesBuilder(t).Running() b.WithTemplatesAdded("index.html", ` {{ (resources.Get "data.json").Content }} `) b.WithSourceFile("assets/data.json", "orig data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `orig data`) b.EditFiles("assets/data.json", "changed data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `changed data`) }
package hugolib import ( "fmt" "path/filepath" "strings" "testing" "time" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/resources/page" "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" ) func TestMultiSitesMainLangInRoot(t *testing.T) { t.Parallel() for _, b := range []bool{false} { doTestMultiSitesMainLangInRoot(t, b) } } func doTestMultiSitesMainLangInRoot(t *testing.T, defaultInSubDir bool) { c := qt.New(t) siteConfig := map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": defaultInSubDir, } b := newMultiSiteTestBuilder(t, "toml", multiSiteTOMLConfigTemplate, siteConfig) pathMod := func(s string) string { return s } if !defaultInSubDir { pathMod = func(s string) string { return strings.Replace(s, "/fr/", "/", -1) } } b.CreateSites() b.Build(BuildCfg{}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) enSite := sites[0] frSite := sites[1] c.Assert(enSite.Info.LanguagePrefix, qt.Equals, "/en") if defaultInSubDir { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "/fr") } else { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "") } c.Assert(enSite.PathSpec.RelURL("foo", true), qt.Equals, "/blog/en/foo") doc1en := enSite.RegularPages()[0] doc1fr := frSite.RegularPages()[0] enPerm := doc1en.Permalink() enRelPerm := doc1en.RelPermalink() c.Assert(enPerm, qt.Equals, "http://example.com/blog/en/sect/doc1-slug/") c.Assert(enRelPerm, qt.Equals, "/blog/en/sect/doc1-slug/") frPerm := doc1fr.Permalink() frRelPerm := doc1fr.RelPermalink() b.AssertFileContent(pathMod("public/fr/sect/doc1/index.html"), "Single", "Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Hello") if defaultInSubDir { c.Assert(frPerm, qt.Equals, "http://example.com/blog/fr/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/fr/sect/doc1/") // should have a redirect on top level. b.AssertFileContent("public/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog/fr" />`) } else { // Main language in root c.Assert(frPerm, qt.Equals, "http://example.com/blog/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/sect/doc1/") // should have redirect back to root b.AssertFileContent("public/fr/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog" />`) } b.AssertFileContent(pathMod("public/fr/index.html"), "Home", "Bonjour") b.AssertFileContent("public/en/index.html", "Home", "Hello") // Check list pages b.AssertFileContent(pathMod("public/fr/sect/index.html"), "List", "Bonjour") b.AssertFileContent("public/en/sect/index.html", "List", "Hello") b.AssertFileContent(pathMod("public/fr/plaques/FRtag1/index.html"), "Taxonomy List", "Bonjour") b.AssertFileContent("public/en/tags/tag1/index.html", "Taxonomy List", "Hello") // Check sitemaps // Sitemaps behaves different: In a multilanguage setup there will always be a index file and // one sitemap in each lang folder. b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") if defaultInSubDir { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/fr/</loc>") } else { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/</loc>") } b.AssertFileContent("public/en/sitemap.xml", "<loc>http://example.com/blog/en/</loc>") // Check rss b.AssertFileContent(pathMod("public/fr/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/index.xml"`), `rel="self" type="application/rss+xml"`) b.AssertFileContent("public/en/index.xml", `<atom:link href="http://example.com/blog/en/index.xml"`) b.AssertFileContent( pathMod("public/fr/sect/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/sect/index.xml"`)) b.AssertFileContent("public/en/sect/index.xml", `<atom:link href="http://example.com/blog/en/sect/index.xml"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/plaques/FRtag1/index.xml"`)) b.AssertFileContent("public/en/tags/tag1/index.xml", `<atom:link href="http://example.com/blog/en/tags/tag1/index.xml"`) // Check paginators b.AssertFileContent(pathMod("public/fr/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/"`)) b.AssertFileContent("public/en/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/"`) b.AssertFileContent(pathMod("public/fr/page/2/index.html"), "Home Page 2", "Bonjour", pathMod("http://example.com/blog/fr/")) b.AssertFileContent("public/en/page/2/index.html", "Home Page 2", "Hello", "http://example.com/blog/en/") b.AssertFileContent(pathMod("public/fr/sect/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/sect/"`)) b.AssertFileContent("public/en/sect/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/sect/"`) b.AssertFileContent(pathMod("public/fr/sect/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/sect/")) b.AssertFileContent("public/en/sect/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/sect/") b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/plaques/FRtag1/"`)) b.AssertFileContent("public/en/tags/tag1/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/tags/tag1/"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/plaques/FRtag1/")) b.AssertFileContent("public/en/tags/tag1/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/tags/tag1/") // nn (Nynorsk) and nb (Bokmål) have custom pagePath: side ("page" in Norwegian) b.AssertFileContent("public/nn/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nn/"`) b.AssertFileContent("public/nb/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nb/"`) } func TestMultiSitesWithTwoLanguages(t *testing.T) { t.Parallel() c := qt.New(t) b := newTestSitesBuilder(t).WithConfigFile("toml", ` defaultContentLanguage = "nn" [languages] [languages.nn] languageName = "Nynorsk" weight = 1 title = "Tittel på Nynorsk" [languages.nn.params] p1 = "p1nn" [languages.en] title = "Title in English" languageName = "English" weight = 2 [languages.en.params] p1 = "p1en" `) b.CreateSites() b.Build(BuildCfg{SkipRender: true}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 2) nnSite := sites[0] nnHome := nnSite.getPage(page.KindHome) c.Assert(len(nnHome.AllTranslations()), qt.Equals, 2) c.Assert(len(nnHome.Translations()), qt.Equals, 1) c.Assert(nnHome.IsTranslated(), qt.Equals, true) enHome := sites[1].getPage(page.KindHome) p1, err := enHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1en") p1, err = nnHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1nn") } func TestMultiSitesBuild(t *testing.T) { for _, config := range []struct { content string suffix string }{ {multiSiteTOMLConfigTemplate, "toml"}, {multiSiteYAMLConfigTemplate, "yml"}, {multiSiteJSONConfigTemplate, "json"}, } { t.Run(config.suffix, func(t *testing.T) { t.Parallel() doTestMultiSitesBuild(t, config.content, config.suffix) }) } } func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { c := qt.New(t) b := newMultiSiteTestBuilder(t, configSuffix, configTemplate, nil) b.CreateSites() sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) b.Build(BuildCfg{}) // Check site config for _, s := range sites { c.Assert(s.Info.defaultContentLanguageInSubdir, qt.Equals, true) c.Assert(s.disabledKinds, qt.Not(qt.IsNil)) } gp1 := b.H.GetContentPage(filepath.FromSlash("content/sect/doc1.en.md")) c.Assert(gp1, qt.Not(qt.IsNil)) c.Assert(gp1.Title(), qt.Equals, "doc1") gp2 := b.H.GetContentPage(filepath.FromSlash("content/dummysect/notfound.md")) c.Assert(gp2, qt.IsNil) enSite := sites[0] enSiteHome := enSite.getPage(page.KindHome) c.Assert(enSiteHome.IsTranslated(), qt.Equals, true) c.Assert(enSite.language.Lang, qt.Equals, "en") // dumpPages(enSite.RegularPages()...) c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(enSite.AllPages()), qt.Equals, 32) // Check 404s b.AssertFileContent("public/en/404.html", "404|en|404 Page not found") b.AssertFileContent("public/fr/404.html", "404|fr|404 Page not found") // Check robots.txt // the domain root is the public directory, so the robots.txt has to be created there and not in the language directories b.AssertFileContent("public/robots.txt", "robots") b.AssertFileDoesNotExist("public/en/robots.txt") b.AssertFileDoesNotExist("public/nn/robots.txt") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Permalink: http://example.com/blog/en/sect/doc1-slug/") b.AssertFileContent("public/en/sect/doc2/index.html", "Permalink: http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/superbob/index.html", "Permalink: http://example.com/blog/superbob/") doc2 := enSite.RegularPages()[1] doc3 := enSite.RegularPages()[2] c.Assert(doc3, qt.Equals, doc2.Prev()) doc1en := enSite.RegularPages()[0] doc1fr := doc1en.Translations()[0] b.AssertFileContent("public/fr/sect/doc1/index.html", "Permalink: http://example.com/blog/fr/sect/doc1/") c.Assert(doc1fr, qt.Equals, doc1en.Translations()[0]) c.Assert(doc1en, qt.Equals, doc1fr.Translations()[0]) c.Assert(doc1fr.Language().Lang, qt.Equals, "fr") doc4 := enSite.AllPages()[4] c.Assert(len(doc4.Translations()), qt.Equals, 0) // Taxonomies and their URLs c.Assert(len(enSite.Taxonomies()), qt.Equals, 1) tags := enSite.Taxonomies()["tags"] c.Assert(len(tags), qt.Equals, 2) c.Assert(doc1en, qt.Equals, tags["tag1"][0].Page) frSite := sites[1] c.Assert(frSite.language.Lang, qt.Equals, "fr") c.Assert(len(frSite.RegularPages()), qt.Equals, 4) c.Assert(len(frSite.AllPages()), qt.Equals, 32) for _, frenchPage := range frSite.RegularPages() { p := frenchPage c.Assert(p.Language().Lang, qt.Equals, "fr") } // See https://github.com/gohugoio/hugo/issues/4285 // Before Hugo 0.33 you had to be explicit with the content path to get the correct Page, which // isn't ideal in a multilingual setup. You want a way to get the current language version if available. // Now you can do lookups with translation base name to get that behaviour. // Let us test all the regular page variants: getPageDoc1En := enSite.getPage(page.KindPage, filepath.ToSlash(doc1en.File().Path())) getPageDoc1EnBase := enSite.getPage(page.KindPage, "sect/doc1") getPageDoc1Fr := frSite.getPage(page.KindPage, filepath.ToSlash(doc1fr.File().Path())) getPageDoc1FrBase := frSite.getPage(page.KindPage, "sect/doc1") c.Assert(getPageDoc1En, qt.Equals, doc1en) c.Assert(getPageDoc1Fr, qt.Equals, doc1fr) c.Assert(getPageDoc1EnBase, qt.Equals, doc1en) c.Assert(getPageDoc1FrBase, qt.Equals, doc1fr) // Check redirect to main language, French b.AssertFileContent("public/index.html", "0; url=http://example.com/blog/fr") // check home page content (including data files rendering) b.AssertFileContent("public/en/index.html", "Default Home Page 1", "Hello", "Hugo Rocks!") b.AssertFileContent("public/fr/index.html", "French Home Page 1", "Bonjour", "Hugo Rocks!") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour", "LingoFrench") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello", "LingoDefault") // Check node translations homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") c.Assert(homeEn.Translations()[1].Language().Lang, qt.Equals, "nn") c.Assert(homeEn.Translations()[1].Title(), qt.Equals, "På nynorsk") c.Assert(homeEn.Translations()[2].Language().Lang, qt.Equals, "nb") c.Assert(homeEn.Translations()[2].Title(), qt.Equals, "På bokmål") c.Assert(homeEn.Translations()[2].Language().LanguageName, qt.Equals, "Bokmål") sectFr := frSite.getPage(page.KindSection, "sect") c.Assert(sectFr, qt.Not(qt.IsNil)) c.Assert(sectFr.Language().Lang, qt.Equals, "fr") c.Assert(len(sectFr.Translations()), qt.Equals, 1) c.Assert(sectFr.Translations()[0].Language().Lang, qt.Equals, "en") c.Assert(sectFr.Translations()[0].Title(), qt.Equals, "Sects") nnSite := sites[2] c.Assert(nnSite.language.Lang, qt.Equals, "nn") taxNn := nnSite.getPage(page.KindTaxonomy, "lag") c.Assert(taxNn, qt.Not(qt.IsNil)) c.Assert(len(taxNn.Translations()), qt.Equals, 1) c.Assert(taxNn.Translations()[0].Language().Lang, qt.Equals, "nb") taxTermNn := nnSite.getPage(page.KindTerm, "lag", "sogndal") c.Assert(taxTermNn, qt.Not(qt.IsNil)) c.Assert(nnSite.getPage(page.KindTerm, "LAG", "SOGNDAL"), qt.Equals, taxTermNn) c.Assert(len(taxTermNn.Translations()), qt.Equals, 1) c.Assert(taxTermNn.Translations()[0].Language().Lang, qt.Equals, "nb") // Check sitemap(s) b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") b.AssertFileContent("public/en/sitemap.xml", "http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/fr/sitemap.xml", "http://example.com/blog/fr/sect/doc1/") // Check taxonomies enTags := enSite.Taxonomies()["tags"] frTags := frSite.Taxonomies()["plaques"] c.Assert(len(enTags), qt.Equals, 2, qt.Commentf("Tags in en: %v", enTags)) c.Assert(len(frTags), qt.Equals, 2, qt.Commentf("Tags in fr: %v", frTags)) c.Assert(enTags["tag1"], qt.Not(qt.IsNil)) c.Assert(frTags["FRtag1"], qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/plaques/FRtag1/index.html", "FRtag1|Bonjour|http://example.com/blog/fr/plaques/FRtag1/") // Check Blackfriday config c.Assert(strings.Contains(content(doc1fr), "&laquo;"), qt.Equals, true) c.Assert(strings.Contains(content(doc1en), "&laquo;"), qt.Equals, false) c.Assert(strings.Contains(content(doc1en), "&ldquo;"), qt.Equals, true) // en and nn have custom site menus c.Assert(len(frSite.Menus()), qt.Equals, 0) c.Assert(len(enSite.Menus()), qt.Equals, 1) c.Assert(len(nnSite.Menus()), qt.Equals, 1) c.Assert(enSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Home") c.Assert(nnSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Heim") // Issue #3108 prevPage := enSite.RegularPages()[0].Prev() c.Assert(prevPage, qt.Not(qt.IsNil)) c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) for { if prevPage == nil { break } c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) prevPage = prevPage.Prev() } // Check bundles b.AssertFileContent("public/fr/bundles/b1/index.html", "RelPermalink: /blog/fr/bundles/b1/|") bundleFr := frSite.getPage(page.KindPage, "bundles/b1/index.md") c.Assert(bundleFr, qt.Not(qt.IsNil)) c.Assert(len(bundleFr.Resources()), qt.Equals, 1) logoFr := bundleFr.Resources().GetMatch("logo*") c.Assert(logoFr, qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/bundles/b1/index.html", "Resources: image/png: /blog/fr/bundles/b1/logo.png") b.AssertFileContent("public/fr/bundles/b1/logo.png", "PNG Data") bundleEn := enSite.getPage(page.KindPage, "bundles/b1/index.en.md") c.Assert(bundleEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "RelPermalink: /blog/en/bundles/b1/|") c.Assert(len(bundleEn.Resources()), qt.Equals, 1) logoEn := bundleEn.Resources().GetMatch("logo*") c.Assert(logoEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "Resources: image/png: /blog/en/bundles/b1/logo.png") b.AssertFileContent("public/en/bundles/b1/logo.png", "PNG Data") } func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 // This leaktest seems to be a little bit shaky on Travis. if !htesting.IsCI() { defer leaktest.CheckTimeout(t, 10*time.Second)() } c := qt.New(t) b := newMultiSiteTestDefaultBuilder(t).Running().CreateSites().Build(BuildCfg{}) sites := b.H.Sites fs := b.Fs b.AssertFileContent("public/en/sect/doc2/index.html", "Single: doc2|Hello|en|", "\n\n<h1 id=\"doc2\">doc2</h1>\n\n<p><em>some content</em>") enSite := sites[0] frSite := sites[1] c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(frSite.RegularPages()), qt.Equals, 4) // Verify translations b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Hello") b.AssertFileContent("public/fr/sect/doc1/index.html", "Bonjour") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello") homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) contentFs := b.H.Fs.Source for i, this := range []struct { preFunc func(t *testing.T) events []fsnotify.Event assertFunc func(t *testing.T) }{ // * Remove doc // * Add docs existing languages // (Add doc new language: TODO(bep) we should load config.toml as part of these so we can add languages). // * Rename file // * Change doc // * Change a template // * Change language file { func(t *testing.T) { fs.Source.Remove("content/sect/doc2.en.md") }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc2.en.md"), Op: fsnotify.Remove}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 4, qt.Commentf("1 en removed")) }, }, { func(t *testing.T) { writeNewContentFile(t, contentFs, "new_en_1", "2016-07-31", "content/new1.en.md", -5) writeNewContentFile(t, contentFs, "new_en_2", "1989-07-30", "content/new2.en.md", -10) writeNewContentFile(t, contentFs, "new_fr_1", "2016-07-30", "content/new1.fr.md", 10) }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new2.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new1.fr.md"), Op: fsnotify.Create}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) c.Assert(frSite.RegularPages()[3].Title(), qt.Equals, "new_fr_1") c.Assert(enSite.RegularPages()[0].Title(), qt.Equals, "new_en_2") c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1/index.html") c.Assert(strings.Contains(rendered, "new_en_1"), qt.Equals, true) }, }, { func(t *testing.T) { p := "content/sect/doc1.en.md" doc1 := readFileFromFs(t, contentFs, p) doc1 += "CHANGED" writeToFs(t, contentFs, p, doc1) }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc1.en.md"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "CHANGED"), qt.Equals, true) }, }, // Rename a file { func(t *testing.T) { if err := contentFs.Rename("content/new1.en.md", "content/new1renamed.en.md"); err != nil { t.Fatalf("Rename failed: %s", err) } }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1renamed.en.md"), Op: fsnotify.Rename}, {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Rename}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6, qt.Commentf("Rename")) c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1renamed/index.html") c.Assert(rendered, qt.Contains, "new_en_1") }, }, { // Change a template func(t *testing.T) { template := "layouts/_default/single.html" templateContent := readSource(t, fs, template) templateContent += "{{ print \"Template Changed\"}}" writeSource(t, fs, template, templateContent) }, []fsnotify.Event{{Name: filepath.FromSlash("layouts/_default/single.html"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "Template Changed"), qt.Equals, true) }, }, { // Change a language file func(t *testing.T) { languageFile := "i18n/fr.yaml" langContent := readSource(t, fs, languageFile) langContent = strings.Replace(langContent, "Bonjour", "Salut", 1) writeSource(t, fs, languageFile, langContent) }, []fsnotify.Event{{Name: filepath.FromSlash("i18n/fr.yaml"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) docEn := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(docEn, "Hello"), qt.Equals, true) docFr := readDestination(t, fs, "public/fr/sect/doc1/index.html") c.Assert(strings.Contains(docFr, "Salut"), qt.Equals, true) homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") }, }, // Change a shortcode { func(t *testing.T) { writeSource(t, fs, "layouts/shortcodes/shortcode.html", "Modified Shortcode: {{ i18n \"hello\" }}") }, []fsnotify.Event{ {Name: filepath.FromSlash("layouts/shortcodes/shortcode.html"), Op: fsnotify.Write}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Modified Shortcode: Salut") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Modified Shortcode: Hello") }, }, } { if this.preFunc != nil { this.preFunc(t) } err := b.H.Build(BuildCfg{}, this.events...) if err != nil { t.Fatalf("[%d] Failed to rebuild sites: %s", i, err) } this.assertFunc(t) } } // https://github.com/gohugoio/hugo/issues/4706 func TestContentStressTest(t *testing.T) { b := newTestSitesBuilder(t) numPages := 500 contentTempl := ` --- %s title: %q weight: %d multioutput: %t --- # Header CONTENT The End. ` contentTempl = strings.Replace(contentTempl, "CONTENT", strings.Repeat(` ## Another header Some text. Some more text. `, 100), -1) var content []string defaultOutputs := `outputs: ["html", "json", "rss" ]` for i := 1; i <= numPages; i++ { outputs := defaultOutputs multioutput := true if i%3 == 0 { outputs = `outputs: ["json"]` multioutput = false } section := "s1" if i%10 == 0 { section = "s2" } content = append(content, []string{fmt.Sprintf("%s/page%d.md", section, i), fmt.Sprintf(contentTempl, outputs, fmt.Sprintf("Title %d", i), i, multioutput)}...) } content = append(content, []string{"_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("Home %d", 0), 0, true)}...) content = append(content, []string{"s1/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 1), 1, true)}...) content = append(content, []string{"s2/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 2), 2, true)}...) b.WithSimpleConfigFile() b.WithTemplates("layouts/_default/single.html", `Single: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/myview.html", `View: {{ len .Content }}`) b.WithTemplates("layouts/_default/single.json", `Single JSON: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/list.html", ` Page: {{ .Paginator.PageNumber }} P: {{ with .File }}{{ path.Join .Path }}{{ end }} List: {{ len .Paginator.Pages }}|List Content: {{ len .Content }} {{ $shuffled := where .Site.RegularPages "Params.multioutput" true | shuffle }} {{ $first5 := $shuffled | first 5 }} L1: {{ len .Site.RegularPages }} L2: {{ len $first5 }} {{ range $i, $e := $first5 }} Render {{ $i }}: {{ .Render "myview" }} {{ end }} END `) b.WithContent(content...) b.CreateSites().Build(BuildCfg{}) contentMatchers := []string{"<h2 id=\"another-header\">Another header</h2>", "<h2 id=\"another-header-99\">Another header</h2>", "<p>The End.</p>"} for i := 1; i <= numPages; i++ { if i%3 != 0 { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.html", section, i), contentMatchers...) } } for i := 1; i <= numPages; i++ { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.json", section, i), contentMatchers...) } checkContent(b, "public/s1/index.html", "P: s1/_index.md\nList: 10|List Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132\n\nRender 1: View: 8132\n\nRender 2: View: 8132\n\nRender 3: View: 8132\n\nRender 4: View: 8132\n\nEND\n") checkContent(b, "public/s2/index.html", "P: s2/_index.md\nList: 10|List Content: 8132", "Render 4: View: 8132\n\nEND") checkContent(b, "public/index.html", "P: _index.md\nList: 10|List Content: 8132", "4: View: 8132\n\nEND") // Check paginated pages for i := 2; i <= 9; i++ { checkContent(b, fmt.Sprintf("public/page/%d/index.html", i), fmt.Sprintf("Page: %d", i), "Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132", "Render 4: View: 8132\n\nEND") } } func checkContent(s *sitesBuilder, filename string, matches ...string) { s.T.Helper() content := readDestination(s.T, s.Fs, filename) for _, match := range matches { if !strings.Contains(content, match) { s.Fatalf("No match for\n%q\nin content for %s\n%q\nDiff:\n%s", match, filename, content, htesting.DiffStrings(content, match)) } } } func TestTranslationsFromContentToNonContent(t *testing.T) { b := newTestSitesBuilder(t) b.WithConfigFile("toml", ` baseURL = "http://example.com/" defaultContentLanguage = "en" [languages] [languages.en] weight = 10 contentDir = "content/en" [languages.nn] weight = 20 contentDir = "content/nn" `) b.WithContent("en/mysection/_index.md", ` --- Title: My Section --- `) b.WithContent("en/_index.md", ` --- Title: My Home --- `) b.WithContent("en/categories/mycat/_index.md", ` --- Title: My MyCat --- `) b.WithContent("en/categories/_index.md", ` --- Title: My categories --- `) for _, lang := range []string{"en", "nn"} { b.WithContent(lang+"/mysection/page.md", ` --- Title: My Page categories: ["mycat"] --- `) } b.Build(BuildCfg{}) for _, path := range []string{ "/", "/mysection", "/categories", "/categories/mycat", } { t.Run(path, func(t *testing.T) { c := qt.New(t) s1, _ := b.H.Sites[0].getPageNew(nil, path) s2, _ := b.H.Sites[1].getPageNew(nil, path) c.Assert(s1, qt.Not(qt.IsNil)) c.Assert(s2, qt.Not(qt.IsNil)) c.Assert(len(s1.Translations()), qt.Equals, 1) c.Assert(len(s2.Translations()), qt.Equals, 1) c.Assert(s1.Translations()[0], qt.Equals, s2) c.Assert(s2.Translations()[0], qt.Equals, s1) m1 := s1.Translations().MergeByLanguage(s2.Translations()) m2 := s2.Translations().MergeByLanguage(s1.Translations()) c.Assert(len(m1), qt.Equals, 1) c.Assert(len(m2), qt.Equals, 1) }) } } // https://github.com/gohugoio/hugo/issues/5777 func TestTableOfContentsInShortcodes(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) b.WithTemplatesAdded("layouts/shortcodes/toc.html", tocShortcode) b.WithTemplatesAdded("layouts/shortcodes/wrapper.html", "{{ .Inner }}") b.WithContent("post/simple.en.md", tocPageSimple) b.WithContent("post/variants1.en.md", tocPageVariants1) b.WithContent("post/variants2.en.md", tocPageVariants2) b.WithContent("post/withSCInHeading.en.md", tocPageWithShortcodesInHeadings) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", tocPageSimpleExpected, // Make sure it is inserted twice `TOC1: <nav id="TableOfContents">`, `TOC2: <nav id="TableOfContents">`, ) b.AssertFileContentFn("public/en/post/variants1/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 4 }) b.AssertFileContentFn("public/en/post/variants2/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 6 }) b.AssertFileContent("public/en/post/withSCInHeading/index.html", tocPageWithShortcodesInHeadingsExpected) } var tocShortcode = ` TOC1: {{ .Page.TableOfContents }} TOC2: {{ .Page.TableOfContents }} ` func TestSelfReferencedContentInShortcode(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) var ( shortcode = `{{- .Page.Content -}}{{- .Page.Summary -}}{{- .Page.Plain -}}{{- .Page.PlainWords -}}{{- .Page.WordCount -}}{{- .Page.ReadingTime -}}` page = `--- title: sctest --- Empty:{{< mycontent >}}: ` ) b.WithTemplatesAdded("layouts/shortcodes/mycontent.html", shortcode) b.WithContent("post/simple.en.md", page) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", "Empty:[]00:") } var tocPageSimple = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {#1-1} Some more text. # Heading 2 {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageVariants1 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 3: {{% toc %}} ` var tocPageVariants2 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 2: {{< wrapper >}} {{< toc >}} {{< /wrapper >}} Variant 3: {{% toc %}} ` var tocPageSimpleExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1</a></li> </ul></li> <li><a href="#2">Heading 2</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var tocPageWithShortcodesInHeadings = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {{< shortcode >}} {#1-1} Some more text. # Heading 2 {{% shortcode %}} {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageWithShortcodesInHeadingsExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1 Shortcode: Hello</a></li> </ul></li> <li><a href="#2">Heading 2 Shortcode: Hello</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var multiSiteTOMLConfigTemplate = ` baseURL = "http://example.com/blog" paginate = 1 disablePathToLower = true defaultContentLanguage = "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir = {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT = true [permalinks] other = "/somewhere/else/:filename" # TODO(bep) [markup] defaultMarkdownHandler = "blackfriday" [markup.blackfriday] angledQuotes = true [Taxonomies] tag = "tags" [Languages] [Languages.en] weight = 10 title = "In English" languageName = "English" [Languages.en.blackfriday] angledQuotes = false [[Languages.en.menu.main]] url = "/" name = "Home" weight = 0 [Languages.fr] weight = 20 title = "Le Français" languageName = "Français" [Languages.fr.Taxonomies] plaque = "plaques" [Languages.nn] weight = 30 title = "På nynorsk" languageName = "Nynorsk" paginatePath = "side" [Languages.nn.Taxonomies] lag = "lag" [[Languages.nn.menu.main]] url = "/" name = "Heim" weight = 1 [Languages.nb] weight = 40 title = "På bokmål" languageName = "Bokmål" paginatePath = "side" [Languages.nb.Taxonomies] lag = "lag" ` var multiSiteYAMLConfigTemplate = ` baseURL: "http://example.com/blog" disablePathToLower: true paginate: 1 defaultContentLanguage: "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir: {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT: true permalinks: other: "/somewhere/else/:filename" # TODO(bep) markup: defaultMarkdownHandler: blackfriday blackFriday: angledQuotes: true Taxonomies: tag: "tags" Languages: en: weight: 10 title: "In English" languageName: "English" blackfriday: angledQuotes: false menu: main: - url: "/" name: "Home" weight: 0 fr: weight: 20 title: "Le Français" languageName: "Français" Taxonomies: plaque: "plaques" nn: weight: 30 title: "På nynorsk" languageName: "Nynorsk" paginatePath: "side" Taxonomies: lag: "lag" menu: main: - url: "/" name: "Heim" weight: 1 nb: weight: 40 title: "På bokmål" languageName: "Bokmål" paginatePath: "side" Taxonomies: lag: "lag" ` // TODO(bep) clean move var multiSiteJSONConfigTemplate = ` { "baseURL": "http://example.com/blog", "paginate": 1, "disablePathToLower": true, "defaultContentLanguage": "{{ .DefaultContentLanguage }}", "defaultContentLanguageInSubdir": true, "enableRobotsTXT": true, "permalinks": { "other": "/somewhere/else/:filename" }, "markup": { "defaultMarkdownHandler": "blackfriday", "blackfriday": { "angledQuotes": true } }, "Taxonomies": { "tag": "tags" }, "Languages": { "en": { "weight": 10, "title": "In English", "languageName": "English", "blackfriday": { "angledQuotes": false }, "menu": { "main": [ { "url": "/", "name": "Home", "weight": 0 } ] } }, "fr": { "weight": 20, "title": "Le Français", "languageName": "Français", "Taxonomies": { "plaque": "plaques" } }, "nn": { "weight": 30, "title": "På nynorsk", "paginatePath": "side", "languageName": "Nynorsk", "Taxonomies": { "lag": "lag" }, "menu": { "main": [ { "url": "/", "name": "Heim", "weight": 1 } ] } }, "nb": { "weight": 40, "title": "På bokmål", "paginatePath": "side", "languageName": "Bokmål", "Taxonomies": { "lag": "lag" } } } } ` func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { t.Helper() writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { t.Helper() if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } } func readDestination(t testing.TB, fs *hugofs.Fs, filename string) string { t.Helper() return readFileFromFs(t, fs.Destination, filename) } func destinationExists(fs *hugofs.Fs, filename string) bool { b, err := helpers.Exists(filename, fs.Destination) if err != nil { panic(err) } return b } func readSource(t *testing.T, fs *hugofs.Fs, filename string) string { return readFileFromFs(t, fs.Source, filename) } func readFileFromFs(t testing.TB, fs afero.Fs, filename string) string { t.Helper() filename = filepath.Clean(filename) b, err := afero.ReadFile(fs, filename) if err != nil { // Print some debug info hadSlash := strings.HasPrefix(filename, helpers.FilePathSeparator) start := 0 if hadSlash { start = 1 } end := start + 1 parts := strings.Split(filename, helpers.FilePathSeparator) if parts[start] == "work" { end++ } /* root := filepath.Join(parts[start:end]...) if hadSlash { root = helpers.FilePathSeparator + root } helpers.PrintFs(fs, root, os.Stdout) */ t.Fatalf("Failed to read file: %s", err) } return string(b) } const testPageTemplate = `--- title: "%s" publishdate: "%s" weight: %d --- # Doc %s ` func newTestPage(title, date string, weight int) string { return fmt.Sprintf(testPageTemplate, title, date, weight, title) } func writeNewContentFile(t *testing.T, fs afero.Fs, title, date, filename string, weight int) { content := newTestPage(title, date, weight) writeToFs(t, fs, filename, content) } type multiSiteTestBuilder struct { configData interface{} config string configFormat string *sitesBuilder } func newMultiSiteTestDefaultBuilder(t testing.TB) *multiSiteTestBuilder { return newMultiSiteTestBuilder(t, "", "", nil) } func (b *multiSiteTestBuilder) WithNewConfig(config string) *multiSiteTestBuilder { b.WithConfigTemplate(b.configData, b.configFormat, config) return b } func (b *multiSiteTestBuilder) WithNewConfigData(data interface{}) *multiSiteTestBuilder { b.WithConfigTemplate(data, b.configFormat, b.config) return b } func newMultiSiteTestBuilder(t testing.TB, configFormat, config string, configData interface{}) *multiSiteTestBuilder { if configData == nil { configData = map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": true, } } if config == "" { config = multiSiteTOMLConfigTemplate } if configFormat == "" { configFormat = "toml" } b := newTestSitesBuilder(t).WithConfigTemplate(configData, configFormat, config) b.WithContent("root.en.md", `--- title: root weight: 10000 slug: root publishdate: "2000-01-01" --- # root `, "sect/doc1.en.md", `--- title: doc1 weight: 1 slug: doc1-slug tags: - tag1 publishdate: "2000-01-01" --- # doc1 *some "content"* {{< shortcode >}} {{< lingo >}} NOTE: slug should be used as URL `, "sect/doc1.fr.md", `--- title: doc1 weight: 1 plaques: - FRtag1 - FRtag2 publishdate: "2000-01-04" --- # doc1 *quelque "contenu"* {{< shortcode >}} {{< lingo >}} NOTE: should be in the 'en' Page's 'Translations' field. NOTE: date is after "doc3" `, "sect/doc2.en.md", `--- title: doc2 weight: 2 publishdate: "2000-01-02" --- # doc2 *some content* NOTE: without slug, "doc2" should be used, without ".en" as URL `, "sect/doc3.en.md", `--- title: doc3 weight: 3 publishdate: "2000-01-03" aliases: [/en/al/alias1,/al/alias2/] tags: - tag2 - tag1 url: /superbob/ --- # doc3 *some content* NOTE: third 'en' doc, should trigger pagination on home page. `, "sect/doc4.md", `--- title: doc4 weight: 4 plaques: - FRtag1 publishdate: "2000-01-05" --- # doc4 *du contenu francophone* NOTE: should use the defaultContentLanguage and mark this doc as 'fr'. NOTE: doesn't have any corresponding translation in 'en' `, "other/doc5.fr.md", `--- title: doc5 weight: 5 publishdate: "2000-01-06" --- # doc5 *autre contenu francophone* NOTE: should use the "permalinks" configuration with :filename `, // Add some for the stats "stats/expired.fr.md", `--- title: expired publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.fr.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/expired.en.md", `--- title: expired weight: 7 publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.en.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/draft.en.md", `--- title: expired publishdate: "2000-01-06" draft: true --- # Draft `, "stats/tax.nn.md", `--- title: Tax NN weight: 8 publishdate: "2000-01-06" weight: 1001 lag: - Sogndal --- # Tax NN `, "stats/tax.nb.md", `--- title: Tax NB weight: 8 publishdate: "2000-01-06" weight: 1002 lag: - Sogndal --- # Tax NB `, // Bundle "bundles/b1/index.en.md", `--- title: Bundle EN publishdate: "2000-01-06" weight: 2001 --- # Bundle Content EN `, "bundles/b1/index.md", `--- title: Bundle Default publishdate: "2000-01-06" weight: 2002 --- # Bundle Content Default `, "bundles/b1/logo.png", ` PNG Data `) i18nContent := func(id, value string) string { return fmt.Sprintf(` [%s] other = %q `, id, value) } b.WithSourceFile("i18n/en.toml", i18nContent("hello", "Hello")) b.WithSourceFile("i18n/fr.toml", i18nContent("hello", "Bonjour")) b.WithSourceFile("i18n/nb.toml", i18nContent("hello", "Hallo")) b.WithSourceFile("i18n/nn.toml", i18nContent("hello", "Hallo")) return &multiSiteTestBuilder{sitesBuilder: b, configFormat: configFormat, config: config, configData: configData} } func TestRebuildOnAssetChange(t *testing.T) { b := newTestSitesBuilder(t).Running() b.WithTemplatesAdded("index.html", ` {{ (resources.Get "data.json").Content }} `) b.WithSourceFile("assets/data.json", "orig data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `orig data`) b.EditFiles("assets/data.json", "changed data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `changed data`) }
-1
gohugoio/hugo
8,150
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1
Signed-off-by: Robert-André Mauchin <[email protected]>
eclipseo
"2021-01-18T01:52:30Z"
"2021-01-19T16:25:21Z"
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
07ad283f686904e5835f621d73ed342ba2a48eb3
build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1. Signed-off-by: Robert-André Mauchin <[email protected]>
./docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/home-page-sections/showcase.html
<section class="bg-near-white mid-gray pb5 ph4 ph5-ns pt4 w-100"> <h3 class="black f1 fw4 lh-title ma0 pb3 pt0-l pt4">Showcase</h3> {{/* NOTE: transitions for this section are in themes/gohugoioTheme/src/css/_carousel.css */}} <div class="w-100"> <div class="w-100 overflow-x-scroll"> <div class="row nowrap mv2 pb1"> {{ $showcasePages := where .Site.RegularPages "Section" "showcase" }} {{ if $showcasePages }} {{ template "home_showcase_item" (index $showcasePages 0) }} {{ range $p := first 10 ($showcasePages | after 1 | shuffle) }} {{template "home_showcase_item" $p }} {{end}} {{end}} </div> </div> </div> {{/* END */}} <div class="flex w-100 mt4 justify-end">{{/* using Flex to make the button show up on the right side */}} <a href="/showcase/" class="br2 f6 bg-primary-color-dark hover-bg-primary-color link ph3 pv2 ttu white">See All</a> </div> </section> {{ define "home_showcase_item" }} {{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $img }} {{ $big := .Fill "1024x512 top" }} {{ $small := $big.Resize "512x" }} <a href="{{ $.RelPermalink}}" class="tile lazyload cover dib f4 h5 ml1 mr4 bg-black relative mw-100 shadow-5" style="width:{{ $small.Width }}px;" data-bg="{{ $img.RelPermalink }}" data-sizes="auto" data-srcset="{{ $small.RelPermalink }} 1x, {{ $big.RelPermalink }} 2x" data-src="small" > {{with $.Title}} <div class="details absolute bottom-0 f3-ns f4 left-0 o-0 right-0 top-0"> <div class="absolute bottom-0 pa2 tc white"> {{.}} &#8594; </div> </div> {{end}} </a> {{ end }} {{ end }}
<section class="bg-near-white mid-gray pb5 ph4 ph5-ns pt4 w-100"> <h3 class="black f1 fw4 lh-title ma0 pb3 pt0-l pt4">Showcase</h3> {{/* NOTE: transitions for this section are in themes/gohugoioTheme/src/css/_carousel.css */}} <div class="w-100"> <div class="w-100 overflow-x-scroll"> <div class="row nowrap mv2 pb1"> {{ $showcasePages := where .Site.RegularPages "Section" "showcase" }} {{ if $showcasePages }} {{ template "home_showcase_item" (index $showcasePages 0) }} {{ range $p := first 10 ($showcasePages | after 1 | shuffle) }} {{template "home_showcase_item" $p }} {{end}} {{end}} </div> </div> </div> {{/* END */}} <div class="flex w-100 mt4 justify-end">{{/* using Flex to make the button show up on the right side */}} <a href="/showcase/" class="br2 f6 bg-primary-color-dark hover-bg-primary-color link ph3 pv2 ttu white">See All</a> </div> </section> {{ define "home_showcase_item" }} {{ $img := (.Resources.ByType "image").GetMatch "*featured*" }} {{ with $img }} {{ $big := .Fill "1024x512 top" }} {{ $small := $big.Resize "512x" }} <a href="{{ $.RelPermalink}}" class="tile lazyload cover dib f4 h5 ml1 mr4 bg-black relative mw-100 shadow-5" style="width:{{ $small.Width }}px;" data-bg="{{ $img.RelPermalink }}" data-sizes="auto" data-srcset="{{ $small.RelPermalink }} 1x, {{ $big.RelPermalink }} 2x" data-src="small" > {{with $.Title}} <div class="details absolute bottom-0 f3-ns f4 left-0 o-0 right-0 top-0"> <div class="absolute bottom-0 pa2 tc white"> {{.}} &#8594; </div> </div> {{end}} </a> {{ end }} {{ end }}
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/js_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "os" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/htesting" "github.com/spf13/viper" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/loggers" ) func TestJSBuildWithNPM(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { t.Skip("skip NPM test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) mainJS := ` import "./included"; import { toCamelCase } from "to-camel-case"; console.log("main"); console.log("To camel:", toCamelCase("space case")); ` includedJS := ` console.log("included"); ` jsxContent := ` import * as React from 'react' import * as ReactDOM from 'react-dom' ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') ); ` tsContent := `function greeter(person: string) { return "Hello, " + person; } let user = [0, 1, 2]; document.body.textContent = greeter(user);` packageJSON := `{ "scripts": {}, "dependencies": { "to-camel-case": "1.0.0" } } ` workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-js-npm") c.Assert(err, qt.IsNil) defer clean() v := viper.New() v.Set("workingDir", workDir) v.Set("disableKinds", []string{"taxonomy", "term", "page"}) b := newTestSitesBuilder(t).WithLogger(loggers.NewWarningLogger()) // Need to use OS fs for this. b.Fs = hugofs.NewDefault(v) b.WithWorkingDir(workDir) b.WithViper(v) b.WithContent("p1.md", "") b.WithTemplates("index.html", ` {{ $options := dict "minify" false "externals" (slice "react" "react-dom") }} {{ $js := resources.Get "js/main.js" | js.Build $options }} JS: {{ template "print" $js }} {{ $jsx := resources.Get "js/myjsx.jsx" | js.Build $options }} JSX: {{ template "print" $jsx }} {{ $ts := resources.Get "js/myts.ts" | js.Build }} TS: {{ template "print" $ts }} {{ define "print" }}RelPermalink: {{.RelPermalink}}|MIME: {{ .MediaType }}|Content: {{ .Content | safeJS }}{{ end }} `) jsDir := filepath.Join(workDir, "assets", "js") b.Assert(os.MkdirAll(jsDir, 0777), qt.IsNil) b.Assert(os.Chdir(workDir), qt.IsNil) b.WithSourceFile("package.json", packageJSON) b.WithSourceFile("assets/js/main.js", mainJS) b.WithSourceFile("assets/js/myjsx.jsx", jsxContent) b.WithSourceFile("assets/js/myts.ts", tsContent) b.WithSourceFile("assets/js/included.js", includedJS) cmd, err := hexec.SafeCommand("npm", "install") b.Assert(err, qt.IsNil) out, err := cmd.CombinedOutput() b.Assert(err, qt.IsNil, qt.Commentf(string(out))) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", ` console.log(&#34;included&#34;); if (hasSpace.test(string)) var React = __toModule(require(&#34;react&#34;)); function greeter(person) { `) } func TestJSBuild(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { // TODO(bep) we really need to get this working on Travis. t.Skip("skip npm test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-js-mod") c.Assert(err, qt.IsNil) defer clean() config := fmt.Sprintf(` baseURL = "https://example.org" workingDir = %q disableKinds = ["page", "section", "term", "taxonomy"] [module] [[module.imports]] path="github.com/gohugoio/hugoTestProjectJSModImports" `, workDir) b := newTestSitesBuilder(t) b.Fs = hugofs.NewDefault(viper.New()) b.WithWorkingDir(workDir).WithConfigFile("toml", config).WithLogger(loggers.NewInfoLogger()) b.WithSourceFile("go.mod", `module github.com/gohugoio/tests/testHugoModules go 1.15 require github.com/gohugoio/hugoTestProjectJSModImports v0.5.0 // indirect `) b.WithContent("p1.md", "").WithNothingAdded() b.WithSourceFile("package.json", `{ "dependencies": { "date-fns": "^2.16.1" } }`) b.Assert(os.Chdir(workDir), qt.IsNil) cmd, _ := hexec.SafeCommand("npm", "install") _, err = cmd.CombinedOutput() b.Assert(err, qt.IsNil) b.Build(BuildCfg{}) b.AssertFileContent("public/js/main.js", ` greeting: "greeting configured in mod2" Hello1 from mod1: $ return "Hello2 from mod1"; var Hugo = "Rocks!"; Hello3 from mod2. Date from date-fns: ${today} Hello from lib in the main project Hello5 from mod2. var myparam = "Hugo Rocks!";`) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "os" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/htesting" "github.com/spf13/viper" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/loggers" ) func TestJSBuildWithNPM(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { t.Skip("skip NPM test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) mainJS := ` import "./included"; import { toCamelCase } from "to-camel-case"; console.log("main"); console.log("To camel:", toCamelCase("space case")); ` includedJS := ` console.log("included"); ` jsxContent := ` import * as React from 'react' import * as ReactDOM from 'react-dom' ReactDOM.render( <h1>Hello, world!</h1>, document.getElementById('root') ); ` tsContent := `function greeter(person: string) { return "Hello, " + person; } let user = [0, 1, 2]; document.body.textContent = greeter(user);` packageJSON := `{ "scripts": {}, "dependencies": { "to-camel-case": "1.0.0" } } ` workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-js-npm") c.Assert(err, qt.IsNil) defer clean() v := viper.New() v.Set("workingDir", workDir) v.Set("disableKinds", []string{"taxonomy", "term", "page"}) b := newTestSitesBuilder(t).WithLogger(loggers.NewWarningLogger()) // Need to use OS fs for this. b.Fs = hugofs.NewDefault(v) b.WithWorkingDir(workDir) b.WithViper(v) b.WithContent("p1.md", "") b.WithTemplates("index.html", ` {{ $options := dict "minify" false "externals" (slice "react" "react-dom") }} {{ $js := resources.Get "js/main.js" | js.Build $options }} JS: {{ template "print" $js }} {{ $jsx := resources.Get "js/myjsx.jsx" | js.Build $options }} JSX: {{ template "print" $jsx }} {{ $ts := resources.Get "js/myts.ts" | js.Build (dict "sourcemap" "inline")}} TS: {{ template "print" $ts }} {{ $ts2 := resources.Get "js/myts.ts" | js.Build (dict "sourcemap" "external" "TargetPath" "js/myts2.js")}} TS2: {{ template "print" $ts2 }} {{ define "print" }}RelPermalink: {{.RelPermalink}}|MIME: {{ .MediaType }}|Content: {{ .Content | safeJS }}{{ end }} `) jsDir := filepath.Join(workDir, "assets", "js") fmt.Println(workDir) b.Assert(os.MkdirAll(jsDir, 0777), qt.IsNil) b.Assert(os.Chdir(workDir), qt.IsNil) b.WithSourceFile("package.json", packageJSON) b.WithSourceFile("assets/js/main.js", mainJS) b.WithSourceFile("assets/js/myjsx.jsx", jsxContent) b.WithSourceFile("assets/js/myts.ts", tsContent) b.WithSourceFile("assets/js/included.js", includedJS) cmd, err := hexec.SafeCommand("npm", "install") b.Assert(err, qt.IsNil) out, err := cmd.CombinedOutput() b.Assert(err, qt.IsNil, qt.Commentf(string(out))) b.Build(BuildCfg{}) b.AssertFileContent("public/js/myts.js", `//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJz`) b.AssertFileContent("public/js/myts2.js.map", `"version": 3,`) b.AssertFileContent("public/index.html", ` console.log(&#34;included&#34;); if (hasSpace.test(string)) var React = __toModule(require(&#34;react&#34;)); function greeter(person) { `) } func TestJSBuild(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { // TODO(bep) we really need to get this working on Travis. t.Skip("skip npm test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-js-mod") c.Assert(err, qt.IsNil) defer clean() config := fmt.Sprintf(` baseURL = "https://example.org" workingDir = %q disableKinds = ["page", "section", "term", "taxonomy"] [module] [[module.imports]] path="github.com/gohugoio/hugoTestProjectJSModImports" `, workDir) b := newTestSitesBuilder(t) b.Fs = hugofs.NewDefault(viper.New()) b.WithWorkingDir(workDir).WithConfigFile("toml", config).WithLogger(loggers.NewInfoLogger()) b.WithSourceFile("go.mod", `module github.com/gohugoio/tests/testHugoModules go 1.15 require github.com/gohugoio/hugoTestProjectJSModImports v0.5.0 // indirect `) b.WithContent("p1.md", "").WithNothingAdded() b.WithSourceFile("package.json", `{ "dependencies": { "date-fns": "^2.16.1" } }`) b.Assert(os.Chdir(workDir), qt.IsNil) cmd, _ := hexec.SafeCommand("npm", "install") _, err = cmd.CombinedOutput() b.Assert(err, qt.IsNil) b.Build(BuildCfg{}) b.AssertFileContent("public/js/main.js", ` greeting: "greeting configured in mod2" Hello1 from mod1: $ return "Hello2 from mod1"; var Hugo = "Rocks!"; Hello3 from mod2. Date from date-fns: ${today} Hello from lib in the main project Hello5 from mod2. var myparam = "Hugo Rocks!";`) }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/resource_chain_babel_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "bytes" "os" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/common/hexec" jww "github.com/spf13/jwalterweatherman" "github.com/gohugoio/hugo/htesting" "github.com/spf13/viper" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/loggers" ) func TestResourceChainBabel(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { t.Skip("skip npm test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) packageJSON := `{ "scripts": {}, "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.9.0", "@babel/preset-env": "7.9.5" } } ` babelConfig := ` console.error("Hugo Environment:", process.env.HUGO_ENVIRONMENT ); module.exports = { presets: ["@babel/preset-env"], }; ` js := ` /* A Car */ class Car { constructor(brand) { this.carname = brand; } } ` workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-babel") c.Assert(err, qt.IsNil) defer clean() var logBuf bytes.Buffer logger := loggers.NewBasicLoggerForWriter(jww.LevelInfo, &logBuf) v := viper.New() v.Set("workingDir", workDir) v.Set("disableKinds", []string{"taxonomy", "term", "page"}) b := newTestSitesBuilder(t).WithLogger(logger) // Need to use OS fs for this. b.Fs = hugofs.NewDefault(v) b.WithWorkingDir(workDir) b.WithViper(v) b.WithContent("p1.md", "") b.WithTemplates("index.html", ` {{ $options := dict "noComments" true }} {{ $transpiled := resources.Get "js/main.js" | babel -}} Transpiled: {{ $transpiled.Content | safeJS }} `) jsDir := filepath.Join(workDir, "assets", "js") b.Assert(os.MkdirAll(jsDir, 0777), qt.IsNil) b.WithSourceFile("assets/js/main.js", js) b.WithSourceFile("package.json", packageJSON) b.WithSourceFile("babel.config.js", babelConfig) b.Assert(os.Chdir(workDir), qt.IsNil) cmd, _ := hexec.SafeCommand("npm", "install") _, err = cmd.CombinedOutput() b.Assert(err, qt.IsNil) b.Build(BuildCfg{}) // Make sure Node sees this. b.Assert(logBuf.String(), qt.Contains, "babel: Hugo Environment: production") b.Assert(err, qt.IsNil) b.AssertFileContent("public/index.html", ` var Car = function Car(brand) { _classCallCheck(this, Car); this.carname = brand; }; `) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "bytes" "os" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/common/hexec" jww "github.com/spf13/jwalterweatherman" "github.com/gohugoio/hugo/htesting" "github.com/spf13/viper" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/loggers" ) func TestResourceChainBabel(t *testing.T) { if !htesting.IsCI() { t.Skip("skip (relative) long running modules test when running locally") } if runtime.GOOS == "windows" { t.Skip("skip npm test on Windows") } wd, _ := os.Getwd() defer func() { os.Chdir(wd) }() c := qt.New(t) packageJSON := `{ "scripts": {}, "devDependencies": { "@babel/cli": "7.8.4", "@babel/core": "7.9.0", "@babel/preset-env": "7.9.5" } } ` babelConfig := ` console.error("Hugo Environment:", process.env.HUGO_ENVIRONMENT ); module.exports = { presets: ["@babel/preset-env"], }; ` js := ` /* A Car */ class Car { constructor(brand) { this.carname = brand; } } ` js2 := ` /* A Car2 */ class Car2 { constructor(brand) { this.carname = brand; } } ` workDir, clean, err := htesting.CreateTempDir(hugofs.Os, "hugo-test-babel") c.Assert(err, qt.IsNil) defer clean() var logBuf bytes.Buffer logger := loggers.NewBasicLoggerForWriter(jww.LevelInfo, &logBuf) v := viper.New() v.Set("workingDir", workDir) v.Set("disableKinds", []string{"taxonomy", "term", "page"}) b := newTestSitesBuilder(t).WithLogger(logger) // Need to use OS fs for this. b.Fs = hugofs.NewDefault(v) b.WithWorkingDir(workDir) b.WithViper(v) b.WithContent("p1.md", "") b.WithTemplates("index.html", ` {{ $options := dict "noComments" true }} {{ $transpiled := resources.Get "js/main.js" | babel -}} Transpiled: {{ $transpiled.Content | safeJS }} {{ $transpiled := resources.Get "js/main2.js" | babel (dict "sourceMap" "inline") -}} Transpiled2: {{ $transpiled.Content | safeJS }} {{ $transpiled := resources.Get "js/main2.js" | babel (dict "sourceMap" "external") -}} Transpiled3: {{ $transpiled.Permalink }} `) jsDir := filepath.Join(workDir, "assets", "js") b.Assert(os.MkdirAll(jsDir, 0777), qt.IsNil) b.WithSourceFile("assets/js/main.js", js) b.WithSourceFile("assets/js/main2.js", js2) b.WithSourceFile("package.json", packageJSON) b.WithSourceFile("babel.config.js", babelConfig) b.Assert(os.Chdir(workDir), qt.IsNil) cmd, _ := hexec.SafeCommand("npm", "install") _, err = cmd.CombinedOutput() b.Assert(err, qt.IsNil) b.Build(BuildCfg{}) // Make sure Node sees this. b.Assert(logBuf.String(), qt.Contains, "babel: Hugo Environment: production") b.Assert(err, qt.IsNil) b.AssertFileContent("public/index.html", ` var Car = function Car(brand) { _classCallCheck(this, Car); this.carname = brand; }; `) b.AssertFileContent("public/index.html", ` var Car2 = function Car2(brand) { _classCallCheck(this, Car2); this.carname = brand; }; `) b.AssertFileContent("public/js/main2.js", ` var Car2 = function Car2(brand) { _classCallCheck(this, Car2); this.carname = brand; }; `) b.AssertFileContent("public/js/main2.js.map", `{"version":3,`) b.AssertFileContent("public/index.html", ` //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozL`) }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/resource_transformers/babel/babel.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package babel import ( "bytes" "io" "path/filepath" "strconv" "github.com/cli/safeexec" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/resources/internal" "github.com/mitchellh/mapstructure" "github.com/gohugoio/hugo/common/herrors" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" "github.com/pkg/errors" ) // Options from https://babeljs.io/docs/en/options type Options struct { Config string // Custom path to config file Minified bool NoComments bool Compact *bool Verbose bool NoBabelrc bool } func DecodeOptions(m map[string]interface{}) (opts Options, err error) { if m == nil { return } err = mapstructure.WeakDecode(m, &opts) return } func (opts Options) toArgs() []string { var args []string if opts.Minified { args = append(args, "--minified") } if opts.NoComments { args = append(args, "--no-comments") } if opts.Compact != nil { args = append(args, "--compact="+strconv.FormatBool(*opts.Compact)) } if opts.Verbose { args = append(args, "--verbose") } if opts.NoBabelrc { args = append(args, "--no-babelrc") } return args } // Client is the client used to do Babel transformations. type Client struct { rs *resources.Spec } // New creates a new Client with the given specification. func New(rs *resources.Spec) *Client { return &Client{rs: rs} } type babelTransformation struct { options Options rs *resources.Spec } func (t *babelTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("babel", t.options) } // Transform shells out to babel-cli to do the heavy lifting. // For this to work, you need some additional tools. To install them globally: // npm install -g @babel/core @babel/cli // If you want to use presets or plugins such as @babel/preset-env // Then you should install those globally as well. e.g: // npm install -g @babel/preset-env // Instead of installing globally, you can also install everything as a dev-dependency (--save-dev instead of -g) func (t *babelTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { const localBabelPath = "node_modules/.bin/" const binaryName = "babel" // Try first in the project's node_modules. csiBinPath := filepath.Join(t.rs.WorkingDir, localBabelPath, binaryName) binary := csiBinPath if _, err := safeexec.LookPath(binary); err != nil { // Try PATH binary = binaryName if _, err := safeexec.LookPath(binary); err != nil { // This may be on a CI server etc. Will fall back to pre-built assets. return herrors.ErrFeatureNotAvailable } } var configFile string logger := t.rs.Logger var errBuf bytes.Buffer infoW := loggers.LoggerToWriterWithPrefix(logger.Info(), "babel") if t.options.Config != "" { configFile = t.options.Config } else { configFile = "babel.config.js" } configFile = filepath.Clean(configFile) // We need an absolute filename to the config file. if !filepath.IsAbs(configFile) { configFile = t.rs.BaseFs.ResolveJSConfigFile(configFile) if configFile == "" && t.options.Config != "" { // Only fail if the user specified config file is not found. return errors.Errorf("babel config %q not found:", configFile) } } var cmdArgs []string if configFile != "" { logger.Infoln("babel: use config file", configFile) cmdArgs = []string{"--config-file", configFile} } if optArgs := t.options.toArgs(); len(optArgs) > 0 { cmdArgs = append(cmdArgs, optArgs...) } cmdArgs = append(cmdArgs, "--filename="+ctx.SourcePath) cmd, err := hexec.SafeCommand(binary, cmdArgs...) if err != nil { return err } cmd.Stdout = ctx.To cmd.Stderr = io.MultiWriter(infoW, &errBuf) cmd.Env = hugo.GetExecEnviron(t.rs.WorkingDir, t.rs.Cfg, t.rs.BaseFs.Assets.Fs) stdin, err := cmd.StdinPipe() if err != nil { return err } go func() { defer stdin.Close() io.Copy(stdin, ctx.From) }() err = cmd.Run() if err != nil { return errors.Wrap(err, errBuf.String()) } return nil } // Process transforms the given Resource with the Babel processor. func (c *Client) Process(res resources.ResourceTransformer, options Options) (resource.Resource, error) { return res.Transform( &babelTransformation{rs: c.rs, options: options}, ) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package babel import ( "bytes" "io" "io/ioutil" "os" "path" "path/filepath" "regexp" "strconv" "github.com/cli/safeexec" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/resources/internal" "github.com/mitchellh/mapstructure" "github.com/gohugoio/hugo/common/herrors" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" "github.com/pkg/errors" ) // Options from https://babeljs.io/docs/en/options type Options struct { Config string // Custom path to config file Minified bool NoComments bool Compact *bool Verbose bool NoBabelrc bool SourceMap string } // DecodeOptions decodes options to and generates command flags func DecodeOptions(m map[string]interface{}) (opts Options, err error) { if m == nil { return } err = mapstructure.WeakDecode(m, &opts) return } func (opts Options) toArgs() []string { var args []string // external is not a known constant on the babel command line // .sourceMaps must be a boolean, "inline", "both", or undefined switch opts.SourceMap { case "external": args = append(args, "--source-maps") case "inline": args = append(args, "--source-maps=inline") } if opts.Minified { args = append(args, "--minified") } if opts.NoComments { args = append(args, "--no-comments") } if opts.Compact != nil { args = append(args, "--compact="+strconv.FormatBool(*opts.Compact)) } if opts.Verbose { args = append(args, "--verbose") } if opts.NoBabelrc { args = append(args, "--no-babelrc") } return args } // Client is the client used to do Babel transformations. type Client struct { rs *resources.Spec } // New creates a new Client with the given specification. func New(rs *resources.Spec) *Client { return &Client{rs: rs} } type babelTransformation struct { options Options rs *resources.Spec } func (t *babelTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("babel", t.options) } // Transform shells out to babel-cli to do the heavy lifting. // For this to work, you need some additional tools. To install them globally: // npm install -g @babel/core @babel/cli // If you want to use presets or plugins such as @babel/preset-env // Then you should install those globally as well. e.g: // npm install -g @babel/preset-env // Instead of installing globally, you can also install everything as a dev-dependency (--save-dev instead of -g) func (t *babelTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { const localBabelPath = "node_modules/.bin/" const binaryName = "babel" // Try first in the project's node_modules. csiBinPath := filepath.Join(t.rs.WorkingDir, localBabelPath, binaryName) binary := csiBinPath if _, err := safeexec.LookPath(binary); err != nil { // Try PATH binary = binaryName if _, err := safeexec.LookPath(binary); err != nil { // This may be on a CI server etc. Will fall back to pre-built assets. return herrors.ErrFeatureNotAvailable } } var configFile string logger := t.rs.Logger var errBuf bytes.Buffer infoW := loggers.LoggerToWriterWithPrefix(logger.Info(), "babel") if t.options.Config != "" { configFile = t.options.Config } else { configFile = "babel.config.js" } configFile = filepath.Clean(configFile) // We need an absolute filename to the config file. if !filepath.IsAbs(configFile) { configFile = t.rs.BaseFs.ResolveJSConfigFile(configFile) if configFile == "" && t.options.Config != "" { // Only fail if the user specified config file is not found. return errors.Errorf("babel config %q not found:", configFile) } } ctx.ReplaceOutPathExtension(".js") var cmdArgs []string if configFile != "" { logger.Infoln("babel: use config file", configFile) cmdArgs = []string{"--config-file", configFile} } if optArgs := t.options.toArgs(); len(optArgs) > 0 { cmdArgs = append(cmdArgs, optArgs...) } cmdArgs = append(cmdArgs, "--filename="+ctx.SourcePath) // Create compile into a real temp file: // 1. separate stdout/stderr messages from babel (https://github.com/gohugoio/hugo/issues/8136) // 2. allow generation and retrieval of external source map. compileOutput, err := ioutil.TempFile("", "compileOut-*.js") if err != nil { return err } cmdArgs = append(cmdArgs, "--out-file="+compileOutput.Name()) defer os.Remove(compileOutput.Name()) cmd, err := hexec.SafeCommand(binary, cmdArgs...) if err != nil { return err } cmd.Stderr = io.MultiWriter(infoW, &errBuf) cmd.Stdout = cmd.Stderr cmd.Env = hugo.GetExecEnviron(t.rs.WorkingDir, t.rs.Cfg, t.rs.BaseFs.Assets.Fs) stdin, err := cmd.StdinPipe() if err != nil { return err } go func() { defer stdin.Close() io.Copy(stdin, ctx.From) }() err = cmd.Run() if err != nil { return errors.Wrap(err, errBuf.String()) } content, err := ioutil.ReadAll(compileOutput) if err != nil { return err } mapFile := compileOutput.Name() + ".map" if _, err := os.Stat(mapFile); err == nil { defer os.Remove(mapFile) sourceMap, err := ioutil.ReadFile(mapFile) if err != nil { return err } if err = ctx.PublishSourceMap(string(sourceMap)); err != nil { return err } targetPath := path.Base(ctx.OutPath) + ".map" re := regexp.MustCompile(`//# sourceMappingURL=.*\n?`) content = []byte(re.ReplaceAllString(string(content), "//# sourceMappingURL="+targetPath+"\n")) } ctx.To.Write(content) return nil } // Process transforms the given Resource with the Babel processor. func (c *Client) Process(res resources.ResourceTransformer, options Options) (resource.Resource, error) { return res.Transform( &babelTransformation{rs: c.rs, options: options}, ) }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/resource_transformers/js/build.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "errors" "fmt" "io/ioutil" "os" "strings" "github.com/spf13/afero" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/herrors" "github.com/gohugoio/hugo/hugolib/filesystems" "github.com/gohugoio/hugo/media" "github.com/gohugoio/hugo/resources/internal" "github.com/evanw/esbuild/pkg/api" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" ) // Client context for ESBuild. type Client struct { rs *resources.Spec sfs *filesystems.SourceFilesystem } // New creates a new client context. func New(fs *filesystems.SourceFilesystem, rs *resources.Spec) *Client { return &Client{ rs: rs, sfs: fs, } } type buildTransformation struct { optsm map[string]interface{} c *Client } func (t *buildTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("jsbuild", t.optsm) } func (t *buildTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { ctx.OutMediaType = media.JavascriptType opts, err := decodeOptions(t.optsm) if err != nil { return err } if opts.TargetPath != "" { ctx.OutPath = opts.TargetPath } else { ctx.ReplaceOutPathExtension(".js") } src, err := ioutil.ReadAll(ctx.From) if err != nil { return err } opts.sourcefile = ctx.SourcePath opts.resolveDir = t.c.rs.WorkingDir opts.contents = string(src) opts.mediaType = ctx.InMediaType buildOptions, err := toBuildOptions(opts) if err != nil { return err } buildOptions.Plugins, err = createBuildPlugins(t.c, opts) if err != nil { return err } result := api.Build(buildOptions) if len(result.Errors) > 0 { createErr := func(msg api.Message) error { loc := msg.Location path := loc.File var ( f afero.File err error ) if strings.HasPrefix(path, nsImportHugo) { path = strings.TrimPrefix(path, nsImportHugo+":") f, err = hugofs.Os.Open(path) } else { var fi os.FileInfo fi, err = t.c.sfs.Fs.Stat(path) if err == nil { m := fi.(hugofs.FileMetaInfo).Meta() path = m.Filename() f, err = m.Open() } } if err == nil { fe := herrors.NewFileError("js", 0, loc.Line, loc.Column, errors.New(msg.Text)) err, _ := herrors.WithFileContext(fe, path, f, herrors.SimpleLineMatcher) f.Close() return err } return fmt.Errorf("%s", msg.Text) } var errors []error for _, msg := range result.Errors { errors = append(errors, createErr(msg)) } // Return 1, log the rest. for i, err := range errors { if i > 0 { t.c.rs.Logger.Errorf("js.Build failed: %s", err) } } return errors[0] } ctx.To.Write(result.OutputFiles[0].Contents) return nil } // Process process esbuild transform func (c *Client) Process(res resources.ResourceTransformer, opts map[string]interface{}) (resource.Resource, error) { return res.Transform( &buildTransformation{c: c, optsm: opts}, ) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "errors" "fmt" "io/ioutil" "os" "path" "regexp" "strings" "github.com/spf13/afero" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/common/herrors" "github.com/gohugoio/hugo/hugolib/filesystems" "github.com/gohugoio/hugo/media" "github.com/gohugoio/hugo/resources/internal" "github.com/evanw/esbuild/pkg/api" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" ) // Client context for ESBuild. type Client struct { rs *resources.Spec sfs *filesystems.SourceFilesystem } // New creates a new client context. func New(fs *filesystems.SourceFilesystem, rs *resources.Spec) *Client { return &Client{ rs: rs, sfs: fs, } } type buildTransformation struct { optsm map[string]interface{} c *Client } func (t *buildTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("jsbuild", t.optsm) } func (t *buildTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { ctx.OutMediaType = media.JavascriptType opts, err := decodeOptions(t.optsm) if err != nil { return err } if opts.TargetPath != "" { ctx.OutPath = opts.TargetPath } else { ctx.ReplaceOutPathExtension(".js") } src, err := ioutil.ReadAll(ctx.From) if err != nil { return err } opts.sourcefile = ctx.SourcePath opts.resolveDir = t.c.rs.WorkingDir opts.contents = string(src) opts.mediaType = ctx.InMediaType buildOptions, err := toBuildOptions(opts) if err != nil { return err } buildOptions.Plugins, err = createBuildPlugins(t.c, opts) if err != nil { return err } if buildOptions.Sourcemap == api.SourceMapExternal && buildOptions.Outdir == "" { buildOptions.Outdir, err = ioutil.TempDir(os.TempDir(), "compileOutput") if err != nil { return err } defer os.Remove(buildOptions.Outdir) } result := api.Build(buildOptions) if len(result.Errors) > 0 { createErr := func(msg api.Message) error { loc := msg.Location path := loc.File var ( f afero.File err error ) if strings.HasPrefix(path, nsImportHugo) { path = strings.TrimPrefix(path, nsImportHugo+":") f, err = hugofs.Os.Open(path) } else { var fi os.FileInfo fi, err = t.c.sfs.Fs.Stat(path) if err == nil { m := fi.(hugofs.FileMetaInfo).Meta() path = m.Filename() f, err = m.Open() } } if err == nil { fe := herrors.NewFileError("js", 0, loc.Line, loc.Column, errors.New(msg.Text)) err, _ := herrors.WithFileContext(fe, path, f, herrors.SimpleLineMatcher) f.Close() return err } return fmt.Errorf("%s", msg.Text) } var errors []error for _, msg := range result.Errors { errors = append(errors, createErr(msg)) } // Return 1, log the rest. for i, err := range errors { if i > 0 { t.c.rs.Logger.Errorf("js.Build failed: %s", err) } } return errors[0] } if buildOptions.Sourcemap == api.SourceMapExternal { content := string(result.OutputFiles[1].Contents) symPath := path.Base(ctx.OutPath) + ".map" re := regexp.MustCompile(`//# sourceMappingURL=.*\n?`) content = re.ReplaceAllString(content, "//# sourceMappingURL="+symPath+"\n") if err = ctx.PublishSourceMap(string(result.OutputFiles[0].Contents)); err != nil { return err } _, err := ctx.To.Write([]byte(content)) if err != nil { return err } } else { _, err := ctx.To.Write(result.OutputFiles[0].Contents) if err != nil { return err } } return nil } // Process process esbuild transform func (c *Client) Process(res resources.ResourceTransformer, opts map[string]interface{}) (resource.Resource, error) { return res.Transform( &buildTransformation{c: c, optsm: opts}, ) }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/resource_transformers/js/options.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "encoding/json" "fmt" "io/ioutil" "path/filepath" "strings" "github.com/pkg/errors" "github.com/evanw/esbuild/pkg/api" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/media" "github.com/mitchellh/mapstructure" "github.com/spf13/cast" ) const ( nsImportHugo = "ns-hugo" nsParams = "ns-params" stdinImporter = "<stdin>" ) // Options esbuild configuration type Options struct { // If not set, the source path will be used as the base target path. // Note that the target path's extension may change if the target MIME type // is different, e.g. when the source is TypeScript. TargetPath string // Whether to minify to output. Minify bool // Whether to write mapfiles SourceMap string // The language target. // One of: es2015, es2016, es2017, es2018, es2019, es2020 or esnext. // Default is esnext. Target string // The output format. // One of: iife, cjs, esm // Default is to esm. Format string // External dependencies, e.g. "react". Externals []string `hash:"set"` // User defined symbols. Defines map[string]interface{} // User defined params. Will be marshaled to JSON and available as "@params", e.g. // import * as params from '@params'; Params interface{} // What to use instead of React.createElement. JSXFactory string // What to use instead of React.Fragment. JSXFragment string // There is/was a bug in WebKit with severe performance issue with the tracking // of TDZ checks in JavaScriptCore. // // Enabling this flag removes the TDZ and `const` assignment checks and // may improve performance of larger JS codebases until the WebKit fix // is in widespread use. // // See https://bugs.webkit.org/show_bug.cgi?id=199866 // Deprecated: This no longer have any effect and will be removed. // TODO(bep) remove. See https://github.com/evanw/esbuild/commit/869e8117b499ca1dbfc5b3021938a53ffe934dba AvoidTDZ bool mediaType media.Type outDir string contents string sourcefile string resolveDir string tsConfig string } func decodeOptions(m map[string]interface{}) (Options, error) { var opts Options if err := mapstructure.WeakDecode(m, &opts); err != nil { return opts, err } if opts.TargetPath != "" { opts.TargetPath = helpers.ToSlashTrimLeading(opts.TargetPath) } opts.Target = strings.ToLower(opts.Target) opts.Format = strings.ToLower(opts.Format) return opts, nil } var extensionToLoaderMap = map[string]api.Loader{ ".js": api.LoaderJS, ".mjs": api.LoaderJS, ".cjs": api.LoaderJS, ".jsx": api.LoaderJSX, ".ts": api.LoaderTS, ".tsx": api.LoaderTSX, ".css": api.LoaderCSS, ".json": api.LoaderJSON, ".txt": api.LoaderText, } func loaderFromFilename(filename string) api.Loader { l, found := extensionToLoaderMap[filepath.Ext(filename)] if found { return l } return api.LoaderJS } func createBuildPlugins(c *Client, opts Options) ([]api.Plugin, error) { fs := c.rs.Assets resolveImport := func(args api.OnResolveArgs) (api.OnResolveResult, error) { isStdin := args.Importer == stdinImporter var relDir string if !isStdin { rel, found := fs.MakePathRelative(args.Importer) if !found { // Not in any of the /assets folders. // This is an import from a node_modules, let // ESBuild resolve this. return api.OnResolveResult{}, nil } relDir = filepath.Dir(rel) } else { relDir = filepath.Dir(opts.sourcefile) } impPath := args.Path // Imports not starting with a "." is assumed to live relative to /assets. // Hugo makes no assumptions about the directory structure below /assets. if relDir != "" && strings.HasPrefix(impPath, ".") { impPath = filepath.Join(relDir, impPath) } findFirst := func(base string) hugofs.FileMeta { // This is the most common sub-set of ESBuild's default extensions. // We assume that imports of JSON, CSS etc. will be using their full // name with extension. for _, ext := range []string{".js", ".ts", ".tsx", ".jsx"} { if fi, err := fs.Fs.Stat(base + ext); err == nil { return fi.(hugofs.FileMetaInfo).Meta() } } // Not found. return nil } var m hugofs.FileMeta // First the path as is. fi, err := fs.Fs.Stat(impPath) if err == nil { if fi.IsDir() { m = findFirst(filepath.Join(impPath, "index")) } else { m = fi.(hugofs.FileMetaInfo).Meta() } } else { // It may be a regular file imported without an extension. m = findFirst(impPath) } // if m != nil { // Store the source root so we can create a jsconfig.json // to help intellisense when the build is done. // This should be a small number of elements, and when // in server mode, we may get stale entries on renames etc., // but that shouldn't matter too much. c.rs.JSConfigBuilder.AddSourceRoot(m.SourceRoot()) return api.OnResolveResult{Path: m.Filename(), Namespace: nsImportHugo}, nil } // Fall back to ESBuild's resolve. return api.OnResolveResult{}, nil } importResolver := api.Plugin{ Name: "hugo-import-resolver", Setup: func(build api.PluginBuild) { build.OnResolve(api.OnResolveOptions{Filter: `.*`}, func(args api.OnResolveArgs) (api.OnResolveResult, error) { return resolveImport(args) }) build.OnLoad(api.OnLoadOptions{Filter: `.*`, Namespace: nsImportHugo}, func(args api.OnLoadArgs) (api.OnLoadResult, error) { b, err := ioutil.ReadFile(args.Path) if err != nil { return api.OnLoadResult{}, errors.Wrapf(err, "failed to read %q", args.Path) } c := string(b) return api.OnLoadResult{ // See https://github.com/evanw/esbuild/issues/502 // This allows all modules to resolve dependencies // in the main project's node_modules. ResolveDir: opts.resolveDir, Contents: &c, Loader: loaderFromFilename(args.Path), }, nil }) }, } params := opts.Params if params == nil { // This way @params will always resolve to something. params = make(map[string]interface{}) } b, err := json.Marshal(params) if err != nil { return nil, errors.Wrap(err, "failed to marshal params") } bs := string(b) paramsPlugin := api.Plugin{ Name: "hugo-params-plugin", Setup: func(build api.PluginBuild) { build.OnResolve(api.OnResolveOptions{Filter: `^@params$`}, func(args api.OnResolveArgs) (api.OnResolveResult, error) { return api.OnResolveResult{ Path: args.Path, Namespace: nsParams, }, nil }) build.OnLoad(api.OnLoadOptions{Filter: `.*`, Namespace: nsParams}, func(args api.OnLoadArgs) (api.OnLoadResult, error) { return api.OnLoadResult{ Contents: &bs, Loader: api.LoaderJSON, }, nil }) }, } return []api.Plugin{importResolver, paramsPlugin}, nil } func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) { var target api.Target switch opts.Target { case "", "esnext": target = api.ESNext case "es5": target = api.ES5 case "es6", "es2015": target = api.ES2015 case "es2016": target = api.ES2016 case "es2017": target = api.ES2017 case "es2018": target = api.ES2018 case "es2019": target = api.ES2019 case "es2020": target = api.ES2020 default: err = fmt.Errorf("invalid target: %q", opts.Target) return } mediaType := opts.mediaType if mediaType.IsZero() { mediaType = media.JavascriptType } var loader api.Loader switch mediaType.SubType { // TODO(bep) ESBuild support a set of other loaders, but I currently fail // to see the relevance. That may change as we start using this. case media.JavascriptType.SubType: loader = api.LoaderJS case media.TypeScriptType.SubType: loader = api.LoaderTS case media.TSXType.SubType: loader = api.LoaderTSX case media.JSXType.SubType: loader = api.LoaderJSX default: err = fmt.Errorf("unsupported Media Type: %q", opts.mediaType) return } var format api.Format // One of: iife, cjs, esm switch opts.Format { case "", "iife": format = api.FormatIIFE case "esm": format = api.FormatESModule case "cjs": format = api.FormatCommonJS default: err = fmt.Errorf("unsupported script output format: %q", opts.Format) return } var defines map[string]string if opts.Defines != nil { defines = cast.ToStringMapString(opts.Defines) } // By default we only need to specify outDir and no outFile outDir := opts.outDir outFile := "" var sourceMap api.SourceMap switch opts.SourceMap { case "inline": sourceMap = api.SourceMapInline case "": sourceMap = api.SourceMapNone default: err = fmt.Errorf("unsupported sourcemap type: %q", opts.SourceMap) return } buildOptions = api.BuildOptions{ Outfile: outFile, Bundle: true, Target: target, Format: format, Sourcemap: sourceMap, MinifyWhitespace: opts.Minify, MinifyIdentifiers: opts.Minify, MinifySyntax: opts.Minify, Outdir: outDir, Define: defines, External: opts.Externals, JSXFactory: opts.JSXFactory, JSXFragment: opts.JSXFragment, AvoidTDZ: opts.AvoidTDZ, Tsconfig: opts.tsConfig, Stdin: &api.StdinOptions{ Contents: opts.contents, Sourcefile: opts.sourcefile, ResolveDir: opts.resolveDir, Loader: loader, }, } return }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "encoding/json" "fmt" "io/ioutil" "path/filepath" "strings" "github.com/pkg/errors" "github.com/evanw/esbuild/pkg/api" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/media" "github.com/mitchellh/mapstructure" "github.com/spf13/cast" ) const ( nsImportHugo = "ns-hugo" nsParams = "ns-params" stdinImporter = "<stdin>" ) // Options esbuild configuration type Options struct { // If not set, the source path will be used as the base target path. // Note that the target path's extension may change if the target MIME type // is different, e.g. when the source is TypeScript. TargetPath string // Whether to minify to output. Minify bool // Whether to write mapfiles SourceMap string // The language target. // One of: es2015, es2016, es2017, es2018, es2019, es2020 or esnext. // Default is esnext. Target string // The output format. // One of: iife, cjs, esm // Default is to esm. Format string // External dependencies, e.g. "react". Externals []string `hash:"set"` // User defined symbols. Defines map[string]interface{} // User defined params. Will be marshaled to JSON and available as "@params", e.g. // import * as params from '@params'; Params interface{} // What to use instead of React.createElement. JSXFactory string // What to use instead of React.Fragment. JSXFragment string // There is/was a bug in WebKit with severe performance issue with the tracking // of TDZ checks in JavaScriptCore. // // Enabling this flag removes the TDZ and `const` assignment checks and // may improve performance of larger JS codebases until the WebKit fix // is in widespread use. // // See https://bugs.webkit.org/show_bug.cgi?id=199866 // Deprecated: This no longer have any effect and will be removed. // TODO(bep) remove. See https://github.com/evanw/esbuild/commit/869e8117b499ca1dbfc5b3021938a53ffe934dba AvoidTDZ bool mediaType media.Type outDir string contents string sourcefile string resolveDir string tsConfig string } func decodeOptions(m map[string]interface{}) (Options, error) { var opts Options if err := mapstructure.WeakDecode(m, &opts); err != nil { return opts, err } if opts.TargetPath != "" { opts.TargetPath = helpers.ToSlashTrimLeading(opts.TargetPath) } opts.Target = strings.ToLower(opts.Target) opts.Format = strings.ToLower(opts.Format) return opts, nil } var extensionToLoaderMap = map[string]api.Loader{ ".js": api.LoaderJS, ".mjs": api.LoaderJS, ".cjs": api.LoaderJS, ".jsx": api.LoaderJSX, ".ts": api.LoaderTS, ".tsx": api.LoaderTSX, ".css": api.LoaderCSS, ".json": api.LoaderJSON, ".txt": api.LoaderText, } func loaderFromFilename(filename string) api.Loader { l, found := extensionToLoaderMap[filepath.Ext(filename)] if found { return l } return api.LoaderJS } func createBuildPlugins(c *Client, opts Options) ([]api.Plugin, error) { fs := c.rs.Assets resolveImport := func(args api.OnResolveArgs) (api.OnResolveResult, error) { isStdin := args.Importer == stdinImporter var relDir string if !isStdin { rel, found := fs.MakePathRelative(args.Importer) if !found { // Not in any of the /assets folders. // This is an import from a node_modules, let // ESBuild resolve this. return api.OnResolveResult{}, nil } relDir = filepath.Dir(rel) } else { relDir = filepath.Dir(opts.sourcefile) } impPath := args.Path // Imports not starting with a "." is assumed to live relative to /assets. // Hugo makes no assumptions about the directory structure below /assets. if relDir != "" && strings.HasPrefix(impPath, ".") { impPath = filepath.Join(relDir, impPath) } findFirst := func(base string) hugofs.FileMeta { // This is the most common sub-set of ESBuild's default extensions. // We assume that imports of JSON, CSS etc. will be using their full // name with extension. for _, ext := range []string{".js", ".ts", ".tsx", ".jsx"} { if fi, err := fs.Fs.Stat(base + ext); err == nil { return fi.(hugofs.FileMetaInfo).Meta() } } // Not found. return nil } var m hugofs.FileMeta // First the path as is. fi, err := fs.Fs.Stat(impPath) if err == nil { if fi.IsDir() { m = findFirst(filepath.Join(impPath, "index")) } else { m = fi.(hugofs.FileMetaInfo).Meta() } } else { // It may be a regular file imported without an extension. m = findFirst(impPath) } // if m != nil { // Store the source root so we can create a jsconfig.json // to help intellisense when the build is done. // This should be a small number of elements, and when // in server mode, we may get stale entries on renames etc., // but that shouldn't matter too much. c.rs.JSConfigBuilder.AddSourceRoot(m.SourceRoot()) return api.OnResolveResult{Path: m.Filename(), Namespace: nsImportHugo}, nil } // Fall back to ESBuild's resolve. return api.OnResolveResult{}, nil } importResolver := api.Plugin{ Name: "hugo-import-resolver", Setup: func(build api.PluginBuild) { build.OnResolve(api.OnResolveOptions{Filter: `.*`}, func(args api.OnResolveArgs) (api.OnResolveResult, error) { return resolveImport(args) }) build.OnLoad(api.OnLoadOptions{Filter: `.*`, Namespace: nsImportHugo}, func(args api.OnLoadArgs) (api.OnLoadResult, error) { b, err := ioutil.ReadFile(args.Path) if err != nil { return api.OnLoadResult{}, errors.Wrapf(err, "failed to read %q", args.Path) } c := string(b) return api.OnLoadResult{ // See https://github.com/evanw/esbuild/issues/502 // This allows all modules to resolve dependencies // in the main project's node_modules. ResolveDir: opts.resolveDir, Contents: &c, Loader: loaderFromFilename(args.Path), }, nil }) }, } params := opts.Params if params == nil { // This way @params will always resolve to something. params = make(map[string]interface{}) } b, err := json.Marshal(params) if err != nil { return nil, errors.Wrap(err, "failed to marshal params") } bs := string(b) paramsPlugin := api.Plugin{ Name: "hugo-params-plugin", Setup: func(build api.PluginBuild) { build.OnResolve(api.OnResolveOptions{Filter: `^@params$`}, func(args api.OnResolveArgs) (api.OnResolveResult, error) { return api.OnResolveResult{ Path: args.Path, Namespace: nsParams, }, nil }) build.OnLoad(api.OnLoadOptions{Filter: `.*`, Namespace: nsParams}, func(args api.OnLoadArgs) (api.OnLoadResult, error) { return api.OnLoadResult{ Contents: &bs, Loader: api.LoaderJSON, }, nil }) }, } return []api.Plugin{importResolver, paramsPlugin}, nil } func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) { var target api.Target switch opts.Target { case "", "esnext": target = api.ESNext case "es5": target = api.ES5 case "es6", "es2015": target = api.ES2015 case "es2016": target = api.ES2016 case "es2017": target = api.ES2017 case "es2018": target = api.ES2018 case "es2019": target = api.ES2019 case "es2020": target = api.ES2020 default: err = fmt.Errorf("invalid target: %q", opts.Target) return } mediaType := opts.mediaType if mediaType.IsZero() { mediaType = media.JavascriptType } var loader api.Loader switch mediaType.SubType { // TODO(bep) ESBuild support a set of other loaders, but I currently fail // to see the relevance. That may change as we start using this. case media.JavascriptType.SubType: loader = api.LoaderJS case media.TypeScriptType.SubType: loader = api.LoaderTS case media.TSXType.SubType: loader = api.LoaderTSX case media.JSXType.SubType: loader = api.LoaderJSX default: err = fmt.Errorf("unsupported Media Type: %q", opts.mediaType) return } var format api.Format // One of: iife, cjs, esm switch opts.Format { case "", "iife": format = api.FormatIIFE case "esm": format = api.FormatESModule case "cjs": format = api.FormatCommonJS default: err = fmt.Errorf("unsupported script output format: %q", opts.Format) return } var defines map[string]string if opts.Defines != nil { defines = cast.ToStringMapString(opts.Defines) } // By default we only need to specify outDir and no outFile outDir := opts.outDir outFile := "" var sourceMap api.SourceMap switch opts.SourceMap { case "inline": sourceMap = api.SourceMapInline case "external": sourceMap = api.SourceMapExternal case "": sourceMap = api.SourceMapNone default: err = fmt.Errorf("unsupported sourcemap type: %q", opts.SourceMap) return } buildOptions = api.BuildOptions{ Outfile: outFile, Bundle: true, Target: target, Format: format, Sourcemap: sourceMap, MinifyWhitespace: opts.Minify, MinifyIdentifiers: opts.Minify, MinifySyntax: opts.Minify, Outdir: outDir, Define: defines, External: opts.Externals, JSXFactory: opts.JSXFactory, JSXFragment: opts.JSXFragment, AvoidTDZ: opts.AvoidTDZ, Tsconfig: opts.tsConfig, Stdin: &api.StdinOptions{ Contents: opts.contents, Sourcefile: opts.sourcefile, ResolveDir: opts.resolveDir, Loader: loader, }, } return }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/resource_transformers/js/options_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "testing" "github.com/gohugoio/hugo/media" "github.com/evanw/esbuild/pkg/api" qt "github.com/frankban/quicktest" ) // This test is added to test/warn against breaking the "stability" of the // cache key. It's sometimes needed to break this, but should be avoided if possible. func TestOptionKey(t *testing.T) { c := qt.New(t) opts := map[string]interface{}{ "TargetPath": "foo", "Target": "es2018", } key := (&buildTransformation{optsm: opts}).Key() c.Assert(key.Value(), qt.Equals, "jsbuild_7891849149754191852") } func TestToBuildOptions(t *testing.T) { c := qt.New(t) opts, err := toBuildOptions(Options{mediaType: media.JavascriptType}) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ESNext, Format: api.FormatIIFE, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, AvoidTDZ: true, }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, AvoidTDZ: true, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, SourceMap: "inline", }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, Sourcemap: api.SourceMapInline, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, SourceMap: "inline", }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, Sourcemap: api.SourceMapInline, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package js import ( "testing" "github.com/gohugoio/hugo/media" "github.com/evanw/esbuild/pkg/api" qt "github.com/frankban/quicktest" ) // This test is added to test/warn against breaking the "stability" of the // cache key. It's sometimes needed to break this, but should be avoided if possible. func TestOptionKey(t *testing.T) { c := qt.New(t) opts := map[string]interface{}{ "TargetPath": "foo", "Target": "es2018", } key := (&buildTransformation{optsm: opts}).Key() c.Assert(key.Value(), qt.Equals, "jsbuild_7891849149754191852") } func TestToBuildOptions(t *testing.T) { c := qt.New(t) opts, err := toBuildOptions(Options{mediaType: media.JavascriptType}) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ESNext, Format: api.FormatIIFE, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, AvoidTDZ: true, }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, AvoidTDZ: true, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, SourceMap: "inline", }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, Sourcemap: api.SourceMapInline, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, SourceMap: "inline", }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, Sourcemap: api.SourceMapInline, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) opts, err = toBuildOptions(Options{ Target: "es2018", Format: "cjs", Minify: true, mediaType: media.JavascriptType, SourceMap: "external", }) c.Assert(err, qt.IsNil) c.Assert(opts, qt.DeepEquals, api.BuildOptions{ Bundle: true, Target: api.ES2018, Format: api.FormatCommonJS, MinifyIdentifiers: true, MinifySyntax: true, MinifyWhitespace: true, Sourcemap: api.SourceMapExternal, Stdin: &api.StdinOptions{ Loader: api.LoaderJS, }, }) }
1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/transform/remarshal_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package transform import ( "testing" "github.com/gohugoio/hugo/htesting" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) func TestRemarshal(t *testing.T) { t.Parallel() v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) c := qt.New(t) tomlExample := `title = "Test Metadata" [[resources]] src = "**image-4.png" title = "The Fourth Image!" [resources.params] byline = "picasso" [[resources]] name = "my-cool-image-:counter" src = "**.png" title = "TOML: The Image #:counter" [resources.params] byline = "bep" ` yamlExample := `resources: - params: byline: picasso src: '**image-4.png' title: The Fourth Image! - name: my-cool-image-:counter params: byline: bep src: '**.png' title: 'TOML: The Image #:counter' title: Test Metadata ` jsonExample := `{ "resources": [ { "params": { "byline": "picasso" }, "src": "**image-4.png", "title": "The Fourth Image!" }, { "name": "my-cool-image-:counter", "params": { "byline": "bep" }, "src": "**.png", "title": "TOML: The Image #:counter" } ], "title": "Test Metadata" } ` variants := []struct { format string data string }{ {"yaml", yamlExample}, {"json", jsonExample}, {"toml", tomlExample}, {"TOML", tomlExample}, {"Toml", tomlExample}, {" TOML ", tomlExample}, } for _, v1 := range variants { for _, v2 := range variants { // Both from and to may be the same here, but that is fine. fromTo := qt.Commentf("%s => %s", v2.format, v1.format) converted, err := ns.Remarshal(v1.format, v2.data) c.Assert(err, qt.IsNil, fromTo) diff := htesting.DiffStrings(v1.data, converted) if len(diff) > 0 { t.Errorf("[%s] Expected \n%v\ngot\n%v\ndiff:\n%v", fromTo, v1.data, converted, diff) } } } } func TestRemarshalComments(t *testing.T) { t.Parallel() v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) c := qt.New(t) input := ` Hugo = "Rules" # It really does! [m] # A comment a = "b" ` expected := ` Hugo = "Rules" [m] a = "b" ` for _, format := range []string{"json", "yaml", "toml"} { fromTo := qt.Commentf("%s => %s", "toml", format) converted := input var err error // Do a round-trip conversion for _, toFormat := range []string{format, "toml"} { converted, err = ns.Remarshal(toFormat, converted) c.Assert(err, qt.IsNil, fromTo) } diff := htesting.DiffStrings(expected, converted) if len(diff) > 0 { t.Fatalf("[%s] Expected \n%v\ngot\n%v\ndiff:\n%v\n", fromTo, expected, converted, diff) } } } func TestTestRemarshalError(t *testing.T) { t.Parallel() c := qt.New(t) v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) _, err := ns.Remarshal("asdf", "asdf") c.Assert(err, qt.Not(qt.IsNil)) _, err = ns.Remarshal("json", "asdf") c.Assert(err, qt.Not(qt.IsNil)) } func TestTestRemarshalMapInput(t *testing.T) { t.Parallel() c := qt.New(t) v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) input := map[string]interface{}{ "hello": "world", } output, err := ns.Remarshal("toml", input) c.Assert(err, qt.IsNil) c.Assert(output, qt.Equals, "hello = \"world\"\n") }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package transform import ( "testing" "github.com/gohugoio/hugo/htesting" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) func TestRemarshal(t *testing.T) { t.Parallel() v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) c := qt.New(t) tomlExample := `title = "Test Metadata" [[resources]] src = "**image-4.png" title = "The Fourth Image!" [resources.params] byline = "picasso" [[resources]] name = "my-cool-image-:counter" src = "**.png" title = "TOML: The Image #:counter" [resources.params] byline = "bep" ` yamlExample := `resources: - params: byline: picasso src: '**image-4.png' title: The Fourth Image! - name: my-cool-image-:counter params: byline: bep src: '**.png' title: 'TOML: The Image #:counter' title: Test Metadata ` jsonExample := `{ "resources": [ { "params": { "byline": "picasso" }, "src": "**image-4.png", "title": "The Fourth Image!" }, { "name": "my-cool-image-:counter", "params": { "byline": "bep" }, "src": "**.png", "title": "TOML: The Image #:counter" } ], "title": "Test Metadata" } ` variants := []struct { format string data string }{ {"yaml", yamlExample}, {"json", jsonExample}, {"toml", tomlExample}, {"TOML", tomlExample}, {"Toml", tomlExample}, {" TOML ", tomlExample}, } for _, v1 := range variants { for _, v2 := range variants { // Both from and to may be the same here, but that is fine. fromTo := qt.Commentf("%s => %s", v2.format, v1.format) converted, err := ns.Remarshal(v1.format, v2.data) c.Assert(err, qt.IsNil, fromTo) diff := htesting.DiffStrings(v1.data, converted) if len(diff) > 0 { t.Errorf("[%s] Expected \n%v\ngot\n%v\ndiff:\n%v", fromTo, v1.data, converted, diff) } } } } func TestRemarshalComments(t *testing.T) { t.Parallel() v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) c := qt.New(t) input := ` Hugo = "Rules" # It really does! [m] # A comment a = "b" ` expected := ` Hugo = "Rules" [m] a = "b" ` for _, format := range []string{"json", "yaml", "toml"} { fromTo := qt.Commentf("%s => %s", "toml", format) converted := input var err error // Do a round-trip conversion for _, toFormat := range []string{format, "toml"} { converted, err = ns.Remarshal(toFormat, converted) c.Assert(err, qt.IsNil, fromTo) } diff := htesting.DiffStrings(expected, converted) if len(diff) > 0 { t.Fatalf("[%s] Expected \n%v\ngot\n%v\ndiff:\n%v\n", fromTo, expected, converted, diff) } } } func TestTestRemarshalError(t *testing.T) { t.Parallel() c := qt.New(t) v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) _, err := ns.Remarshal("asdf", "asdf") c.Assert(err, qt.Not(qt.IsNil)) _, err = ns.Remarshal("json", "asdf") c.Assert(err, qt.Not(qt.IsNil)) } func TestTestRemarshalMapInput(t *testing.T) { t.Parallel() c := qt.New(t) v := viper.New() v.Set("contentDir", "content") ns := New(newDeps(v)) input := map[string]interface{}{ "hello": "world", } output, err := ns.Remarshal("toml", input) c.Assert(err, qt.IsNil) c.Assert(output, qt.Equals, "hello = \"world\"\n") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/herrors/error_locator_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package herrors contains common Hugo errors and error related utilities. package herrors import ( "strings" "testing" qt "github.com/frankban/quicktest" ) func TestErrorLocator(t *testing.T) { c := qt.New(t) lineMatcher := func(m LineMatcher) bool { return strings.Contains(m.Line, "THEONE") } lines := `LINE 1 LINE 2 LINE 3 LINE 4 This is THEONE LINE 6 LINE 7 LINE 8 ` location := locateErrorInString(lines, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"LINE 3", "LINE 4", "This is THEONE", "LINE 6", "LINE 7"}) pos := location.Position() c.Assert(pos.LineNumber, qt.Equals, 5) c.Assert(location.LinesPos, qt.Equals, 2) c.Assert(locateErrorInString(`This is THEONE`, lineMatcher).Lines, qt.DeepEquals, []string{"This is THEONE"}) location = locateErrorInString(`L1 This is THEONE L2 `, lineMatcher) c.Assert(location.Position().LineNumber, qt.Equals, 2) c.Assert(location.LinesPos, qt.Equals, 1) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "This is THEONE", "L2", ""}) location = locateErrorInString(`This is THEONE L2 `, lineMatcher) c.Assert(location.LinesPos, qt.Equals, 0) c.Assert(location.Lines, qt.DeepEquals, []string{"This is THEONE", "L2", ""}) location = locateErrorInString(`L1 This THEONE `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "This THEONE", ""}) c.Assert(location.LinesPos, qt.Equals, 1) location = locateErrorInString(`L1 L2 This THEONE `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "L2", "This THEONE", ""}) c.Assert(location.LinesPos, qt.Equals, 2) location = locateErrorInString("NO MATCH", lineMatcher) c.Assert(location.Position().LineNumber, qt.Equals, -1) c.Assert(location.LinesPos, qt.Equals, -1) c.Assert(len(location.Lines), qt.Equals, 0) lineMatcher = func(m LineMatcher) bool { return m.LineNumber == 6 } location = locateErrorInString(`A B C D E F G H I J`, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"D", "E", "F", "G", "H"}) c.Assert(location.Position().LineNumber, qt.Equals, 6) c.Assert(location.LinesPos, qt.Equals, 2) // Test match EOF lineMatcher = func(m LineMatcher) bool { return m.LineNumber == 4 } location = locateErrorInString(`A B C `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"B", "C", ""}) c.Assert(location.Position().LineNumber, qt.Equals, 4) c.Assert(location.LinesPos, qt.Equals, 2) offsetMatcher := func(m LineMatcher) bool { return m.Offset == 1 } location = locateErrorInString(`A B C D E`, offsetMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"A", "B", "C", "D"}) c.Assert(location.Position().LineNumber, qt.Equals, 2) c.Assert(location.LinesPos, qt.Equals, 1) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package herrors contains common Hugo errors and error related utilities. package herrors import ( "strings" "testing" qt "github.com/frankban/quicktest" ) func TestErrorLocator(t *testing.T) { c := qt.New(t) lineMatcher := func(m LineMatcher) bool { return strings.Contains(m.Line, "THEONE") } lines := `LINE 1 LINE 2 LINE 3 LINE 4 This is THEONE LINE 6 LINE 7 LINE 8 ` location := locateErrorInString(lines, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"LINE 3", "LINE 4", "This is THEONE", "LINE 6", "LINE 7"}) pos := location.Position() c.Assert(pos.LineNumber, qt.Equals, 5) c.Assert(location.LinesPos, qt.Equals, 2) c.Assert(locateErrorInString(`This is THEONE`, lineMatcher).Lines, qt.DeepEquals, []string{"This is THEONE"}) location = locateErrorInString(`L1 This is THEONE L2 `, lineMatcher) c.Assert(location.Position().LineNumber, qt.Equals, 2) c.Assert(location.LinesPos, qt.Equals, 1) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "This is THEONE", "L2", ""}) location = locateErrorInString(`This is THEONE L2 `, lineMatcher) c.Assert(location.LinesPos, qt.Equals, 0) c.Assert(location.Lines, qt.DeepEquals, []string{"This is THEONE", "L2", ""}) location = locateErrorInString(`L1 This THEONE `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "This THEONE", ""}) c.Assert(location.LinesPos, qt.Equals, 1) location = locateErrorInString(`L1 L2 This THEONE `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"L1", "L2", "This THEONE", ""}) c.Assert(location.LinesPos, qt.Equals, 2) location = locateErrorInString("NO MATCH", lineMatcher) c.Assert(location.Position().LineNumber, qt.Equals, -1) c.Assert(location.LinesPos, qt.Equals, -1) c.Assert(len(location.Lines), qt.Equals, 0) lineMatcher = func(m LineMatcher) bool { return m.LineNumber == 6 } location = locateErrorInString(`A B C D E F G H I J`, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"D", "E", "F", "G", "H"}) c.Assert(location.Position().LineNumber, qt.Equals, 6) c.Assert(location.LinesPos, qt.Equals, 2) // Test match EOF lineMatcher = func(m LineMatcher) bool { return m.LineNumber == 4 } location = locateErrorInString(`A B C `, lineMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"B", "C", ""}) c.Assert(location.Position().LineNumber, qt.Equals, 4) c.Assert(location.LinesPos, qt.Equals, 2) offsetMatcher := func(m LineMatcher) bool { return m.Offset == 1 } location = locateErrorInString(`A B C D E`, offsetMatcher) c.Assert(location.Lines, qt.DeepEquals, []string{"A", "B", "C", "D"}) c.Assert(location.Position().LineNumber, qt.Equals, 2) c.Assert(location.LinesPos, qt.Equals, 1) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./codegen/methods_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package codegen import ( "fmt" "net" "os" "reflect" "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/common/herrors" ) func TestMethods(t *testing.T) { var ( zeroIE = reflect.TypeOf((*IEmbed)(nil)).Elem() zeroIEOnly = reflect.TypeOf((*IEOnly)(nil)).Elem() zeroI = reflect.TypeOf((*I)(nil)).Elem() ) dir, _ := os.Getwd() insp := NewInspector(dir) t.Run("MethodsFromTypes", func(t *testing.T) { c := qt.New(t) methods := insp.MethodsFromTypes([]reflect.Type{zeroI}, nil) methodsStr := fmt.Sprint(methods) c.Assert(methodsStr, qt.Contains, "Method1(arg0 herrors.ErrorContext)") c.Assert(methodsStr, qt.Contains, "Method7() interface {}") c.Assert(methodsStr, qt.Contains, "Method0() string\n Method4() string") c.Assert(methodsStr, qt.Contains, "MethodEmbed3(arg0 string) string\n MethodEmbed1() string") c.Assert(methods.Imports(), qt.Contains, "github.com/gohugoio/hugo/common/herrors") }) t.Run("EmbedOnly", func(t *testing.T) { c := qt.New(t) methods := insp.MethodsFromTypes([]reflect.Type{zeroIEOnly}, nil) methodsStr := fmt.Sprint(methods) c.Assert(methodsStr, qt.Contains, "MethodEmbed3(arg0 string) string") }) t.Run("ToMarshalJSON", func(t *testing.T) { c := qt.New(t) m, pkg := insp.MethodsFromTypes( []reflect.Type{zeroI}, []reflect.Type{zeroIE}).ToMarshalJSON("*page", "page") c.Assert(m, qt.Contains, "method6 := p.Method6()") c.Assert(m, qt.Contains, "Method0: method0,") c.Assert(m, qt.Contains, "return json.Marshal(&s)") c.Assert(pkg, qt.Contains, "github.com/gohugoio/hugo/common/herrors") c.Assert(pkg, qt.Contains, "encoding/json") fmt.Println(pkg) }) } type I interface { IEmbed Method0() string Method4() string Method1(myerr herrors.ErrorContext) Method3(myint int, mystring string) Method5() (string, error) Method6() *net.IP Method7() interface{} Method8() herrors.ErrorContext method2() method9() os.FileInfo } type IEOnly interface { IEmbed }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package codegen import ( "fmt" "net" "os" "reflect" "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/common/herrors" ) func TestMethods(t *testing.T) { var ( zeroIE = reflect.TypeOf((*IEmbed)(nil)).Elem() zeroIEOnly = reflect.TypeOf((*IEOnly)(nil)).Elem() zeroI = reflect.TypeOf((*I)(nil)).Elem() ) dir, _ := os.Getwd() insp := NewInspector(dir) t.Run("MethodsFromTypes", func(t *testing.T) { c := qt.New(t) methods := insp.MethodsFromTypes([]reflect.Type{zeroI}, nil) methodsStr := fmt.Sprint(methods) c.Assert(methodsStr, qt.Contains, "Method1(arg0 herrors.ErrorContext)") c.Assert(methodsStr, qt.Contains, "Method7() interface {}") c.Assert(methodsStr, qt.Contains, "Method0() string\n Method4() string") c.Assert(methodsStr, qt.Contains, "MethodEmbed3(arg0 string) string\n MethodEmbed1() string") c.Assert(methods.Imports(), qt.Contains, "github.com/gohugoio/hugo/common/herrors") }) t.Run("EmbedOnly", func(t *testing.T) { c := qt.New(t) methods := insp.MethodsFromTypes([]reflect.Type{zeroIEOnly}, nil) methodsStr := fmt.Sprint(methods) c.Assert(methodsStr, qt.Contains, "MethodEmbed3(arg0 string) string") }) t.Run("ToMarshalJSON", func(t *testing.T) { c := qt.New(t) m, pkg := insp.MethodsFromTypes( []reflect.Type{zeroI}, []reflect.Type{zeroIE}).ToMarshalJSON("*page", "page") c.Assert(m, qt.Contains, "method6 := p.Method6()") c.Assert(m, qt.Contains, "Method0: method0,") c.Assert(m, qt.Contains, "return json.Marshal(&s)") c.Assert(pkg, qt.Contains, "github.com/gohugoio/hugo/common/herrors") c.Assert(pkg, qt.Contains, "encoding/json") fmt.Println(pkg) }) } type I interface { IEmbed Method0() string Method4() string Method1(myerr herrors.ErrorContext) Method3(myint int, mystring string) Method5() (string, error) Method6() *net.IP Method7() interface{} Method8() herrors.ErrorContext method2() method9() os.FileInfo } type IEOnly interface { IEmbed }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/collections/collections.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package collections contains common Hugo functionality related to collection // handling. package collections // Grouper defines a very generic way to group items by a given key. type Grouper interface { Group(key interface{}, items interface{}) (interface{}, error) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package collections contains common Hugo functionality related to collection // handling. package collections // Grouper defines a very generic way to group items by a given key. type Grouper interface { Group(key interface{}, items interface{}) (interface{}, error) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/jsconfig/jsconfig_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package jsconfig import ( "path/filepath" "testing" qt "github.com/frankban/quicktest" ) func TestJsConfigBuilder(t *testing.T) { c := qt.New(t) b := NewBuilder() b.AddSourceRoot("/c/assets") b.AddSourceRoot("/d/assets") conf := b.Build("/a/b") c.Assert(conf.CompilerOptions.BaseURL, qt.Equals, ".") c.Assert(conf.CompilerOptions.Paths["*"], qt.DeepEquals, []string{filepath.FromSlash("../../c/assets/*"), filepath.FromSlash("../../d/assets/*")}) c.Assert(NewBuilder().Build("/a/b"), qt.IsNil) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package jsconfig import ( "path/filepath" "testing" qt "github.com/frankban/quicktest" ) func TestJsConfigBuilder(t *testing.T) { c := qt.New(t) b := NewBuilder() b.AddSourceRoot("/c/assets") b.AddSourceRoot("/d/assets") conf := b.Build("/a/b") c.Assert(conf.CompilerOptions.BaseURL, qt.Equals, ".") c.Assert(conf.CompilerOptions.Paths["*"], qt.DeepEquals, []string{filepath.FromSlash("../../c/assets/*"), filepath.FromSlash("../../d/assets/*")}) c.Assert(NewBuilder().Build("/a/b"), qt.IsNil) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./markup/mmark/renderer.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package mmark import ( "bytes" "strings" "github.com/gohugoio/hugo/markup/blackfriday/blackfriday_config" "github.com/gohugoio/hugo/markup/converter" "github.com/miekg/mmark" ) // hugoHTMLRenderer wraps a blackfriday.Renderer, typically a blackfriday.Html // adding some custom behaviour. type mmarkRenderer struct { Config converter.ProviderConfig BlackfridayConfig blackfriday_config.Config mmark.Renderer } // BlockCode renders a given text as a block of code. func (r *mmarkRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string, caption []byte, subfigure bool, callouts bool) { if r.Config.MarkupConfig.Highlight.CodeFences { str := strings.Trim(string(text), "\n\r") highlighted, _ := r.Config.Highlight(str, lang, "") out.WriteString(highlighted) } else { r.Renderer.BlockCode(out, text, lang, caption, subfigure, callouts) } }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package mmark import ( "bytes" "strings" "github.com/gohugoio/hugo/markup/blackfriday/blackfriday_config" "github.com/gohugoio/hugo/markup/converter" "github.com/miekg/mmark" ) // hugoHTMLRenderer wraps a blackfriday.Renderer, typically a blackfriday.Html // adding some custom behaviour. type mmarkRenderer struct { Config converter.ProviderConfig BlackfridayConfig blackfriday_config.Config mmark.Renderer } // BlockCode renders a given text as a block of code. func (r *mmarkRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string, caption []byte, subfigure bool, callouts bool) { if r.Config.MarkupConfig.Highlight.CodeFences { str := strings.Trim(string(text), "\n\r") highlighted, _ := r.Config.Highlight(str, lang, "") out.WriteString(highlighted) } else { r.Renderer.BlockCode(out, text, lang, caption, subfigure, callouts) } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./langs/language_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package langs import ( "testing" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) func TestGetGlobalOnlySetting(t *testing.T) { c := qt.New(t) v := viper.New() v.Set("defaultContentLanguageInSubdir", true) v.Set("contentDir", "content") v.Set("paginatePath", "page") lang := NewDefaultLanguage(v) lang.Set("defaultContentLanguageInSubdir", false) lang.Set("paginatePath", "side") c.Assert(lang.GetBool("defaultContentLanguageInSubdir"), qt.Equals, true) c.Assert(lang.GetString("paginatePath"), qt.Equals, "side") } func TestLanguageParams(t *testing.T) { c := qt.New(t) v := viper.New() v.Set("p1", "p1cfg") v.Set("contentDir", "content") lang := NewDefaultLanguage(v) lang.SetParam("p1", "p1p") c.Assert(lang.Params()["p1"], qt.Equals, "p1p") c.Assert(lang.Get("p1"), qt.Equals, "p1cfg") }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package langs import ( "testing" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) func TestGetGlobalOnlySetting(t *testing.T) { c := qt.New(t) v := viper.New() v.Set("defaultContentLanguageInSubdir", true) v.Set("contentDir", "content") v.Set("paginatePath", "page") lang := NewDefaultLanguage(v) lang.Set("defaultContentLanguageInSubdir", false) lang.Set("paginatePath", "side") c.Assert(lang.GetBool("defaultContentLanguageInSubdir"), qt.Equals, true) c.Assert(lang.GetString("paginatePath"), qt.Equals, "side") } func TestLanguageParams(t *testing.T) { c := qt.New(t) v := viper.New() v.Set("p1", "p1cfg") v.Set("contentDir", "content") lang := NewDefaultLanguage(v) lang.SetParam("p1", "p1p") c.Assert(lang.Params()["p1"], qt.Equals, "p1p") c.Assert(lang.Get("p1"), qt.Equals, "p1cfg") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/cast/init.go
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package cast import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "cast" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.ToInt, []string{"int"}, [][2]string{ {`{{ "1234" | int | printf "%T" }}`, `int`}, }, ) ns.AddMethodMapping(ctx.ToString, []string{"string"}, [][2]string{ {`{{ 1234 | string | printf "%T" }}`, `string`}, }, ) ns.AddMethodMapping(ctx.ToFloat, []string{"float"}, [][2]string{ {`{{ "1234" | float | printf "%T" }}`, `float64`}, }, ) return ns } internal.AddTemplateFuncsNamespace(f) }
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package cast import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "cast" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.ToInt, []string{"int"}, [][2]string{ {`{{ "1234" | int | printf "%T" }}`, `int`}, }, ) ns.AddMethodMapping(ctx.ToString, []string{"string"}, [][2]string{ {`{{ 1234 | string | printf "%T" }}`, `string`}, }, ) ns.AddMethodMapping(ctx.ToFloat, []string{"float"}, [][2]string{ {`{{ "1234" | float | printf "%T" }}`, `float64`}, }, ) return ns } internal.AddTemplateFuncsNamespace(f) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/transform/unmarshal_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package transform import ( "fmt" "math/rand" "strings" "testing" "github.com/gohugoio/hugo/common/hugio" "github.com/gohugoio/hugo/resources/resource" "github.com/gohugoio/hugo/media" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) const ( testJSON = ` { "ROOT_KEY": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } } ` ) var _ resource.ReadSeekCloserResource = (*testContentResource)(nil) type testContentResource struct { content string mime media.Type key string } func (t testContentResource) ReadSeekCloser() (hugio.ReadSeekCloser, error) { return hugio.NewReadSeekerNoOpCloserFromString(t.content), nil } func (t testContentResource) MediaType() media.Type { return t.mime } func (t testContentResource) Key() string { return t.key } func TestUnmarshal(t *testing.T) { v := viper.New() ns := New(newDeps(v)) c := qt.New(t) assertSlogan := func(m map[string]interface{}) { c.Assert(m["slogan"], qt.Equals, "Hugo Rocks!") } for _, test := range []struct { data interface{} options interface{} expect interface{} }{ {`{ "slogan": "Hugo Rocks!" }`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {`slogan: "Hugo Rocks!"`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {`slogan = "Hugo Rocks!"`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `slogan: "Hugo Rocks!"`, mime: media.YAMLType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `{ "slogan": "Hugo Rocks!" }`, mime: media.JSONType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `slogan = "Hugo Rocks!"`, mime: media.TOMLType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `1997,Ford,E350,"ac, abs, moon",3000.00 1999,Chevy,"Venture ""Extended Edition""","",4900.00`, mime: media.CSVType}, nil, func(r [][]string) { c.Assert(len(r), qt.Equals, 2) first := r[0] c.Assert(len(first), qt.Equals, 5) c.Assert(first[1], qt.Equals, "Ford") }}, {testContentResource{key: "r1", content: `a;b;c`, mime: media.CSVType}, map[string]interface{}{"delimiter": ";"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {"a,b,c", nil, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {"a;b;c", map[string]interface{}{"delimiter": ";"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {testContentResource{key: "r1", content: ` % This is a comment a;b;c`, mime: media.CSVType}, map[string]interface{}{"DElimiter": ";", "Comment": "%"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, // errors {"thisisnotavaliddataformat", nil, false}, {testContentResource{key: "r1", content: `invalid&toml"`, mime: media.TOMLType}, nil, false}, {testContentResource{key: "r1", content: `unsupported: MIME"`, mime: media.CalendarType}, nil, false}, {"thisisnotavaliddataformat", nil, false}, {`{ notjson }`, nil, false}, {tstNoStringer{}, nil, false}, } { ns.cache.Clear() var args []interface{} if test.options != nil { args = []interface{}{test.options, test.data} } else { args = []interface{}{test.data} } result, err := ns.Unmarshal(args...) if b, ok := test.expect.(bool); ok && !b { c.Assert(err, qt.Not(qt.IsNil)) } else if fn, ok := test.expect.(func(m map[string]interface{})); ok { c.Assert(err, qt.IsNil) m, ok := result.(map[string]interface{}) c.Assert(ok, qt.Equals, true) fn(m) } else if fn, ok := test.expect.(func(r [][]string)); ok { c.Assert(err, qt.IsNil) r, ok := result.([][]string) c.Assert(ok, qt.Equals, true) fn(r) } else { c.Assert(err, qt.IsNil) c.Assert(result, qt.Equals, test.expect) } } } func BenchmarkUnmarshalString(b *testing.B) { v := viper.New() ns := New(newDeps(v)) const numJsons = 100 var jsons [numJsons]string for i := 0; i < numJsons; i++ { jsons[i] = strings.Replace(testJSON, "ROOT_KEY", fmt.Sprintf("root%d", i), 1) } b.ResetTimer() for i := 0; i < b.N; i++ { result, err := ns.Unmarshal(jsons[rand.Intn(numJsons)]) if err != nil { b.Fatal(err) } if result == nil { b.Fatal("no result") } } } func BenchmarkUnmarshalResource(b *testing.B) { v := viper.New() ns := New(newDeps(v)) const numJsons = 100 var jsons [numJsons]testContentResource for i := 0; i < numJsons; i++ { key := fmt.Sprintf("root%d", i) jsons[i] = testContentResource{key: key, content: strings.Replace(testJSON, "ROOT_KEY", key, 1), mime: media.JSONType} } b.ResetTimer() for i := 0; i < b.N; i++ { result, err := ns.Unmarshal(jsons[rand.Intn(numJsons)]) if err != nil { b.Fatal(err) } if result == nil { b.Fatal("no result") } } }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package transform import ( "fmt" "math/rand" "strings" "testing" "github.com/gohugoio/hugo/common/hugio" "github.com/gohugoio/hugo/resources/resource" "github.com/gohugoio/hugo/media" qt "github.com/frankban/quicktest" "github.com/spf13/viper" ) const ( testJSON = ` { "ROOT_KEY": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } } ` ) var _ resource.ReadSeekCloserResource = (*testContentResource)(nil) type testContentResource struct { content string mime media.Type key string } func (t testContentResource) ReadSeekCloser() (hugio.ReadSeekCloser, error) { return hugio.NewReadSeekerNoOpCloserFromString(t.content), nil } func (t testContentResource) MediaType() media.Type { return t.mime } func (t testContentResource) Key() string { return t.key } func TestUnmarshal(t *testing.T) { v := viper.New() ns := New(newDeps(v)) c := qt.New(t) assertSlogan := func(m map[string]interface{}) { c.Assert(m["slogan"], qt.Equals, "Hugo Rocks!") } for _, test := range []struct { data interface{} options interface{} expect interface{} }{ {`{ "slogan": "Hugo Rocks!" }`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {`slogan: "Hugo Rocks!"`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {`slogan = "Hugo Rocks!"`, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `slogan: "Hugo Rocks!"`, mime: media.YAMLType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `{ "slogan": "Hugo Rocks!" }`, mime: media.JSONType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `slogan = "Hugo Rocks!"`, mime: media.TOMLType}, nil, func(m map[string]interface{}) { assertSlogan(m) }}, {testContentResource{key: "r1", content: `1997,Ford,E350,"ac, abs, moon",3000.00 1999,Chevy,"Venture ""Extended Edition""","",4900.00`, mime: media.CSVType}, nil, func(r [][]string) { c.Assert(len(r), qt.Equals, 2) first := r[0] c.Assert(len(first), qt.Equals, 5) c.Assert(first[1], qt.Equals, "Ford") }}, {testContentResource{key: "r1", content: `a;b;c`, mime: media.CSVType}, map[string]interface{}{"delimiter": ";"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {"a,b,c", nil, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {"a;b;c", map[string]interface{}{"delimiter": ";"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, {testContentResource{key: "r1", content: ` % This is a comment a;b;c`, mime: media.CSVType}, map[string]interface{}{"DElimiter": ";", "Comment": "%"}, func(r [][]string) { c.Assert([][]string{{"a", "b", "c"}}, qt.DeepEquals, r) }}, // errors {"thisisnotavaliddataformat", nil, false}, {testContentResource{key: "r1", content: `invalid&toml"`, mime: media.TOMLType}, nil, false}, {testContentResource{key: "r1", content: `unsupported: MIME"`, mime: media.CalendarType}, nil, false}, {"thisisnotavaliddataformat", nil, false}, {`{ notjson }`, nil, false}, {tstNoStringer{}, nil, false}, } { ns.cache.Clear() var args []interface{} if test.options != nil { args = []interface{}{test.options, test.data} } else { args = []interface{}{test.data} } result, err := ns.Unmarshal(args...) if b, ok := test.expect.(bool); ok && !b { c.Assert(err, qt.Not(qt.IsNil)) } else if fn, ok := test.expect.(func(m map[string]interface{})); ok { c.Assert(err, qt.IsNil) m, ok := result.(map[string]interface{}) c.Assert(ok, qt.Equals, true) fn(m) } else if fn, ok := test.expect.(func(r [][]string)); ok { c.Assert(err, qt.IsNil) r, ok := result.([][]string) c.Assert(ok, qt.Equals, true) fn(r) } else { c.Assert(err, qt.IsNil) c.Assert(result, qt.Equals, test.expect) } } } func BenchmarkUnmarshalString(b *testing.B) { v := viper.New() ns := New(newDeps(v)) const numJsons = 100 var jsons [numJsons]string for i := 0; i < numJsons; i++ { jsons[i] = strings.Replace(testJSON, "ROOT_KEY", fmt.Sprintf("root%d", i), 1) } b.ResetTimer() for i := 0; i < b.N; i++ { result, err := ns.Unmarshal(jsons[rand.Intn(numJsons)]) if err != nil { b.Fatal(err) } if result == nil { b.Fatal("no result") } } } func BenchmarkUnmarshalResource(b *testing.B) { v := viper.New() ns := New(newDeps(v)) const numJsons = 100 var jsons [numJsons]testContentResource for i := 0; i < numJsons; i++ { key := fmt.Sprintf("root%d", i) jsons[i] = testContentResource{key: key, content: strings.Replace(testJSON, "ROOT_KEY", key, 1), mime: media.JSONType} } b.ResetTimer() for i := 0; i < b.N; i++ { result, err := ns.Unmarshal(jsons[rand.Intn(numJsons)]) if err != nil { b.Fatal(err) } if result == nil { b.Fatal("no result") } } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/collections/append.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package collections import ( "fmt" "reflect" ) // Append appends from to a slice to and returns the resulting slice. // If length of from is one and the only element is a slice of same type as to, // it will be appended. func Append(to interface{}, from ...interface{}) (interface{}, error) { tov, toIsNil := indirect(reflect.ValueOf(to)) toIsNil = toIsNil || to == nil var tot reflect.Type if !toIsNil { if tov.Kind() != reflect.Slice { return nil, fmt.Errorf("expected a slice, got %T", to) } tot = tov.Type().Elem() toIsNil = tov.Len() == 0 if len(from) == 1 { fromv := reflect.ValueOf(from[0]) if fromv.Kind() == reflect.Slice { if toIsNil { // If we get nil []string, we just return the []string return from[0], nil } fromt := reflect.TypeOf(from[0]).Elem() // If we get []string []string, we append the from slice to to if tot == fromt { return reflect.AppendSlice(tov, fromv).Interface(), nil } else if !fromt.AssignableTo(tot) { // Fall back to a []interface{} slice. return appendToInterfaceSliceFromValues(tov, fromv) } } } } if toIsNil { return Slice(from...), nil } for _, f := range from { fv := reflect.ValueOf(f) if !fv.Type().AssignableTo(tot) { // Fall back to a []interface{} slice. tov, _ := indirect(reflect.ValueOf(to)) return appendToInterfaceSlice(tov, from...) } tov = reflect.Append(tov, fv) } return tov.Interface(), nil } func appendToInterfaceSliceFromValues(slice1, slice2 reflect.Value) ([]interface{}, error) { var tos []interface{} for _, slice := range []reflect.Value{slice1, slice2} { for i := 0; i < slice.Len(); i++ { tos = append(tos, slice.Index(i).Interface()) } } return tos, nil } func appendToInterfaceSlice(tov reflect.Value, from ...interface{}) ([]interface{}, error) { var tos []interface{} for i := 0; i < tov.Len(); i++ { tos = append(tos, tov.Index(i).Interface()) } tos = append(tos, from...) return tos, nil } // indirect is borrowed from the Go stdlib: 'text/template/exec.go' // TODO(bep) consolidate func indirect(v reflect.Value) (rv reflect.Value, isNil bool) { for ; v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface; v = v.Elem() { if v.IsNil() { return v, true } if v.Kind() == reflect.Interface && v.NumMethod() > 0 { break } } return v, false }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package collections import ( "fmt" "reflect" ) // Append appends from to a slice to and returns the resulting slice. // If length of from is one and the only element is a slice of same type as to, // it will be appended. func Append(to interface{}, from ...interface{}) (interface{}, error) { tov, toIsNil := indirect(reflect.ValueOf(to)) toIsNil = toIsNil || to == nil var tot reflect.Type if !toIsNil { if tov.Kind() != reflect.Slice { return nil, fmt.Errorf("expected a slice, got %T", to) } tot = tov.Type().Elem() toIsNil = tov.Len() == 0 if len(from) == 1 { fromv := reflect.ValueOf(from[0]) if fromv.Kind() == reflect.Slice { if toIsNil { // If we get nil []string, we just return the []string return from[0], nil } fromt := reflect.TypeOf(from[0]).Elem() // If we get []string []string, we append the from slice to to if tot == fromt { return reflect.AppendSlice(tov, fromv).Interface(), nil } else if !fromt.AssignableTo(tot) { // Fall back to a []interface{} slice. return appendToInterfaceSliceFromValues(tov, fromv) } } } } if toIsNil { return Slice(from...), nil } for _, f := range from { fv := reflect.ValueOf(f) if !fv.Type().AssignableTo(tot) { // Fall back to a []interface{} slice. tov, _ := indirect(reflect.ValueOf(to)) return appendToInterfaceSlice(tov, from...) } tov = reflect.Append(tov, fv) } return tov.Interface(), nil } func appendToInterfaceSliceFromValues(slice1, slice2 reflect.Value) ([]interface{}, error) { var tos []interface{} for _, slice := range []reflect.Value{slice1, slice2} { for i := 0; i < slice.Len(); i++ { tos = append(tos, slice.Index(i).Interface()) } } return tos, nil } func appendToInterfaceSlice(tov reflect.Value, from ...interface{}) ([]interface{}, error) { var tos []interface{} for i := 0; i < tov.Len(); i++ { tos = append(tos, tov.Index(i).Interface()) } tos = append(tos, from...) return tos, nil } // indirect is borrowed from the Go stdlib: 'text/template/exec.go' // TODO(bep) consolidate func indirect(v reflect.Value) (rv reflect.Value, isNil bool) { for ; v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface; v = v.Elem() { if v.IsNil() { return v, true } if v.Kind() == reflect.Interface && v.NumMethod() > 0 { break } } return v, false }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./source/filesystem_test.go
// Copyright 2015 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package source import ( "fmt" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/modules" "github.com/gohugoio/hugo/langs" "github.com/spf13/afero" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/viper" ) func TestEmptySourceFilesystem(t *testing.T) { c := qt.New(t) ss := newTestSourceSpec() src := ss.NewFilesystem("") files, err := src.Files() c.Assert(err, qt.IsNil) if len(files) != 0 { t.Errorf("new filesystem should contain 0 files.") } } func TestUnicodeNorm(t *testing.T) { if runtime.GOOS != "darwin" { // Normalization code is only for Mac OS, since it is not necessary for other OSes. return } c := qt.New(t) paths := []struct { NFC string NFD string }{ {NFC: "å", NFD: "\x61\xcc\x8a"}, {NFC: "é", NFD: "\x65\xcc\x81"}, } ss := newTestSourceSpec() fi := hugofs.NewFileMetaInfo(nil, hugofs.FileMeta{}) for i, path := range paths { base := fmt.Sprintf("base%d", i) c.Assert(afero.WriteFile(ss.Fs.Source, filepath.Join(base, path.NFD), []byte("some data"), 0777), qt.IsNil) src := ss.NewFilesystem(base) _ = src.add(path.NFD, fi) files, err := src.Files() c.Assert(err, qt.IsNil) f := files[0] if f.BaseFileName() != path.NFC { t.Fatalf("file %q name in NFD form should be normalized (%s)", f.BaseFileName(), path.NFC) } } } func newTestConfig() *viper.Viper { v := viper.New() v.Set("contentDir", "content") v.Set("dataDir", "data") v.Set("i18nDir", "i18n") v.Set("layoutDir", "layouts") v.Set("archetypeDir", "archetypes") v.Set("resourceDir", "resources") v.Set("publishDir", "public") v.Set("assetDir", "assets") _, err := langs.LoadLanguageSettings(v, nil) if err != nil { panic(err) } mod, err := modules.CreateProjectModule(v) if err != nil { panic(err) } v.Set("allModules", modules.Modules{mod}) return v } func newTestSourceSpec() *SourceSpec { v := newTestConfig() fs := hugofs.NewFrom(hugofs.NewBaseFileDecorator(afero.NewMemMapFs()), v) ps, err := helpers.NewPathSpec(fs, v, nil) if err != nil { panic(err) } return NewSourceSpec(ps, fs.Source) }
// Copyright 2015 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package source import ( "fmt" "path/filepath" "runtime" "testing" "github.com/gohugoio/hugo/modules" "github.com/gohugoio/hugo/langs" "github.com/spf13/afero" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/viper" ) func TestEmptySourceFilesystem(t *testing.T) { c := qt.New(t) ss := newTestSourceSpec() src := ss.NewFilesystem("") files, err := src.Files() c.Assert(err, qt.IsNil) if len(files) != 0 { t.Errorf("new filesystem should contain 0 files.") } } func TestUnicodeNorm(t *testing.T) { if runtime.GOOS != "darwin" { // Normalization code is only for Mac OS, since it is not necessary for other OSes. return } c := qt.New(t) paths := []struct { NFC string NFD string }{ {NFC: "å", NFD: "\x61\xcc\x8a"}, {NFC: "é", NFD: "\x65\xcc\x81"}, } ss := newTestSourceSpec() fi := hugofs.NewFileMetaInfo(nil, hugofs.FileMeta{}) for i, path := range paths { base := fmt.Sprintf("base%d", i) c.Assert(afero.WriteFile(ss.Fs.Source, filepath.Join(base, path.NFD), []byte("some data"), 0777), qt.IsNil) src := ss.NewFilesystem(base) _ = src.add(path.NFD, fi) files, err := src.Files() c.Assert(err, qt.IsNil) f := files[0] if f.BaseFileName() != path.NFC { t.Fatalf("file %q name in NFD form should be normalized (%s)", f.BaseFileName(), path.NFC) } } } func newTestConfig() *viper.Viper { v := viper.New() v.Set("contentDir", "content") v.Set("dataDir", "data") v.Set("i18nDir", "i18n") v.Set("layoutDir", "layouts") v.Set("archetypeDir", "archetypes") v.Set("resourceDir", "resources") v.Set("publishDir", "public") v.Set("assetDir", "assets") _, err := langs.LoadLanguageSettings(v, nil) if err != nil { panic(err) } mod, err := modules.CreateProjectModule(v) if err != nil { panic(err) } v.Set("allModules", modules.Modules{mod}) return v } func newTestSourceSpec() *SourceSpec { v := newTestConfig() fs := hugofs.NewFrom(hugofs.NewBaseFileDecorator(afero.NewMemMapFs()), v) ps, err := helpers.NewPathSpec(fs, v, nil) if err != nil { panic(err) } return NewSourceSpec(ps, fs.Source) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/embedded_templates_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "testing" ) func TestInternalTemplatesImage(t *testing.T) { config := ` baseURL = "https://example.org" [params] images=["siteimg1.jpg", "siteimg2.jpg"] ` b := newTestSitesBuilder(t).WithConfigFile("toml", config) b.WithContent("mybundle/index.md", `--- title: My Bundle --- `) b.WithContent("mypage.md", `--- title: My Page images: ["pageimg1.jpg", "pageimg2.jpg"] --- `) b.WithContent("mysite.md", `--- title: My Site --- `) b.WithTemplatesAdded("_default/single.html", ` {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/schema.html" . }} `) b.WithSunset("content/mybundle/featured-sunset.jpg") b.Build(BuildCfg{}) b.AssertFileContent("public/mybundle/index.html", ` <meta name="twitter:image" content="https://example.org/mybundle/featured-sunset.jpg"/> <meta name="twitter:title" content="My Bundle"/> <meta property="og:title" content="My Bundle" /> <meta property="og:url" content="https://example.org/mybundle/" /> <meta property="og:image" content="https://example.org/mybundle/featured-sunset.jpg"/> <meta itemprop="name" content="My Bundle"> <meta itemprop="image" content="https://example.org/mybundle/featured-sunset.jpg"> `) b.AssertFileContent("public/mypage/index.html", ` <meta name="twitter:image" content="https://example.org/pageimg1.jpg"/> <meta property="og:image" content="https://example.org/pageimg1.jpg" /> <meta property="og:image" content="https://example.org/pageimg2.jpg" /> <meta itemprop="image" content="https://example.org/pageimg1.jpg"> <meta itemprop="image" content="https://example.org/pageimg2.jpg"> `) b.AssertFileContent("public/mysite/index.html", ` <meta name="twitter:image" content="https://example.org/siteimg1.jpg"/> <meta property="og:image" content="https://example.org/siteimg1.jpg"/> <meta itemprop="image" content="https://example.org/siteimg1.jpg"/> `) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "testing" ) func TestInternalTemplatesImage(t *testing.T) { config := ` baseURL = "https://example.org" [params] images=["siteimg1.jpg", "siteimg2.jpg"] ` b := newTestSitesBuilder(t).WithConfigFile("toml", config) b.WithContent("mybundle/index.md", `--- title: My Bundle --- `) b.WithContent("mypage.md", `--- title: My Page images: ["pageimg1.jpg", "pageimg2.jpg"] --- `) b.WithContent("mysite.md", `--- title: My Site --- `) b.WithTemplatesAdded("_default/single.html", ` {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/schema.html" . }} `) b.WithSunset("content/mybundle/featured-sunset.jpg") b.Build(BuildCfg{}) b.AssertFileContent("public/mybundle/index.html", ` <meta name="twitter:image" content="https://example.org/mybundle/featured-sunset.jpg"/> <meta name="twitter:title" content="My Bundle"/> <meta property="og:title" content="My Bundle" /> <meta property="og:url" content="https://example.org/mybundle/" /> <meta property="og:image" content="https://example.org/mybundle/featured-sunset.jpg"/> <meta itemprop="name" content="My Bundle"> <meta itemprop="image" content="https://example.org/mybundle/featured-sunset.jpg"> `) b.AssertFileContent("public/mypage/index.html", ` <meta name="twitter:image" content="https://example.org/pageimg1.jpg"/> <meta property="og:image" content="https://example.org/pageimg1.jpg" /> <meta property="og:image" content="https://example.org/pageimg2.jpg" /> <meta itemprop="image" content="https://example.org/pageimg1.jpg"> <meta itemprop="image" content="https://example.org/pageimg2.jpg"> `) b.AssertFileContent("public/mysite/index.html", ` <meta name="twitter:image" content="https://example.org/siteimg1.jpg"/> <meta property="og:image" content="https://example.org/siteimg1.jpg"/> <meta itemprop="image" content="https://example.org/siteimg1.jpg"/> `) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/template_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package tpl import ( "testing" qt "github.com/frankban/quicktest" ) func TestExtractBaseof(t *testing.T) { c := qt.New(t) replaced := extractBaseOf(`failed: template: _default/baseof.html:37:11: executing "_default/baseof.html" at <.Parents>: can't evaluate field Parents in type *hugolib.PageOutput`) c.Assert(replaced, qt.Equals, "_default/baseof.html") c.Assert(extractBaseOf("not baseof for you"), qt.Equals, "") c.Assert(extractBaseOf("template: blog/baseof.html:23:11:"), qt.Equals, "blog/baseof.html") }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package tpl import ( "testing" qt "github.com/frankban/quicktest" ) func TestExtractBaseof(t *testing.T) { c := qt.New(t) replaced := extractBaseOf(`failed: template: _default/baseof.html:37:11: executing "_default/baseof.html" at <.Parents>: can't evaluate field Parents in type *hugolib.PageOutput`) c.Assert(replaced, qt.Equals, "_default/baseof.html") c.Assert(extractBaseOf("not baseof for you"), qt.Equals, "") c.Assert(extractBaseOf("template: blog/baseof.html:23:11:"), qt.Equals, "blog/baseof.html") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/loggers/ignorableLogger.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package loggers import ( "fmt" "strings" ) // IgnorableLogger is a logger that ignores certain log statements. type IgnorableLogger interface { Logger Errorsf(statementID, format string, v ...interface{}) } type ignorableLogger struct { Logger statements map[string]bool } // NewIgnorableLogger wraps the given logger and ignores the log statement IDs given. func NewIgnorableLogger(logger Logger, statements ...string) IgnorableLogger { statementsSet := make(map[string]bool) for _, s := range statements { statementsSet[strings.ToLower(s)] = true } return ignorableLogger{ Logger: logger, statements: statementsSet, } } // Errorsf logs statementID as an ERROR if not configured as ignoreable. func (l ignorableLogger) Errorsf(statementID, format string, v ...interface{}) { if l.statements[statementID] { // Ignore. return } ignoreMsg := fmt.Sprintf(` If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config: ignoreErrors = [%q]`, statementID) format += ignoreMsg l.Errorf(format, v...) }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package loggers import ( "fmt" "strings" ) // IgnorableLogger is a logger that ignores certain log statements. type IgnorableLogger interface { Logger Errorsf(statementID, format string, v ...interface{}) } type ignorableLogger struct { Logger statements map[string]bool } // NewIgnorableLogger wraps the given logger and ignores the log statement IDs given. func NewIgnorableLogger(logger Logger, statements ...string) IgnorableLogger { statementsSet := make(map[string]bool) for _, s := range statements { statementsSet[strings.ToLower(s)] = true } return ignorableLogger{ Logger: logger, statements: statementsSet, } } // Errorsf logs statementID as an ERROR if not configured as ignoreable. func (l ignorableLogger) Errorsf(statementID, format string, v ...interface{}) { if l.statements[statementID] { // Ignore. return } ignoreMsg := fmt.Sprintf(` If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config: ignoreErrors = [%q]`, statementID) format += ignoreMsg l.Errorf(format, v...) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./source/filesystem.go
// Copyright 2016 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package source import ( "path/filepath" "sync" "github.com/pkg/errors" "github.com/gohugoio/hugo/hugofs" ) // Filesystem represents a source filesystem. type Filesystem struct { files []File filesInit sync.Once filesInitErr error Base string fi hugofs.FileMetaInfo SourceSpec } // NewFilesystem returns a new filesytem for a given source spec. func (sp SourceSpec) NewFilesystem(base string) *Filesystem { return &Filesystem{SourceSpec: sp, Base: base} } func (sp SourceSpec) NewFilesystemFromFileMetaInfo(fi hugofs.FileMetaInfo) *Filesystem { return &Filesystem{SourceSpec: sp, fi: fi} } // Files returns a slice of readable files. func (f *Filesystem) Files() ([]File, error) { f.filesInit.Do(func() { err := f.captureFiles() if err != nil { f.filesInitErr = errors.Wrap(err, "capture files") } }) return f.files, f.filesInitErr } // add populates a file in the Filesystem.files func (f *Filesystem) add(name string, fi hugofs.FileMetaInfo) (err error) { var file File file, err = f.SourceSpec.NewFileInfo(fi) if err != nil { return err } f.files = append(f.files, file) return err } func (f *Filesystem) captureFiles() error { walker := func(path string, fi hugofs.FileMetaInfo, err error) error { if err != nil { return err } if fi.IsDir() { return nil } meta := fi.Meta() filename := meta.Filename() b, err := f.shouldRead(filename, fi) if err != nil { return err } if b { err = f.add(filename, fi) } return err } w := hugofs.NewWalkway(hugofs.WalkwayConfig{ Fs: f.SourceFs, Info: f.fi, Root: f.Base, WalkFn: walker, }) return w.Walk() } func (f *Filesystem) shouldRead(filename string, fi hugofs.FileMetaInfo) (bool, error) { ignore := f.SourceSpec.IgnoreFile(fi.Meta().Filename()) if fi.IsDir() { if ignore { return false, filepath.SkipDir } return false, nil } if ignore { return false, nil } return true, nil }
// Copyright 2016 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package source import ( "path/filepath" "sync" "github.com/pkg/errors" "github.com/gohugoio/hugo/hugofs" ) // Filesystem represents a source filesystem. type Filesystem struct { files []File filesInit sync.Once filesInitErr error Base string fi hugofs.FileMetaInfo SourceSpec } // NewFilesystem returns a new filesytem for a given source spec. func (sp SourceSpec) NewFilesystem(base string) *Filesystem { return &Filesystem{SourceSpec: sp, Base: base} } func (sp SourceSpec) NewFilesystemFromFileMetaInfo(fi hugofs.FileMetaInfo) *Filesystem { return &Filesystem{SourceSpec: sp, fi: fi} } // Files returns a slice of readable files. func (f *Filesystem) Files() ([]File, error) { f.filesInit.Do(func() { err := f.captureFiles() if err != nil { f.filesInitErr = errors.Wrap(err, "capture files") } }) return f.files, f.filesInitErr } // add populates a file in the Filesystem.files func (f *Filesystem) add(name string, fi hugofs.FileMetaInfo) (err error) { var file File file, err = f.SourceSpec.NewFileInfo(fi) if err != nil { return err } f.files = append(f.files, file) return err } func (f *Filesystem) captureFiles() error { walker := func(path string, fi hugofs.FileMetaInfo, err error) error { if err != nil { return err } if fi.IsDir() { return nil } meta := fi.Meta() filename := meta.Filename() b, err := f.shouldRead(filename, fi) if err != nil { return err } if b { err = f.add(filename, fi) } return err } w := hugofs.NewWalkway(hugofs.WalkwayConfig{ Fs: f.SourceFs, Info: f.fi, Root: f.Base, WalkFn: walker, }) return w.Walk() } func (f *Filesystem) shouldRead(filename string, fi hugofs.FileMetaInfo) (bool, error) { ignore := f.SourceSpec.IgnoreFile(fi.Meta().Filename()) if fi.IsDir() { if ignore { return false, filepath.SkipDir } return false, nil } if ignore { return false, nil } return true, nil }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./markup/asciidocext/convert_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "path/filepath" "testing" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/markup_config" "github.com/gohugoio/hugo/markup/tableofcontents" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestAsciidoctorDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorNonDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "manpage" mconf.AsciidocExt.NoHeaderOrFooter = false mconf.AsciidocExt.SafeMode = "safe" mconf.AsciidocExt.SectionNumbers = true mconf.AsciidocExt.Verbose = true mconf.AsciidocExt.Trace = false mconf.AsciidocExt.FailureLevel = "warn" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "manpage", "--section-numbers", "--verbose", "--failure-level", "warn", "--safe-mode", "safe"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDisallowedArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "disallowed-backend" mconf.AsciidocExt.Extensions = []string{"disallowed-extension"} mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"} mconf.AsciidocExt.SafeMode = "disallowed-safemode" mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDiagramArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "html5s", "-r", "asciidoctor-html5s", "-r", "asciidoctor-diagram", "--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorWorkingFolderCurrent(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) ctx := converter.DocumentContext{Filename: "/tmp/hugo_asciidoc_ddd/docs/chapter2/index.adoc", DocumentName: "chapter2/index.adoc"} conv, err := p.New(ctx) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(ctx) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "--base-dir") c.Assert(filepath.ToSlash(args[1]), qt.Matches, "/tmp/hugo_asciidoc_ddd/docs/chapter2") c.Assert(args[2], qt.Equals, "-a") c.Assert(args[3], qt.Matches, `outdir=.*[/\\]{1,2}asciidocext[/\\]{1,2}chapter2`) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestAsciidoctorWorkingFolderCurrentAndExtensions(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 11) c.Assert(args[0], qt.Equals, "-b") c.Assert(args[1], qt.Equals, "html5s") c.Assert(args[2], qt.Equals, "-r") c.Assert(args[3], qt.Equals, "asciidoctor-html5s") c.Assert(args[4], qt.Equals, "-r") c.Assert(args[5], qt.Equals, "asciidoctor-diagram") c.Assert(args[6], qt.Equals, "--base-dir") c.Assert(args[7], qt.Equals, ".") c.Assert(args[8], qt.Equals, "-a") c.Assert(args[9], qt.Contains, "outdir=") c.Assert(args[10], qt.Equals, "--no-header-footer") } func TestAsciidoctorAttributes(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Attributes = map[string]string{"my-base-url": "https://gohugo.io/", "my-attribute-name": "my value"} mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) expectedValues := map[string]bool{ "my-base-url=https://gohugo.io/": true, "my-attribute-name=my value": true, } args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "-a") c.Assert(expectedValues[args[1]], qt.Equals, true) c.Assert(args[2], qt.Equals, "-a") c.Assert(expectedValues[args[3]], qt.Equals, true) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestConvert(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<div class=\"paragraph\">\n<p>testContent</p>\n</div>\n") } func TestTableOfContents(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: macro :toclevels: 4 toc::[] === Introduction == Section 1 === Section 1.1 ==== Section 1.1.1 === Section 1.2 testContent == Section 2 `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_introduction", Text: "Introduction", Headers: nil, }, { ID: "_section_1", Text: "Section 1", Headers: tableofcontents.Headers{ { ID: "_section_1_1", Text: "Section 1.1", Headers: tableofcontents.Headers{ { ID: "_section_1_1_1", Text: "Section 1.1.1", Headers: nil, }, }, }, { ID: "_section_1_2", Text: "Section 1.2", Headers: nil, }, }, }, { ID: "_section_2", Text: "Section 2", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsWithCode(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: auto == Some ` + "`code`" + ` in the title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_some_code_in_the_title", Text: "Some <code>code</code> in the title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsPreserveTOC(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default mconf.AsciidocExt.PreserveTOC = true p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: :idprefix: :idseparator: - == Some title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "some-title", Text: "Some title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Contains, "<div id=\"toc\" class=\"toc\">") }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "path/filepath" "testing" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/markup_config" "github.com/gohugoio/hugo/markup/tableofcontents" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestAsciidoctorDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorNonDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "manpage" mconf.AsciidocExt.NoHeaderOrFooter = false mconf.AsciidocExt.SafeMode = "safe" mconf.AsciidocExt.SectionNumbers = true mconf.AsciidocExt.Verbose = true mconf.AsciidocExt.Trace = false mconf.AsciidocExt.FailureLevel = "warn" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "manpage", "--section-numbers", "--verbose", "--failure-level", "warn", "--safe-mode", "safe"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDisallowedArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "disallowed-backend" mconf.AsciidocExt.Extensions = []string{"disallowed-extension"} mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"} mconf.AsciidocExt.SafeMode = "disallowed-safemode" mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDiagramArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "html5s", "-r", "asciidoctor-html5s", "-r", "asciidoctor-diagram", "--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorWorkingFolderCurrent(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) ctx := converter.DocumentContext{Filename: "/tmp/hugo_asciidoc_ddd/docs/chapter2/index.adoc", DocumentName: "chapter2/index.adoc"} conv, err := p.New(ctx) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(ctx) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "--base-dir") c.Assert(filepath.ToSlash(args[1]), qt.Matches, "/tmp/hugo_asciidoc_ddd/docs/chapter2") c.Assert(args[2], qt.Equals, "-a") c.Assert(args[3], qt.Matches, `outdir=.*[/\\]{1,2}asciidocext[/\\]{1,2}chapter2`) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestAsciidoctorWorkingFolderCurrentAndExtensions(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 11) c.Assert(args[0], qt.Equals, "-b") c.Assert(args[1], qt.Equals, "html5s") c.Assert(args[2], qt.Equals, "-r") c.Assert(args[3], qt.Equals, "asciidoctor-html5s") c.Assert(args[4], qt.Equals, "-r") c.Assert(args[5], qt.Equals, "asciidoctor-diagram") c.Assert(args[6], qt.Equals, "--base-dir") c.Assert(args[7], qt.Equals, ".") c.Assert(args[8], qt.Equals, "-a") c.Assert(args[9], qt.Contains, "outdir=") c.Assert(args[10], qt.Equals, "--no-header-footer") } func TestAsciidoctorAttributes(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Attributes = map[string]string{"my-base-url": "https://gohugo.io/", "my-attribute-name": "my value"} mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) expectedValues := map[string]bool{ "my-base-url=https://gohugo.io/": true, "my-attribute-name=my value": true, } args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "-a") c.Assert(expectedValues[args[1]], qt.Equals, true) c.Assert(args[2], qt.Equals, "-a") c.Assert(expectedValues[args[3]], qt.Equals, true) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestConvert(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<div class=\"paragraph\">\n<p>testContent</p>\n</div>\n") } func TestTableOfContents(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: macro :toclevels: 4 toc::[] === Introduction == Section 1 === Section 1.1 ==== Section 1.1.1 === Section 1.2 testContent == Section 2 `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_introduction", Text: "Introduction", Headers: nil, }, { ID: "_section_1", Text: "Section 1", Headers: tableofcontents.Headers{ { ID: "_section_1_1", Text: "Section 1.1", Headers: tableofcontents.Headers{ { ID: "_section_1_1_1", Text: "Section 1.1.1", Headers: nil, }, }, }, { ID: "_section_1_2", Text: "Section 1.2", Headers: nil, }, }, }, { ID: "_section_2", Text: "Section 2", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsWithCode(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: auto == Some ` + "`code`" + ` in the title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_some_code_in_the_title", Text: "Some <code>code</code> in the title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsPreserveTOC(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default mconf.AsciidocExt.PreserveTOC = true p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: :idprefix: :idseparator: - == Some title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "some-title", Text: "Some title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Contains, "<div id=\"toc\" class=\"toc\">") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugofs/filter_fs.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugofs import ( "fmt" "io" "os" "path/filepath" "sort" "strings" "syscall" "time" "github.com/gohugoio/hugo/hugofs/files" "github.com/spf13/afero" ) var ( _ afero.Fs = (*FilterFs)(nil) _ afero.Lstater = (*FilterFs)(nil) _ afero.File = (*filterDir)(nil) ) func NewLanguageFs(langs map[string]int, fs afero.Fs) (afero.Fs, error) { applyMeta := func(fs *FilterFs, name string, fis []os.FileInfo) { for i, fi := range fis { if fi.IsDir() { filename := filepath.Join(name, fi.Name()) fis[i] = decorateFileInfo(fi, fs, fs.getOpener(filename), "", "", nil) continue } meta := fi.(FileMetaInfo).Meta() lang := meta.Lang() fileLang, translationBaseName, translationBaseNameWithExt := langInfoFrom(langs, fi.Name()) weight := 0 if fileLang != "" { weight = 1 if fileLang == lang { // Give priority to myfile.sv.txt inside the sv filesystem. weight++ } lang = fileLang } fim := NewFileMetaInfo(fi, FileMeta{ metaKeyLang: lang, metaKeyWeight: weight, metaKeyOrdinal: langs[lang], metaKeyTranslationBaseName: translationBaseName, metaKeyTranslationBaseNameWithExt: translationBaseNameWithExt, metaKeyClassifier: files.ClassifyContentFile(fi.Name(), meta.GetOpener()), }) fis[i] = fim } } all := func(fis []os.FileInfo) { // Maps translation base name to a list of language codes. translations := make(map[string][]string) trackTranslation := func(meta FileMeta) { name := meta.TranslationBaseNameWithExt() translations[name] = append(translations[name], meta.Lang()) } for _, fi := range fis { if fi.IsDir() { continue } meta := fi.(FileMetaInfo).Meta() trackTranslation(meta) } for _, fi := range fis { fim := fi.(FileMetaInfo) langs := translations[fim.Meta().TranslationBaseNameWithExt()] if len(langs) > 0 { fim.Meta()["translations"] = sortAndremoveStringDuplicates(langs) } } } return &FilterFs{ fs: fs, applyPerSource: applyMeta, applyAll: all, }, nil } func NewFilterFs(fs afero.Fs) (afero.Fs, error) { applyMeta := func(fs *FilterFs, name string, fis []os.FileInfo) { for i, fi := range fis { if fi.IsDir() { fis[i] = decorateFileInfo(fi, fs, fs.getOpener(fi.(FileMetaInfo).Meta().Filename()), "", "", nil) } } } ffs := &FilterFs{ fs: fs, applyPerSource: applyMeta, } return ffs, nil } // FilterFs is an ordered composite filesystem. type FilterFs struct { fs afero.Fs applyPerSource func(fs *FilterFs, name string, fis []os.FileInfo) applyAll func(fis []os.FileInfo) } func (fs *FilterFs) Chmod(n string, m os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) Chtimes(n string, a, m time.Time) error { return syscall.EPERM } func (fs *FilterFs) LstatIfPossible(name string) (os.FileInfo, bool, error) { fi, b, err := lstatIfPossible(fs.fs, name) if err != nil { return nil, false, err } if fi.IsDir() { return decorateFileInfo(fi, fs, fs.getOpener(name), "", "", nil), false, nil } parent := filepath.Dir(name) fs.applyFilters(parent, -1, fi) return fi, b, nil } func (fs *FilterFs) Mkdir(n string, p os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) MkdirAll(n string, p os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) Name() string { return "WeightedFileSystem" } func (fs *FilterFs) Open(name string) (afero.File, error) { f, err := fs.fs.Open(name) if err != nil { return nil, err } return &filterDir{ File: f, ffs: fs, }, nil } func (fs *FilterFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) { return fs.fs.Open(name) } func (fs *FilterFs) ReadDir(name string) ([]os.FileInfo, error) { panic("not implemented") } func (fs *FilterFs) Remove(n string) error { return syscall.EPERM } func (fs *FilterFs) RemoveAll(p string) error { return syscall.EPERM } func (fs *FilterFs) Rename(o, n string) error { return syscall.EPERM } func (fs *FilterFs) Stat(name string) (os.FileInfo, error) { fi, _, err := fs.LstatIfPossible(name) return fi, err } func (fs *FilterFs) Create(n string) (afero.File, error) { return nil, syscall.EPERM } func (fs *FilterFs) getOpener(name string) func() (afero.File, error) { return func() (afero.File, error) { return fs.Open(name) } } func (fs *FilterFs) applyFilters(name string, count int, fis ...os.FileInfo) ([]os.FileInfo, error) { if fs.applyPerSource != nil { fs.applyPerSource(fs, name, fis) } seen := make(map[string]bool) var duplicates []int for i, dir := range fis { if !dir.IsDir() { continue } if seen[dir.Name()] { duplicates = append(duplicates, i) } else { seen[dir.Name()] = true } } // Remove duplicate directories, keep first. if len(duplicates) > 0 { for i := len(duplicates) - 1; i >= 0; i-- { idx := duplicates[i] fis = append(fis[:idx], fis[idx+1:]...) } } if fs.applyAll != nil { fs.applyAll(fis) } if count > 0 && len(fis) >= count { return fis[:count], nil } return fis, nil } type filterDir struct { afero.File ffs *FilterFs } func (f *filterDir) Readdir(count int) ([]os.FileInfo, error) { fis, err := f.File.Readdir(-1) if err != nil { return nil, err } return f.ffs.applyFilters(f.Name(), count, fis...) } func (f *filterDir) Readdirnames(count int) ([]string, error) { dirsi, err := f.Readdir(count) if err != nil { return nil, err } dirs := make([]string, len(dirsi)) for i, d := range dirsi { dirs[i] = d.Name() } return dirs, nil } // Try to extract the language from the given filename. // Any valid language identifier in the name will win over the // language set on the file system, e.g. "mypost.en.md". func langInfoFrom(languages map[string]int, name string) (string, string, string) { var lang string baseName := filepath.Base(name) ext := filepath.Ext(baseName) translationBaseName := baseName if ext != "" { translationBaseName = strings.TrimSuffix(translationBaseName, ext) } fileLangExt := filepath.Ext(translationBaseName) fileLang := strings.TrimPrefix(fileLangExt, ".") if _, found := languages[fileLang]; found { lang = fileLang translationBaseName = strings.TrimSuffix(translationBaseName, fileLangExt) } translationBaseNameWithExt := translationBaseName if ext != "" { translationBaseNameWithExt += ext } return lang, translationBaseName, translationBaseNameWithExt } func printFs(fs afero.Fs, path string, w io.Writer) { if fs == nil { return } afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error { fmt.Println("p:::", path) return nil }) } func sortAndremoveStringDuplicates(s []string) []string { ss := sort.StringSlice(s) ss.Sort() i := 0 for j := 1; j < len(s); j++ { if !ss.Less(i, j) { continue } i++ s[i] = s[j] } return s[:i+1] }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugofs import ( "fmt" "io" "os" "path/filepath" "sort" "strings" "syscall" "time" "github.com/gohugoio/hugo/hugofs/files" "github.com/spf13/afero" ) var ( _ afero.Fs = (*FilterFs)(nil) _ afero.Lstater = (*FilterFs)(nil) _ afero.File = (*filterDir)(nil) ) func NewLanguageFs(langs map[string]int, fs afero.Fs) (afero.Fs, error) { applyMeta := func(fs *FilterFs, name string, fis []os.FileInfo) { for i, fi := range fis { if fi.IsDir() { filename := filepath.Join(name, fi.Name()) fis[i] = decorateFileInfo(fi, fs, fs.getOpener(filename), "", "", nil) continue } meta := fi.(FileMetaInfo).Meta() lang := meta.Lang() fileLang, translationBaseName, translationBaseNameWithExt := langInfoFrom(langs, fi.Name()) weight := 0 if fileLang != "" { weight = 1 if fileLang == lang { // Give priority to myfile.sv.txt inside the sv filesystem. weight++ } lang = fileLang } fim := NewFileMetaInfo(fi, FileMeta{ metaKeyLang: lang, metaKeyWeight: weight, metaKeyOrdinal: langs[lang], metaKeyTranslationBaseName: translationBaseName, metaKeyTranslationBaseNameWithExt: translationBaseNameWithExt, metaKeyClassifier: files.ClassifyContentFile(fi.Name(), meta.GetOpener()), }) fis[i] = fim } } all := func(fis []os.FileInfo) { // Maps translation base name to a list of language codes. translations := make(map[string][]string) trackTranslation := func(meta FileMeta) { name := meta.TranslationBaseNameWithExt() translations[name] = append(translations[name], meta.Lang()) } for _, fi := range fis { if fi.IsDir() { continue } meta := fi.(FileMetaInfo).Meta() trackTranslation(meta) } for _, fi := range fis { fim := fi.(FileMetaInfo) langs := translations[fim.Meta().TranslationBaseNameWithExt()] if len(langs) > 0 { fim.Meta()["translations"] = sortAndremoveStringDuplicates(langs) } } } return &FilterFs{ fs: fs, applyPerSource: applyMeta, applyAll: all, }, nil } func NewFilterFs(fs afero.Fs) (afero.Fs, error) { applyMeta := func(fs *FilterFs, name string, fis []os.FileInfo) { for i, fi := range fis { if fi.IsDir() { fis[i] = decorateFileInfo(fi, fs, fs.getOpener(fi.(FileMetaInfo).Meta().Filename()), "", "", nil) } } } ffs := &FilterFs{ fs: fs, applyPerSource: applyMeta, } return ffs, nil } // FilterFs is an ordered composite filesystem. type FilterFs struct { fs afero.Fs applyPerSource func(fs *FilterFs, name string, fis []os.FileInfo) applyAll func(fis []os.FileInfo) } func (fs *FilterFs) Chmod(n string, m os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) Chtimes(n string, a, m time.Time) error { return syscall.EPERM } func (fs *FilterFs) LstatIfPossible(name string) (os.FileInfo, bool, error) { fi, b, err := lstatIfPossible(fs.fs, name) if err != nil { return nil, false, err } if fi.IsDir() { return decorateFileInfo(fi, fs, fs.getOpener(name), "", "", nil), false, nil } parent := filepath.Dir(name) fs.applyFilters(parent, -1, fi) return fi, b, nil } func (fs *FilterFs) Mkdir(n string, p os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) MkdirAll(n string, p os.FileMode) error { return syscall.EPERM } func (fs *FilterFs) Name() string { return "WeightedFileSystem" } func (fs *FilterFs) Open(name string) (afero.File, error) { f, err := fs.fs.Open(name) if err != nil { return nil, err } return &filterDir{ File: f, ffs: fs, }, nil } func (fs *FilterFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) { return fs.fs.Open(name) } func (fs *FilterFs) ReadDir(name string) ([]os.FileInfo, error) { panic("not implemented") } func (fs *FilterFs) Remove(n string) error { return syscall.EPERM } func (fs *FilterFs) RemoveAll(p string) error { return syscall.EPERM } func (fs *FilterFs) Rename(o, n string) error { return syscall.EPERM } func (fs *FilterFs) Stat(name string) (os.FileInfo, error) { fi, _, err := fs.LstatIfPossible(name) return fi, err } func (fs *FilterFs) Create(n string) (afero.File, error) { return nil, syscall.EPERM } func (fs *FilterFs) getOpener(name string) func() (afero.File, error) { return func() (afero.File, error) { return fs.Open(name) } } func (fs *FilterFs) applyFilters(name string, count int, fis ...os.FileInfo) ([]os.FileInfo, error) { if fs.applyPerSource != nil { fs.applyPerSource(fs, name, fis) } seen := make(map[string]bool) var duplicates []int for i, dir := range fis { if !dir.IsDir() { continue } if seen[dir.Name()] { duplicates = append(duplicates, i) } else { seen[dir.Name()] = true } } // Remove duplicate directories, keep first. if len(duplicates) > 0 { for i := len(duplicates) - 1; i >= 0; i-- { idx := duplicates[i] fis = append(fis[:idx], fis[idx+1:]...) } } if fs.applyAll != nil { fs.applyAll(fis) } if count > 0 && len(fis) >= count { return fis[:count], nil } return fis, nil } type filterDir struct { afero.File ffs *FilterFs } func (f *filterDir) Readdir(count int) ([]os.FileInfo, error) { fis, err := f.File.Readdir(-1) if err != nil { return nil, err } return f.ffs.applyFilters(f.Name(), count, fis...) } func (f *filterDir) Readdirnames(count int) ([]string, error) { dirsi, err := f.Readdir(count) if err != nil { return nil, err } dirs := make([]string, len(dirsi)) for i, d := range dirsi { dirs[i] = d.Name() } return dirs, nil } // Try to extract the language from the given filename. // Any valid language identifier in the name will win over the // language set on the file system, e.g. "mypost.en.md". func langInfoFrom(languages map[string]int, name string) (string, string, string) { var lang string baseName := filepath.Base(name) ext := filepath.Ext(baseName) translationBaseName := baseName if ext != "" { translationBaseName = strings.TrimSuffix(translationBaseName, ext) } fileLangExt := filepath.Ext(translationBaseName) fileLang := strings.TrimPrefix(fileLangExt, ".") if _, found := languages[fileLang]; found { lang = fileLang translationBaseName = strings.TrimSuffix(translationBaseName, fileLangExt) } translationBaseNameWithExt := translationBaseName if ext != "" { translationBaseNameWithExt += ext } return lang, translationBaseName, translationBaseNameWithExt } func printFs(fs afero.Fs, path string, w io.Writer) { if fs == nil { return } afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error { fmt.Println("p:::", path) return nil }) } func sortAndremoveStringDuplicates(s []string) []string { ss := sort.StringSlice(s) ss.Sort() i := 0 for j := 1; j < len(s); j++ { if !ss.Less(i, j) { continue } i++ s[i] = s[j] } return s[:i+1] }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/testhelpers_test.go
package resources import ( "image" "io" "io/ioutil" "os" "path/filepath" "runtime" "strings" "testing" "github.com/gohugoio/hugo/langs" "github.com/gohugoio/hugo/modules" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/cache/filecache" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/media" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/resources/page" "github.com/gohugoio/hugo/resources/resource" "github.com/spf13/afero" "github.com/spf13/viper" ) type specDescriptor struct { baseURL string c *qt.C fs afero.Fs } func createTestCfg() *viper.Viper { cfg := viper.New() cfg.Set("resourceDir", "resources") cfg.Set("contentDir", "content") cfg.Set("dataDir", "data") cfg.Set("i18nDir", "i18n") cfg.Set("layoutDir", "layouts") cfg.Set("assetDir", "assets") cfg.Set("archetypeDir", "archetypes") cfg.Set("publishDir", "public") langs.LoadLanguageSettings(cfg, nil) mod, err := modules.CreateProjectModule(cfg) if err != nil { panic(err) } cfg.Set("allModules", modules.Modules{mod}) return cfg } func newTestResourceSpec(desc specDescriptor) *Spec { baseURL := desc.baseURL if baseURL == "" { baseURL = "https://example.com/" } afs := desc.fs if afs == nil { afs = afero.NewMemMapFs() } afs = hugofs.NewBaseFileDecorator(afs) c := desc.c cfg := createTestCfg() cfg.Set("baseURL", baseURL) imagingCfg := map[string]interface{}{ "resampleFilter": "linear", "quality": 68, "anchor": "left", } cfg.Set("imaging", imagingCfg) fs := hugofs.NewFrom(afs, cfg) fs.Destination = hugofs.NewCreateCountingFs(fs.Destination) s, err := helpers.NewPathSpec(fs, cfg, nil) c.Assert(err, qt.IsNil) filecaches, err := filecache.NewCaches(s) c.Assert(err, qt.IsNil) spec, err := NewSpec(s, filecaches, nil, nil, nil, output.DefaultFormats, media.DefaultTypes) c.Assert(err, qt.IsNil) return spec } func newTargetPaths(link string) func() page.TargetPaths { return func() page.TargetPaths { return page.TargetPaths{ SubResourceBaseTarget: filepath.FromSlash(link), SubResourceBaseLink: link, } } } func newTestResourceOsFs(c *qt.C) (*Spec, string) { cfg := createTestCfg() cfg.Set("baseURL", "https://example.com") workDir, err := ioutil.TempDir("", "hugores") c.Assert(err, qt.IsNil) c.Assert(workDir, qt.Not(qt.Equals), "") if runtime.GOOS == "darwin" && !strings.HasPrefix(workDir, "/private") { // To get the entry folder in line with the rest. This its a little bit // mysterious, but so be it. workDir = "/private" + workDir } cfg.Set("workingDir", workDir) fs := hugofs.NewFrom(hugofs.NewBaseFileDecorator(hugofs.Os), cfg) fs.Destination = &afero.MemMapFs{} s, err := helpers.NewPathSpec(fs, cfg, nil) c.Assert(err, qt.IsNil) filecaches, err := filecache.NewCaches(s) c.Assert(err, qt.IsNil) spec, err := NewSpec(s, filecaches, nil, nil, nil, output.DefaultFormats, media.DefaultTypes) c.Assert(err, qt.IsNil) return spec, workDir } func fetchSunset(c *qt.C) resource.Image { return fetchImage(c, "sunset.jpg") } func fetchImage(c *qt.C, name string) resource.Image { spec := newTestResourceSpec(specDescriptor{c: c}) return fetchImageForSpec(spec, c, name) } func fetchImageForSpec(spec *Spec, c *qt.C, name string) resource.Image { r := fetchResourceForSpec(spec, c, name) img := r.(resource.Image) c.Assert(img, qt.Not(qt.IsNil)) c.Assert(img.(specProvider).getSpec(), qt.Not(qt.IsNil)) return img } func fetchResourceForSpec(spec *Spec, c *qt.C, name string, targetPathAddends ...string) resource.ContentResource { src, err := os.Open(filepath.FromSlash("testdata/" + name)) c.Assert(err, qt.IsNil) workDir := spec.WorkingDir if len(targetPathAddends) > 0 { addends := strings.Join(targetPathAddends, "_") name = addends + "_" + name } targetFilename := filepath.Join(workDir, name) out, err := helpers.OpenFileForWriting(spec.Fs.Source, targetFilename) c.Assert(err, qt.IsNil) _, err = io.Copy(out, src) out.Close() src.Close() c.Assert(err, qt.IsNil) factory := newTargetPaths("/a") r, err := spec.New(ResourceSourceDescriptor{Fs: spec.Fs.Source, TargetPaths: factory, LazyPublish: true, RelTargetFilename: name, SourceFilename: targetFilename}) c.Assert(err, qt.IsNil) c.Assert(r, qt.Not(qt.IsNil)) return r.(resource.ContentResource) } func assertImageFile(c *qt.C, fs afero.Fs, filename string, width, height int) { filename = filepath.Clean(filename) f, err := fs.Open(filename) c.Assert(err, qt.IsNil) defer f.Close() config, _, err := image.DecodeConfig(f) c.Assert(err, qt.IsNil) c.Assert(config.Width, qt.Equals, width) c.Assert(config.Height, qt.Equals, height) } func assertFileCache(c *qt.C, fs afero.Fs, filename string, width, height int) { assertImageFile(c, fs, filepath.Clean(filename), width, height) } func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } }
package resources import ( "image" "io" "io/ioutil" "os" "path/filepath" "runtime" "strings" "testing" "github.com/gohugoio/hugo/langs" "github.com/gohugoio/hugo/modules" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/cache/filecache" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/media" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/resources/page" "github.com/gohugoio/hugo/resources/resource" "github.com/spf13/afero" "github.com/spf13/viper" ) type specDescriptor struct { baseURL string c *qt.C fs afero.Fs } func createTestCfg() *viper.Viper { cfg := viper.New() cfg.Set("resourceDir", "resources") cfg.Set("contentDir", "content") cfg.Set("dataDir", "data") cfg.Set("i18nDir", "i18n") cfg.Set("layoutDir", "layouts") cfg.Set("assetDir", "assets") cfg.Set("archetypeDir", "archetypes") cfg.Set("publishDir", "public") langs.LoadLanguageSettings(cfg, nil) mod, err := modules.CreateProjectModule(cfg) if err != nil { panic(err) } cfg.Set("allModules", modules.Modules{mod}) return cfg } func newTestResourceSpec(desc specDescriptor) *Spec { baseURL := desc.baseURL if baseURL == "" { baseURL = "https://example.com/" } afs := desc.fs if afs == nil { afs = afero.NewMemMapFs() } afs = hugofs.NewBaseFileDecorator(afs) c := desc.c cfg := createTestCfg() cfg.Set("baseURL", baseURL) imagingCfg := map[string]interface{}{ "resampleFilter": "linear", "quality": 68, "anchor": "left", } cfg.Set("imaging", imagingCfg) fs := hugofs.NewFrom(afs, cfg) fs.Destination = hugofs.NewCreateCountingFs(fs.Destination) s, err := helpers.NewPathSpec(fs, cfg, nil) c.Assert(err, qt.IsNil) filecaches, err := filecache.NewCaches(s) c.Assert(err, qt.IsNil) spec, err := NewSpec(s, filecaches, nil, nil, nil, output.DefaultFormats, media.DefaultTypes) c.Assert(err, qt.IsNil) return spec } func newTargetPaths(link string) func() page.TargetPaths { return func() page.TargetPaths { return page.TargetPaths{ SubResourceBaseTarget: filepath.FromSlash(link), SubResourceBaseLink: link, } } } func newTestResourceOsFs(c *qt.C) (*Spec, string) { cfg := createTestCfg() cfg.Set("baseURL", "https://example.com") workDir, err := ioutil.TempDir("", "hugores") c.Assert(err, qt.IsNil) c.Assert(workDir, qt.Not(qt.Equals), "") if runtime.GOOS == "darwin" && !strings.HasPrefix(workDir, "/private") { // To get the entry folder in line with the rest. This its a little bit // mysterious, but so be it. workDir = "/private" + workDir } cfg.Set("workingDir", workDir) fs := hugofs.NewFrom(hugofs.NewBaseFileDecorator(hugofs.Os), cfg) fs.Destination = &afero.MemMapFs{} s, err := helpers.NewPathSpec(fs, cfg, nil) c.Assert(err, qt.IsNil) filecaches, err := filecache.NewCaches(s) c.Assert(err, qt.IsNil) spec, err := NewSpec(s, filecaches, nil, nil, nil, output.DefaultFormats, media.DefaultTypes) c.Assert(err, qt.IsNil) return spec, workDir } func fetchSunset(c *qt.C) resource.Image { return fetchImage(c, "sunset.jpg") } func fetchImage(c *qt.C, name string) resource.Image { spec := newTestResourceSpec(specDescriptor{c: c}) return fetchImageForSpec(spec, c, name) } func fetchImageForSpec(spec *Spec, c *qt.C, name string) resource.Image { r := fetchResourceForSpec(spec, c, name) img := r.(resource.Image) c.Assert(img, qt.Not(qt.IsNil)) c.Assert(img.(specProvider).getSpec(), qt.Not(qt.IsNil)) return img } func fetchResourceForSpec(spec *Spec, c *qt.C, name string, targetPathAddends ...string) resource.ContentResource { src, err := os.Open(filepath.FromSlash("testdata/" + name)) c.Assert(err, qt.IsNil) workDir := spec.WorkingDir if len(targetPathAddends) > 0 { addends := strings.Join(targetPathAddends, "_") name = addends + "_" + name } targetFilename := filepath.Join(workDir, name) out, err := helpers.OpenFileForWriting(spec.Fs.Source, targetFilename) c.Assert(err, qt.IsNil) _, err = io.Copy(out, src) out.Close() src.Close() c.Assert(err, qt.IsNil) factory := newTargetPaths("/a") r, err := spec.New(ResourceSourceDescriptor{Fs: spec.Fs.Source, TargetPaths: factory, LazyPublish: true, RelTargetFilename: name, SourceFilename: targetFilename}) c.Assert(err, qt.IsNil) c.Assert(r, qt.Not(qt.IsNil)) return r.(resource.ContentResource) } func assertImageFile(c *qt.C, fs afero.Fs, filename string, width, height int) { filename = filepath.Clean(filename) f, err := fs.Open(filename) c.Assert(err, qt.IsNil) defer f.Close() config, _, err := image.DecodeConfig(f) c.Assert(err, qt.IsNil) c.Assert(config.Width, qt.Equals, width) c.Assert(config.Height, qt.Equals, height) } func assertFileCache(c *qt.C, fs afero.Fs, filename string, width, height int) { assertImageFile(c, fs, filepath.Clean(filename), width, height) } func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./minifiers/minifiers.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package minifiers contains minifiers mapped to MIME types. This package is used // in both the resource transformation, i.e. resources.Minify, and in the publishing // chain. package minifiers import ( "io" "regexp" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/transform" "github.com/gohugoio/hugo/media" "github.com/tdewolff/minify/v2" ) // Client wraps a minifier. type Client struct { // Whether output minification is enabled (HTML in /public) MinifyOutput bool m *minify.M } // Transformer returns a func that can be used in the transformer publishing chain. // TODO(bep) minify config etc func (m Client) Transformer(mediatype media.Type) transform.Transformer { _, params, min := m.m.Match(mediatype.Type()) if min == nil { // No minifier for this MIME type return nil } return func(ft transform.FromTo) error { // Note that the source io.Reader will already be buffered, but it implements // the Bytes() method, which is recognized by the Minify library. return min.Minify(m.m, ft.To(), ft.From(), params) } } // Minify tries to minify the src into dst given a MIME type. func (m Client) Minify(mediatype media.Type, dst io.Writer, src io.Reader) error { return m.m.Minify(mediatype.Type(), dst, src) } // New creates a new Client with the provided MIME types as the mapping foundation. // The HTML minifier is also registered for additional HTML types (AMP etc.) in the // provided list of output formats. func New(mediaTypes media.Types, outputFormats output.Formats, cfg config.Provider) (Client, error) { conf, err := decodeConfig(cfg) m := minify.New() if err != nil { return Client{}, err } // We use the Type definition of the media types defined in the site if found. if !conf.DisableCSS { addMinifier(m, mediaTypes, "css", &conf.Tdewolff.CSS) } if !conf.DisableJS { addMinifier(m, mediaTypes, "js", &conf.Tdewolff.JS) m.AddRegexp(regexp.MustCompile("^(application|text)/(x-)?(java|ecma)script$"), &conf.Tdewolff.JS) } if !conf.DisableJSON { addMinifier(m, mediaTypes, "json", &conf.Tdewolff.JSON) m.AddRegexp(regexp.MustCompile(`^(application|text)/(x-|ld\+)?json$`), &conf.Tdewolff.JSON) } if !conf.DisableSVG { addMinifier(m, mediaTypes, "svg", &conf.Tdewolff.SVG) } if !conf.DisableXML { addMinifier(m, mediaTypes, "xml", &conf.Tdewolff.XML) } // HTML if !conf.DisableHTML { addMinifier(m, mediaTypes, "html", &conf.Tdewolff.HTML) for _, of := range outputFormats { if of.IsHTML { m.Add(of.MediaType.Type(), &conf.Tdewolff.HTML) } } } return Client{m: m, MinifyOutput: conf.MinifyOutput}, nil } func addMinifier(m *minify.M, mt media.Types, suffix string, min minify.Minifier) { types := mt.BySuffix(suffix) for _, t := range types { m.Add(t.Type(), min) } } func addMinifierFunc(m *minify.M, mt media.Types, suffix string, min minify.MinifierFunc) { types := mt.BySuffix(suffix) for _, t := range types { m.AddFunc(t.Type(), min) } }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package minifiers contains minifiers mapped to MIME types. This package is used // in both the resource transformation, i.e. resources.Minify, and in the publishing // chain. package minifiers import ( "io" "regexp" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/output" "github.com/gohugoio/hugo/transform" "github.com/gohugoio/hugo/media" "github.com/tdewolff/minify/v2" ) // Client wraps a minifier. type Client struct { // Whether output minification is enabled (HTML in /public) MinifyOutput bool m *minify.M } // Transformer returns a func that can be used in the transformer publishing chain. // TODO(bep) minify config etc func (m Client) Transformer(mediatype media.Type) transform.Transformer { _, params, min := m.m.Match(mediatype.Type()) if min == nil { // No minifier for this MIME type return nil } return func(ft transform.FromTo) error { // Note that the source io.Reader will already be buffered, but it implements // the Bytes() method, which is recognized by the Minify library. return min.Minify(m.m, ft.To(), ft.From(), params) } } // Minify tries to minify the src into dst given a MIME type. func (m Client) Minify(mediatype media.Type, dst io.Writer, src io.Reader) error { return m.m.Minify(mediatype.Type(), dst, src) } // New creates a new Client with the provided MIME types as the mapping foundation. // The HTML minifier is also registered for additional HTML types (AMP etc.) in the // provided list of output formats. func New(mediaTypes media.Types, outputFormats output.Formats, cfg config.Provider) (Client, error) { conf, err := decodeConfig(cfg) m := minify.New() if err != nil { return Client{}, err } // We use the Type definition of the media types defined in the site if found. if !conf.DisableCSS { addMinifier(m, mediaTypes, "css", &conf.Tdewolff.CSS) } if !conf.DisableJS { addMinifier(m, mediaTypes, "js", &conf.Tdewolff.JS) m.AddRegexp(regexp.MustCompile("^(application|text)/(x-)?(java|ecma)script$"), &conf.Tdewolff.JS) } if !conf.DisableJSON { addMinifier(m, mediaTypes, "json", &conf.Tdewolff.JSON) m.AddRegexp(regexp.MustCompile(`^(application|text)/(x-|ld\+)?json$`), &conf.Tdewolff.JSON) } if !conf.DisableSVG { addMinifier(m, mediaTypes, "svg", &conf.Tdewolff.SVG) } if !conf.DisableXML { addMinifier(m, mediaTypes, "xml", &conf.Tdewolff.XML) } // HTML if !conf.DisableHTML { addMinifier(m, mediaTypes, "html", &conf.Tdewolff.HTML) for _, of := range outputFormats { if of.IsHTML { m.Add(of.MediaType.Type(), &conf.Tdewolff.HTML) } } } return Client{m: m, MinifyOutput: conf.MinifyOutput}, nil } func addMinifier(m *minify.M, mt media.Types, suffix string, min minify.Minifier) { types := mt.BySuffix(suffix) for _, t := range types { m.Add(t.Type(), min) } } func addMinifierFunc(m *minify.M, mt media.Types, suffix string, min minify.MinifierFunc) { types := mt.BySuffix(suffix) for _, t := range types { m.AddFunc(t.Type(), min) } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./commands/release_noop.go
// +build !release // Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands func createReleaser() cmder { return &nilCommand{} }
// +build !release // Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands func createReleaser() cmder { return &nilCommand{} }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./magefile.go
// +build mage package main import ( "bytes" "errors" "fmt" "io/ioutil" "os" "path" "path/filepath" "runtime" "strings" "sync" "time" "github.com/gohugoio/hugo/codegen" "github.com/gohugoio/hugo/resources/page/page_generate" "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" ) const ( packageName = "github.com/gohugoio/hugo" noGitLdflags = "-X $PACKAGE/common/hugo.buildDate=$BUILD_DATE" ) var ldflags = "-X $PACKAGE/common/hugo.commitHash=$COMMIT_HASH -X $PACKAGE/common/hugo.buildDate=$BUILD_DATE" // allow user to override go executable by running as GOEXE=xxx make ... on unix-like systems var goexe = "go" func init() { if exe := os.Getenv("GOEXE"); exe != "" { goexe = exe } // We want to use Go 1.11 modules even if the source lives inside GOPATH. // The default is "auto". os.Setenv("GO111MODULE", "on") } func runWith(env map[string]string, cmd string, inArgs ...interface{}) error { s := argsToStrings(inArgs...) return sh.RunWith(env, cmd, s...) } // Build hugo binary func Hugo() error { return runWith(flagEnv(), goexe, "build", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Build hugo binary with race detector enabled func HugoRace() error { return runWith(flagEnv(), goexe, "build", "-race", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Install hugo binary func Install() error { return runWith(flagEnv(), goexe, "install", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Uninstall hugo binary func Uninstall() error { return sh.Run(goexe, "clean", "-i", packageName) } func flagEnv() map[string]string { hash, _ := sh.Output("git", "rev-parse", "--short", "HEAD") return map[string]string{ "PACKAGE": packageName, "COMMIT_HASH": hash, "BUILD_DATE": time.Now().Format("2006-01-02T15:04:05Z0700"), } } // Generate autogen packages func Generate() error { generatorPackages := []string{ "tpl/tplimpl/embedded/generate", //"resources/page/generate", } for _, pkg := range generatorPackages { if err := runWith(flagEnv(), goexe, "generate", path.Join(packageName, pkg)); err != nil { return err } } dir, _ := os.Getwd() c := codegen.NewInspector(dir) if err := page_generate.Generate(c); err != nil { return err } goFmtPatterns := []string{ // TODO(bep) check: stat ./resources/page/*autogen*: no such file or directory "./resources/page/page_marshaljson.autogen.go", "./resources/page/page_wrappers.autogen.go", "./resources/page/zero_file.autogen.go", } for _, pattern := range goFmtPatterns { if err := sh.Run("gofmt", "-w", filepath.FromSlash(pattern)); err != nil { return err } } return nil } // Generate docs helper func GenDocsHelper() error { return runCmd(flagEnv(), goexe, "run", "-tags", buildTags(), "main.go", "gen", "docshelper") } // Build hugo without git info func HugoNoGitInfo() error { ldflags = noGitLdflags return Hugo() } var docker = sh.RunCmd("docker") // Build hugo Docker container func Docker() error { if err := docker("build", "-t", "hugo", "."); err != nil { return err } // yes ignore errors here docker("rm", "-f", "hugo-build") if err := docker("run", "--name", "hugo-build", "hugo ls /go/bin"); err != nil { return err } if err := docker("cp", "hugo-build:/go/bin/hugo", "."); err != nil { return err } return docker("rm", "hugo-build") } // Run tests and linters func Check() { if strings.Contains(runtime.Version(), "1.8") { // Go 1.8 doesn't play along with go test ./... and /vendor. // We could fix that, but that would take time. fmt.Printf("Skip Check on %s\n", runtime.Version()) return } if runtime.GOARCH == "amd64" && runtime.GOOS != "darwin" { mg.Deps(Test386) } else { fmt.Printf("Skip Test386 on %s and/or %s\n", runtime.GOARCH, runtime.GOOS) } mg.Deps(Fmt, Vet) // don't run two tests in parallel, they saturate the CPUs anyway, and running two // causes memory issues in CI. mg.Deps(TestRace) } func testGoFlags() string { if isCI() { return "" } return "-test.short" } // Run tests in 32-bit mode // Note that we don't run with the extended tag. Currently not supported in 32 bit. func Test386() error { env := map[string]string{"GOARCH": "386", "GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "./...") } // Run tests func Test() error { env := map[string]string{"GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "./...", buildFlags(), "-tags", buildTags()) } // Run tests with race detector func TestRace() error { env := map[string]string{"GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "-race", "./...", buildFlags(), "-tags", buildTags()) } // Run gofmt linter func Fmt() error { if !isGoLatest() { return nil } pkgs, err := hugoPackages() if err != nil { return err } failed := false first := true for _, pkg := range pkgs { files, err := filepath.Glob(filepath.Join(pkg, "*.go")) if err != nil { return nil } for _, f := range files { // gofmt doesn't exit with non-zero when it finds unformatted code // so we have to explicitly look for output, and if we find any, we // should fail this target. s, err := sh.Output("gofmt", "-l", f) if err != nil { fmt.Printf("ERROR: running gofmt on %q: %v\n", f, err) failed = true } if s != "" { if first { fmt.Println("The following files are not gofmt'ed:") first = false } failed = true fmt.Println(s) } } } if failed { return errors.New("improperly formatted go files") } return nil } var ( pkgPrefixLen = len("github.com/gohugoio/hugo") pkgs []string pkgsInit sync.Once ) func hugoPackages() ([]string, error) { var err error pkgsInit.Do(func() { var s string s, err = sh.Output(goexe, "list", "./...") if err != nil { return } pkgs = strings.Split(s, "\n") for i := range pkgs { pkgs[i] = "." + pkgs[i][pkgPrefixLen:] } }) return pkgs, err } // Run golint linter func Lint() error { pkgs, err := hugoPackages() if err != nil { return err } failed := false for _, pkg := range pkgs { // We don't actually want to fail this target if we find golint errors, // so we don't pass -set_exit_status, but we still print out any failures. if _, err := sh.Exec(nil, os.Stderr, nil, "golint", pkg); err != nil { fmt.Printf("ERROR: running go lint on %q: %v\n", pkg, err) failed = true } } if failed { return errors.New("errors running golint") } return nil } // Run go vet linter func Vet() error { if err := sh.Run(goexe, "vet", "./..."); err != nil { return fmt.Errorf("error running go vet: %v", err) } return nil } // Generate test coverage report func TestCoverHTML() error { const ( coverAll = "coverage-all.out" cover = "coverage.out" ) f, err := os.Create(coverAll) if err != nil { return err } defer f.Close() if _, err := f.Write([]byte("mode: count")); err != nil { return err } pkgs, err := hugoPackages() if err != nil { return err } for _, pkg := range pkgs { if err := sh.Run(goexe, "test", "-coverprofile="+cover, "-covermode=count", pkg); err != nil { return err } b, err := ioutil.ReadFile(cover) if err != nil { if os.IsNotExist(err) { continue } return err } idx := bytes.Index(b, []byte{'\n'}) b = b[idx+1:] if _, err := f.Write(b); err != nil { return err } } if err := f.Close(); err != nil { return err } return sh.Run(goexe, "tool", "cover", "-html="+coverAll) } func runCmd(env map[string]string, cmd string, args ...interface{}) error { if mg.Verbose() { return runWith(env, cmd, args...) } output, err := sh.OutputWith(env, cmd, argsToStrings(args...)...) if err != nil { fmt.Fprint(os.Stderr, output) } return err } func isGoLatest() bool { return strings.Contains(runtime.Version(), "1.14") } func isCI() bool { return os.Getenv("CI") != "" } func buildFlags() []string { if runtime.GOOS == "windows" { return []string{"-buildmode", "exe"} } return nil } func buildTags() string { // To build the extended Hugo SCSS/SASS enabled version, build with // HUGO_BUILD_TAGS=extended mage install etc. // To build without `hugo deploy` for smaller binary, use HUGO_BUILD_TAGS=nodeploy if envtags := os.Getenv("HUGO_BUILD_TAGS"); envtags != "" { return envtags } return "none" } func argsToStrings(v ...interface{}) []string { var args []string for _, arg := range v { switch v := arg.(type) { case string: if v != "" { args = append(args, v) } case []string: if v != nil { args = append(args, v...) } default: panic("invalid type") } } return args }
// +build mage package main import ( "bytes" "errors" "fmt" "io/ioutil" "os" "path" "path/filepath" "runtime" "strings" "sync" "time" "github.com/gohugoio/hugo/codegen" "github.com/gohugoio/hugo/resources/page/page_generate" "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" ) const ( packageName = "github.com/gohugoio/hugo" noGitLdflags = "-X $PACKAGE/common/hugo.buildDate=$BUILD_DATE" ) var ldflags = "-X $PACKAGE/common/hugo.commitHash=$COMMIT_HASH -X $PACKAGE/common/hugo.buildDate=$BUILD_DATE" // allow user to override go executable by running as GOEXE=xxx make ... on unix-like systems var goexe = "go" func init() { if exe := os.Getenv("GOEXE"); exe != "" { goexe = exe } // We want to use Go 1.11 modules even if the source lives inside GOPATH. // The default is "auto". os.Setenv("GO111MODULE", "on") } func runWith(env map[string]string, cmd string, inArgs ...interface{}) error { s := argsToStrings(inArgs...) return sh.RunWith(env, cmd, s...) } // Build hugo binary func Hugo() error { return runWith(flagEnv(), goexe, "build", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Build hugo binary with race detector enabled func HugoRace() error { return runWith(flagEnv(), goexe, "build", "-race", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Install hugo binary func Install() error { return runWith(flagEnv(), goexe, "install", "-ldflags", ldflags, buildFlags(), "-tags", buildTags(), packageName) } // Uninstall hugo binary func Uninstall() error { return sh.Run(goexe, "clean", "-i", packageName) } func flagEnv() map[string]string { hash, _ := sh.Output("git", "rev-parse", "--short", "HEAD") return map[string]string{ "PACKAGE": packageName, "COMMIT_HASH": hash, "BUILD_DATE": time.Now().Format("2006-01-02T15:04:05Z0700"), } } // Generate autogen packages func Generate() error { generatorPackages := []string{ "tpl/tplimpl/embedded/generate", //"resources/page/generate", } for _, pkg := range generatorPackages { if err := runWith(flagEnv(), goexe, "generate", path.Join(packageName, pkg)); err != nil { return err } } dir, _ := os.Getwd() c := codegen.NewInspector(dir) if err := page_generate.Generate(c); err != nil { return err } goFmtPatterns := []string{ // TODO(bep) check: stat ./resources/page/*autogen*: no such file or directory "./resources/page/page_marshaljson.autogen.go", "./resources/page/page_wrappers.autogen.go", "./resources/page/zero_file.autogen.go", } for _, pattern := range goFmtPatterns { if err := sh.Run("gofmt", "-w", filepath.FromSlash(pattern)); err != nil { return err } } return nil } // Generate docs helper func GenDocsHelper() error { return runCmd(flagEnv(), goexe, "run", "-tags", buildTags(), "main.go", "gen", "docshelper") } // Build hugo without git info func HugoNoGitInfo() error { ldflags = noGitLdflags return Hugo() } var docker = sh.RunCmd("docker") // Build hugo Docker container func Docker() error { if err := docker("build", "-t", "hugo", "."); err != nil { return err } // yes ignore errors here docker("rm", "-f", "hugo-build") if err := docker("run", "--name", "hugo-build", "hugo ls /go/bin"); err != nil { return err } if err := docker("cp", "hugo-build:/go/bin/hugo", "."); err != nil { return err } return docker("rm", "hugo-build") } // Run tests and linters func Check() { if strings.Contains(runtime.Version(), "1.8") { // Go 1.8 doesn't play along with go test ./... and /vendor. // We could fix that, but that would take time. fmt.Printf("Skip Check on %s\n", runtime.Version()) return } if runtime.GOARCH == "amd64" && runtime.GOOS != "darwin" { mg.Deps(Test386) } else { fmt.Printf("Skip Test386 on %s and/or %s\n", runtime.GOARCH, runtime.GOOS) } mg.Deps(Fmt, Vet) // don't run two tests in parallel, they saturate the CPUs anyway, and running two // causes memory issues in CI. mg.Deps(TestRace) } func testGoFlags() string { if isCI() { return "" } return "-test.short" } // Run tests in 32-bit mode // Note that we don't run with the extended tag. Currently not supported in 32 bit. func Test386() error { env := map[string]string{"GOARCH": "386", "GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "./...") } // Run tests func Test() error { env := map[string]string{"GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "./...", buildFlags(), "-tags", buildTags()) } // Run tests with race detector func TestRace() error { env := map[string]string{"GOFLAGS": testGoFlags()} return runCmd(env, goexe, "test", "-race", "./...", buildFlags(), "-tags", buildTags()) } // Run gofmt linter func Fmt() error { if !isGoLatest() { return nil } pkgs, err := hugoPackages() if err != nil { return err } failed := false first := true for _, pkg := range pkgs { files, err := filepath.Glob(filepath.Join(pkg, "*.go")) if err != nil { return nil } for _, f := range files { // gofmt doesn't exit with non-zero when it finds unformatted code // so we have to explicitly look for output, and if we find any, we // should fail this target. s, err := sh.Output("gofmt", "-l", f) if err != nil { fmt.Printf("ERROR: running gofmt on %q: %v\n", f, err) failed = true } if s != "" { if first { fmt.Println("The following files are not gofmt'ed:") first = false } failed = true fmt.Println(s) } } } if failed { return errors.New("improperly formatted go files") } return nil } var ( pkgPrefixLen = len("github.com/gohugoio/hugo") pkgs []string pkgsInit sync.Once ) func hugoPackages() ([]string, error) { var err error pkgsInit.Do(func() { var s string s, err = sh.Output(goexe, "list", "./...") if err != nil { return } pkgs = strings.Split(s, "\n") for i := range pkgs { pkgs[i] = "." + pkgs[i][pkgPrefixLen:] } }) return pkgs, err } // Run golint linter func Lint() error { pkgs, err := hugoPackages() if err != nil { return err } failed := false for _, pkg := range pkgs { // We don't actually want to fail this target if we find golint errors, // so we don't pass -set_exit_status, but we still print out any failures. if _, err := sh.Exec(nil, os.Stderr, nil, "golint", pkg); err != nil { fmt.Printf("ERROR: running go lint on %q: %v\n", pkg, err) failed = true } } if failed { return errors.New("errors running golint") } return nil } // Run go vet linter func Vet() error { if err := sh.Run(goexe, "vet", "./..."); err != nil { return fmt.Errorf("error running go vet: %v", err) } return nil } // Generate test coverage report func TestCoverHTML() error { const ( coverAll = "coverage-all.out" cover = "coverage.out" ) f, err := os.Create(coverAll) if err != nil { return err } defer f.Close() if _, err := f.Write([]byte("mode: count")); err != nil { return err } pkgs, err := hugoPackages() if err != nil { return err } for _, pkg := range pkgs { if err := sh.Run(goexe, "test", "-coverprofile="+cover, "-covermode=count", pkg); err != nil { return err } b, err := ioutil.ReadFile(cover) if err != nil { if os.IsNotExist(err) { continue } return err } idx := bytes.Index(b, []byte{'\n'}) b = b[idx+1:] if _, err := f.Write(b); err != nil { return err } } if err := f.Close(); err != nil { return err } return sh.Run(goexe, "tool", "cover", "-html="+coverAll) } func runCmd(env map[string]string, cmd string, args ...interface{}) error { if mg.Verbose() { return runWith(env, cmd, args...) } output, err := sh.OutputWith(env, cmd, argsToStrings(args...)...) if err != nil { fmt.Fprint(os.Stderr, output) } return err } func isGoLatest() bool { return strings.Contains(runtime.Version(), "1.14") } func isCI() bool { return os.Getenv("CI") != "" } func buildFlags() []string { if runtime.GOOS == "windows" { return []string{"-buildmode", "exe"} } return nil } func buildTags() string { // To build the extended Hugo SCSS/SASS enabled version, build with // HUGO_BUILD_TAGS=extended mage install etc. // To build without `hugo deploy` for smaller binary, use HUGO_BUILD_TAGS=nodeploy if envtags := os.Getenv("HUGO_BUILD_TAGS"); envtags != "" { return envtags } return "none" } func argsToStrings(v ...interface{}) []string { var args []string for _, arg := range v { switch v := arg.(type) { case string: if v != "" { args = append(args, v) } case []string: if v != nil { args = append(args, v...) } default: panic("invalid type") } } return args }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/menu_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "testing" qt "github.com/frankban/quicktest" ) const ( menuPageTemplate = `--- title: %q weight: %d menu: %s: title: %s weight: %d --- # Doc Menu ` ) func TestSectionPagesMenu(t *testing.T) { t.Parallel() siteConfig := ` baseurl = "http://example.com/" title = "Section Menu" sectionPagesMenu = "sect" ` b := newTestSitesBuilder(t).WithConfigFile("toml", siteConfig) b.WithTemplates( "partials/menu.html", `{{- $p := .page -}} {{- $m := .menu -}} {{ range (index $p.Site.Menus $m) -}} {{- .URL }}|{{ .Name }}|{{ .Title }}|{{ .Weight -}}| {{- if $p.IsMenuCurrent $m . }}IsMenuCurrent{{ else }}-{{ end -}}| {{- if $p.HasMenuCurrent $m . }}HasMenuCurrent{{ else }}-{{ end -}}| {{- end -}} `, "_default/single.html", `Single|{{ .Title }} Menu Sect: {{ partial "menu.html" (dict "page" . "menu" "sect") }} Menu Main: {{ partial "menu.html" (dict "page" . "menu" "main") }}`, "_default/list.html", "List|{{ .Title }}|{{ .Content }}", ) b.WithContent( "sect1/p1.md", fmt.Sprintf(menuPageTemplate, "p1", 1, "main", "atitle1", 40), "sect1/p2.md", fmt.Sprintf(menuPageTemplate, "p2", 2, "main", "atitle2", 30), "sect2/p3.md", fmt.Sprintf(menuPageTemplate, "p3", 3, "main", "atitle3", 20), "sect2/p4.md", fmt.Sprintf(menuPageTemplate, "p4", 4, "main", "atitle4", 10), "sect3/p5.md", fmt.Sprintf(menuPageTemplate, "p5", 5, "main", "atitle5", 5), "sect1/_index.md", newTestPage("Section One", "2017-01-01", 100), "sect5/_index.md", newTestPage("Section Five", "2017-01-01", 10), ) b.Build(BuildCfg{}) h := b.H s := h.Sites[0] b.Assert(len(s.Menus()), qt.Equals, 2) p1 := s.RegularPages()[0].Menus() // There is only one menu in the page, but it is "member of" 2 b.Assert(len(p1), qt.Equals, 1) b.AssertFileContent("public/sect1/p1/index.html", "Single", "Menu Sect: "+ "/sect5/|Section Five|Section Five|10|-|-|"+ "/sect1/|Section One|Section One|100|-|HasMenuCurrent|"+ "/sect2/|Sect2s|Sect2s|0|-|-|"+ "/sect3/|Sect3s|Sect3s|0|-|-|", "Menu Main: "+ "/sect3/p5/|p5|atitle5|5|-|-|"+ "/sect2/p4/|p4|atitle4|10|-|-|"+ "/sect2/p3/|p3|atitle3|20|-|-|"+ "/sect1/p2/|p2|atitle2|30|-|-|"+ "/sect1/p1/|p1|atitle1|40|IsMenuCurrent|-|", ) b.AssertFileContent("public/sect2/p3/index.html", "Single", "Menu Sect: "+ "/sect5/|Section Five|Section Five|10|-|-|"+ "/sect1/|Section One|Section One|100|-|-|"+ "/sect2/|Sect2s|Sect2s|0|-|HasMenuCurrent|"+ "/sect3/|Sect3s|Sect3s|0|-|-|") } func TestMenuFrontMatter(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", ` Main: {{ len .Site.Menus.main }} Other: {{ len .Site.Menus.other }} {{ range .Site.Menus.main }} * Main|{{ .Name }}: {{ .URL }} {{ end }} {{ range .Site.Menus.other }} * Other|{{ .Name }}: {{ .URL }} {{ end }} `) // Issue #5828 b.WithContent("blog/page1.md", ` --- title: "P1" menu: main --- `) b.WithContent("blog/page2.md", ` --- title: "P2" menu: [main,other] --- `) b.WithContent("blog/page3.md", ` --- title: "P3" menu: main: weight: 30 --- `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Main: 3", "Other: 1", "Main|P1: /blog/page1/", "Other|P2: /blog/page2/", ) } // https://github.com/gohugoio/hugo/issues/5849 func TestMenuPageMultipleOutputFormats(t *testing.T) { config := ` baseURL = "https://example.com" # DAMP is similar to AMP, but not permalinkable. [outputFormats] [outputFormats.damp] mediaType = "text/html" path = "damp" ` b := newTestSitesBuilder(t).WithConfigFile("toml", config) b.WithContent("_index.md", ` --- Title: Home Sweet Home outputs: [ "html", "amp" ] menu: "main" --- `) b.WithContent("blog/html-amp.md", ` --- Title: AMP and HTML outputs: [ "html", "amp" ] menu: "main" --- `) b.WithContent("blog/html.md", ` --- Title: HTML only outputs: [ "html" ] menu: "main" --- `) b.WithContent("blog/amp.md", ` --- Title: AMP only outputs: [ "amp" ] menu: "main" --- `) b.WithTemplatesAdded("index.html", `{{ range .Site.Menus.main }}{{ .Title }}|{{ .URL }}|{{ end }}`) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "AMP and HTML|/blog/html-amp/|AMP only|/amp/blog/amp/|Home Sweet Home|/|HTML only|/blog/html/|") b.AssertFileContent("public/amp/index.html", "AMP and HTML|/amp/blog/html-amp/|AMP only|/amp/blog/amp/|Home Sweet Home|/amp/|HTML only|/blog/html/|") } // https://github.com/gohugoio/hugo/issues/5989 func TestMenuPageSortByDate(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithContent("blog/a.md", ` --- Title: A date: 2019-01-01 menu: main: identifier: "a" weight: 1 --- `) b.WithContent("blog/b.md", ` --- Title: B date: 2018-01-02 menu: main: parent: "a" weight: 100 --- `) b.WithContent("blog/c.md", ` --- Title: C date: 2019-01-03 menu: main: parent: "a" weight: 10 --- `) b.WithTemplatesAdded("index.html", `{{ range .Site.Menus.main }}{{ .Title }}|Children: {{- $children := sort .Children ".Page.Date" "desc" }}{{ range $children }}{{ .Title }}|{{ end }}{{ end }} `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "A|Children:C|B|") } func TestMenuParams(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", ` Main: {{ len .Site.Menus.main }} {{ range .Site.Menus.main }} * Main|{{ .Name }}: {{ .URL }}|{{ .Params }} {{ end }} `) b.WithContent("blog/page1.md", ` --- title: "P1" menu: main --- `) b.WithContent("blog/page2.md", ` --- title: "P2" menu: main --- `) b.WithContent("blog/page3.md", ` --- title: "P3" menu: main: weight: 30 params: foo: "bar" key2: "value2" --- `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Main: 3", "Main|P3: /blog/page3/|map[foo:bar key2:value2]", "Main|P1: /blog/page1/|map[]", "Main|P2: /blog/page2/|map[]", ) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "testing" qt "github.com/frankban/quicktest" ) const ( menuPageTemplate = `--- title: %q weight: %d menu: %s: title: %s weight: %d --- # Doc Menu ` ) func TestSectionPagesMenu(t *testing.T) { t.Parallel() siteConfig := ` baseurl = "http://example.com/" title = "Section Menu" sectionPagesMenu = "sect" ` b := newTestSitesBuilder(t).WithConfigFile("toml", siteConfig) b.WithTemplates( "partials/menu.html", `{{- $p := .page -}} {{- $m := .menu -}} {{ range (index $p.Site.Menus $m) -}} {{- .URL }}|{{ .Name }}|{{ .Title }}|{{ .Weight -}}| {{- if $p.IsMenuCurrent $m . }}IsMenuCurrent{{ else }}-{{ end -}}| {{- if $p.HasMenuCurrent $m . }}HasMenuCurrent{{ else }}-{{ end -}}| {{- end -}} `, "_default/single.html", `Single|{{ .Title }} Menu Sect: {{ partial "menu.html" (dict "page" . "menu" "sect") }} Menu Main: {{ partial "menu.html" (dict "page" . "menu" "main") }}`, "_default/list.html", "List|{{ .Title }}|{{ .Content }}", ) b.WithContent( "sect1/p1.md", fmt.Sprintf(menuPageTemplate, "p1", 1, "main", "atitle1", 40), "sect1/p2.md", fmt.Sprintf(menuPageTemplate, "p2", 2, "main", "atitle2", 30), "sect2/p3.md", fmt.Sprintf(menuPageTemplate, "p3", 3, "main", "atitle3", 20), "sect2/p4.md", fmt.Sprintf(menuPageTemplate, "p4", 4, "main", "atitle4", 10), "sect3/p5.md", fmt.Sprintf(menuPageTemplate, "p5", 5, "main", "atitle5", 5), "sect1/_index.md", newTestPage("Section One", "2017-01-01", 100), "sect5/_index.md", newTestPage("Section Five", "2017-01-01", 10), ) b.Build(BuildCfg{}) h := b.H s := h.Sites[0] b.Assert(len(s.Menus()), qt.Equals, 2) p1 := s.RegularPages()[0].Menus() // There is only one menu in the page, but it is "member of" 2 b.Assert(len(p1), qt.Equals, 1) b.AssertFileContent("public/sect1/p1/index.html", "Single", "Menu Sect: "+ "/sect5/|Section Five|Section Five|10|-|-|"+ "/sect1/|Section One|Section One|100|-|HasMenuCurrent|"+ "/sect2/|Sect2s|Sect2s|0|-|-|"+ "/sect3/|Sect3s|Sect3s|0|-|-|", "Menu Main: "+ "/sect3/p5/|p5|atitle5|5|-|-|"+ "/sect2/p4/|p4|atitle4|10|-|-|"+ "/sect2/p3/|p3|atitle3|20|-|-|"+ "/sect1/p2/|p2|atitle2|30|-|-|"+ "/sect1/p1/|p1|atitle1|40|IsMenuCurrent|-|", ) b.AssertFileContent("public/sect2/p3/index.html", "Single", "Menu Sect: "+ "/sect5/|Section Five|Section Five|10|-|-|"+ "/sect1/|Section One|Section One|100|-|-|"+ "/sect2/|Sect2s|Sect2s|0|-|HasMenuCurrent|"+ "/sect3/|Sect3s|Sect3s|0|-|-|") } func TestMenuFrontMatter(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", ` Main: {{ len .Site.Menus.main }} Other: {{ len .Site.Menus.other }} {{ range .Site.Menus.main }} * Main|{{ .Name }}: {{ .URL }} {{ end }} {{ range .Site.Menus.other }} * Other|{{ .Name }}: {{ .URL }} {{ end }} `) // Issue #5828 b.WithContent("blog/page1.md", ` --- title: "P1" menu: main --- `) b.WithContent("blog/page2.md", ` --- title: "P2" menu: [main,other] --- `) b.WithContent("blog/page3.md", ` --- title: "P3" menu: main: weight: 30 --- `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Main: 3", "Other: 1", "Main|P1: /blog/page1/", "Other|P2: /blog/page2/", ) } // https://github.com/gohugoio/hugo/issues/5849 func TestMenuPageMultipleOutputFormats(t *testing.T) { config := ` baseURL = "https://example.com" # DAMP is similar to AMP, but not permalinkable. [outputFormats] [outputFormats.damp] mediaType = "text/html" path = "damp" ` b := newTestSitesBuilder(t).WithConfigFile("toml", config) b.WithContent("_index.md", ` --- Title: Home Sweet Home outputs: [ "html", "amp" ] menu: "main" --- `) b.WithContent("blog/html-amp.md", ` --- Title: AMP and HTML outputs: [ "html", "amp" ] menu: "main" --- `) b.WithContent("blog/html.md", ` --- Title: HTML only outputs: [ "html" ] menu: "main" --- `) b.WithContent("blog/amp.md", ` --- Title: AMP only outputs: [ "amp" ] menu: "main" --- `) b.WithTemplatesAdded("index.html", `{{ range .Site.Menus.main }}{{ .Title }}|{{ .URL }}|{{ end }}`) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "AMP and HTML|/blog/html-amp/|AMP only|/amp/blog/amp/|Home Sweet Home|/|HTML only|/blog/html/|") b.AssertFileContent("public/amp/index.html", "AMP and HTML|/amp/blog/html-amp/|AMP only|/amp/blog/amp/|Home Sweet Home|/amp/|HTML only|/blog/html/|") } // https://github.com/gohugoio/hugo/issues/5989 func TestMenuPageSortByDate(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithContent("blog/a.md", ` --- Title: A date: 2019-01-01 menu: main: identifier: "a" weight: 1 --- `) b.WithContent("blog/b.md", ` --- Title: B date: 2018-01-02 menu: main: parent: "a" weight: 100 --- `) b.WithContent("blog/c.md", ` --- Title: C date: 2019-01-03 menu: main: parent: "a" weight: 10 --- `) b.WithTemplatesAdded("index.html", `{{ range .Site.Menus.main }}{{ .Title }}|Children: {{- $children := sort .Children ".Page.Date" "desc" }}{{ range $children }}{{ .Title }}|{{ end }}{{ end }} `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "A|Children:C|B|") } func TestMenuParams(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", ` Main: {{ len .Site.Menus.main }} {{ range .Site.Menus.main }} * Main|{{ .Name }}: {{ .URL }}|{{ .Params }} {{ end }} `) b.WithContent("blog/page1.md", ` --- title: "P1" menu: main --- `) b.WithContent("blog/page2.md", ` --- title: "P2" menu: main --- `) b.WithContent("blog/page3.md", ` --- title: "P3" menu: main: weight: 30 params: foo: "bar" key2: "value2" --- `) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Main: 3", "Main|P3: /blog/page3/|map[foo:bar key2:value2]", "Main|P1: /blog/page1/|map[]", "Main|P2: /blog/page2/|map[]", ) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/text/position.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package text import ( "fmt" "os" "strings" "github.com/gohugoio/hugo/common/terminal" ) // Positioner represents a thing that knows its position in a text file or stream, // typically an error. type Positioner interface { Position() Position } // Position holds a source position in a text file or stream. type Position struct { Filename string // filename, if any Offset int // byte offset, starting at 0. It's set to -1 if not provided. LineNumber int // line number, starting at 1 ColumnNumber int // column number, starting at 1 (character count per line) } func (pos Position) String() string { if pos.Filename == "" { pos.Filename = "<stream>" } return positionStringFormatfunc(pos) } // IsValid returns true if line number is > 0. func (pos Position) IsValid() bool { return pos.LineNumber > 0 } var positionStringFormatfunc func(p Position) string func createPositionStringFormatter(formatStr string) func(p Position) string { if formatStr == "" { formatStr = "\":file::line::col\"" } identifiers := []string{":file", ":line", ":col"} var identifiersFound []string for i := range formatStr { for _, id := range identifiers { if strings.HasPrefix(formatStr[i:], id) { identifiersFound = append(identifiersFound, id) } } } replacer := strings.NewReplacer(":file", "%s", ":line", "%d", ":col", "%d") format := replacer.Replace(formatStr) f := func(pos Position) string { args := make([]interface{}, len(identifiersFound)) for i, id := range identifiersFound { switch id { case ":file": args[i] = pos.Filename case ":line": args[i] = pos.LineNumber case ":col": args[i] = pos.ColumnNumber } } msg := fmt.Sprintf(format, args...) if terminal.IsTerminal(os.Stdout) { return terminal.Notice(msg) } return msg } return f } func init() { positionStringFormatfunc = createPositionStringFormatter(os.Getenv("HUGO_FILE_LOG_FORMAT")) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package text import ( "fmt" "os" "strings" "github.com/gohugoio/hugo/common/terminal" ) // Positioner represents a thing that knows its position in a text file or stream, // typically an error. type Positioner interface { Position() Position } // Position holds a source position in a text file or stream. type Position struct { Filename string // filename, if any Offset int // byte offset, starting at 0. It's set to -1 if not provided. LineNumber int // line number, starting at 1 ColumnNumber int // column number, starting at 1 (character count per line) } func (pos Position) String() string { if pos.Filename == "" { pos.Filename = "<stream>" } return positionStringFormatfunc(pos) } // IsValid returns true if line number is > 0. func (pos Position) IsValid() bool { return pos.LineNumber > 0 } var positionStringFormatfunc func(p Position) string func createPositionStringFormatter(formatStr string) func(p Position) string { if formatStr == "" { formatStr = "\":file::line::col\"" } identifiers := []string{":file", ":line", ":col"} var identifiersFound []string for i := range formatStr { for _, id := range identifiers { if strings.HasPrefix(formatStr[i:], id) { identifiersFound = append(identifiersFound, id) } } } replacer := strings.NewReplacer(":file", "%s", ":line", "%d", ":col", "%d") format := replacer.Replace(formatStr) f := func(pos Position) string { args := make([]interface{}, len(identifiersFound)) for i, id := range identifiersFound { switch id { case ":file": args[i] = pos.Filename case ":line": args[i] = pos.LineNumber case ":col": args[i] = pos.ColumnNumber } } msg := fmt.Sprintf(format, args...) if terminal.IsTerminal(os.Stdout) { return terminal.Notice(msg) } return msg } return f } func init() { positionStringFormatfunc = createPositionStringFormatter(os.Getenv("HUGO_FILE_LOG_FORMAT")) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/hugo_sites_build_test.go
package hugolib import ( "fmt" "path/filepath" "strings" "testing" "time" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/resources/page" "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" ) func TestMultiSitesMainLangInRoot(t *testing.T) { t.Parallel() for _, b := range []bool{false} { doTestMultiSitesMainLangInRoot(t, b) } } func doTestMultiSitesMainLangInRoot(t *testing.T, defaultInSubDir bool) { c := qt.New(t) siteConfig := map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": defaultInSubDir, } b := newMultiSiteTestBuilder(t, "toml", multiSiteTOMLConfigTemplate, siteConfig) pathMod := func(s string) string { return s } if !defaultInSubDir { pathMod = func(s string) string { return strings.Replace(s, "/fr/", "/", -1) } } b.CreateSites() b.Build(BuildCfg{}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) enSite := sites[0] frSite := sites[1] c.Assert(enSite.Info.LanguagePrefix, qt.Equals, "/en") if defaultInSubDir { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "/fr") } else { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "") } c.Assert(enSite.PathSpec.RelURL("foo", true), qt.Equals, "/blog/en/foo") doc1en := enSite.RegularPages()[0] doc1fr := frSite.RegularPages()[0] enPerm := doc1en.Permalink() enRelPerm := doc1en.RelPermalink() c.Assert(enPerm, qt.Equals, "http://example.com/blog/en/sect/doc1-slug/") c.Assert(enRelPerm, qt.Equals, "/blog/en/sect/doc1-slug/") frPerm := doc1fr.Permalink() frRelPerm := doc1fr.RelPermalink() b.AssertFileContent(pathMod("public/fr/sect/doc1/index.html"), "Single", "Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Hello") if defaultInSubDir { c.Assert(frPerm, qt.Equals, "http://example.com/blog/fr/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/fr/sect/doc1/") // should have a redirect on top level. b.AssertFileContent("public/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog/fr" />`) } else { // Main language in root c.Assert(frPerm, qt.Equals, "http://example.com/blog/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/sect/doc1/") // should have redirect back to root b.AssertFileContent("public/fr/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog" />`) } b.AssertFileContent(pathMod("public/fr/index.html"), "Home", "Bonjour") b.AssertFileContent("public/en/index.html", "Home", "Hello") // Check list pages b.AssertFileContent(pathMod("public/fr/sect/index.html"), "List", "Bonjour") b.AssertFileContent("public/en/sect/index.html", "List", "Hello") b.AssertFileContent(pathMod("public/fr/plaques/FRtag1/index.html"), "Taxonomy List", "Bonjour") b.AssertFileContent("public/en/tags/tag1/index.html", "Taxonomy List", "Hello") // Check sitemaps // Sitemaps behaves different: In a multilanguage setup there will always be a index file and // one sitemap in each lang folder. b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") if defaultInSubDir { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/fr/</loc>") } else { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/</loc>") } b.AssertFileContent("public/en/sitemap.xml", "<loc>http://example.com/blog/en/</loc>") // Check rss b.AssertFileContent(pathMod("public/fr/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/index.xml"`), `rel="self" type="application/rss+xml"`) b.AssertFileContent("public/en/index.xml", `<atom:link href="http://example.com/blog/en/index.xml"`) b.AssertFileContent( pathMod("public/fr/sect/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/sect/index.xml"`)) b.AssertFileContent("public/en/sect/index.xml", `<atom:link href="http://example.com/blog/en/sect/index.xml"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/plaques/FRtag1/index.xml"`)) b.AssertFileContent("public/en/tags/tag1/index.xml", `<atom:link href="http://example.com/blog/en/tags/tag1/index.xml"`) // Check paginators b.AssertFileContent(pathMod("public/fr/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/"`)) b.AssertFileContent("public/en/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/"`) b.AssertFileContent(pathMod("public/fr/page/2/index.html"), "Home Page 2", "Bonjour", pathMod("http://example.com/blog/fr/")) b.AssertFileContent("public/en/page/2/index.html", "Home Page 2", "Hello", "http://example.com/blog/en/") b.AssertFileContent(pathMod("public/fr/sect/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/sect/"`)) b.AssertFileContent("public/en/sect/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/sect/"`) b.AssertFileContent(pathMod("public/fr/sect/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/sect/")) b.AssertFileContent("public/en/sect/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/sect/") b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/plaques/FRtag1/"`)) b.AssertFileContent("public/en/tags/tag1/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/tags/tag1/"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/plaques/FRtag1/")) b.AssertFileContent("public/en/tags/tag1/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/tags/tag1/") // nn (Nynorsk) and nb (Bokmål) have custom pagePath: side ("page" in Norwegian) b.AssertFileContent("public/nn/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nn/"`) b.AssertFileContent("public/nb/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nb/"`) } func TestMultiSitesWithTwoLanguages(t *testing.T) { t.Parallel() c := qt.New(t) b := newTestSitesBuilder(t).WithConfigFile("toml", ` defaultContentLanguage = "nn" [languages] [languages.nn] languageName = "Nynorsk" weight = 1 title = "Tittel på Nynorsk" [languages.nn.params] p1 = "p1nn" [languages.en] title = "Title in English" languageName = "English" weight = 2 [languages.en.params] p1 = "p1en" `) b.CreateSites() b.Build(BuildCfg{SkipRender: true}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 2) nnSite := sites[0] nnHome := nnSite.getPage(page.KindHome) c.Assert(len(nnHome.AllTranslations()), qt.Equals, 2) c.Assert(len(nnHome.Translations()), qt.Equals, 1) c.Assert(nnHome.IsTranslated(), qt.Equals, true) enHome := sites[1].getPage(page.KindHome) p1, err := enHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1en") p1, err = nnHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1nn") } func TestMultiSitesBuild(t *testing.T) { for _, config := range []struct { content string suffix string }{ {multiSiteTOMLConfigTemplate, "toml"}, {multiSiteYAMLConfigTemplate, "yml"}, {multiSiteJSONConfigTemplate, "json"}, } { t.Run(config.suffix, func(t *testing.T) { t.Parallel() doTestMultiSitesBuild(t, config.content, config.suffix) }) } } func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { c := qt.New(t) b := newMultiSiteTestBuilder(t, configSuffix, configTemplate, nil) b.CreateSites() sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) b.Build(BuildCfg{}) // Check site config for _, s := range sites { c.Assert(s.Info.defaultContentLanguageInSubdir, qt.Equals, true) c.Assert(s.disabledKinds, qt.Not(qt.IsNil)) } gp1 := b.H.GetContentPage(filepath.FromSlash("content/sect/doc1.en.md")) c.Assert(gp1, qt.Not(qt.IsNil)) c.Assert(gp1.Title(), qt.Equals, "doc1") gp2 := b.H.GetContentPage(filepath.FromSlash("content/dummysect/notfound.md")) c.Assert(gp2, qt.IsNil) enSite := sites[0] enSiteHome := enSite.getPage(page.KindHome) c.Assert(enSiteHome.IsTranslated(), qt.Equals, true) c.Assert(enSite.language.Lang, qt.Equals, "en") // dumpPages(enSite.RegularPages()...) c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(enSite.AllPages()), qt.Equals, 32) // Check 404s b.AssertFileContent("public/en/404.html", "404|en|404 Page not found") b.AssertFileContent("public/fr/404.html", "404|fr|404 Page not found") // Check robots.txt // the domain root is the public directory, so the robots.txt has to be created there and not in the language directories b.AssertFileContent("public/robots.txt", "robots") b.AssertFileDoesNotExist("public/en/robots.txt") b.AssertFileDoesNotExist("public/nn/robots.txt") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Permalink: http://example.com/blog/en/sect/doc1-slug/") b.AssertFileContent("public/en/sect/doc2/index.html", "Permalink: http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/superbob/index.html", "Permalink: http://example.com/blog/superbob/") doc2 := enSite.RegularPages()[1] doc3 := enSite.RegularPages()[2] c.Assert(doc3, qt.Equals, doc2.Prev()) doc1en := enSite.RegularPages()[0] doc1fr := doc1en.Translations()[0] b.AssertFileContent("public/fr/sect/doc1/index.html", "Permalink: http://example.com/blog/fr/sect/doc1/") c.Assert(doc1fr, qt.Equals, doc1en.Translations()[0]) c.Assert(doc1en, qt.Equals, doc1fr.Translations()[0]) c.Assert(doc1fr.Language().Lang, qt.Equals, "fr") doc4 := enSite.AllPages()[4] c.Assert(len(doc4.Translations()), qt.Equals, 0) // Taxonomies and their URLs c.Assert(len(enSite.Taxonomies()), qt.Equals, 1) tags := enSite.Taxonomies()["tags"] c.Assert(len(tags), qt.Equals, 2) c.Assert(doc1en, qt.Equals, tags["tag1"][0].Page) frSite := sites[1] c.Assert(frSite.language.Lang, qt.Equals, "fr") c.Assert(len(frSite.RegularPages()), qt.Equals, 4) c.Assert(len(frSite.AllPages()), qt.Equals, 32) for _, frenchPage := range frSite.RegularPages() { p := frenchPage c.Assert(p.Language().Lang, qt.Equals, "fr") } // See https://github.com/gohugoio/hugo/issues/4285 // Before Hugo 0.33 you had to be explicit with the content path to get the correct Page, which // isn't ideal in a multilingual setup. You want a way to get the current language version if available. // Now you can do lookups with translation base name to get that behaviour. // Let us test all the regular page variants: getPageDoc1En := enSite.getPage(page.KindPage, filepath.ToSlash(doc1en.File().Path())) getPageDoc1EnBase := enSite.getPage(page.KindPage, "sect/doc1") getPageDoc1Fr := frSite.getPage(page.KindPage, filepath.ToSlash(doc1fr.File().Path())) getPageDoc1FrBase := frSite.getPage(page.KindPage, "sect/doc1") c.Assert(getPageDoc1En, qt.Equals, doc1en) c.Assert(getPageDoc1Fr, qt.Equals, doc1fr) c.Assert(getPageDoc1EnBase, qt.Equals, doc1en) c.Assert(getPageDoc1FrBase, qt.Equals, doc1fr) // Check redirect to main language, French b.AssertFileContent("public/index.html", "0; url=http://example.com/blog/fr") // check home page content (including data files rendering) b.AssertFileContent("public/en/index.html", "Default Home Page 1", "Hello", "Hugo Rocks!") b.AssertFileContent("public/fr/index.html", "French Home Page 1", "Bonjour", "Hugo Rocks!") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour", "LingoFrench") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello", "LingoDefault") // Check node translations homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") c.Assert(homeEn.Translations()[1].Language().Lang, qt.Equals, "nn") c.Assert(homeEn.Translations()[1].Title(), qt.Equals, "På nynorsk") c.Assert(homeEn.Translations()[2].Language().Lang, qt.Equals, "nb") c.Assert(homeEn.Translations()[2].Title(), qt.Equals, "På bokmål") c.Assert(homeEn.Translations()[2].Language().LanguageName, qt.Equals, "Bokmål") sectFr := frSite.getPage(page.KindSection, "sect") c.Assert(sectFr, qt.Not(qt.IsNil)) c.Assert(sectFr.Language().Lang, qt.Equals, "fr") c.Assert(len(sectFr.Translations()), qt.Equals, 1) c.Assert(sectFr.Translations()[0].Language().Lang, qt.Equals, "en") c.Assert(sectFr.Translations()[0].Title(), qt.Equals, "Sects") nnSite := sites[2] c.Assert(nnSite.language.Lang, qt.Equals, "nn") taxNn := nnSite.getPage(page.KindTaxonomy, "lag") c.Assert(taxNn, qt.Not(qt.IsNil)) c.Assert(len(taxNn.Translations()), qt.Equals, 1) c.Assert(taxNn.Translations()[0].Language().Lang, qt.Equals, "nb") taxTermNn := nnSite.getPage(page.KindTerm, "lag", "sogndal") c.Assert(taxTermNn, qt.Not(qt.IsNil)) c.Assert(nnSite.getPage(page.KindTerm, "LAG", "SOGNDAL"), qt.Equals, taxTermNn) c.Assert(len(taxTermNn.Translations()), qt.Equals, 1) c.Assert(taxTermNn.Translations()[0].Language().Lang, qt.Equals, "nb") // Check sitemap(s) b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") b.AssertFileContent("public/en/sitemap.xml", "http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/fr/sitemap.xml", "http://example.com/blog/fr/sect/doc1/") // Check taxonomies enTags := enSite.Taxonomies()["tags"] frTags := frSite.Taxonomies()["plaques"] c.Assert(len(enTags), qt.Equals, 2, qt.Commentf("Tags in en: %v", enTags)) c.Assert(len(frTags), qt.Equals, 2, qt.Commentf("Tags in fr: %v", frTags)) c.Assert(enTags["tag1"], qt.Not(qt.IsNil)) c.Assert(frTags["FRtag1"], qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/plaques/FRtag1/index.html", "FRtag1|Bonjour|http://example.com/blog/fr/plaques/FRtag1/") // Check Blackfriday config c.Assert(strings.Contains(content(doc1fr), "&laquo;"), qt.Equals, true) c.Assert(strings.Contains(content(doc1en), "&laquo;"), qt.Equals, false) c.Assert(strings.Contains(content(doc1en), "&ldquo;"), qt.Equals, true) // en and nn have custom site menus c.Assert(len(frSite.Menus()), qt.Equals, 0) c.Assert(len(enSite.Menus()), qt.Equals, 1) c.Assert(len(nnSite.Menus()), qt.Equals, 1) c.Assert(enSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Home") c.Assert(nnSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Heim") // Issue #3108 prevPage := enSite.RegularPages()[0].Prev() c.Assert(prevPage, qt.Not(qt.IsNil)) c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) for { if prevPage == nil { break } c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) prevPage = prevPage.Prev() } // Check bundles b.AssertFileContent("public/fr/bundles/b1/index.html", "RelPermalink: /blog/fr/bundles/b1/|") bundleFr := frSite.getPage(page.KindPage, "bundles/b1/index.md") c.Assert(bundleFr, qt.Not(qt.IsNil)) c.Assert(len(bundleFr.Resources()), qt.Equals, 1) logoFr := bundleFr.Resources().GetMatch("logo*") c.Assert(logoFr, qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/bundles/b1/index.html", "Resources: image/png: /blog/fr/bundles/b1/logo.png") b.AssertFileContent("public/fr/bundles/b1/logo.png", "PNG Data") bundleEn := enSite.getPage(page.KindPage, "bundles/b1/index.en.md") c.Assert(bundleEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "RelPermalink: /blog/en/bundles/b1/|") c.Assert(len(bundleEn.Resources()), qt.Equals, 1) logoEn := bundleEn.Resources().GetMatch("logo*") c.Assert(logoEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "Resources: image/png: /blog/en/bundles/b1/logo.png") b.AssertFileContent("public/en/bundles/b1/logo.png", "PNG Data") } func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 // This leaktest seems to be a little bit shaky on Travis. if !htesting.IsCI() { defer leaktest.CheckTimeout(t, 10*time.Second)() } c := qt.New(t) b := newMultiSiteTestDefaultBuilder(t).Running().CreateSites().Build(BuildCfg{}) sites := b.H.Sites fs := b.Fs b.AssertFileContent("public/en/sect/doc2/index.html", "Single: doc2|Hello|en|", "\n\n<h1 id=\"doc2\">doc2</h1>\n\n<p><em>some content</em>") enSite := sites[0] frSite := sites[1] c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(frSite.RegularPages()), qt.Equals, 4) // Verify translations b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Hello") b.AssertFileContent("public/fr/sect/doc1/index.html", "Bonjour") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello") homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) contentFs := b.H.Fs.Source for i, this := range []struct { preFunc func(t *testing.T) events []fsnotify.Event assertFunc func(t *testing.T) }{ // * Remove doc // * Add docs existing languages // (Add doc new language: TODO(bep) we should load config.toml as part of these so we can add languages). // * Rename file // * Change doc // * Change a template // * Change language file { func(t *testing.T) { fs.Source.Remove("content/sect/doc2.en.md") }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc2.en.md"), Op: fsnotify.Remove}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 4, qt.Commentf("1 en removed")) }, }, { func(t *testing.T) { writeNewContentFile(t, contentFs, "new_en_1", "2016-07-31", "content/new1.en.md", -5) writeNewContentFile(t, contentFs, "new_en_2", "1989-07-30", "content/new2.en.md", -10) writeNewContentFile(t, contentFs, "new_fr_1", "2016-07-30", "content/new1.fr.md", 10) }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new2.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new1.fr.md"), Op: fsnotify.Create}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) c.Assert(frSite.RegularPages()[3].Title(), qt.Equals, "new_fr_1") c.Assert(enSite.RegularPages()[0].Title(), qt.Equals, "new_en_2") c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1/index.html") c.Assert(strings.Contains(rendered, "new_en_1"), qt.Equals, true) }, }, { func(t *testing.T) { p := "content/sect/doc1.en.md" doc1 := readFileFromFs(t, contentFs, p) doc1 += "CHANGED" writeToFs(t, contentFs, p, doc1) }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc1.en.md"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "CHANGED"), qt.Equals, true) }, }, // Rename a file { func(t *testing.T) { if err := contentFs.Rename("content/new1.en.md", "content/new1renamed.en.md"); err != nil { t.Fatalf("Rename failed: %s", err) } }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1renamed.en.md"), Op: fsnotify.Rename}, {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Rename}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6, qt.Commentf("Rename")) c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1renamed/index.html") c.Assert(rendered, qt.Contains, "new_en_1") }, }, { // Change a template func(t *testing.T) { template := "layouts/_default/single.html" templateContent := readSource(t, fs, template) templateContent += "{{ print \"Template Changed\"}}" writeSource(t, fs, template, templateContent) }, []fsnotify.Event{{Name: filepath.FromSlash("layouts/_default/single.html"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "Template Changed"), qt.Equals, true) }, }, { // Change a language file func(t *testing.T) { languageFile := "i18n/fr.yaml" langContent := readSource(t, fs, languageFile) langContent = strings.Replace(langContent, "Bonjour", "Salut", 1) writeSource(t, fs, languageFile, langContent) }, []fsnotify.Event{{Name: filepath.FromSlash("i18n/fr.yaml"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) docEn := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(docEn, "Hello"), qt.Equals, true) docFr := readDestination(t, fs, "public/fr/sect/doc1/index.html") c.Assert(strings.Contains(docFr, "Salut"), qt.Equals, true) homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") }, }, // Change a shortcode { func(t *testing.T) { writeSource(t, fs, "layouts/shortcodes/shortcode.html", "Modified Shortcode: {{ i18n \"hello\" }}") }, []fsnotify.Event{ {Name: filepath.FromSlash("layouts/shortcodes/shortcode.html"), Op: fsnotify.Write}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Modified Shortcode: Salut") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Modified Shortcode: Hello") }, }, } { if this.preFunc != nil { this.preFunc(t) } err := b.H.Build(BuildCfg{}, this.events...) if err != nil { t.Fatalf("[%d] Failed to rebuild sites: %s", i, err) } this.assertFunc(t) } } // https://github.com/gohugoio/hugo/issues/4706 func TestContentStressTest(t *testing.T) { b := newTestSitesBuilder(t) numPages := 500 contentTempl := ` --- %s title: %q weight: %d multioutput: %t --- # Header CONTENT The End. ` contentTempl = strings.Replace(contentTempl, "CONTENT", strings.Repeat(` ## Another header Some text. Some more text. `, 100), -1) var content []string defaultOutputs := `outputs: ["html", "json", "rss" ]` for i := 1; i <= numPages; i++ { outputs := defaultOutputs multioutput := true if i%3 == 0 { outputs = `outputs: ["json"]` multioutput = false } section := "s1" if i%10 == 0 { section = "s2" } content = append(content, []string{fmt.Sprintf("%s/page%d.md", section, i), fmt.Sprintf(contentTempl, outputs, fmt.Sprintf("Title %d", i), i, multioutput)}...) } content = append(content, []string{"_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("Home %d", 0), 0, true)}...) content = append(content, []string{"s1/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 1), 1, true)}...) content = append(content, []string{"s2/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 2), 2, true)}...) b.WithSimpleConfigFile() b.WithTemplates("layouts/_default/single.html", `Single: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/myview.html", `View: {{ len .Content }}`) b.WithTemplates("layouts/_default/single.json", `Single JSON: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/list.html", ` Page: {{ .Paginator.PageNumber }} P: {{ with .File }}{{ path.Join .Path }}{{ end }} List: {{ len .Paginator.Pages }}|List Content: {{ len .Content }} {{ $shuffled := where .Site.RegularPages "Params.multioutput" true | shuffle }} {{ $first5 := $shuffled | first 5 }} L1: {{ len .Site.RegularPages }} L2: {{ len $first5 }} {{ range $i, $e := $first5 }} Render {{ $i }}: {{ .Render "myview" }} {{ end }} END `) b.WithContent(content...) b.CreateSites().Build(BuildCfg{}) contentMatchers := []string{"<h2 id=\"another-header\">Another header</h2>", "<h2 id=\"another-header-99\">Another header</h2>", "<p>The End.</p>"} for i := 1; i <= numPages; i++ { if i%3 != 0 { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.html", section, i), contentMatchers...) } } for i := 1; i <= numPages; i++ { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.json", section, i), contentMatchers...) } checkContent(b, "public/s1/index.html", "P: s1/_index.md\nList: 10|List Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132\n\nRender 1: View: 8132\n\nRender 2: View: 8132\n\nRender 3: View: 8132\n\nRender 4: View: 8132\n\nEND\n") checkContent(b, "public/s2/index.html", "P: s2/_index.md\nList: 10|List Content: 8132", "Render 4: View: 8132\n\nEND") checkContent(b, "public/index.html", "P: _index.md\nList: 10|List Content: 8132", "4: View: 8132\n\nEND") // Check paginated pages for i := 2; i <= 9; i++ { checkContent(b, fmt.Sprintf("public/page/%d/index.html", i), fmt.Sprintf("Page: %d", i), "Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132", "Render 4: View: 8132\n\nEND") } } func checkContent(s *sitesBuilder, filename string, matches ...string) { s.T.Helper() content := readDestination(s.T, s.Fs, filename) for _, match := range matches { if !strings.Contains(content, match) { s.Fatalf("No match for\n%q\nin content for %s\n%q\nDiff:\n%s", match, filename, content, htesting.DiffStrings(content, match)) } } } func TestTranslationsFromContentToNonContent(t *testing.T) { b := newTestSitesBuilder(t) b.WithConfigFile("toml", ` baseURL = "http://example.com/" defaultContentLanguage = "en" [languages] [languages.en] weight = 10 contentDir = "content/en" [languages.nn] weight = 20 contentDir = "content/nn" `) b.WithContent("en/mysection/_index.md", ` --- Title: My Section --- `) b.WithContent("en/_index.md", ` --- Title: My Home --- `) b.WithContent("en/categories/mycat/_index.md", ` --- Title: My MyCat --- `) b.WithContent("en/categories/_index.md", ` --- Title: My categories --- `) for _, lang := range []string{"en", "nn"} { b.WithContent(lang+"/mysection/page.md", ` --- Title: My Page categories: ["mycat"] --- `) } b.Build(BuildCfg{}) for _, path := range []string{ "/", "/mysection", "/categories", "/categories/mycat", } { t.Run(path, func(t *testing.T) { c := qt.New(t) s1, _ := b.H.Sites[0].getPageNew(nil, path) s2, _ := b.H.Sites[1].getPageNew(nil, path) c.Assert(s1, qt.Not(qt.IsNil)) c.Assert(s2, qt.Not(qt.IsNil)) c.Assert(len(s1.Translations()), qt.Equals, 1) c.Assert(len(s2.Translations()), qt.Equals, 1) c.Assert(s1.Translations()[0], qt.Equals, s2) c.Assert(s2.Translations()[0], qt.Equals, s1) m1 := s1.Translations().MergeByLanguage(s2.Translations()) m2 := s2.Translations().MergeByLanguage(s1.Translations()) c.Assert(len(m1), qt.Equals, 1) c.Assert(len(m2), qt.Equals, 1) }) } } // https://github.com/gohugoio/hugo/issues/5777 func TestTableOfContentsInShortcodes(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) b.WithTemplatesAdded("layouts/shortcodes/toc.html", tocShortcode) b.WithTemplatesAdded("layouts/shortcodes/wrapper.html", "{{ .Inner }}") b.WithContent("post/simple.en.md", tocPageSimple) b.WithContent("post/variants1.en.md", tocPageVariants1) b.WithContent("post/variants2.en.md", tocPageVariants2) b.WithContent("post/withSCInHeading.en.md", tocPageWithShortcodesInHeadings) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", tocPageSimpleExpected, // Make sure it is inserted twice `TOC1: <nav id="TableOfContents">`, `TOC2: <nav id="TableOfContents">`, ) b.AssertFileContentFn("public/en/post/variants1/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 4 }) b.AssertFileContentFn("public/en/post/variants2/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 6 }) b.AssertFileContent("public/en/post/withSCInHeading/index.html", tocPageWithShortcodesInHeadingsExpected) } var tocShortcode = ` TOC1: {{ .Page.TableOfContents }} TOC2: {{ .Page.TableOfContents }} ` func TestSelfReferencedContentInShortcode(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) var ( shortcode = `{{- .Page.Content -}}{{- .Page.Summary -}}{{- .Page.Plain -}}{{- .Page.PlainWords -}}{{- .Page.WordCount -}}{{- .Page.ReadingTime -}}` page = `--- title: sctest --- Empty:{{< mycontent >}}: ` ) b.WithTemplatesAdded("layouts/shortcodes/mycontent.html", shortcode) b.WithContent("post/simple.en.md", page) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", "Empty:[]00:") } var tocPageSimple = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {#1-1} Some more text. # Heading 2 {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageVariants1 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 3: {{% toc %}} ` var tocPageVariants2 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 2: {{< wrapper >}} {{< toc >}} {{< /wrapper >}} Variant 3: {{% toc %}} ` var tocPageSimpleExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1</a></li> </ul></li> <li><a href="#2">Heading 2</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var tocPageWithShortcodesInHeadings = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {{< shortcode >}} {#1-1} Some more text. # Heading 2 {{% shortcode %}} {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageWithShortcodesInHeadingsExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1 Shortcode: Hello</a></li> </ul></li> <li><a href="#2">Heading 2 Shortcode: Hello</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var multiSiteTOMLConfigTemplate = ` baseURL = "http://example.com/blog" paginate = 1 disablePathToLower = true defaultContentLanguage = "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir = {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT = true [permalinks] other = "/somewhere/else/:filename" # TODO(bep) [markup] defaultMarkdownHandler = "blackfriday" [markup.blackfriday] angledQuotes = true [Taxonomies] tag = "tags" [Languages] [Languages.en] weight = 10 title = "In English" languageName = "English" [Languages.en.blackfriday] angledQuotes = false [[Languages.en.menu.main]] url = "/" name = "Home" weight = 0 [Languages.fr] weight = 20 title = "Le Français" languageName = "Français" [Languages.fr.Taxonomies] plaque = "plaques" [Languages.nn] weight = 30 title = "På nynorsk" languageName = "Nynorsk" paginatePath = "side" [Languages.nn.Taxonomies] lag = "lag" [[Languages.nn.menu.main]] url = "/" name = "Heim" weight = 1 [Languages.nb] weight = 40 title = "På bokmål" languageName = "Bokmål" paginatePath = "side" [Languages.nb.Taxonomies] lag = "lag" ` var multiSiteYAMLConfigTemplate = ` baseURL: "http://example.com/blog" disablePathToLower: true paginate: 1 defaultContentLanguage: "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir: {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT: true permalinks: other: "/somewhere/else/:filename" # TODO(bep) markup: defaultMarkdownHandler: blackfriday blackFriday: angledQuotes: true Taxonomies: tag: "tags" Languages: en: weight: 10 title: "In English" languageName: "English" blackfriday: angledQuotes: false menu: main: - url: "/" name: "Home" weight: 0 fr: weight: 20 title: "Le Français" languageName: "Français" Taxonomies: plaque: "plaques" nn: weight: 30 title: "På nynorsk" languageName: "Nynorsk" paginatePath: "side" Taxonomies: lag: "lag" menu: main: - url: "/" name: "Heim" weight: 1 nb: weight: 40 title: "På bokmål" languageName: "Bokmål" paginatePath: "side" Taxonomies: lag: "lag" ` // TODO(bep) clean move var multiSiteJSONConfigTemplate = ` { "baseURL": "http://example.com/blog", "paginate": 1, "disablePathToLower": true, "defaultContentLanguage": "{{ .DefaultContentLanguage }}", "defaultContentLanguageInSubdir": true, "enableRobotsTXT": true, "permalinks": { "other": "/somewhere/else/:filename" }, "markup": { "defaultMarkdownHandler": "blackfriday", "blackfriday": { "angledQuotes": true } }, "Taxonomies": { "tag": "tags" }, "Languages": { "en": { "weight": 10, "title": "In English", "languageName": "English", "blackfriday": { "angledQuotes": false }, "menu": { "main": [ { "url": "/", "name": "Home", "weight": 0 } ] } }, "fr": { "weight": 20, "title": "Le Français", "languageName": "Français", "Taxonomies": { "plaque": "plaques" } }, "nn": { "weight": 30, "title": "På nynorsk", "paginatePath": "side", "languageName": "Nynorsk", "Taxonomies": { "lag": "lag" }, "menu": { "main": [ { "url": "/", "name": "Heim", "weight": 1 } ] } }, "nb": { "weight": 40, "title": "På bokmål", "paginatePath": "side", "languageName": "Bokmål", "Taxonomies": { "lag": "lag" } } } } ` func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { t.Helper() writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { t.Helper() if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } } func readDestination(t testing.TB, fs *hugofs.Fs, filename string) string { t.Helper() return readFileFromFs(t, fs.Destination, filename) } func destinationExists(fs *hugofs.Fs, filename string) bool { b, err := helpers.Exists(filename, fs.Destination) if err != nil { panic(err) } return b } func readSource(t *testing.T, fs *hugofs.Fs, filename string) string { return readFileFromFs(t, fs.Source, filename) } func readFileFromFs(t testing.TB, fs afero.Fs, filename string) string { t.Helper() filename = filepath.Clean(filename) b, err := afero.ReadFile(fs, filename) if err != nil { // Print some debug info hadSlash := strings.HasPrefix(filename, helpers.FilePathSeparator) start := 0 if hadSlash { start = 1 } end := start + 1 parts := strings.Split(filename, helpers.FilePathSeparator) if parts[start] == "work" { end++ } /* root := filepath.Join(parts[start:end]...) if hadSlash { root = helpers.FilePathSeparator + root } helpers.PrintFs(fs, root, os.Stdout) */ t.Fatalf("Failed to read file: %s", err) } return string(b) } const testPageTemplate = `--- title: "%s" publishdate: "%s" weight: %d --- # Doc %s ` func newTestPage(title, date string, weight int) string { return fmt.Sprintf(testPageTemplate, title, date, weight, title) } func writeNewContentFile(t *testing.T, fs afero.Fs, title, date, filename string, weight int) { content := newTestPage(title, date, weight) writeToFs(t, fs, filename, content) } type multiSiteTestBuilder struct { configData interface{} config string configFormat string *sitesBuilder } func newMultiSiteTestDefaultBuilder(t testing.TB) *multiSiteTestBuilder { return newMultiSiteTestBuilder(t, "", "", nil) } func (b *multiSiteTestBuilder) WithNewConfig(config string) *multiSiteTestBuilder { b.WithConfigTemplate(b.configData, b.configFormat, config) return b } func (b *multiSiteTestBuilder) WithNewConfigData(data interface{}) *multiSiteTestBuilder { b.WithConfigTemplate(data, b.configFormat, b.config) return b } func newMultiSiteTestBuilder(t testing.TB, configFormat, config string, configData interface{}) *multiSiteTestBuilder { if configData == nil { configData = map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": true, } } if config == "" { config = multiSiteTOMLConfigTemplate } if configFormat == "" { configFormat = "toml" } b := newTestSitesBuilder(t).WithConfigTemplate(configData, configFormat, config) b.WithContent("root.en.md", `--- title: root weight: 10000 slug: root publishdate: "2000-01-01" --- # root `, "sect/doc1.en.md", `--- title: doc1 weight: 1 slug: doc1-slug tags: - tag1 publishdate: "2000-01-01" --- # doc1 *some "content"* {{< shortcode >}} {{< lingo >}} NOTE: slug should be used as URL `, "sect/doc1.fr.md", `--- title: doc1 weight: 1 plaques: - FRtag1 - FRtag2 publishdate: "2000-01-04" --- # doc1 *quelque "contenu"* {{< shortcode >}} {{< lingo >}} NOTE: should be in the 'en' Page's 'Translations' field. NOTE: date is after "doc3" `, "sect/doc2.en.md", `--- title: doc2 weight: 2 publishdate: "2000-01-02" --- # doc2 *some content* NOTE: without slug, "doc2" should be used, without ".en" as URL `, "sect/doc3.en.md", `--- title: doc3 weight: 3 publishdate: "2000-01-03" aliases: [/en/al/alias1,/al/alias2/] tags: - tag2 - tag1 url: /superbob/ --- # doc3 *some content* NOTE: third 'en' doc, should trigger pagination on home page. `, "sect/doc4.md", `--- title: doc4 weight: 4 plaques: - FRtag1 publishdate: "2000-01-05" --- # doc4 *du contenu francophone* NOTE: should use the defaultContentLanguage and mark this doc as 'fr'. NOTE: doesn't have any corresponding translation in 'en' `, "other/doc5.fr.md", `--- title: doc5 weight: 5 publishdate: "2000-01-06" --- # doc5 *autre contenu francophone* NOTE: should use the "permalinks" configuration with :filename `, // Add some for the stats "stats/expired.fr.md", `--- title: expired publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.fr.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/expired.en.md", `--- title: expired weight: 7 publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.en.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/draft.en.md", `--- title: expired publishdate: "2000-01-06" draft: true --- # Draft `, "stats/tax.nn.md", `--- title: Tax NN weight: 8 publishdate: "2000-01-06" weight: 1001 lag: - Sogndal --- # Tax NN `, "stats/tax.nb.md", `--- title: Tax NB weight: 8 publishdate: "2000-01-06" weight: 1002 lag: - Sogndal --- # Tax NB `, // Bundle "bundles/b1/index.en.md", `--- title: Bundle EN publishdate: "2000-01-06" weight: 2001 --- # Bundle Content EN `, "bundles/b1/index.md", `--- title: Bundle Default publishdate: "2000-01-06" weight: 2002 --- # Bundle Content Default `, "bundles/b1/logo.png", ` PNG Data `) i18nContent := func(id, value string) string { return fmt.Sprintf(` [%s] other = %q `, id, value) } b.WithSourceFile("i18n/en.toml", i18nContent("hello", "Hello")) b.WithSourceFile("i18n/fr.toml", i18nContent("hello", "Bonjour")) b.WithSourceFile("i18n/nb.toml", i18nContent("hello", "Hallo")) b.WithSourceFile("i18n/nn.toml", i18nContent("hello", "Hallo")) return &multiSiteTestBuilder{sitesBuilder: b, configFormat: configFormat, config: config, configData: configData} } func TestRebuildOnAssetChange(t *testing.T) { b := newTestSitesBuilder(t).Running() b.WithTemplatesAdded("index.html", ` {{ (resources.Get "data.json").Content }} `) b.WithSourceFile("assets/data.json", "orig data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `orig data`) b.EditFiles("assets/data.json", "changed data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `changed data`) }
package hugolib import ( "fmt" "path/filepath" "strings" "testing" "time" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/htesting" "github.com/gohugoio/hugo/resources/page" "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" ) func TestMultiSitesMainLangInRoot(t *testing.T) { t.Parallel() for _, b := range []bool{false} { doTestMultiSitesMainLangInRoot(t, b) } } func doTestMultiSitesMainLangInRoot(t *testing.T, defaultInSubDir bool) { c := qt.New(t) siteConfig := map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": defaultInSubDir, } b := newMultiSiteTestBuilder(t, "toml", multiSiteTOMLConfigTemplate, siteConfig) pathMod := func(s string) string { return s } if !defaultInSubDir { pathMod = func(s string) string { return strings.Replace(s, "/fr/", "/", -1) } } b.CreateSites() b.Build(BuildCfg{}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) enSite := sites[0] frSite := sites[1] c.Assert(enSite.Info.LanguagePrefix, qt.Equals, "/en") if defaultInSubDir { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "/fr") } else { c.Assert(frSite.Info.LanguagePrefix, qt.Equals, "") } c.Assert(enSite.PathSpec.RelURL("foo", true), qt.Equals, "/blog/en/foo") doc1en := enSite.RegularPages()[0] doc1fr := frSite.RegularPages()[0] enPerm := doc1en.Permalink() enRelPerm := doc1en.RelPermalink() c.Assert(enPerm, qt.Equals, "http://example.com/blog/en/sect/doc1-slug/") c.Assert(enRelPerm, qt.Equals, "/blog/en/sect/doc1-slug/") frPerm := doc1fr.Permalink() frRelPerm := doc1fr.RelPermalink() b.AssertFileContent(pathMod("public/fr/sect/doc1/index.html"), "Single", "Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Hello") if defaultInSubDir { c.Assert(frPerm, qt.Equals, "http://example.com/blog/fr/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/fr/sect/doc1/") // should have a redirect on top level. b.AssertFileContent("public/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog/fr" />`) } else { // Main language in root c.Assert(frPerm, qt.Equals, "http://example.com/blog/sect/doc1/") c.Assert(frRelPerm, qt.Equals, "/blog/sect/doc1/") // should have redirect back to root b.AssertFileContent("public/fr/index.html", `<meta http-equiv="refresh" content="0; url=http://example.com/blog" />`) } b.AssertFileContent(pathMod("public/fr/index.html"), "Home", "Bonjour") b.AssertFileContent("public/en/index.html", "Home", "Hello") // Check list pages b.AssertFileContent(pathMod("public/fr/sect/index.html"), "List", "Bonjour") b.AssertFileContent("public/en/sect/index.html", "List", "Hello") b.AssertFileContent(pathMod("public/fr/plaques/FRtag1/index.html"), "Taxonomy List", "Bonjour") b.AssertFileContent("public/en/tags/tag1/index.html", "Taxonomy List", "Hello") // Check sitemaps // Sitemaps behaves different: In a multilanguage setup there will always be a index file and // one sitemap in each lang folder. b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") if defaultInSubDir { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/fr/</loc>") } else { b.AssertFileContent("public/fr/sitemap.xml", "<loc>http://example.com/blog/</loc>") } b.AssertFileContent("public/en/sitemap.xml", "<loc>http://example.com/blog/en/</loc>") // Check rss b.AssertFileContent(pathMod("public/fr/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/index.xml"`), `rel="self" type="application/rss+xml"`) b.AssertFileContent("public/en/index.xml", `<atom:link href="http://example.com/blog/en/index.xml"`) b.AssertFileContent( pathMod("public/fr/sect/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/sect/index.xml"`)) b.AssertFileContent("public/en/sect/index.xml", `<atom:link href="http://example.com/blog/en/sect/index.xml"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/index.xml"), pathMod(`<atom:link href="http://example.com/blog/fr/plaques/FRtag1/index.xml"`)) b.AssertFileContent("public/en/tags/tag1/index.xml", `<atom:link href="http://example.com/blog/en/tags/tag1/index.xml"`) // Check paginators b.AssertFileContent(pathMod("public/fr/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/"`)) b.AssertFileContent("public/en/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/"`) b.AssertFileContent(pathMod("public/fr/page/2/index.html"), "Home Page 2", "Bonjour", pathMod("http://example.com/blog/fr/")) b.AssertFileContent("public/en/page/2/index.html", "Home Page 2", "Hello", "http://example.com/blog/en/") b.AssertFileContent(pathMod("public/fr/sect/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/sect/"`)) b.AssertFileContent("public/en/sect/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/sect/"`) b.AssertFileContent(pathMod("public/fr/sect/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/sect/")) b.AssertFileContent("public/en/sect/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/sect/") b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/1/index.html"), pathMod(`refresh" content="0; url=http://example.com/blog/fr/plaques/FRtag1/"`)) b.AssertFileContent("public/en/tags/tag1/page/1/index.html", `refresh" content="0; url=http://example.com/blog/en/tags/tag1/"`) b.AssertFileContent( pathMod("public/fr/plaques/FRtag1/page/2/index.html"), "List Page 2", "Bonjour", pathMod("http://example.com/blog/fr/plaques/FRtag1/")) b.AssertFileContent("public/en/tags/tag1/page/2/index.html", "List Page 2", "Hello", "http://example.com/blog/en/tags/tag1/") // nn (Nynorsk) and nb (Bokmål) have custom pagePath: side ("page" in Norwegian) b.AssertFileContent("public/nn/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nn/"`) b.AssertFileContent("public/nb/side/1/index.html", `refresh" content="0; url=http://example.com/blog/nb/"`) } func TestMultiSitesWithTwoLanguages(t *testing.T) { t.Parallel() c := qt.New(t) b := newTestSitesBuilder(t).WithConfigFile("toml", ` defaultContentLanguage = "nn" [languages] [languages.nn] languageName = "Nynorsk" weight = 1 title = "Tittel på Nynorsk" [languages.nn.params] p1 = "p1nn" [languages.en] title = "Title in English" languageName = "English" weight = 2 [languages.en.params] p1 = "p1en" `) b.CreateSites() b.Build(BuildCfg{SkipRender: true}) sites := b.H.Sites c.Assert(len(sites), qt.Equals, 2) nnSite := sites[0] nnHome := nnSite.getPage(page.KindHome) c.Assert(len(nnHome.AllTranslations()), qt.Equals, 2) c.Assert(len(nnHome.Translations()), qt.Equals, 1) c.Assert(nnHome.IsTranslated(), qt.Equals, true) enHome := sites[1].getPage(page.KindHome) p1, err := enHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1en") p1, err = nnHome.Param("p1") c.Assert(err, qt.IsNil) c.Assert(p1, qt.Equals, "p1nn") } func TestMultiSitesBuild(t *testing.T) { for _, config := range []struct { content string suffix string }{ {multiSiteTOMLConfigTemplate, "toml"}, {multiSiteYAMLConfigTemplate, "yml"}, {multiSiteJSONConfigTemplate, "json"}, } { t.Run(config.suffix, func(t *testing.T) { t.Parallel() doTestMultiSitesBuild(t, config.content, config.suffix) }) } } func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { c := qt.New(t) b := newMultiSiteTestBuilder(t, configSuffix, configTemplate, nil) b.CreateSites() sites := b.H.Sites c.Assert(len(sites), qt.Equals, 4) b.Build(BuildCfg{}) // Check site config for _, s := range sites { c.Assert(s.Info.defaultContentLanguageInSubdir, qt.Equals, true) c.Assert(s.disabledKinds, qt.Not(qt.IsNil)) } gp1 := b.H.GetContentPage(filepath.FromSlash("content/sect/doc1.en.md")) c.Assert(gp1, qt.Not(qt.IsNil)) c.Assert(gp1.Title(), qt.Equals, "doc1") gp2 := b.H.GetContentPage(filepath.FromSlash("content/dummysect/notfound.md")) c.Assert(gp2, qt.IsNil) enSite := sites[0] enSiteHome := enSite.getPage(page.KindHome) c.Assert(enSiteHome.IsTranslated(), qt.Equals, true) c.Assert(enSite.language.Lang, qt.Equals, "en") // dumpPages(enSite.RegularPages()...) c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(enSite.AllPages()), qt.Equals, 32) // Check 404s b.AssertFileContent("public/en/404.html", "404|en|404 Page not found") b.AssertFileContent("public/fr/404.html", "404|fr|404 Page not found") // Check robots.txt // the domain root is the public directory, so the robots.txt has to be created there and not in the language directories b.AssertFileContent("public/robots.txt", "robots") b.AssertFileDoesNotExist("public/en/robots.txt") b.AssertFileDoesNotExist("public/nn/robots.txt") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Permalink: http://example.com/blog/en/sect/doc1-slug/") b.AssertFileContent("public/en/sect/doc2/index.html", "Permalink: http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/superbob/index.html", "Permalink: http://example.com/blog/superbob/") doc2 := enSite.RegularPages()[1] doc3 := enSite.RegularPages()[2] c.Assert(doc3, qt.Equals, doc2.Prev()) doc1en := enSite.RegularPages()[0] doc1fr := doc1en.Translations()[0] b.AssertFileContent("public/fr/sect/doc1/index.html", "Permalink: http://example.com/blog/fr/sect/doc1/") c.Assert(doc1fr, qt.Equals, doc1en.Translations()[0]) c.Assert(doc1en, qt.Equals, doc1fr.Translations()[0]) c.Assert(doc1fr.Language().Lang, qt.Equals, "fr") doc4 := enSite.AllPages()[4] c.Assert(len(doc4.Translations()), qt.Equals, 0) // Taxonomies and their URLs c.Assert(len(enSite.Taxonomies()), qt.Equals, 1) tags := enSite.Taxonomies()["tags"] c.Assert(len(tags), qt.Equals, 2) c.Assert(doc1en, qt.Equals, tags["tag1"][0].Page) frSite := sites[1] c.Assert(frSite.language.Lang, qt.Equals, "fr") c.Assert(len(frSite.RegularPages()), qt.Equals, 4) c.Assert(len(frSite.AllPages()), qt.Equals, 32) for _, frenchPage := range frSite.RegularPages() { p := frenchPage c.Assert(p.Language().Lang, qt.Equals, "fr") } // See https://github.com/gohugoio/hugo/issues/4285 // Before Hugo 0.33 you had to be explicit with the content path to get the correct Page, which // isn't ideal in a multilingual setup. You want a way to get the current language version if available. // Now you can do lookups with translation base name to get that behaviour. // Let us test all the regular page variants: getPageDoc1En := enSite.getPage(page.KindPage, filepath.ToSlash(doc1en.File().Path())) getPageDoc1EnBase := enSite.getPage(page.KindPage, "sect/doc1") getPageDoc1Fr := frSite.getPage(page.KindPage, filepath.ToSlash(doc1fr.File().Path())) getPageDoc1FrBase := frSite.getPage(page.KindPage, "sect/doc1") c.Assert(getPageDoc1En, qt.Equals, doc1en) c.Assert(getPageDoc1Fr, qt.Equals, doc1fr) c.Assert(getPageDoc1EnBase, qt.Equals, doc1en) c.Assert(getPageDoc1FrBase, qt.Equals, doc1fr) // Check redirect to main language, French b.AssertFileContent("public/index.html", "0; url=http://example.com/blog/fr") // check home page content (including data files rendering) b.AssertFileContent("public/en/index.html", "Default Home Page 1", "Hello", "Hugo Rocks!") b.AssertFileContent("public/fr/index.html", "French Home Page 1", "Bonjour", "Hugo Rocks!") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour", "LingoFrench") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello", "LingoDefault") // Check node translations homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") c.Assert(homeEn.Translations()[1].Language().Lang, qt.Equals, "nn") c.Assert(homeEn.Translations()[1].Title(), qt.Equals, "På nynorsk") c.Assert(homeEn.Translations()[2].Language().Lang, qt.Equals, "nb") c.Assert(homeEn.Translations()[2].Title(), qt.Equals, "På bokmål") c.Assert(homeEn.Translations()[2].Language().LanguageName, qt.Equals, "Bokmål") sectFr := frSite.getPage(page.KindSection, "sect") c.Assert(sectFr, qt.Not(qt.IsNil)) c.Assert(sectFr.Language().Lang, qt.Equals, "fr") c.Assert(len(sectFr.Translations()), qt.Equals, 1) c.Assert(sectFr.Translations()[0].Language().Lang, qt.Equals, "en") c.Assert(sectFr.Translations()[0].Title(), qt.Equals, "Sects") nnSite := sites[2] c.Assert(nnSite.language.Lang, qt.Equals, "nn") taxNn := nnSite.getPage(page.KindTaxonomy, "lag") c.Assert(taxNn, qt.Not(qt.IsNil)) c.Assert(len(taxNn.Translations()), qt.Equals, 1) c.Assert(taxNn.Translations()[0].Language().Lang, qt.Equals, "nb") taxTermNn := nnSite.getPage(page.KindTerm, "lag", "sogndal") c.Assert(taxTermNn, qt.Not(qt.IsNil)) c.Assert(nnSite.getPage(page.KindTerm, "LAG", "SOGNDAL"), qt.Equals, taxTermNn) c.Assert(len(taxTermNn.Translations()), qt.Equals, 1) c.Assert(taxTermNn.Translations()[0].Language().Lang, qt.Equals, "nb") // Check sitemap(s) b.AssertFileContent("public/sitemap.xml", "<loc>http://example.com/blog/en/sitemap.xml</loc>", "<loc>http://example.com/blog/fr/sitemap.xml</loc>") b.AssertFileContent("public/en/sitemap.xml", "http://example.com/blog/en/sect/doc2/") b.AssertFileContent("public/fr/sitemap.xml", "http://example.com/blog/fr/sect/doc1/") // Check taxonomies enTags := enSite.Taxonomies()["tags"] frTags := frSite.Taxonomies()["plaques"] c.Assert(len(enTags), qt.Equals, 2, qt.Commentf("Tags in en: %v", enTags)) c.Assert(len(frTags), qt.Equals, 2, qt.Commentf("Tags in fr: %v", frTags)) c.Assert(enTags["tag1"], qt.Not(qt.IsNil)) c.Assert(frTags["FRtag1"], qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/plaques/FRtag1/index.html", "FRtag1|Bonjour|http://example.com/blog/fr/plaques/FRtag1/") // Check Blackfriday config c.Assert(strings.Contains(content(doc1fr), "&laquo;"), qt.Equals, true) c.Assert(strings.Contains(content(doc1en), "&laquo;"), qt.Equals, false) c.Assert(strings.Contains(content(doc1en), "&ldquo;"), qt.Equals, true) // en and nn have custom site menus c.Assert(len(frSite.Menus()), qt.Equals, 0) c.Assert(len(enSite.Menus()), qt.Equals, 1) c.Assert(len(nnSite.Menus()), qt.Equals, 1) c.Assert(enSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Home") c.Assert(nnSite.Menus()["main"].ByName()[0].Name, qt.Equals, "Heim") // Issue #3108 prevPage := enSite.RegularPages()[0].Prev() c.Assert(prevPage, qt.Not(qt.IsNil)) c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) for { if prevPage == nil { break } c.Assert(prevPage.Kind(), qt.Equals, page.KindPage) prevPage = prevPage.Prev() } // Check bundles b.AssertFileContent("public/fr/bundles/b1/index.html", "RelPermalink: /blog/fr/bundles/b1/|") bundleFr := frSite.getPage(page.KindPage, "bundles/b1/index.md") c.Assert(bundleFr, qt.Not(qt.IsNil)) c.Assert(len(bundleFr.Resources()), qt.Equals, 1) logoFr := bundleFr.Resources().GetMatch("logo*") c.Assert(logoFr, qt.Not(qt.IsNil)) b.AssertFileContent("public/fr/bundles/b1/index.html", "Resources: image/png: /blog/fr/bundles/b1/logo.png") b.AssertFileContent("public/fr/bundles/b1/logo.png", "PNG Data") bundleEn := enSite.getPage(page.KindPage, "bundles/b1/index.en.md") c.Assert(bundleEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "RelPermalink: /blog/en/bundles/b1/|") c.Assert(len(bundleEn.Resources()), qt.Equals, 1) logoEn := bundleEn.Resources().GetMatch("logo*") c.Assert(logoEn, qt.Not(qt.IsNil)) b.AssertFileContent("public/en/bundles/b1/index.html", "Resources: image/png: /blog/en/bundles/b1/logo.png") b.AssertFileContent("public/en/bundles/b1/logo.png", "PNG Data") } func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 // This leaktest seems to be a little bit shaky on Travis. if !htesting.IsCI() { defer leaktest.CheckTimeout(t, 10*time.Second)() } c := qt.New(t) b := newMultiSiteTestDefaultBuilder(t).Running().CreateSites().Build(BuildCfg{}) sites := b.H.Sites fs := b.Fs b.AssertFileContent("public/en/sect/doc2/index.html", "Single: doc2|Hello|en|", "\n\n<h1 id=\"doc2\">doc2</h1>\n\n<p><em>some content</em>") enSite := sites[0] frSite := sites[1] c.Assert(len(enSite.RegularPages()), qt.Equals, 5) c.Assert(len(frSite.RegularPages()), qt.Equals, 4) // Verify translations b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Hello") b.AssertFileContent("public/fr/sect/doc1/index.html", "Bonjour") // check single page content b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Shortcode: Bonjour") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Shortcode: Hello") homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) contentFs := b.H.Fs.Source for i, this := range []struct { preFunc func(t *testing.T) events []fsnotify.Event assertFunc func(t *testing.T) }{ // * Remove doc // * Add docs existing languages // (Add doc new language: TODO(bep) we should load config.toml as part of these so we can add languages). // * Rename file // * Change doc // * Change a template // * Change language file { func(t *testing.T) { fs.Source.Remove("content/sect/doc2.en.md") }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc2.en.md"), Op: fsnotify.Remove}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 4, qt.Commentf("1 en removed")) }, }, { func(t *testing.T) { writeNewContentFile(t, contentFs, "new_en_1", "2016-07-31", "content/new1.en.md", -5) writeNewContentFile(t, contentFs, "new_en_2", "1989-07-30", "content/new2.en.md", -10) writeNewContentFile(t, contentFs, "new_fr_1", "2016-07-30", "content/new1.fr.md", 10) }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new2.en.md"), Op: fsnotify.Create}, {Name: filepath.FromSlash("content/new1.fr.md"), Op: fsnotify.Create}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) c.Assert(frSite.RegularPages()[3].Title(), qt.Equals, "new_fr_1") c.Assert(enSite.RegularPages()[0].Title(), qt.Equals, "new_en_2") c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1/index.html") c.Assert(strings.Contains(rendered, "new_en_1"), qt.Equals, true) }, }, { func(t *testing.T) { p := "content/sect/doc1.en.md" doc1 := readFileFromFs(t, contentFs, p) doc1 += "CHANGED" writeToFs(t, contentFs, p, doc1) }, []fsnotify.Event{{Name: filepath.FromSlash("content/sect/doc1.en.md"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "CHANGED"), qt.Equals, true) }, }, // Rename a file { func(t *testing.T) { if err := contentFs.Rename("content/new1.en.md", "content/new1renamed.en.md"); err != nil { t.Fatalf("Rename failed: %s", err) } }, []fsnotify.Event{ {Name: filepath.FromSlash("content/new1renamed.en.md"), Op: fsnotify.Rename}, {Name: filepath.FromSlash("content/new1.en.md"), Op: fsnotify.Rename}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6, qt.Commentf("Rename")) c.Assert(enSite.RegularPages()[1].Title(), qt.Equals, "new_en_1") rendered := readDestination(t, fs, "public/en/new1renamed/index.html") c.Assert(rendered, qt.Contains, "new_en_1") }, }, { // Change a template func(t *testing.T) { template := "layouts/_default/single.html" templateContent := readSource(t, fs, template) templateContent += "{{ print \"Template Changed\"}}" writeSource(t, fs, template, templateContent) }, []fsnotify.Event{{Name: filepath.FromSlash("layouts/_default/single.html"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) doc1 := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(doc1, "Template Changed"), qt.Equals, true) }, }, { // Change a language file func(t *testing.T) { languageFile := "i18n/fr.yaml" langContent := readSource(t, fs, languageFile) langContent = strings.Replace(langContent, "Bonjour", "Salut", 1) writeSource(t, fs, languageFile, langContent) }, []fsnotify.Event{{Name: filepath.FromSlash("i18n/fr.yaml"), Op: fsnotify.Write}}, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) docEn := readDestination(t, fs, "public/en/sect/doc1-slug/index.html") c.Assert(strings.Contains(docEn, "Hello"), qt.Equals, true) docFr := readDestination(t, fs, "public/fr/sect/doc1/index.html") c.Assert(strings.Contains(docFr, "Salut"), qt.Equals, true) homeEn := enSite.getPage(page.KindHome) c.Assert(homeEn, qt.Not(qt.IsNil)) c.Assert(len(homeEn.Translations()), qt.Equals, 3) c.Assert(homeEn.Translations()[0].Language().Lang, qt.Equals, "fr") }, }, // Change a shortcode { func(t *testing.T) { writeSource(t, fs, "layouts/shortcodes/shortcode.html", "Modified Shortcode: {{ i18n \"hello\" }}") }, []fsnotify.Event{ {Name: filepath.FromSlash("layouts/shortcodes/shortcode.html"), Op: fsnotify.Write}, }, func(t *testing.T) { c.Assert(len(enSite.RegularPages()), qt.Equals, 6) c.Assert(len(enSite.AllPages()), qt.Equals, 34) c.Assert(len(frSite.RegularPages()), qt.Equals, 5) b.AssertFileContent("public/fr/sect/doc1/index.html", "Single", "Modified Shortcode: Salut") b.AssertFileContent("public/en/sect/doc1-slug/index.html", "Single", "Modified Shortcode: Hello") }, }, } { if this.preFunc != nil { this.preFunc(t) } err := b.H.Build(BuildCfg{}, this.events...) if err != nil { t.Fatalf("[%d] Failed to rebuild sites: %s", i, err) } this.assertFunc(t) } } // https://github.com/gohugoio/hugo/issues/4706 func TestContentStressTest(t *testing.T) { b := newTestSitesBuilder(t) numPages := 500 contentTempl := ` --- %s title: %q weight: %d multioutput: %t --- # Header CONTENT The End. ` contentTempl = strings.Replace(contentTempl, "CONTENT", strings.Repeat(` ## Another header Some text. Some more text. `, 100), -1) var content []string defaultOutputs := `outputs: ["html", "json", "rss" ]` for i := 1; i <= numPages; i++ { outputs := defaultOutputs multioutput := true if i%3 == 0 { outputs = `outputs: ["json"]` multioutput = false } section := "s1" if i%10 == 0 { section = "s2" } content = append(content, []string{fmt.Sprintf("%s/page%d.md", section, i), fmt.Sprintf(contentTempl, outputs, fmt.Sprintf("Title %d", i), i, multioutput)}...) } content = append(content, []string{"_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("Home %d", 0), 0, true)}...) content = append(content, []string{"s1/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 1), 1, true)}...) content = append(content, []string{"s2/_index.md", fmt.Sprintf(contentTempl, defaultOutputs, fmt.Sprintf("S %d", 2), 2, true)}...) b.WithSimpleConfigFile() b.WithTemplates("layouts/_default/single.html", `Single: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/myview.html", `View: {{ len .Content }}`) b.WithTemplates("layouts/_default/single.json", `Single JSON: {{ .Content }}|RelPermalink: {{ .RelPermalink }}|Permalink: {{ .Permalink }}`) b.WithTemplates("layouts/_default/list.html", ` Page: {{ .Paginator.PageNumber }} P: {{ with .File }}{{ path.Join .Path }}{{ end }} List: {{ len .Paginator.Pages }}|List Content: {{ len .Content }} {{ $shuffled := where .Site.RegularPages "Params.multioutput" true | shuffle }} {{ $first5 := $shuffled | first 5 }} L1: {{ len .Site.RegularPages }} L2: {{ len $first5 }} {{ range $i, $e := $first5 }} Render {{ $i }}: {{ .Render "myview" }} {{ end }} END `) b.WithContent(content...) b.CreateSites().Build(BuildCfg{}) contentMatchers := []string{"<h2 id=\"another-header\">Another header</h2>", "<h2 id=\"another-header-99\">Another header</h2>", "<p>The End.</p>"} for i := 1; i <= numPages; i++ { if i%3 != 0 { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.html", section, i), contentMatchers...) } } for i := 1; i <= numPages; i++ { section := "s1" if i%10 == 0 { section = "s2" } checkContent(b, fmt.Sprintf("public/%s/page%d/index.json", section, i), contentMatchers...) } checkContent(b, "public/s1/index.html", "P: s1/_index.md\nList: 10|List Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132\n\nRender 1: View: 8132\n\nRender 2: View: 8132\n\nRender 3: View: 8132\n\nRender 4: View: 8132\n\nEND\n") checkContent(b, "public/s2/index.html", "P: s2/_index.md\nList: 10|List Content: 8132", "Render 4: View: 8132\n\nEND") checkContent(b, "public/index.html", "P: _index.md\nList: 10|List Content: 8132", "4: View: 8132\n\nEND") // Check paginated pages for i := 2; i <= 9; i++ { checkContent(b, fmt.Sprintf("public/page/%d/index.html", i), fmt.Sprintf("Page: %d", i), "Content: 8132\n\n\nL1: 500 L2: 5\n\nRender 0: View: 8132", "Render 4: View: 8132\n\nEND") } } func checkContent(s *sitesBuilder, filename string, matches ...string) { s.T.Helper() content := readDestination(s.T, s.Fs, filename) for _, match := range matches { if !strings.Contains(content, match) { s.Fatalf("No match for\n%q\nin content for %s\n%q\nDiff:\n%s", match, filename, content, htesting.DiffStrings(content, match)) } } } func TestTranslationsFromContentToNonContent(t *testing.T) { b := newTestSitesBuilder(t) b.WithConfigFile("toml", ` baseURL = "http://example.com/" defaultContentLanguage = "en" [languages] [languages.en] weight = 10 contentDir = "content/en" [languages.nn] weight = 20 contentDir = "content/nn" `) b.WithContent("en/mysection/_index.md", ` --- Title: My Section --- `) b.WithContent("en/_index.md", ` --- Title: My Home --- `) b.WithContent("en/categories/mycat/_index.md", ` --- Title: My MyCat --- `) b.WithContent("en/categories/_index.md", ` --- Title: My categories --- `) for _, lang := range []string{"en", "nn"} { b.WithContent(lang+"/mysection/page.md", ` --- Title: My Page categories: ["mycat"] --- `) } b.Build(BuildCfg{}) for _, path := range []string{ "/", "/mysection", "/categories", "/categories/mycat", } { t.Run(path, func(t *testing.T) { c := qt.New(t) s1, _ := b.H.Sites[0].getPageNew(nil, path) s2, _ := b.H.Sites[1].getPageNew(nil, path) c.Assert(s1, qt.Not(qt.IsNil)) c.Assert(s2, qt.Not(qt.IsNil)) c.Assert(len(s1.Translations()), qt.Equals, 1) c.Assert(len(s2.Translations()), qt.Equals, 1) c.Assert(s1.Translations()[0], qt.Equals, s2) c.Assert(s2.Translations()[0], qt.Equals, s1) m1 := s1.Translations().MergeByLanguage(s2.Translations()) m2 := s2.Translations().MergeByLanguage(s1.Translations()) c.Assert(len(m1), qt.Equals, 1) c.Assert(len(m2), qt.Equals, 1) }) } } // https://github.com/gohugoio/hugo/issues/5777 func TestTableOfContentsInShortcodes(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) b.WithTemplatesAdded("layouts/shortcodes/toc.html", tocShortcode) b.WithTemplatesAdded("layouts/shortcodes/wrapper.html", "{{ .Inner }}") b.WithContent("post/simple.en.md", tocPageSimple) b.WithContent("post/variants1.en.md", tocPageVariants1) b.WithContent("post/variants2.en.md", tocPageVariants2) b.WithContent("post/withSCInHeading.en.md", tocPageWithShortcodesInHeadings) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", tocPageSimpleExpected, // Make sure it is inserted twice `TOC1: <nav id="TableOfContents">`, `TOC2: <nav id="TableOfContents">`, ) b.AssertFileContentFn("public/en/post/variants1/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 4 }) b.AssertFileContentFn("public/en/post/variants2/index.html", func(s string) bool { return strings.Count(s, "TableOfContents") == 6 }) b.AssertFileContent("public/en/post/withSCInHeading/index.html", tocPageWithShortcodesInHeadingsExpected) } var tocShortcode = ` TOC1: {{ .Page.TableOfContents }} TOC2: {{ .Page.TableOfContents }} ` func TestSelfReferencedContentInShortcode(t *testing.T) { t.Parallel() b := newMultiSiteTestDefaultBuilder(t) var ( shortcode = `{{- .Page.Content -}}{{- .Page.Summary -}}{{- .Page.Plain -}}{{- .Page.PlainWords -}}{{- .Page.WordCount -}}{{- .Page.ReadingTime -}}` page = `--- title: sctest --- Empty:{{< mycontent >}}: ` ) b.WithTemplatesAdded("layouts/shortcodes/mycontent.html", shortcode) b.WithContent("post/simple.en.md", page) b.CreateSites().Build(BuildCfg{}) b.AssertFileContent("public/en/post/simple/index.html", "Empty:[]00:") } var tocPageSimple = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {#1-1} Some more text. # Heading 2 {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageVariants1 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 3: {{% toc %}} ` var tocPageVariants2 = `--- title: tocTest publishdate: "2000-01-01" --- Variant 1: {{% wrapper %}} {{< toc >}} {{% /wrapper %}} # Heading 1 Variant 2: {{< wrapper >}} {{< toc >}} {{< /wrapper >}} Variant 3: {{% toc %}} ` var tocPageSimpleExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1</a></li> </ul></li> <li><a href="#2">Heading 2</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var tocPageWithShortcodesInHeadings = `--- title: tocTest publishdate: "2000-01-01" --- {{< toc >}} # Heading 1 {#1} Some text. ## Subheading 1.1 {{< shortcode >}} {#1-1} Some more text. # Heading 2 {{% shortcode %}} {#2} Even more text. ## Subheading 2.1 {#2-1} Lorem ipsum... ` var tocPageWithShortcodesInHeadingsExpected = `<nav id="TableOfContents"> <ul> <li><a href="#1">Heading 1</a> <ul> <li><a href="#1-1">Subheading 1.1 Shortcode: Hello</a></li> </ul></li> <li><a href="#2">Heading 2 Shortcode: Hello</a> <ul> <li><a href="#2-1">Subheading 2.1</a></li> </ul></li> </ul> </nav>` var multiSiteTOMLConfigTemplate = ` baseURL = "http://example.com/blog" paginate = 1 disablePathToLower = true defaultContentLanguage = "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir = {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT = true [permalinks] other = "/somewhere/else/:filename" # TODO(bep) [markup] defaultMarkdownHandler = "blackfriday" [markup.blackfriday] angledQuotes = true [Taxonomies] tag = "tags" [Languages] [Languages.en] weight = 10 title = "In English" languageName = "English" [Languages.en.blackfriday] angledQuotes = false [[Languages.en.menu.main]] url = "/" name = "Home" weight = 0 [Languages.fr] weight = 20 title = "Le Français" languageName = "Français" [Languages.fr.Taxonomies] plaque = "plaques" [Languages.nn] weight = 30 title = "På nynorsk" languageName = "Nynorsk" paginatePath = "side" [Languages.nn.Taxonomies] lag = "lag" [[Languages.nn.menu.main]] url = "/" name = "Heim" weight = 1 [Languages.nb] weight = 40 title = "På bokmål" languageName = "Bokmål" paginatePath = "side" [Languages.nb.Taxonomies] lag = "lag" ` var multiSiteYAMLConfigTemplate = ` baseURL: "http://example.com/blog" disablePathToLower: true paginate: 1 defaultContentLanguage: "{{ .DefaultContentLanguage }}" defaultContentLanguageInSubdir: {{ .DefaultContentLanguageInSubdir }} enableRobotsTXT: true permalinks: other: "/somewhere/else/:filename" # TODO(bep) markup: defaultMarkdownHandler: blackfriday blackFriday: angledQuotes: true Taxonomies: tag: "tags" Languages: en: weight: 10 title: "In English" languageName: "English" blackfriday: angledQuotes: false menu: main: - url: "/" name: "Home" weight: 0 fr: weight: 20 title: "Le Français" languageName: "Français" Taxonomies: plaque: "plaques" nn: weight: 30 title: "På nynorsk" languageName: "Nynorsk" paginatePath: "side" Taxonomies: lag: "lag" menu: main: - url: "/" name: "Heim" weight: 1 nb: weight: 40 title: "På bokmål" languageName: "Bokmål" paginatePath: "side" Taxonomies: lag: "lag" ` // TODO(bep) clean move var multiSiteJSONConfigTemplate = ` { "baseURL": "http://example.com/blog", "paginate": 1, "disablePathToLower": true, "defaultContentLanguage": "{{ .DefaultContentLanguage }}", "defaultContentLanguageInSubdir": true, "enableRobotsTXT": true, "permalinks": { "other": "/somewhere/else/:filename" }, "markup": { "defaultMarkdownHandler": "blackfriday", "blackfriday": { "angledQuotes": true } }, "Taxonomies": { "tag": "tags" }, "Languages": { "en": { "weight": 10, "title": "In English", "languageName": "English", "blackfriday": { "angledQuotes": false }, "menu": { "main": [ { "url": "/", "name": "Home", "weight": 0 } ] } }, "fr": { "weight": 20, "title": "Le Français", "languageName": "Français", "Taxonomies": { "plaque": "plaques" } }, "nn": { "weight": 30, "title": "På nynorsk", "paginatePath": "side", "languageName": "Nynorsk", "Taxonomies": { "lag": "lag" }, "menu": { "main": [ { "url": "/", "name": "Heim", "weight": 1 } ] } }, "nb": { "weight": 40, "title": "På bokmål", "paginatePath": "side", "languageName": "Bokmål", "Taxonomies": { "lag": "lag" } } } } ` func writeSource(t testing.TB, fs *hugofs.Fs, filename, content string) { t.Helper() writeToFs(t, fs.Source, filename, content) } func writeToFs(t testing.TB, fs afero.Fs, filename, content string) { t.Helper() if err := afero.WriteFile(fs, filepath.FromSlash(filename), []byte(content), 0755); err != nil { t.Fatalf("Failed to write file: %s", err) } } func readDestination(t testing.TB, fs *hugofs.Fs, filename string) string { t.Helper() return readFileFromFs(t, fs.Destination, filename) } func destinationExists(fs *hugofs.Fs, filename string) bool { b, err := helpers.Exists(filename, fs.Destination) if err != nil { panic(err) } return b } func readSource(t *testing.T, fs *hugofs.Fs, filename string) string { return readFileFromFs(t, fs.Source, filename) } func readFileFromFs(t testing.TB, fs afero.Fs, filename string) string { t.Helper() filename = filepath.Clean(filename) b, err := afero.ReadFile(fs, filename) if err != nil { // Print some debug info hadSlash := strings.HasPrefix(filename, helpers.FilePathSeparator) start := 0 if hadSlash { start = 1 } end := start + 1 parts := strings.Split(filename, helpers.FilePathSeparator) if parts[start] == "work" { end++ } /* root := filepath.Join(parts[start:end]...) if hadSlash { root = helpers.FilePathSeparator + root } helpers.PrintFs(fs, root, os.Stdout) */ t.Fatalf("Failed to read file: %s", err) } return string(b) } const testPageTemplate = `--- title: "%s" publishdate: "%s" weight: %d --- # Doc %s ` func newTestPage(title, date string, weight int) string { return fmt.Sprintf(testPageTemplate, title, date, weight, title) } func writeNewContentFile(t *testing.T, fs afero.Fs, title, date, filename string, weight int) { content := newTestPage(title, date, weight) writeToFs(t, fs, filename, content) } type multiSiteTestBuilder struct { configData interface{} config string configFormat string *sitesBuilder } func newMultiSiteTestDefaultBuilder(t testing.TB) *multiSiteTestBuilder { return newMultiSiteTestBuilder(t, "", "", nil) } func (b *multiSiteTestBuilder) WithNewConfig(config string) *multiSiteTestBuilder { b.WithConfigTemplate(b.configData, b.configFormat, config) return b } func (b *multiSiteTestBuilder) WithNewConfigData(data interface{}) *multiSiteTestBuilder { b.WithConfigTemplate(data, b.configFormat, b.config) return b } func newMultiSiteTestBuilder(t testing.TB, configFormat, config string, configData interface{}) *multiSiteTestBuilder { if configData == nil { configData = map[string]interface{}{ "DefaultContentLanguage": "fr", "DefaultContentLanguageInSubdir": true, } } if config == "" { config = multiSiteTOMLConfigTemplate } if configFormat == "" { configFormat = "toml" } b := newTestSitesBuilder(t).WithConfigTemplate(configData, configFormat, config) b.WithContent("root.en.md", `--- title: root weight: 10000 slug: root publishdate: "2000-01-01" --- # root `, "sect/doc1.en.md", `--- title: doc1 weight: 1 slug: doc1-slug tags: - tag1 publishdate: "2000-01-01" --- # doc1 *some "content"* {{< shortcode >}} {{< lingo >}} NOTE: slug should be used as URL `, "sect/doc1.fr.md", `--- title: doc1 weight: 1 plaques: - FRtag1 - FRtag2 publishdate: "2000-01-04" --- # doc1 *quelque "contenu"* {{< shortcode >}} {{< lingo >}} NOTE: should be in the 'en' Page's 'Translations' field. NOTE: date is after "doc3" `, "sect/doc2.en.md", `--- title: doc2 weight: 2 publishdate: "2000-01-02" --- # doc2 *some content* NOTE: without slug, "doc2" should be used, without ".en" as URL `, "sect/doc3.en.md", `--- title: doc3 weight: 3 publishdate: "2000-01-03" aliases: [/en/al/alias1,/al/alias2/] tags: - tag2 - tag1 url: /superbob/ --- # doc3 *some content* NOTE: third 'en' doc, should trigger pagination on home page. `, "sect/doc4.md", `--- title: doc4 weight: 4 plaques: - FRtag1 publishdate: "2000-01-05" --- # doc4 *du contenu francophone* NOTE: should use the defaultContentLanguage and mark this doc as 'fr'. NOTE: doesn't have any corresponding translation in 'en' `, "other/doc5.fr.md", `--- title: doc5 weight: 5 publishdate: "2000-01-06" --- # doc5 *autre contenu francophone* NOTE: should use the "permalinks" configuration with :filename `, // Add some for the stats "stats/expired.fr.md", `--- title: expired publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.fr.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/expired.en.md", `--- title: expired weight: 7 publishdate: "2000-01-06" expiryDate: "2001-01-06" --- # Expired `, "stats/future.en.md", `--- title: future weight: 6 publishdate: "2100-01-06" --- # Future `, "stats/draft.en.md", `--- title: expired publishdate: "2000-01-06" draft: true --- # Draft `, "stats/tax.nn.md", `--- title: Tax NN weight: 8 publishdate: "2000-01-06" weight: 1001 lag: - Sogndal --- # Tax NN `, "stats/tax.nb.md", `--- title: Tax NB weight: 8 publishdate: "2000-01-06" weight: 1002 lag: - Sogndal --- # Tax NB `, // Bundle "bundles/b1/index.en.md", `--- title: Bundle EN publishdate: "2000-01-06" weight: 2001 --- # Bundle Content EN `, "bundles/b1/index.md", `--- title: Bundle Default publishdate: "2000-01-06" weight: 2002 --- # Bundle Content Default `, "bundles/b1/logo.png", ` PNG Data `) i18nContent := func(id, value string) string { return fmt.Sprintf(` [%s] other = %q `, id, value) } b.WithSourceFile("i18n/en.toml", i18nContent("hello", "Hello")) b.WithSourceFile("i18n/fr.toml", i18nContent("hello", "Bonjour")) b.WithSourceFile("i18n/nb.toml", i18nContent("hello", "Hallo")) b.WithSourceFile("i18n/nn.toml", i18nContent("hello", "Hallo")) return &multiSiteTestBuilder{sitesBuilder: b, configFormat: configFormat, config: config, configData: configData} } func TestRebuildOnAssetChange(t *testing.T) { b := newTestSitesBuilder(t).Running() b.WithTemplatesAdded("index.html", ` {{ (resources.Get "data.json").Content }} `) b.WithSourceFile("assets/data.json", "orig data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `orig data`) b.EditFiles("assets/data.json", "changed data") b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `changed data`) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./markup/mmark/convert_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package mmark import ( "testing" "github.com/spf13/viper" "github.com/gohugoio/hugo/common/loggers" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/markup/blackfriday/blackfriday_config" "github.com/gohugoio/hugo/markup/converter" "github.com/miekg/mmark" ) func TestGetMmarkExtensions(t *testing.T) { b := blackfriday_config.Default // TODO: This is doing the same just with different marks... type data struct { testFlag int } b.Extensions = []string{"tables"} b.ExtensionsMask = []string{""} allExtensions := []data{ {mmark.EXTENSION_TABLES}, {mmark.EXTENSION_FENCED_CODE}, {mmark.EXTENSION_AUTOLINK}, {mmark.EXTENSION_SPACE_HEADERS}, {mmark.EXTENSION_CITATION}, {mmark.EXTENSION_TITLEBLOCK_TOML}, {mmark.EXTENSION_HEADER_IDS}, {mmark.EXTENSION_AUTO_HEADER_IDS}, {mmark.EXTENSION_UNIQUE_HEADER_IDS}, {mmark.EXTENSION_FOOTNOTES}, {mmark.EXTENSION_SHORT_REF}, {mmark.EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK}, {mmark.EXTENSION_INCLUDE}, } actualFlags := getMmarkExtensions(b) for _, e := range allExtensions { if actualFlags&e.testFlag != e.testFlag { t.Errorf("Flag %v was not found in the list of extensions.", e) } } } func TestConvert(t *testing.T) { c := qt.New(t) p, err := Provider.New(converter.ProviderConfig{Cfg: viper.New(), Logger: loggers.NewErrorLogger()}) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<p>testContent</p>\n") }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package mmark import ( "testing" "github.com/spf13/viper" "github.com/gohugoio/hugo/common/loggers" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/markup/blackfriday/blackfriday_config" "github.com/gohugoio/hugo/markup/converter" "github.com/miekg/mmark" ) func TestGetMmarkExtensions(t *testing.T) { b := blackfriday_config.Default // TODO: This is doing the same just with different marks... type data struct { testFlag int } b.Extensions = []string{"tables"} b.ExtensionsMask = []string{""} allExtensions := []data{ {mmark.EXTENSION_TABLES}, {mmark.EXTENSION_FENCED_CODE}, {mmark.EXTENSION_AUTOLINK}, {mmark.EXTENSION_SPACE_HEADERS}, {mmark.EXTENSION_CITATION}, {mmark.EXTENSION_TITLEBLOCK_TOML}, {mmark.EXTENSION_HEADER_IDS}, {mmark.EXTENSION_AUTO_HEADER_IDS}, {mmark.EXTENSION_UNIQUE_HEADER_IDS}, {mmark.EXTENSION_FOOTNOTES}, {mmark.EXTENSION_SHORT_REF}, {mmark.EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK}, {mmark.EXTENSION_INCLUDE}, } actualFlags := getMmarkExtensions(b) for _, e := range allExtensions { if actualFlags&e.testFlag != e.testFlag { t.Errorf("Flag %v was not found in the list of extensions.", e) } } } func TestConvert(t *testing.T) { c := qt.New(t) p, err := Provider.New(converter.ProviderConfig{Cfg: viper.New(), Logger: loggers.NewErrorLogger()}) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<p>testContent</p>\n") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./commands/commands.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "fmt" "os" "time" "github.com/gohugoio/hugo/hugolib/paths" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" "github.com/spf13/cobra" ) type commandsBuilder struct { hugoBuilderCommon commands []cmder } func newCommandsBuilder() *commandsBuilder { return &commandsBuilder{} } func (b *commandsBuilder) addCommands(commands ...cmder) *commandsBuilder { b.commands = append(b.commands, commands...) return b } func (b *commandsBuilder) addAll() *commandsBuilder { b.addCommands( b.newServerCmd(), newVersionCmd(), newEnvCmd(), b.newConfigCmd(), newCheckCmd(), b.newDeployCmd(), b.newConvertCmd(), b.newNewCmd(), b.newListCmd(), newImportCmd(), newGenCmd(), createReleaser(), b.newModCmd(), ) return b } func (b *commandsBuilder) build() *hugoCmd { h := b.newHugoCmd() addCommands(h.getCommand(), b.commands...) return h } func addCommands(root *cobra.Command, commands ...cmder) { for _, command := range commands { cmd := command.getCommand() if cmd == nil { continue } root.AddCommand(cmd) } } type baseCmd struct { cmd *cobra.Command } var _ commandsBuilderGetter = (*baseBuilderCmd)(nil) // Used in tests. type commandsBuilderGetter interface { getCommandsBuilder() *commandsBuilder } type baseBuilderCmd struct { *baseCmd *commandsBuilder } func (b *baseBuilderCmd) getCommandsBuilder() *commandsBuilder { return b.commandsBuilder } func (c *baseCmd) getCommand() *cobra.Command { return c.cmd } func newBaseCmd(cmd *cobra.Command) *baseCmd { return &baseCmd{cmd: cmd} } func (b *commandsBuilder) newBuilderCmd(cmd *cobra.Command) *baseBuilderCmd { bcmd := &baseBuilderCmd{commandsBuilder: b, baseCmd: &baseCmd{cmd: cmd}} bcmd.hugoBuilderCommon.handleFlags(cmd) return bcmd } func (b *commandsBuilder) newBuilderBasicCmd(cmd *cobra.Command) *baseBuilderCmd { bcmd := &baseBuilderCmd{commandsBuilder: b, baseCmd: &baseCmd{cmd: cmd}} bcmd.hugoBuilderCommon.handleCommonBuilderFlags(cmd) return bcmd } func (c *baseCmd) flagsToConfig(cfg config.Provider) { initializeFlags(c.cmd, cfg) } type hugoCmd struct { *baseBuilderCmd // Need to get the sites once built. c *commandeer } var _ cmder = (*nilCommand)(nil) type nilCommand struct { } func (c *nilCommand) getCommand() *cobra.Command { return nil } func (c *nilCommand) flagsToConfig(cfg config.Provider) { } func (b *commandsBuilder) newHugoCmd() *hugoCmd { cc := &hugoCmd{} cc.baseBuilderCmd = b.newBuilderCmd(&cobra.Command{ Use: "hugo", Short: "hugo builds your site", Long: `hugo is the main command, used to build your Hugo site. Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go. Complete documentation is available at http://gohugo.io/.`, RunE: func(cmd *cobra.Command, args []string) error { defer cc.timeTrack(time.Now(), "Total") cfgInit := func(c *commandeer) error { if cc.buildWatch { c.Set("disableLiveReload", true) } return nil } c, err := initializeConfig(true, cc.buildWatch, &cc.hugoBuilderCommon, cc, cfgInit) if err != nil { return err } cc.c = c return c.build() }, }) cc.cmd.PersistentFlags().StringVar(&cc.cfgFile, "config", "", "config file (default is path/config.yaml|json|toml)") cc.cmd.PersistentFlags().StringVar(&cc.cfgDir, "configDir", "config", "config dir") cc.cmd.PersistentFlags().BoolVar(&cc.quiet, "quiet", false, "build in quiet mode") // Set bash-completion _ = cc.cmd.PersistentFlags().SetAnnotation("config", cobra.BashCompFilenameExt, config.ValidConfigFileExtensions) cc.cmd.PersistentFlags().BoolVarP(&cc.verbose, "verbose", "v", false, "verbose output") cc.cmd.PersistentFlags().BoolVarP(&cc.debug, "debug", "", false, "debug output") cc.cmd.PersistentFlags().BoolVar(&cc.logging, "log", false, "enable Logging") cc.cmd.PersistentFlags().StringVar(&cc.logFile, "logFile", "", "log File path (if set, logging enabled automatically)") cc.cmd.PersistentFlags().BoolVar(&cc.verboseLog, "verboseLog", false, "verbose logging") cc.cmd.Flags().BoolVarP(&cc.buildWatch, "watch", "w", false, "watch filesystem for changes and recreate as needed") cc.cmd.Flags().Bool("renderToMemory", false, "render to memory (only useful for benchmark testing)") // Set bash-completion _ = cc.cmd.PersistentFlags().SetAnnotation("logFile", cobra.BashCompFilenameExt, []string{}) cc.cmd.SetGlobalNormalizationFunc(helpers.NormalizeHugoFlags) cc.cmd.SilenceUsage = true return cc } type hugoBuilderCommon struct { source string baseURL string environment string buildWatch bool gc bool // Profile flags (for debugging of performance problems) cpuprofile string memprofile string mutexprofile string traceprofile string printm bool // TODO(bep) var vs string logging bool verbose bool verboseLog bool debug bool quiet bool cfgFile string cfgDir string logFile string } func (cc *hugoBuilderCommon) timeTrack(start time.Time, name string) { if cc.quiet { return } elapsed := time.Since(start) fmt.Printf("%s in %v ms\n", name, int(1000*elapsed.Seconds())) } func (cc *hugoBuilderCommon) getConfigDir(baseDir string) string { if cc.cfgDir != "" { return paths.AbsPathify(baseDir, cc.cfgDir) } if v, found := os.LookupEnv("HUGO_CONFIGDIR"); found { return paths.AbsPathify(baseDir, v) } return paths.AbsPathify(baseDir, "config") } func (cc *hugoBuilderCommon) getEnvironment(isServer bool) string { if cc.environment != "" { return cc.environment } if v, found := os.LookupEnv("HUGO_ENVIRONMENT"); found { return v } // Used by Netlify and Forestry if v, found := os.LookupEnv("HUGO_ENV"); found { return v } if isServer { return hugo.EnvironmentDevelopment } return hugo.EnvironmentProduction } func (cc *hugoBuilderCommon) handleCommonBuilderFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVarP(&cc.source, "source", "s", "", "filesystem path to read files relative from") cmd.PersistentFlags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) cmd.PersistentFlags().StringVarP(&cc.environment, "environment", "e", "", "build environment") cmd.PersistentFlags().StringP("themesDir", "", "", "filesystem path to themes directory") cmd.PersistentFlags().BoolP("ignoreVendor", "", false, "ignores any _vendor directory") cmd.PersistentFlags().StringP("ignoreVendorPaths", "", "", "ignores any _vendor for module paths matching the given Glob pattern") } func (cc *hugoBuilderCommon) handleFlags(cmd *cobra.Command) { cc.handleCommonBuilderFlags(cmd) cmd.Flags().Bool("cleanDestinationDir", false, "remove files from destination not found in static directories") cmd.Flags().BoolP("buildDrafts", "D", false, "include content marked as draft") cmd.Flags().BoolP("buildFuture", "F", false, "include content with publishdate in the future") cmd.Flags().BoolP("buildExpired", "E", false, "include expired content") cmd.Flags().StringP("contentDir", "c", "", "filesystem path to content directory") cmd.Flags().StringP("layoutDir", "l", "", "filesystem path to layout directory") cmd.Flags().StringP("cacheDir", "", "", "filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/") cmd.Flags().BoolP("ignoreCache", "", false, "ignores the cache directory") cmd.Flags().StringP("destination", "d", "", "filesystem path to write files to") cmd.Flags().StringSliceP("theme", "t", []string{}, "themes to use (located in /themes/THEMENAME/)") cmd.Flags().StringVarP(&cc.baseURL, "baseURL", "b", "", "hostname (and path) to the root, e.g. http://spf13.com/") cmd.Flags().Bool("enableGitInfo", false, "add Git revision, date and author info to the pages") cmd.Flags().BoolVar(&cc.gc, "gc", false, "enable to run some cleanup tasks (remove unused cache files) after the build") cmd.Flags().Bool("templateMetrics", false, "display metrics about template executions") cmd.Flags().Bool("templateMetricsHints", false, "calculate some improvement hints when combined with --templateMetrics") cmd.Flags().BoolP("forceSyncStatic", "", false, "copy all files when static is changed.") cmd.Flags().BoolP("noTimes", "", false, "don't sync modification time of files") cmd.Flags().BoolP("noChmod", "", false, "don't sync permission mode of files") cmd.Flags().BoolP("i18n-warnings", "", false, "print missing translations") cmd.Flags().BoolP("path-warnings", "", false, "print warnings on duplicate target paths etc.") cmd.Flags().StringVarP(&cc.cpuprofile, "profile-cpu", "", "", "write cpu profile to `file`") cmd.Flags().StringVarP(&cc.memprofile, "profile-mem", "", "", "write memory profile to `file`") cmd.Flags().BoolVarP(&cc.printm, "print-mem", "", false, "print memory usage to screen at intervals") cmd.Flags().StringVarP(&cc.mutexprofile, "profile-mutex", "", "", "write Mutex profile to `file`") cmd.Flags().StringVarP(&cc.traceprofile, "trace", "", "", "write trace to `file` (not useful in general)") // Hide these for now. cmd.Flags().MarkHidden("profile-cpu") cmd.Flags().MarkHidden("profile-mem") cmd.Flags().MarkHidden("profile-mutex") cmd.Flags().StringSlice("disableKinds", []string{}, "disable different kind of pages (home, RSS etc.)") cmd.Flags().Bool("minify", false, "minify any supported output format (HTML, XML etc.)") // Set bash-completion. // Each flag must first be defined before using the SetAnnotation() call. _ = cmd.Flags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("cacheDir", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("destination", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("theme", cobra.BashCompSubdirsInDir, []string{"themes"}) } func checkErr(logger loggers.Logger, err error, s ...string) { if err == nil { return } for _, message := range s { logger.Errorln(message) } logger.Errorln(err) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "fmt" "os" "time" "github.com/gohugoio/hugo/hugolib/paths" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/helpers" "github.com/spf13/cobra" ) type commandsBuilder struct { hugoBuilderCommon commands []cmder } func newCommandsBuilder() *commandsBuilder { return &commandsBuilder{} } func (b *commandsBuilder) addCommands(commands ...cmder) *commandsBuilder { b.commands = append(b.commands, commands...) return b } func (b *commandsBuilder) addAll() *commandsBuilder { b.addCommands( b.newServerCmd(), newVersionCmd(), newEnvCmd(), b.newConfigCmd(), newCheckCmd(), b.newDeployCmd(), b.newConvertCmd(), b.newNewCmd(), b.newListCmd(), newImportCmd(), newGenCmd(), createReleaser(), b.newModCmd(), ) return b } func (b *commandsBuilder) build() *hugoCmd { h := b.newHugoCmd() addCommands(h.getCommand(), b.commands...) return h } func addCommands(root *cobra.Command, commands ...cmder) { for _, command := range commands { cmd := command.getCommand() if cmd == nil { continue } root.AddCommand(cmd) } } type baseCmd struct { cmd *cobra.Command } var _ commandsBuilderGetter = (*baseBuilderCmd)(nil) // Used in tests. type commandsBuilderGetter interface { getCommandsBuilder() *commandsBuilder } type baseBuilderCmd struct { *baseCmd *commandsBuilder } func (b *baseBuilderCmd) getCommandsBuilder() *commandsBuilder { return b.commandsBuilder } func (c *baseCmd) getCommand() *cobra.Command { return c.cmd } func newBaseCmd(cmd *cobra.Command) *baseCmd { return &baseCmd{cmd: cmd} } func (b *commandsBuilder) newBuilderCmd(cmd *cobra.Command) *baseBuilderCmd { bcmd := &baseBuilderCmd{commandsBuilder: b, baseCmd: &baseCmd{cmd: cmd}} bcmd.hugoBuilderCommon.handleFlags(cmd) return bcmd } func (b *commandsBuilder) newBuilderBasicCmd(cmd *cobra.Command) *baseBuilderCmd { bcmd := &baseBuilderCmd{commandsBuilder: b, baseCmd: &baseCmd{cmd: cmd}} bcmd.hugoBuilderCommon.handleCommonBuilderFlags(cmd) return bcmd } func (c *baseCmd) flagsToConfig(cfg config.Provider) { initializeFlags(c.cmd, cfg) } type hugoCmd struct { *baseBuilderCmd // Need to get the sites once built. c *commandeer } var _ cmder = (*nilCommand)(nil) type nilCommand struct { } func (c *nilCommand) getCommand() *cobra.Command { return nil } func (c *nilCommand) flagsToConfig(cfg config.Provider) { } func (b *commandsBuilder) newHugoCmd() *hugoCmd { cc := &hugoCmd{} cc.baseBuilderCmd = b.newBuilderCmd(&cobra.Command{ Use: "hugo", Short: "hugo builds your site", Long: `hugo is the main command, used to build your Hugo site. Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go. Complete documentation is available at http://gohugo.io/.`, RunE: func(cmd *cobra.Command, args []string) error { defer cc.timeTrack(time.Now(), "Total") cfgInit := func(c *commandeer) error { if cc.buildWatch { c.Set("disableLiveReload", true) } return nil } c, err := initializeConfig(true, cc.buildWatch, &cc.hugoBuilderCommon, cc, cfgInit) if err != nil { return err } cc.c = c return c.build() }, }) cc.cmd.PersistentFlags().StringVar(&cc.cfgFile, "config", "", "config file (default is path/config.yaml|json|toml)") cc.cmd.PersistentFlags().StringVar(&cc.cfgDir, "configDir", "config", "config dir") cc.cmd.PersistentFlags().BoolVar(&cc.quiet, "quiet", false, "build in quiet mode") // Set bash-completion _ = cc.cmd.PersistentFlags().SetAnnotation("config", cobra.BashCompFilenameExt, config.ValidConfigFileExtensions) cc.cmd.PersistentFlags().BoolVarP(&cc.verbose, "verbose", "v", false, "verbose output") cc.cmd.PersistentFlags().BoolVarP(&cc.debug, "debug", "", false, "debug output") cc.cmd.PersistentFlags().BoolVar(&cc.logging, "log", false, "enable Logging") cc.cmd.PersistentFlags().StringVar(&cc.logFile, "logFile", "", "log File path (if set, logging enabled automatically)") cc.cmd.PersistentFlags().BoolVar(&cc.verboseLog, "verboseLog", false, "verbose logging") cc.cmd.Flags().BoolVarP(&cc.buildWatch, "watch", "w", false, "watch filesystem for changes and recreate as needed") cc.cmd.Flags().Bool("renderToMemory", false, "render to memory (only useful for benchmark testing)") // Set bash-completion _ = cc.cmd.PersistentFlags().SetAnnotation("logFile", cobra.BashCompFilenameExt, []string{}) cc.cmd.SetGlobalNormalizationFunc(helpers.NormalizeHugoFlags) cc.cmd.SilenceUsage = true return cc } type hugoBuilderCommon struct { source string baseURL string environment string buildWatch bool gc bool // Profile flags (for debugging of performance problems) cpuprofile string memprofile string mutexprofile string traceprofile string printm bool // TODO(bep) var vs string logging bool verbose bool verboseLog bool debug bool quiet bool cfgFile string cfgDir string logFile string } func (cc *hugoBuilderCommon) timeTrack(start time.Time, name string) { if cc.quiet { return } elapsed := time.Since(start) fmt.Printf("%s in %v ms\n", name, int(1000*elapsed.Seconds())) } func (cc *hugoBuilderCommon) getConfigDir(baseDir string) string { if cc.cfgDir != "" { return paths.AbsPathify(baseDir, cc.cfgDir) } if v, found := os.LookupEnv("HUGO_CONFIGDIR"); found { return paths.AbsPathify(baseDir, v) } return paths.AbsPathify(baseDir, "config") } func (cc *hugoBuilderCommon) getEnvironment(isServer bool) string { if cc.environment != "" { return cc.environment } if v, found := os.LookupEnv("HUGO_ENVIRONMENT"); found { return v } // Used by Netlify and Forestry if v, found := os.LookupEnv("HUGO_ENV"); found { return v } if isServer { return hugo.EnvironmentDevelopment } return hugo.EnvironmentProduction } func (cc *hugoBuilderCommon) handleCommonBuilderFlags(cmd *cobra.Command) { cmd.PersistentFlags().StringVarP(&cc.source, "source", "s", "", "filesystem path to read files relative from") cmd.PersistentFlags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) cmd.PersistentFlags().StringVarP(&cc.environment, "environment", "e", "", "build environment") cmd.PersistentFlags().StringP("themesDir", "", "", "filesystem path to themes directory") cmd.PersistentFlags().BoolP("ignoreVendor", "", false, "ignores any _vendor directory") cmd.PersistentFlags().StringP("ignoreVendorPaths", "", "", "ignores any _vendor for module paths matching the given Glob pattern") } func (cc *hugoBuilderCommon) handleFlags(cmd *cobra.Command) { cc.handleCommonBuilderFlags(cmd) cmd.Flags().Bool("cleanDestinationDir", false, "remove files from destination not found in static directories") cmd.Flags().BoolP("buildDrafts", "D", false, "include content marked as draft") cmd.Flags().BoolP("buildFuture", "F", false, "include content with publishdate in the future") cmd.Flags().BoolP("buildExpired", "E", false, "include expired content") cmd.Flags().StringP("contentDir", "c", "", "filesystem path to content directory") cmd.Flags().StringP("layoutDir", "l", "", "filesystem path to layout directory") cmd.Flags().StringP("cacheDir", "", "", "filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/") cmd.Flags().BoolP("ignoreCache", "", false, "ignores the cache directory") cmd.Flags().StringP("destination", "d", "", "filesystem path to write files to") cmd.Flags().StringSliceP("theme", "t", []string{}, "themes to use (located in /themes/THEMENAME/)") cmd.Flags().StringVarP(&cc.baseURL, "baseURL", "b", "", "hostname (and path) to the root, e.g. http://spf13.com/") cmd.Flags().Bool("enableGitInfo", false, "add Git revision, date and author info to the pages") cmd.Flags().BoolVar(&cc.gc, "gc", false, "enable to run some cleanup tasks (remove unused cache files) after the build") cmd.Flags().Bool("templateMetrics", false, "display metrics about template executions") cmd.Flags().Bool("templateMetricsHints", false, "calculate some improvement hints when combined with --templateMetrics") cmd.Flags().BoolP("forceSyncStatic", "", false, "copy all files when static is changed.") cmd.Flags().BoolP("noTimes", "", false, "don't sync modification time of files") cmd.Flags().BoolP("noChmod", "", false, "don't sync permission mode of files") cmd.Flags().BoolP("i18n-warnings", "", false, "print missing translations") cmd.Flags().BoolP("path-warnings", "", false, "print warnings on duplicate target paths etc.") cmd.Flags().StringVarP(&cc.cpuprofile, "profile-cpu", "", "", "write cpu profile to `file`") cmd.Flags().StringVarP(&cc.memprofile, "profile-mem", "", "", "write memory profile to `file`") cmd.Flags().BoolVarP(&cc.printm, "print-mem", "", false, "print memory usage to screen at intervals") cmd.Flags().StringVarP(&cc.mutexprofile, "profile-mutex", "", "", "write Mutex profile to `file`") cmd.Flags().StringVarP(&cc.traceprofile, "trace", "", "", "write trace to `file` (not useful in general)") // Hide these for now. cmd.Flags().MarkHidden("profile-cpu") cmd.Flags().MarkHidden("profile-mem") cmd.Flags().MarkHidden("profile-mutex") cmd.Flags().StringSlice("disableKinds", []string{}, "disable different kind of pages (home, RSS etc.)") cmd.Flags().Bool("minify", false, "minify any supported output format (HTML, XML etc.)") // Set bash-completion. // Each flag must first be defined before using the SetAnnotation() call. _ = cmd.Flags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("cacheDir", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("destination", cobra.BashCompSubdirsInDir, []string{}) _ = cmd.Flags().SetAnnotation("theme", cobra.BashCompSubdirsInDir, []string{"themes"}) } func checkErr(logger loggers.Logger, err error, s ...string) { if err == nil { return } for _, message := range s { logger.Errorln(message) } logger.Errorln(err) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/disableKinds_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/resources/page" ) func TestDisable(t *testing.T) { c := qt.New(t) newSitesBuilder := func(c *qt.C, disableKind string) *sitesBuilder { config := fmt.Sprintf(` baseURL = "http://example.com/blog" enableRobotsTXT = true ignoreErrors = ["error-disable-taxonomy"] disableKinds = [%q] `, disableKind) b := newTestSitesBuilder(c) b.WithTemplatesAdded("_default/single.html", `single`) b.WithConfigFile("toml", config).WithContent("sect/page.md", ` --- title: Page categories: ["mycat"] tags: ["mytag"] --- `, "sect/no-list.md", ` --- title: No List _build: list: false --- `, "sect/no-render.md", ` --- title: No List _build: render: false --- `, "sect/no-render-link.md", ` --- title: No Render Link aliases: ["/link-alias"] _build: render: link --- `, "sect/no-publishresources/index.md", ` --- title: No Publish Resources _build: publishResources: false --- `, "sect/headlessbundle/index.md", ` --- title: Headless headless: true --- `, "headless-local/_index.md", ` --- title: Headless Local Lists cascade: _build: render: false list: local publishResources: false --- `, "headless-local/headless-local-page.md", "---\ntitle: Headless Local Page\n---", "headless-local/sub/_index.md", ` --- title: Headless Local Lists Sub --- `, "headless-local/sub/headless-local-sub-page.md", "---\ntitle: Headless Local Sub Page\n---", ) b.WithSourceFile("content/sect/headlessbundle/data.json", "DATA") b.WithSourceFile("content/sect/no-publishresources/data.json", "DATA") return b } getPage := func(b *sitesBuilder, ref string) page.Page { b.Helper() p, err := b.H.Sites[0].getPageNew(nil, ref) b.Assert(err, qt.IsNil) return p } getPageInSitePages := func(b *sitesBuilder, ref string) page.Page { b.Helper() for _, pages := range []page.Pages{b.H.Sites[0].Pages(), b.H.Sites[0].RegularPages()} { for _, p := range pages { if ref == p.(*pageState).sourceRef() { return p } } } return nil } getPageInPagePages := func(p page.Page, ref string, pageCollections ...page.Pages) page.Page { if len(pageCollections) == 0 { pageCollections = []page.Pages{p.Pages(), p.RegularPages(), p.RegularPagesRecursive(), p.Sections()} } for _, pages := range pageCollections { for _, p := range pages { if ref == p.(*pageState).sourceRef() { return p } } } return nil } disableKind := page.KindPage c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(getPage(b, "/sect/page.md"), qt.IsNil) b.Assert(b.CheckExists("public/sect/page/index.html"), qt.Equals, false) b.Assert(getPageInSitePages(b, "/sect/page.md"), qt.IsNil) b.Assert(getPageInPagePages(getPage(b, "/"), "/sect/page.md"), qt.IsNil) // Also check the side effects b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 0) }) disableKind = page.KindTerm c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(b.CheckExists("public/categories/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 0) b.Assert(getPage(b, "/categories"), qt.Not(qt.IsNil)) b.Assert(getPage(b, "/categories/mycat"), qt.IsNil) }) disableKind = page.KindTaxonomy c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/categories/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 1) b.Assert(getPage(b, "/categories/mycat"), qt.Not(qt.IsNil)) categories := getPage(b, "/categories") b.Assert(categories, qt.Not(qt.IsNil)) b.Assert(categories.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/categories"), qt.IsNil) b.Assert(getPageInPagePages(getPage(b, "/"), "/categories"), qt.IsNil) }) disableKind = page.KindHome c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/index.html"), qt.Equals, false) home := getPage(b, "/") b.Assert(home, qt.Not(qt.IsNil)) b.Assert(home.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/"), qt.IsNil) b.Assert(getPageInPagePages(home, "/"), qt.IsNil) b.Assert(getPage(b, "/sect/page.md"), qt.Not(qt.IsNil)) }) disableKind = page.KindSection c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/index.html"), qt.Equals, false) sect := getPage(b, "/sect") b.Assert(sect, qt.Not(qt.IsNil)) b.Assert(sect.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/sect"), qt.IsNil) home := getPage(b, "/") b.Assert(getPageInPagePages(home, "/sect"), qt.IsNil) b.Assert(home.OutputFormats(), qt.HasLen, 2) page := getPage(b, "/sect/page.md") b.Assert(page, qt.Not(qt.IsNil)) b.Assert(page.CurrentSection(), qt.Equals, sect) b.Assert(getPageInPagePages(sect, "/sect/page.md"), qt.Not(qt.IsNil)) b.AssertFileContent("public/sitemap.xml", "sitemap") b.AssertFileContent("public/index.xml", "rss") }) disableKind = kindRSS c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/index.xml"), qt.Equals, false) home := getPage(b, "/") b.Assert(home.OutputFormats(), qt.HasLen, 1) }) disableKind = kindSitemap c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sitemap.xml"), qt.Equals, false) }) disableKind = kind404 c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/404.html"), qt.Equals, false) }) disableKind = kindRobotsTXT c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.WithTemplatesAdded("robots.txt", "myrobots") b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/robots.txt"), qt.Equals, false) }) c.Run("Headless bundle", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/headlessbundle/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/sect/headlessbundle/data.json"), qt.Equals, true) bundle := getPage(b, "/sect/headlessbundle/index.md") b.Assert(bundle, qt.Not(qt.IsNil)) b.Assert(bundle.RelPermalink(), qt.Equals, "") resource := bundle.Resources()[0] b.Assert(resource.RelPermalink(), qt.Equals, "/blog/sect/headlessbundle/data.json") b.Assert(bundle.OutputFormats(), qt.HasLen, 0) b.Assert(bundle.AlternativeOutputFormats(), qt.HasLen, 0) }) c.Run("Build config, no list", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-list.md" b.Assert(b.CheckExists("public/sect/no-list/index.html"), qt.Equals, true) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "/blog/sect/no-list/") b.Assert(getPageInSitePages(b, ref), qt.IsNil) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.IsNil) }) c.Run("Build config, local list", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/headless-local" sect := getPage(b, ref) b.Assert(sect, qt.Not(qt.IsNil)) b.Assert(getPageInSitePages(b, ref), qt.IsNil) b.Assert(getPageInSitePages(b, "/headless-local/_index.md"), qt.IsNil) b.Assert(getPageInSitePages(b, "/headless-local/headless-local-page.md"), qt.IsNil) localPageRef := ref + "/headless-local-page.md" b.Assert(getPageInPagePages(sect, localPageRef, sect.RegularPages()), qt.Not(qt.IsNil)) b.Assert(getPageInPagePages(sect, localPageRef, sect.RegularPagesRecursive()), qt.Not(qt.IsNil)) b.Assert(getPageInPagePages(sect, localPageRef, sect.Pages()), qt.Not(qt.IsNil)) ref = "/headless-local/sub" sect = getPage(b, ref) b.Assert(sect, qt.Not(qt.IsNil)) localPageRef = ref + "/headless-local-sub-page.md" b.Assert(getPageInPagePages(sect, localPageRef), qt.Not(qt.IsNil)) }) c.Run("Build config, no render", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-render.md" b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "") b.Assert(p.OutputFormats(), qt.HasLen, 0) b.Assert(getPageInSitePages(b, ref), qt.Not(qt.IsNil)) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.Not(qt.IsNil)) }) c.Run("Build config, no render link", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-render-link.md" b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "/blog/sect/no-render-link/") b.Assert(p.OutputFormats(), qt.HasLen, 1) b.Assert(getPageInSitePages(b, ref), qt.Not(qt.IsNil)) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.Not(qt.IsNil)) // https://github.com/gohugoio/hugo/issues/7832 // It should still render any aliases. b.AssertFileContent("public/link-alias/index.html", "refresh") }) c.Run("Build config, no publish resources", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/no-publishresources/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/sect/no-publishresources/data.json"), qt.Equals, false) bundle := getPage(b, "/sect/no-publishresources/index.md") b.Assert(bundle, qt.Not(qt.IsNil)) b.Assert(bundle.RelPermalink(), qt.Equals, "/blog/sect/no-publishresources/") b.Assert(bundle.Resources(), qt.HasLen, 1) resource := bundle.Resources()[0] b.Assert(resource.RelPermalink(), qt.Equals, "/blog/sect/no-publishresources/data.json") }) } // https://github.com/gohugoio/hugo/issues/6897#issuecomment-587947078 func TestDisableRSSWithRSSInCustomOutputs(t *testing.T) { b := newTestSitesBuilder(t).WithConfigFile("toml", ` disableKinds = ["term", "taxonomy", "RSS"] [outputs] home = [ "HTML", "RSS" ] `).Build(BuildCfg{}) // The config above is a little conflicting, but it exists in the real world. // In Hugo 0.65 we consolidated the code paths and made RSS a pure output format, // but we should make sure to not break existing sites. b.Assert(b.CheckExists("public/index.xml"), qt.Equals, false) } func TestBundleNoPublishResources(t *testing.T) { b := newTestSitesBuilder(t) b.WithTemplates("index.html", ` {{ $bundle := site.GetPage "section/bundle-false" }} {{ $data1 := $bundle.Resources.GetMatch "data1*" }} Data1: {{ $data1.RelPermalink }} `) b.WithContent("section/bundle-false/index.md", `---\ntitle: BundleFalse _build: publishResources: false ---`, "section/bundle-false/data1.json", "Some data1", "section/bundle-false/data2.json", "Some data2", ) b.WithContent("section/bundle-true/index.md", `---\ntitle: BundleTrue ---`, "section/bundle-true/data3.json", "Some data 3", ) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `Data1: /section/bundle-false/data1.json`) b.AssertFileContent("public/section/bundle-false/data1.json", `Some data1`) b.Assert(b.CheckExists("public/section/bundle-false/data2.json"), qt.Equals, false) b.AssertFileContent("public/section/bundle-true/data3.json", `Some data 3`) } func TestNoRenderAndNoPublishResources(t *testing.T) { noRenderPage := ` --- title: %s _build: render: false publishResources: false --- ` b := newTestSitesBuilder(t) b.WithTemplatesAdded("index.html", ` {{ $page := site.GetPage "sect/no-render" }} {{ $sect := site.GetPage "sect-no-render" }} Page: {{ $page.Title }}|RelPermalink: {{ $page.RelPermalink }}|Outputs: {{ len $page.OutputFormats }} Section: {{ $sect.Title }}|RelPermalink: {{ $sect.RelPermalink }}|Outputs: {{ len $sect.OutputFormats }} `) b.WithContent("sect-no-render/_index.md", fmt.Sprintf(noRenderPage, "MySection")) b.WithContent("sect/no-render.md", fmt.Sprintf(noRenderPage, "MyPage")) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", ` Page: MyPage|RelPermalink: |Outputs: 0 Section: MySection|RelPermalink: |Outputs: 0 `) b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/sect-no-render/index.html"), qt.Equals, false) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/resources/page" ) func TestDisable(t *testing.T) { c := qt.New(t) newSitesBuilder := func(c *qt.C, disableKind string) *sitesBuilder { config := fmt.Sprintf(` baseURL = "http://example.com/blog" enableRobotsTXT = true ignoreErrors = ["error-disable-taxonomy"] disableKinds = [%q] `, disableKind) b := newTestSitesBuilder(c) b.WithTemplatesAdded("_default/single.html", `single`) b.WithConfigFile("toml", config).WithContent("sect/page.md", ` --- title: Page categories: ["mycat"] tags: ["mytag"] --- `, "sect/no-list.md", ` --- title: No List _build: list: false --- `, "sect/no-render.md", ` --- title: No List _build: render: false --- `, "sect/no-render-link.md", ` --- title: No Render Link aliases: ["/link-alias"] _build: render: link --- `, "sect/no-publishresources/index.md", ` --- title: No Publish Resources _build: publishResources: false --- `, "sect/headlessbundle/index.md", ` --- title: Headless headless: true --- `, "headless-local/_index.md", ` --- title: Headless Local Lists cascade: _build: render: false list: local publishResources: false --- `, "headless-local/headless-local-page.md", "---\ntitle: Headless Local Page\n---", "headless-local/sub/_index.md", ` --- title: Headless Local Lists Sub --- `, "headless-local/sub/headless-local-sub-page.md", "---\ntitle: Headless Local Sub Page\n---", ) b.WithSourceFile("content/sect/headlessbundle/data.json", "DATA") b.WithSourceFile("content/sect/no-publishresources/data.json", "DATA") return b } getPage := func(b *sitesBuilder, ref string) page.Page { b.Helper() p, err := b.H.Sites[0].getPageNew(nil, ref) b.Assert(err, qt.IsNil) return p } getPageInSitePages := func(b *sitesBuilder, ref string) page.Page { b.Helper() for _, pages := range []page.Pages{b.H.Sites[0].Pages(), b.H.Sites[0].RegularPages()} { for _, p := range pages { if ref == p.(*pageState).sourceRef() { return p } } } return nil } getPageInPagePages := func(p page.Page, ref string, pageCollections ...page.Pages) page.Page { if len(pageCollections) == 0 { pageCollections = []page.Pages{p.Pages(), p.RegularPages(), p.RegularPagesRecursive(), p.Sections()} } for _, pages := range pageCollections { for _, p := range pages { if ref == p.(*pageState).sourceRef() { return p } } } return nil } disableKind := page.KindPage c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(getPage(b, "/sect/page.md"), qt.IsNil) b.Assert(b.CheckExists("public/sect/page/index.html"), qt.Equals, false) b.Assert(getPageInSitePages(b, "/sect/page.md"), qt.IsNil) b.Assert(getPageInPagePages(getPage(b, "/"), "/sect/page.md"), qt.IsNil) // Also check the side effects b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 0) }) disableKind = page.KindTerm c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(b.CheckExists("public/categories/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 0) b.Assert(getPage(b, "/categories"), qt.Not(qt.IsNil)) b.Assert(getPage(b, "/categories/mycat"), qt.IsNil) }) disableKind = page.KindTaxonomy c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) s := b.H.Sites[0] b.Assert(b.CheckExists("public/categories/mycat/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/categories/index.html"), qt.Equals, false) b.Assert(len(s.Taxonomies()["categories"]), qt.Equals, 1) b.Assert(getPage(b, "/categories/mycat"), qt.Not(qt.IsNil)) categories := getPage(b, "/categories") b.Assert(categories, qt.Not(qt.IsNil)) b.Assert(categories.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/categories"), qt.IsNil) b.Assert(getPageInPagePages(getPage(b, "/"), "/categories"), qt.IsNil) }) disableKind = page.KindHome c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/index.html"), qt.Equals, false) home := getPage(b, "/") b.Assert(home, qt.Not(qt.IsNil)) b.Assert(home.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/"), qt.IsNil) b.Assert(getPageInPagePages(home, "/"), qt.IsNil) b.Assert(getPage(b, "/sect/page.md"), qt.Not(qt.IsNil)) }) disableKind = page.KindSection c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/index.html"), qt.Equals, false) sect := getPage(b, "/sect") b.Assert(sect, qt.Not(qt.IsNil)) b.Assert(sect.RelPermalink(), qt.Equals, "") b.Assert(getPageInSitePages(b, "/sect"), qt.IsNil) home := getPage(b, "/") b.Assert(getPageInPagePages(home, "/sect"), qt.IsNil) b.Assert(home.OutputFormats(), qt.HasLen, 2) page := getPage(b, "/sect/page.md") b.Assert(page, qt.Not(qt.IsNil)) b.Assert(page.CurrentSection(), qt.Equals, sect) b.Assert(getPageInPagePages(sect, "/sect/page.md"), qt.Not(qt.IsNil)) b.AssertFileContent("public/sitemap.xml", "sitemap") b.AssertFileContent("public/index.xml", "rss") }) disableKind = kindRSS c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/index.xml"), qt.Equals, false) home := getPage(b, "/") b.Assert(home.OutputFormats(), qt.HasLen, 1) }) disableKind = kindSitemap c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sitemap.xml"), qt.Equals, false) }) disableKind = kind404 c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/404.html"), qt.Equals, false) }) disableKind = kindRobotsTXT c.Run("Disable "+disableKind, func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.WithTemplatesAdded("robots.txt", "myrobots") b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/robots.txt"), qt.Equals, false) }) c.Run("Headless bundle", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/headlessbundle/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/sect/headlessbundle/data.json"), qt.Equals, true) bundle := getPage(b, "/sect/headlessbundle/index.md") b.Assert(bundle, qt.Not(qt.IsNil)) b.Assert(bundle.RelPermalink(), qt.Equals, "") resource := bundle.Resources()[0] b.Assert(resource.RelPermalink(), qt.Equals, "/blog/sect/headlessbundle/data.json") b.Assert(bundle.OutputFormats(), qt.HasLen, 0) b.Assert(bundle.AlternativeOutputFormats(), qt.HasLen, 0) }) c.Run("Build config, no list", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-list.md" b.Assert(b.CheckExists("public/sect/no-list/index.html"), qt.Equals, true) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "/blog/sect/no-list/") b.Assert(getPageInSitePages(b, ref), qt.IsNil) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.IsNil) }) c.Run("Build config, local list", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/headless-local" sect := getPage(b, ref) b.Assert(sect, qt.Not(qt.IsNil)) b.Assert(getPageInSitePages(b, ref), qt.IsNil) b.Assert(getPageInSitePages(b, "/headless-local/_index.md"), qt.IsNil) b.Assert(getPageInSitePages(b, "/headless-local/headless-local-page.md"), qt.IsNil) localPageRef := ref + "/headless-local-page.md" b.Assert(getPageInPagePages(sect, localPageRef, sect.RegularPages()), qt.Not(qt.IsNil)) b.Assert(getPageInPagePages(sect, localPageRef, sect.RegularPagesRecursive()), qt.Not(qt.IsNil)) b.Assert(getPageInPagePages(sect, localPageRef, sect.Pages()), qt.Not(qt.IsNil)) ref = "/headless-local/sub" sect = getPage(b, ref) b.Assert(sect, qt.Not(qt.IsNil)) localPageRef = ref + "/headless-local-sub-page.md" b.Assert(getPageInPagePages(sect, localPageRef), qt.Not(qt.IsNil)) }) c.Run("Build config, no render", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-render.md" b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "") b.Assert(p.OutputFormats(), qt.HasLen, 0) b.Assert(getPageInSitePages(b, ref), qt.Not(qt.IsNil)) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.Not(qt.IsNil)) }) c.Run("Build config, no render link", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) ref := "/sect/no-render-link.md" b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) p := getPage(b, ref) b.Assert(p, qt.Not(qt.IsNil)) b.Assert(p.RelPermalink(), qt.Equals, "/blog/sect/no-render-link/") b.Assert(p.OutputFormats(), qt.HasLen, 1) b.Assert(getPageInSitePages(b, ref), qt.Not(qt.IsNil)) sect := getPage(b, "/sect") b.Assert(getPageInPagePages(sect, ref), qt.Not(qt.IsNil)) // https://github.com/gohugoio/hugo/issues/7832 // It should still render any aliases. b.AssertFileContent("public/link-alias/index.html", "refresh") }) c.Run("Build config, no publish resources", func(c *qt.C) { b := newSitesBuilder(c, disableKind) b.Build(BuildCfg{}) b.Assert(b.CheckExists("public/sect/no-publishresources/index.html"), qt.Equals, true) b.Assert(b.CheckExists("public/sect/no-publishresources/data.json"), qt.Equals, false) bundle := getPage(b, "/sect/no-publishresources/index.md") b.Assert(bundle, qt.Not(qt.IsNil)) b.Assert(bundle.RelPermalink(), qt.Equals, "/blog/sect/no-publishresources/") b.Assert(bundle.Resources(), qt.HasLen, 1) resource := bundle.Resources()[0] b.Assert(resource.RelPermalink(), qt.Equals, "/blog/sect/no-publishresources/data.json") }) } // https://github.com/gohugoio/hugo/issues/6897#issuecomment-587947078 func TestDisableRSSWithRSSInCustomOutputs(t *testing.T) { b := newTestSitesBuilder(t).WithConfigFile("toml", ` disableKinds = ["term", "taxonomy", "RSS"] [outputs] home = [ "HTML", "RSS" ] `).Build(BuildCfg{}) // The config above is a little conflicting, but it exists in the real world. // In Hugo 0.65 we consolidated the code paths and made RSS a pure output format, // but we should make sure to not break existing sites. b.Assert(b.CheckExists("public/index.xml"), qt.Equals, false) } func TestBundleNoPublishResources(t *testing.T) { b := newTestSitesBuilder(t) b.WithTemplates("index.html", ` {{ $bundle := site.GetPage "section/bundle-false" }} {{ $data1 := $bundle.Resources.GetMatch "data1*" }} Data1: {{ $data1.RelPermalink }} `) b.WithContent("section/bundle-false/index.md", `---\ntitle: BundleFalse _build: publishResources: false ---`, "section/bundle-false/data1.json", "Some data1", "section/bundle-false/data2.json", "Some data2", ) b.WithContent("section/bundle-true/index.md", `---\ntitle: BundleTrue ---`, "section/bundle-true/data3.json", "Some data 3", ) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", `Data1: /section/bundle-false/data1.json`) b.AssertFileContent("public/section/bundle-false/data1.json", `Some data1`) b.Assert(b.CheckExists("public/section/bundle-false/data2.json"), qt.Equals, false) b.AssertFileContent("public/section/bundle-true/data3.json", `Some data 3`) } func TestNoRenderAndNoPublishResources(t *testing.T) { noRenderPage := ` --- title: %s _build: render: false publishResources: false --- ` b := newTestSitesBuilder(t) b.WithTemplatesAdded("index.html", ` {{ $page := site.GetPage "sect/no-render" }} {{ $sect := site.GetPage "sect-no-render" }} Page: {{ $page.Title }}|RelPermalink: {{ $page.RelPermalink }}|Outputs: {{ len $page.OutputFormats }} Section: {{ $sect.Title }}|RelPermalink: {{ $sect.RelPermalink }}|Outputs: {{ len $sect.OutputFormats }} `) b.WithContent("sect-no-render/_index.md", fmt.Sprintf(noRenderPage, "MySection")) b.WithContent("sect/no-render.md", fmt.Sprintf(noRenderPage, "MyPage")) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", ` Page: MyPage|RelPermalink: |Outputs: 0 Section: MySection|RelPermalink: |Outputs: 0 `) b.Assert(b.CheckExists("public/sect/no-render/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/sect-no-render/index.html"), qt.Equals, false) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/filesystems/basefs.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package filesystems provides the fine grained file systems used by Hugo. These // are typically virtual filesystems that are composites of project and theme content. package filesystems import ( "fmt" "io" "os" "path" "path/filepath" "strings" "sync" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/hugofs/files" "github.com/pkg/errors" "github.com/gohugoio/hugo/modules" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/hugolib/paths" "github.com/spf13/afero" ) var filePathSeparator = string(filepath.Separator) // BaseFs contains the core base filesystems used by Hugo. The name "base" is used // to underline that even if they can be composites, they all have a base path set to a specific // resource folder, e.g "/my-project/content". So, no absolute filenames needed. type BaseFs struct { // SourceFilesystems contains the different source file systems. *SourceFilesystems // The project source. SourceFs afero.Fs // The filesystem used to publish the rendered site. // This usually maps to /my-project/public. PublishFs afero.Fs theBigFs *filesystemsCollector } // TODO(bep) we can get regular files in here and that is fine, but // we need to clean up the naming. func (fs *BaseFs) WatchDirs() []hugofs.FileMetaInfo { var dirs []hugofs.FileMetaInfo for _, dir := range fs.AllDirs() { if dir.Meta().Watch() { dirs = append(dirs, dir) } } return dirs } func (fs *BaseFs) AllDirs() []hugofs.FileMetaInfo { var dirs []hugofs.FileMetaInfo for _, dirSet := range [][]hugofs.FileMetaInfo{ fs.Archetypes.Dirs, fs.I18n.Dirs, fs.Data.Dirs, fs.Content.Dirs, fs.Assets.Dirs, fs.Layouts.Dirs, // fs.Resources.Dirs, fs.StaticDirs, } { dirs = append(dirs, dirSet...) } return dirs } // RelContentDir tries to create a path relative to the content root from // the given filename. The return value is the path and language code. func (b *BaseFs) RelContentDir(filename string) string { for _, dir := range b.SourceFilesystems.Content.Dirs { dirname := dir.Meta().Filename() if strings.HasPrefix(filename, dirname) { rel := path.Join(dir.Meta().Path(), strings.TrimPrefix(filename, dirname)) return strings.TrimPrefix(rel, filePathSeparator) } } // Either not a content dir or already relative. return filename } // ResolveJSConfigFile resolves the JS-related config file to a absolute // filename. One example of such would be postcss.config.js. func (fs *BaseFs) ResolveJSConfigFile(name string) string { // First look in assets/_jsconfig fi, err := fs.Assets.Fs.Stat(filepath.Join(files.FolderJSConfig, name)) if err == nil { return fi.(hugofs.FileMetaInfo).Meta().Filename() } // Fall back to the work dir. fi, err = fs.Work.Stat(name) if err == nil { return fi.(hugofs.FileMetaInfo).Meta().Filename() } return "" } // SourceFilesystems contains the different source file systems. These can be // composite file systems (theme and project etc.), and they have all root // set to the source type the provides: data, i18n, static, layouts. type SourceFilesystems struct { Content *SourceFilesystem Data *SourceFilesystem I18n *SourceFilesystem Layouts *SourceFilesystem Archetypes *SourceFilesystem Assets *SourceFilesystem // Writable filesystem on top the project's resources directory, // with any sub module's resource fs layered below. ResourcesCache afero.Fs // The project folder. Work afero.Fs // When in multihost we have one static filesystem per language. The sync // static files is currently done outside of the Hugo build (where there is // a concept of a site per language). // When in non-multihost mode there will be one entry in this map with a blank key. Static map[string]*SourceFilesystem // All the /static dirs (including themes/modules). StaticDirs []hugofs.FileMetaInfo } // FileSystems returns the FileSystems relevant for the change detection // in server mode. // Note: This does currently not return any static fs. func (s *SourceFilesystems) FileSystems() []*SourceFilesystem { return []*SourceFilesystem{ s.Content, s.Data, s.I18n, s.Layouts, s.Archetypes, // TODO(bep) static } } // A SourceFilesystem holds the filesystem for a given source type in Hugo (data, // i18n, layouts, static) and additional metadata to be able to use that filesystem // in server mode. type SourceFilesystem struct { // Name matches one in files.ComponentFolders Name string // This is a virtual composite filesystem. It expects path relative to a context. Fs afero.Fs // This filesystem as separate root directories, starting from project and down // to the themes/modules. Dirs []hugofs.FileMetaInfo // When syncing a source folder to the target (e.g. /public), this may // be set to publish into a subfolder. This is used for static syncing // in multihost mode. PublishFolder string } // ContentStaticAssetFs will create a new composite filesystem from the content, // static, and asset filesystems. The site language is needed to pick the correct static filesystem. // The order is content, static and then assets. // TODO(bep) check usage func (s SourceFilesystems) ContentStaticAssetFs(lang string) afero.Fs { staticFs := s.StaticFs(lang) base := afero.NewCopyOnWriteFs(s.Assets.Fs, staticFs) return afero.NewCopyOnWriteFs(base, s.Content.Fs) } // StaticFs returns the static filesystem for the given language. // This can be a composite filesystem. func (s SourceFilesystems) StaticFs(lang string) afero.Fs { var staticFs afero.Fs = hugofs.NoOpFs if fs, ok := s.Static[lang]; ok { staticFs = fs.Fs } else if fs, ok := s.Static[""]; ok { staticFs = fs.Fs } return staticFs } // StatResource looks for a resource in these filesystems in order: static, assets and finally content. // If found in any of them, it returns FileInfo and the relevant filesystem. // Any non os.IsNotExist error will be returned. // An os.IsNotExist error wil be returned only if all filesystems return such an error. // Note that if we only wanted to find the file, we could create a composite Afero fs, // but we also need to know which filesystem root it lives in. func (s SourceFilesystems) StatResource(lang, filename string) (fi os.FileInfo, fs afero.Fs, err error) { for _, fsToCheck := range []afero.Fs{s.StaticFs(lang), s.Assets.Fs, s.Content.Fs} { fs = fsToCheck fi, err = fs.Stat(filename) if err == nil || !os.IsNotExist(err) { return } } // Not found. return } // IsStatic returns true if the given filename is a member of one of the static // filesystems. func (s SourceFilesystems) IsStatic(filename string) bool { for _, staticFs := range s.Static { if staticFs.Contains(filename) { return true } } return false } // IsContent returns true if the given filename is a member of the content filesystem. func (s SourceFilesystems) IsContent(filename string) bool { return s.Content.Contains(filename) } // IsLayout returns true if the given filename is a member of the layouts filesystem. func (s SourceFilesystems) IsLayout(filename string) bool { return s.Layouts.Contains(filename) } // IsData returns true if the given filename is a member of the data filesystem. func (s SourceFilesystems) IsData(filename string) bool { return s.Data.Contains(filename) } // IsAsset returns true if the given filename is a member of the asset filesystem. func (s SourceFilesystems) IsAsset(filename string) bool { return s.Assets.Contains(filename) } // IsI18n returns true if the given filename is a member of the i18n filesystem. func (s SourceFilesystems) IsI18n(filename string) bool { return s.I18n.Contains(filename) } // MakeStaticPathRelative makes an absolute static filename into a relative one. // It will return an empty string if the filename is not a member of a static filesystem. func (s SourceFilesystems) MakeStaticPathRelative(filename string) string { for _, staticFs := range s.Static { rel, _ := staticFs.MakePathRelative(filename) if rel != "" { return rel } } return "" } // MakePathRelative creates a relative path from the given filename. func (d *SourceFilesystem) MakePathRelative(filename string) (string, bool) { for _, dir := range d.Dirs { meta := dir.(hugofs.FileMetaInfo).Meta() currentPath := meta.Filename() if strings.HasPrefix(filename, currentPath) { rel := strings.TrimPrefix(filename, currentPath) if mp := meta.Path(); mp != "" { rel = filepath.Join(mp, rel) } return strings.TrimPrefix(rel, filePathSeparator), true } } return "", false } func (d *SourceFilesystem) RealFilename(rel string) string { fi, err := d.Fs.Stat(rel) if err != nil { return rel } if realfi, ok := fi.(hugofs.FileMetaInfo); ok { return realfi.Meta().Filename() } return rel } // Contains returns whether the given filename is a member of the current filesystem. func (d *SourceFilesystem) Contains(filename string) bool { for _, dir := range d.Dirs { if strings.HasPrefix(filename, dir.Meta().Filename()) { return true } } return false } // Path returns the mount relative path to the given filename if it is a member of // of the current filesystem, an empty string if not. func (d *SourceFilesystem) Path(filename string) string { for _, dir := range d.Dirs { meta := dir.Meta() if strings.HasPrefix(filename, meta.Filename()) { p := strings.TrimPrefix(strings.TrimPrefix(filename, meta.Filename()), filePathSeparator) if mountRoot := meta.MountRoot(); mountRoot != "" { return filepath.Join(mountRoot, p) } return p } } return "" } // RealDirs gets a list of absolute paths to directories starting from the given // path. func (d *SourceFilesystem) RealDirs(from string) []string { var dirnames []string for _, dir := range d.Dirs { meta := dir.Meta() dirname := filepath.Join(meta.Filename(), from) _, err := meta.Fs().Stat(from) if err == nil { dirnames = append(dirnames, dirname) } } return dirnames } // WithBaseFs allows reuse of some potentially expensive to create parts that remain // the same across sites/languages. func WithBaseFs(b *BaseFs) func(*BaseFs) error { return func(bb *BaseFs) error { bb.theBigFs = b.theBigFs bb.SourceFilesystems = b.SourceFilesystems return nil } } // NewBase builds the filesystems used by Hugo given the paths and options provided.NewBase func NewBase(p *paths.Paths, logger loggers.Logger, options ...func(*BaseFs) error) (*BaseFs, error) { fs := p.Fs if logger == nil { logger = loggers.NewWarningLogger() } publishFs := hugofs.NewBaseFileDecorator(afero.NewBasePathFs(fs.Destination, p.AbsPublishDir)) sourceFs := hugofs.NewBaseFileDecorator(afero.NewBasePathFs(fs.Source, p.WorkingDir)) b := &BaseFs{ SourceFs: sourceFs, PublishFs: publishFs, } for _, opt := range options { if err := opt(b); err != nil { return nil, err } } if b.theBigFs != nil && b.SourceFilesystems != nil { return b, nil } builder := newSourceFilesystemsBuilder(p, logger, b) sourceFilesystems, err := builder.Build() if err != nil { return nil, errors.Wrap(err, "build filesystems") } b.SourceFilesystems = sourceFilesystems b.theBigFs = builder.theBigFs return b, nil } type sourceFilesystemsBuilder struct { logger loggers.Logger p *paths.Paths sourceFs afero.Fs result *SourceFilesystems theBigFs *filesystemsCollector } func newSourceFilesystemsBuilder(p *paths.Paths, logger loggers.Logger, b *BaseFs) *sourceFilesystemsBuilder { sourceFs := hugofs.NewBaseFileDecorator(p.Fs.Source) return &sourceFilesystemsBuilder{p: p, logger: logger, sourceFs: sourceFs, theBigFs: b.theBigFs, result: &SourceFilesystems{}} } func (b *sourceFilesystemsBuilder) newSourceFilesystem(name string, fs afero.Fs, dirs []hugofs.FileMetaInfo) *SourceFilesystem { return &SourceFilesystem{ Name: name, Fs: fs, Dirs: dirs, } } func (b *sourceFilesystemsBuilder) Build() (*SourceFilesystems, error) { if b.theBigFs == nil { theBigFs, err := b.createMainOverlayFs(b.p) if err != nil { return nil, errors.Wrap(err, "create main fs") } b.theBigFs = theBigFs } createView := func(componentID string) *SourceFilesystem { if b.theBigFs == nil || b.theBigFs.overlayMounts == nil { return b.newSourceFilesystem(componentID, hugofs.NoOpFs, nil) } dirs := b.theBigFs.overlayDirs[componentID] return b.newSourceFilesystem(componentID, afero.NewBasePathFs(b.theBigFs.overlayMounts, componentID), dirs) } b.theBigFs.finalizeDirs() b.result.Archetypes = createView(files.ComponentFolderArchetypes) b.result.Layouts = createView(files.ComponentFolderLayouts) b.result.Assets = createView(files.ComponentFolderAssets) b.result.ResourcesCache = b.theBigFs.overlayResources // Data, i18n and content cannot use the overlay fs dataDirs := b.theBigFs.overlayDirs[files.ComponentFolderData] dataFs, err := hugofs.NewSliceFs(dataDirs...) if err != nil { return nil, err } b.result.Data = b.newSourceFilesystem(files.ComponentFolderData, dataFs, dataDirs) i18nDirs := b.theBigFs.overlayDirs[files.ComponentFolderI18n] i18nFs, err := hugofs.NewSliceFs(i18nDirs...) if err != nil { return nil, err } b.result.I18n = b.newSourceFilesystem(files.ComponentFolderI18n, i18nFs, i18nDirs) contentDirs := b.theBigFs.overlayDirs[files.ComponentFolderContent] contentBfs := afero.NewBasePathFs(b.theBigFs.overlayMountsContent, files.ComponentFolderContent) contentFs, err := hugofs.NewLanguageFs(b.p.LanguagesDefaultFirst.AsOrdinalSet(), contentBfs) if err != nil { return nil, errors.Wrap(err, "create content filesystem") } b.result.Content = b.newSourceFilesystem(files.ComponentFolderContent, contentFs, contentDirs) b.result.Work = afero.NewReadOnlyFs(b.theBigFs.overlayFull) // Create static filesystem(s) ms := make(map[string]*SourceFilesystem) b.result.Static = ms b.result.StaticDirs = b.theBigFs.overlayDirs[files.ComponentFolderStatic] if b.theBigFs.staticPerLanguage != nil { // Multihost mode for k, v := range b.theBigFs.staticPerLanguage { sfs := b.newSourceFilesystem(files.ComponentFolderStatic, v, b.result.StaticDirs) sfs.PublishFolder = k ms[k] = sfs } } else { bfs := afero.NewBasePathFs(b.theBigFs.overlayMountsStatic, files.ComponentFolderStatic) ms[""] = b.newSourceFilesystem(files.ComponentFolderStatic, bfs, b.result.StaticDirs) } return b.result, nil } func (b *sourceFilesystemsBuilder) createMainOverlayFs(p *paths.Paths) (*filesystemsCollector, error) { var staticFsMap map[string]afero.Fs if b.p.Cfg.GetBool("multihost") { staticFsMap = make(map[string]afero.Fs) } collector := &filesystemsCollector{ sourceProject: b.sourceFs, sourceModules: hugofs.NewNoSymlinkFs(b.sourceFs, b.logger, false), overlayDirs: make(map[string][]hugofs.FileMetaInfo), staticPerLanguage: staticFsMap, } mods := p.AllModules if len(mods) == 0 { return collector, nil } modsReversed := make([]mountsDescriptor, len(mods)) // The theme components are ordered from left to right. // We need to revert it to get the // overlay logic below working as expected, with the project on top. j := 0 for i := len(mods) - 1; i >= 0; i-- { mod := mods[i] dir := mod.Dir() isMainProject := mod.Owner() == nil modsReversed[j] = mountsDescriptor{ Module: mod, dir: dir, isMainProject: isMainProject, } j++ } err := b.createOverlayFs(collector, modsReversed) return collector, err } func (b *sourceFilesystemsBuilder) isContentMount(mnt modules.Mount) bool { return strings.HasPrefix(mnt.Target, files.ComponentFolderContent) } func (b *sourceFilesystemsBuilder) isStaticMount(mnt modules.Mount) bool { return strings.HasPrefix(mnt.Target, files.ComponentFolderStatic) } func (b *sourceFilesystemsBuilder) createModFs( collector *filesystemsCollector, md mountsDescriptor) error { var ( fromTo []hugofs.RootMapping fromToContent []hugofs.RootMapping fromToStatic []hugofs.RootMapping ) absPathify := func(path string) (string, string) { if filepath.IsAbs(path) { return "", path } return md.dir, paths.AbsPathify(md.dir, path) } for _, mount := range md.Mounts() { mountWeight := 1 if md.isMainProject { mountWeight++ } base, filename := absPathify(mount.Source) rm := hugofs.RootMapping{ From: mount.Target, To: filename, ToBasedir: base, Module: md.Module.Path(), Meta: hugofs.FileMeta{ "watch": md.Watch(), "mountWeight": mountWeight, }, } isContentMount := b.isContentMount(mount) lang := mount.Lang if lang == "" && isContentMount { lang = b.p.DefaultContentLanguage } rm.Meta["lang"] = lang if isContentMount { fromToContent = append(fromToContent, rm) } else if b.isStaticMount(mount) { fromToStatic = append(fromToStatic, rm) } else { fromTo = append(fromTo, rm) } } modBase := collector.sourceProject if !md.isMainProject { modBase = collector.sourceModules } sourceStatic := hugofs.NewNoSymlinkFs(modBase, b.logger, true) rmfs, err := hugofs.NewRootMappingFs(modBase, fromTo...) if err != nil { return err } rmfsContent, err := hugofs.NewRootMappingFs(modBase, fromToContent...) if err != nil { return err } rmfsStatic, err := hugofs.NewRootMappingFs(sourceStatic, fromToStatic...) if err != nil { return err } // We need to keep the ordered list of directories for watching and // some special merge operations (data, i18n). collector.addDirs(rmfs) collector.addDirs(rmfsContent) collector.addDirs(rmfsStatic) if collector.staticPerLanguage != nil { for _, l := range b.p.Languages { lang := l.Lang lfs := rmfsStatic.Filter(func(rm hugofs.RootMapping) bool { rlang := rm.Meta.Lang() return rlang == "" || rlang == lang }) bfs := afero.NewBasePathFs(lfs, files.ComponentFolderStatic) sfs, found := collector.staticPerLanguage[lang] if found { collector.staticPerLanguage[lang] = afero.NewCopyOnWriteFs(sfs, bfs) } else { collector.staticPerLanguage[lang] = bfs } } } getResourcesDir := func() string { if md.isMainProject { return b.p.AbsResourcesDir } _, filename := absPathify(files.FolderResources) return filename } if collector.overlayMounts == nil { collector.overlayMounts = rmfs collector.overlayMountsContent = rmfsContent collector.overlayMountsStatic = rmfsStatic collector.overlayFull = afero.NewBasePathFs(modBase, md.dir) collector.overlayResources = afero.NewBasePathFs(modBase, getResourcesDir()) } else { collector.overlayMounts = afero.NewCopyOnWriteFs(collector.overlayMounts, rmfs) collector.overlayMountsContent = hugofs.NewLanguageCompositeFs(collector.overlayMountsContent, rmfsContent) collector.overlayMountsStatic = hugofs.NewLanguageCompositeFs(collector.overlayMountsStatic, rmfsStatic) collector.overlayFull = afero.NewCopyOnWriteFs(collector.overlayFull, afero.NewBasePathFs(modBase, md.dir)) collector.overlayResources = afero.NewCopyOnWriteFs(collector.overlayResources, afero.NewBasePathFs(modBase, getResourcesDir())) } return nil } func printFs(fs afero.Fs, path string, w io.Writer) { if fs == nil { return } afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil } var filename string if fim, ok := info.(hugofs.FileMetaInfo); ok { filename = fim.Meta().Filename() } fmt.Fprintf(w, " %q %q\n", path, filename) return nil }) } type filesystemsCollector struct { sourceProject afero.Fs // Source for project folders sourceModules afero.Fs // Source for modules/themes overlayMounts afero.Fs overlayMountsContent afero.Fs overlayMountsStatic afero.Fs overlayFull afero.Fs overlayResources afero.Fs // Maps component type (layouts, static, content etc.) an ordered list of // directories representing the overlay filesystems above. overlayDirs map[string][]hugofs.FileMetaInfo // Set if in multihost mode staticPerLanguage map[string]afero.Fs finalizerInit sync.Once } func (c *filesystemsCollector) addDirs(rfs *hugofs.RootMappingFs) { for _, componentFolder := range files.ComponentFolders { c.addDir(rfs, componentFolder) } } func (c *filesystemsCollector) addDir(rfs *hugofs.RootMappingFs, componentFolder string) { dirs, err := rfs.Dirs(componentFolder) if err == nil { c.overlayDirs[componentFolder] = append(c.overlayDirs[componentFolder], dirs...) } } func (c *filesystemsCollector) finalizeDirs() { c.finalizerInit.Do(func() { // Order the directories from top to bottom (project, theme a, theme ...). for _, dirs := range c.overlayDirs { c.reverseFis(dirs) } }) } func (c *filesystemsCollector) reverseFis(fis []hugofs.FileMetaInfo) { for i := len(fis)/2 - 1; i >= 0; i-- { opp := len(fis) - 1 - i fis[i], fis[opp] = fis[opp], fis[i] } } type mountsDescriptor struct { modules.Module dir string isMainProject bool } func (b *sourceFilesystemsBuilder) createOverlayFs(collector *filesystemsCollector, mounts []mountsDescriptor) error { if len(mounts) == 0 { return nil } err := b.createModFs(collector, mounts[0]) if err != nil { return err } if len(mounts) == 1 { return nil } return b.createOverlayFs(collector, mounts[1:]) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package filesystems provides the fine grained file systems used by Hugo. These // are typically virtual filesystems that are composites of project and theme content. package filesystems import ( "fmt" "io" "os" "path" "path/filepath" "strings" "sync" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/hugofs/files" "github.com/pkg/errors" "github.com/gohugoio/hugo/modules" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/hugolib/paths" "github.com/spf13/afero" ) var filePathSeparator = string(filepath.Separator) // BaseFs contains the core base filesystems used by Hugo. The name "base" is used // to underline that even if they can be composites, they all have a base path set to a specific // resource folder, e.g "/my-project/content". So, no absolute filenames needed. type BaseFs struct { // SourceFilesystems contains the different source file systems. *SourceFilesystems // The project source. SourceFs afero.Fs // The filesystem used to publish the rendered site. // This usually maps to /my-project/public. PublishFs afero.Fs theBigFs *filesystemsCollector } // TODO(bep) we can get regular files in here and that is fine, but // we need to clean up the naming. func (fs *BaseFs) WatchDirs() []hugofs.FileMetaInfo { var dirs []hugofs.FileMetaInfo for _, dir := range fs.AllDirs() { if dir.Meta().Watch() { dirs = append(dirs, dir) } } return dirs } func (fs *BaseFs) AllDirs() []hugofs.FileMetaInfo { var dirs []hugofs.FileMetaInfo for _, dirSet := range [][]hugofs.FileMetaInfo{ fs.Archetypes.Dirs, fs.I18n.Dirs, fs.Data.Dirs, fs.Content.Dirs, fs.Assets.Dirs, fs.Layouts.Dirs, // fs.Resources.Dirs, fs.StaticDirs, } { dirs = append(dirs, dirSet...) } return dirs } // RelContentDir tries to create a path relative to the content root from // the given filename. The return value is the path and language code. func (b *BaseFs) RelContentDir(filename string) string { for _, dir := range b.SourceFilesystems.Content.Dirs { dirname := dir.Meta().Filename() if strings.HasPrefix(filename, dirname) { rel := path.Join(dir.Meta().Path(), strings.TrimPrefix(filename, dirname)) return strings.TrimPrefix(rel, filePathSeparator) } } // Either not a content dir or already relative. return filename } // ResolveJSConfigFile resolves the JS-related config file to a absolute // filename. One example of such would be postcss.config.js. func (fs *BaseFs) ResolveJSConfigFile(name string) string { // First look in assets/_jsconfig fi, err := fs.Assets.Fs.Stat(filepath.Join(files.FolderJSConfig, name)) if err == nil { return fi.(hugofs.FileMetaInfo).Meta().Filename() } // Fall back to the work dir. fi, err = fs.Work.Stat(name) if err == nil { return fi.(hugofs.FileMetaInfo).Meta().Filename() } return "" } // SourceFilesystems contains the different source file systems. These can be // composite file systems (theme and project etc.), and they have all root // set to the source type the provides: data, i18n, static, layouts. type SourceFilesystems struct { Content *SourceFilesystem Data *SourceFilesystem I18n *SourceFilesystem Layouts *SourceFilesystem Archetypes *SourceFilesystem Assets *SourceFilesystem // Writable filesystem on top the project's resources directory, // with any sub module's resource fs layered below. ResourcesCache afero.Fs // The project folder. Work afero.Fs // When in multihost we have one static filesystem per language. The sync // static files is currently done outside of the Hugo build (where there is // a concept of a site per language). // When in non-multihost mode there will be one entry in this map with a blank key. Static map[string]*SourceFilesystem // All the /static dirs (including themes/modules). StaticDirs []hugofs.FileMetaInfo } // FileSystems returns the FileSystems relevant for the change detection // in server mode. // Note: This does currently not return any static fs. func (s *SourceFilesystems) FileSystems() []*SourceFilesystem { return []*SourceFilesystem{ s.Content, s.Data, s.I18n, s.Layouts, s.Archetypes, // TODO(bep) static } } // A SourceFilesystem holds the filesystem for a given source type in Hugo (data, // i18n, layouts, static) and additional metadata to be able to use that filesystem // in server mode. type SourceFilesystem struct { // Name matches one in files.ComponentFolders Name string // This is a virtual composite filesystem. It expects path relative to a context. Fs afero.Fs // This filesystem as separate root directories, starting from project and down // to the themes/modules. Dirs []hugofs.FileMetaInfo // When syncing a source folder to the target (e.g. /public), this may // be set to publish into a subfolder. This is used for static syncing // in multihost mode. PublishFolder string } // ContentStaticAssetFs will create a new composite filesystem from the content, // static, and asset filesystems. The site language is needed to pick the correct static filesystem. // The order is content, static and then assets. // TODO(bep) check usage func (s SourceFilesystems) ContentStaticAssetFs(lang string) afero.Fs { staticFs := s.StaticFs(lang) base := afero.NewCopyOnWriteFs(s.Assets.Fs, staticFs) return afero.NewCopyOnWriteFs(base, s.Content.Fs) } // StaticFs returns the static filesystem for the given language. // This can be a composite filesystem. func (s SourceFilesystems) StaticFs(lang string) afero.Fs { var staticFs afero.Fs = hugofs.NoOpFs if fs, ok := s.Static[lang]; ok { staticFs = fs.Fs } else if fs, ok := s.Static[""]; ok { staticFs = fs.Fs } return staticFs } // StatResource looks for a resource in these filesystems in order: static, assets and finally content. // If found in any of them, it returns FileInfo and the relevant filesystem. // Any non os.IsNotExist error will be returned. // An os.IsNotExist error wil be returned only if all filesystems return such an error. // Note that if we only wanted to find the file, we could create a composite Afero fs, // but we also need to know which filesystem root it lives in. func (s SourceFilesystems) StatResource(lang, filename string) (fi os.FileInfo, fs afero.Fs, err error) { for _, fsToCheck := range []afero.Fs{s.StaticFs(lang), s.Assets.Fs, s.Content.Fs} { fs = fsToCheck fi, err = fs.Stat(filename) if err == nil || !os.IsNotExist(err) { return } } // Not found. return } // IsStatic returns true if the given filename is a member of one of the static // filesystems. func (s SourceFilesystems) IsStatic(filename string) bool { for _, staticFs := range s.Static { if staticFs.Contains(filename) { return true } } return false } // IsContent returns true if the given filename is a member of the content filesystem. func (s SourceFilesystems) IsContent(filename string) bool { return s.Content.Contains(filename) } // IsLayout returns true if the given filename is a member of the layouts filesystem. func (s SourceFilesystems) IsLayout(filename string) bool { return s.Layouts.Contains(filename) } // IsData returns true if the given filename is a member of the data filesystem. func (s SourceFilesystems) IsData(filename string) bool { return s.Data.Contains(filename) } // IsAsset returns true if the given filename is a member of the asset filesystem. func (s SourceFilesystems) IsAsset(filename string) bool { return s.Assets.Contains(filename) } // IsI18n returns true if the given filename is a member of the i18n filesystem. func (s SourceFilesystems) IsI18n(filename string) bool { return s.I18n.Contains(filename) } // MakeStaticPathRelative makes an absolute static filename into a relative one. // It will return an empty string if the filename is not a member of a static filesystem. func (s SourceFilesystems) MakeStaticPathRelative(filename string) string { for _, staticFs := range s.Static { rel, _ := staticFs.MakePathRelative(filename) if rel != "" { return rel } } return "" } // MakePathRelative creates a relative path from the given filename. func (d *SourceFilesystem) MakePathRelative(filename string) (string, bool) { for _, dir := range d.Dirs { meta := dir.(hugofs.FileMetaInfo).Meta() currentPath := meta.Filename() if strings.HasPrefix(filename, currentPath) { rel := strings.TrimPrefix(filename, currentPath) if mp := meta.Path(); mp != "" { rel = filepath.Join(mp, rel) } return strings.TrimPrefix(rel, filePathSeparator), true } } return "", false } func (d *SourceFilesystem) RealFilename(rel string) string { fi, err := d.Fs.Stat(rel) if err != nil { return rel } if realfi, ok := fi.(hugofs.FileMetaInfo); ok { return realfi.Meta().Filename() } return rel } // Contains returns whether the given filename is a member of the current filesystem. func (d *SourceFilesystem) Contains(filename string) bool { for _, dir := range d.Dirs { if strings.HasPrefix(filename, dir.Meta().Filename()) { return true } } return false } // Path returns the mount relative path to the given filename if it is a member of // of the current filesystem, an empty string if not. func (d *SourceFilesystem) Path(filename string) string { for _, dir := range d.Dirs { meta := dir.Meta() if strings.HasPrefix(filename, meta.Filename()) { p := strings.TrimPrefix(strings.TrimPrefix(filename, meta.Filename()), filePathSeparator) if mountRoot := meta.MountRoot(); mountRoot != "" { return filepath.Join(mountRoot, p) } return p } } return "" } // RealDirs gets a list of absolute paths to directories starting from the given // path. func (d *SourceFilesystem) RealDirs(from string) []string { var dirnames []string for _, dir := range d.Dirs { meta := dir.Meta() dirname := filepath.Join(meta.Filename(), from) _, err := meta.Fs().Stat(from) if err == nil { dirnames = append(dirnames, dirname) } } return dirnames } // WithBaseFs allows reuse of some potentially expensive to create parts that remain // the same across sites/languages. func WithBaseFs(b *BaseFs) func(*BaseFs) error { return func(bb *BaseFs) error { bb.theBigFs = b.theBigFs bb.SourceFilesystems = b.SourceFilesystems return nil } } // NewBase builds the filesystems used by Hugo given the paths and options provided.NewBase func NewBase(p *paths.Paths, logger loggers.Logger, options ...func(*BaseFs) error) (*BaseFs, error) { fs := p.Fs if logger == nil { logger = loggers.NewWarningLogger() } publishFs := hugofs.NewBaseFileDecorator(afero.NewBasePathFs(fs.Destination, p.AbsPublishDir)) sourceFs := hugofs.NewBaseFileDecorator(afero.NewBasePathFs(fs.Source, p.WorkingDir)) b := &BaseFs{ SourceFs: sourceFs, PublishFs: publishFs, } for _, opt := range options { if err := opt(b); err != nil { return nil, err } } if b.theBigFs != nil && b.SourceFilesystems != nil { return b, nil } builder := newSourceFilesystemsBuilder(p, logger, b) sourceFilesystems, err := builder.Build() if err != nil { return nil, errors.Wrap(err, "build filesystems") } b.SourceFilesystems = sourceFilesystems b.theBigFs = builder.theBigFs return b, nil } type sourceFilesystemsBuilder struct { logger loggers.Logger p *paths.Paths sourceFs afero.Fs result *SourceFilesystems theBigFs *filesystemsCollector } func newSourceFilesystemsBuilder(p *paths.Paths, logger loggers.Logger, b *BaseFs) *sourceFilesystemsBuilder { sourceFs := hugofs.NewBaseFileDecorator(p.Fs.Source) return &sourceFilesystemsBuilder{p: p, logger: logger, sourceFs: sourceFs, theBigFs: b.theBigFs, result: &SourceFilesystems{}} } func (b *sourceFilesystemsBuilder) newSourceFilesystem(name string, fs afero.Fs, dirs []hugofs.FileMetaInfo) *SourceFilesystem { return &SourceFilesystem{ Name: name, Fs: fs, Dirs: dirs, } } func (b *sourceFilesystemsBuilder) Build() (*SourceFilesystems, error) { if b.theBigFs == nil { theBigFs, err := b.createMainOverlayFs(b.p) if err != nil { return nil, errors.Wrap(err, "create main fs") } b.theBigFs = theBigFs } createView := func(componentID string) *SourceFilesystem { if b.theBigFs == nil || b.theBigFs.overlayMounts == nil { return b.newSourceFilesystem(componentID, hugofs.NoOpFs, nil) } dirs := b.theBigFs.overlayDirs[componentID] return b.newSourceFilesystem(componentID, afero.NewBasePathFs(b.theBigFs.overlayMounts, componentID), dirs) } b.theBigFs.finalizeDirs() b.result.Archetypes = createView(files.ComponentFolderArchetypes) b.result.Layouts = createView(files.ComponentFolderLayouts) b.result.Assets = createView(files.ComponentFolderAssets) b.result.ResourcesCache = b.theBigFs.overlayResources // Data, i18n and content cannot use the overlay fs dataDirs := b.theBigFs.overlayDirs[files.ComponentFolderData] dataFs, err := hugofs.NewSliceFs(dataDirs...) if err != nil { return nil, err } b.result.Data = b.newSourceFilesystem(files.ComponentFolderData, dataFs, dataDirs) i18nDirs := b.theBigFs.overlayDirs[files.ComponentFolderI18n] i18nFs, err := hugofs.NewSliceFs(i18nDirs...) if err != nil { return nil, err } b.result.I18n = b.newSourceFilesystem(files.ComponentFolderI18n, i18nFs, i18nDirs) contentDirs := b.theBigFs.overlayDirs[files.ComponentFolderContent] contentBfs := afero.NewBasePathFs(b.theBigFs.overlayMountsContent, files.ComponentFolderContent) contentFs, err := hugofs.NewLanguageFs(b.p.LanguagesDefaultFirst.AsOrdinalSet(), contentBfs) if err != nil { return nil, errors.Wrap(err, "create content filesystem") } b.result.Content = b.newSourceFilesystem(files.ComponentFolderContent, contentFs, contentDirs) b.result.Work = afero.NewReadOnlyFs(b.theBigFs.overlayFull) // Create static filesystem(s) ms := make(map[string]*SourceFilesystem) b.result.Static = ms b.result.StaticDirs = b.theBigFs.overlayDirs[files.ComponentFolderStatic] if b.theBigFs.staticPerLanguage != nil { // Multihost mode for k, v := range b.theBigFs.staticPerLanguage { sfs := b.newSourceFilesystem(files.ComponentFolderStatic, v, b.result.StaticDirs) sfs.PublishFolder = k ms[k] = sfs } } else { bfs := afero.NewBasePathFs(b.theBigFs.overlayMountsStatic, files.ComponentFolderStatic) ms[""] = b.newSourceFilesystem(files.ComponentFolderStatic, bfs, b.result.StaticDirs) } return b.result, nil } func (b *sourceFilesystemsBuilder) createMainOverlayFs(p *paths.Paths) (*filesystemsCollector, error) { var staticFsMap map[string]afero.Fs if b.p.Cfg.GetBool("multihost") { staticFsMap = make(map[string]afero.Fs) } collector := &filesystemsCollector{ sourceProject: b.sourceFs, sourceModules: hugofs.NewNoSymlinkFs(b.sourceFs, b.logger, false), overlayDirs: make(map[string][]hugofs.FileMetaInfo), staticPerLanguage: staticFsMap, } mods := p.AllModules if len(mods) == 0 { return collector, nil } modsReversed := make([]mountsDescriptor, len(mods)) // The theme components are ordered from left to right. // We need to revert it to get the // overlay logic below working as expected, with the project on top. j := 0 for i := len(mods) - 1; i >= 0; i-- { mod := mods[i] dir := mod.Dir() isMainProject := mod.Owner() == nil modsReversed[j] = mountsDescriptor{ Module: mod, dir: dir, isMainProject: isMainProject, } j++ } err := b.createOverlayFs(collector, modsReversed) return collector, err } func (b *sourceFilesystemsBuilder) isContentMount(mnt modules.Mount) bool { return strings.HasPrefix(mnt.Target, files.ComponentFolderContent) } func (b *sourceFilesystemsBuilder) isStaticMount(mnt modules.Mount) bool { return strings.HasPrefix(mnt.Target, files.ComponentFolderStatic) } func (b *sourceFilesystemsBuilder) createModFs( collector *filesystemsCollector, md mountsDescriptor) error { var ( fromTo []hugofs.RootMapping fromToContent []hugofs.RootMapping fromToStatic []hugofs.RootMapping ) absPathify := func(path string) (string, string) { if filepath.IsAbs(path) { return "", path } return md.dir, paths.AbsPathify(md.dir, path) } for _, mount := range md.Mounts() { mountWeight := 1 if md.isMainProject { mountWeight++ } base, filename := absPathify(mount.Source) rm := hugofs.RootMapping{ From: mount.Target, To: filename, ToBasedir: base, Module: md.Module.Path(), Meta: hugofs.FileMeta{ "watch": md.Watch(), "mountWeight": mountWeight, }, } isContentMount := b.isContentMount(mount) lang := mount.Lang if lang == "" && isContentMount { lang = b.p.DefaultContentLanguage } rm.Meta["lang"] = lang if isContentMount { fromToContent = append(fromToContent, rm) } else if b.isStaticMount(mount) { fromToStatic = append(fromToStatic, rm) } else { fromTo = append(fromTo, rm) } } modBase := collector.sourceProject if !md.isMainProject { modBase = collector.sourceModules } sourceStatic := hugofs.NewNoSymlinkFs(modBase, b.logger, true) rmfs, err := hugofs.NewRootMappingFs(modBase, fromTo...) if err != nil { return err } rmfsContent, err := hugofs.NewRootMappingFs(modBase, fromToContent...) if err != nil { return err } rmfsStatic, err := hugofs.NewRootMappingFs(sourceStatic, fromToStatic...) if err != nil { return err } // We need to keep the ordered list of directories for watching and // some special merge operations (data, i18n). collector.addDirs(rmfs) collector.addDirs(rmfsContent) collector.addDirs(rmfsStatic) if collector.staticPerLanguage != nil { for _, l := range b.p.Languages { lang := l.Lang lfs := rmfsStatic.Filter(func(rm hugofs.RootMapping) bool { rlang := rm.Meta.Lang() return rlang == "" || rlang == lang }) bfs := afero.NewBasePathFs(lfs, files.ComponentFolderStatic) sfs, found := collector.staticPerLanguage[lang] if found { collector.staticPerLanguage[lang] = afero.NewCopyOnWriteFs(sfs, bfs) } else { collector.staticPerLanguage[lang] = bfs } } } getResourcesDir := func() string { if md.isMainProject { return b.p.AbsResourcesDir } _, filename := absPathify(files.FolderResources) return filename } if collector.overlayMounts == nil { collector.overlayMounts = rmfs collector.overlayMountsContent = rmfsContent collector.overlayMountsStatic = rmfsStatic collector.overlayFull = afero.NewBasePathFs(modBase, md.dir) collector.overlayResources = afero.NewBasePathFs(modBase, getResourcesDir()) } else { collector.overlayMounts = afero.NewCopyOnWriteFs(collector.overlayMounts, rmfs) collector.overlayMountsContent = hugofs.NewLanguageCompositeFs(collector.overlayMountsContent, rmfsContent) collector.overlayMountsStatic = hugofs.NewLanguageCompositeFs(collector.overlayMountsStatic, rmfsStatic) collector.overlayFull = afero.NewCopyOnWriteFs(collector.overlayFull, afero.NewBasePathFs(modBase, md.dir)) collector.overlayResources = afero.NewCopyOnWriteFs(collector.overlayResources, afero.NewBasePathFs(modBase, getResourcesDir())) } return nil } func printFs(fs afero.Fs, path string, w io.Writer) { if fs == nil { return } afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() { return nil } var filename string if fim, ok := info.(hugofs.FileMetaInfo); ok { filename = fim.Meta().Filename() } fmt.Fprintf(w, " %q %q\n", path, filename) return nil }) } type filesystemsCollector struct { sourceProject afero.Fs // Source for project folders sourceModules afero.Fs // Source for modules/themes overlayMounts afero.Fs overlayMountsContent afero.Fs overlayMountsStatic afero.Fs overlayFull afero.Fs overlayResources afero.Fs // Maps component type (layouts, static, content etc.) an ordered list of // directories representing the overlay filesystems above. overlayDirs map[string][]hugofs.FileMetaInfo // Set if in multihost mode staticPerLanguage map[string]afero.Fs finalizerInit sync.Once } func (c *filesystemsCollector) addDirs(rfs *hugofs.RootMappingFs) { for _, componentFolder := range files.ComponentFolders { c.addDir(rfs, componentFolder) } } func (c *filesystemsCollector) addDir(rfs *hugofs.RootMappingFs, componentFolder string) { dirs, err := rfs.Dirs(componentFolder) if err == nil { c.overlayDirs[componentFolder] = append(c.overlayDirs[componentFolder], dirs...) } } func (c *filesystemsCollector) finalizeDirs() { c.finalizerInit.Do(func() { // Order the directories from top to bottom (project, theme a, theme ...). for _, dirs := range c.overlayDirs { c.reverseFis(dirs) } }) } func (c *filesystemsCollector) reverseFis(fis []hugofs.FileMetaInfo) { for i := len(fis)/2 - 1; i >= 0; i-- { opp := len(fis) - 1 - i fis[i], fis[opp] = fis[opp], fis[i] } } type mountsDescriptor struct { modules.Module dir string isMainProject bool } func (b *sourceFilesystemsBuilder) createOverlayFs(collector *filesystemsCollector, mounts []mountsDescriptor) error { if len(mounts) == 0 { return nil } err := b.createModFs(collector, mounts[0]) if err != nil { return err } if len(mounts) == 1 { return nil } return b.createOverlayFs(collector, mounts[1:]) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./config/privacy/privacyConfig_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package privacy import ( "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/config" "github.com/spf13/viper" ) func TestDecodeConfigFromTOML(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [privacy] [privacy.disqus] disable = true [privacy.googleAnalytics] disable = true respectDoNotTrack = true anonymizeIP = true useSessionStorage = true [privacy.instagram] disable = true simple = true [privacy.twitter] disable = true enableDNT = true simple = true [privacy.vimeo] disable = true enableDNT = true simple = true [privacy.youtube] disable = true privacyEnhanced = true simple = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) got := []bool{ pc.Disqus.Disable, pc.GoogleAnalytics.Disable, pc.GoogleAnalytics.RespectDoNotTrack, pc.GoogleAnalytics.AnonymizeIP, pc.GoogleAnalytics.UseSessionStorage, pc.Instagram.Disable, pc.Instagram.Simple, pc.Twitter.Disable, pc.Twitter.EnableDNT, pc.Twitter.Simple, pc.Vimeo.Disable, pc.Vimeo.EnableDNT, pc.Vimeo.Simple, pc.YouTube.PrivacyEnhanced, pc.YouTube.Disable, } c.Assert(got, qt.All(qt.Equals), true) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [Privacy] [Privacy.YouTube] PrivacyENhanced = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, true) } func TestDecodeConfigDefault(t *testing.T) { c := qt.New(t) pc, err := DecodeConfig(viper.New()) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, false) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package privacy import ( "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/config" "github.com/spf13/viper" ) func TestDecodeConfigFromTOML(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [privacy] [privacy.disqus] disable = true [privacy.googleAnalytics] disable = true respectDoNotTrack = true anonymizeIP = true useSessionStorage = true [privacy.instagram] disable = true simple = true [privacy.twitter] disable = true enableDNT = true simple = true [privacy.vimeo] disable = true enableDNT = true simple = true [privacy.youtube] disable = true privacyEnhanced = true simple = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) got := []bool{ pc.Disqus.Disable, pc.GoogleAnalytics.Disable, pc.GoogleAnalytics.RespectDoNotTrack, pc.GoogleAnalytics.AnonymizeIP, pc.GoogleAnalytics.UseSessionStorage, pc.Instagram.Disable, pc.Instagram.Simple, pc.Twitter.Disable, pc.Twitter.EnableDNT, pc.Twitter.Simple, pc.Vimeo.Disable, pc.Vimeo.EnableDNT, pc.Vimeo.Simple, pc.YouTube.PrivacyEnhanced, pc.YouTube.Disable, } c.Assert(got, qt.All(qt.Equals), true) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [Privacy] [Privacy.YouTube] PrivacyENhanced = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, true) } func TestDecodeConfigDefault(t *testing.T) { c := qt.New(t) pc, err := DecodeConfig(viper.New()) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, false) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./compare/compare_strings_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package compare import ( "sort" "strings" "testing" qt "github.com/frankban/quicktest" ) func TestCompare(t *testing.T) { c := qt.New(t) for _, test := range []struct { a string b string }{ {"a", "a"}, {"A", "a"}, {"Ab", "Ac"}, {"az", "Za"}, {"C", "D"}, {"B", "a"}, {"C", ""}, {"", ""}, {"αβδC", "ΑΒΔD"}, {"αβδC", "ΑΒΔ"}, {"αβδ", "ΑΒΔD"}, {"αβδ", "ΑΒΔ"}, {"β", "δ"}, {"好", strings.ToLower("好")}, } { expect := strings.Compare(strings.ToLower(test.a), strings.ToLower(test.b)) got := compareFold(test.a, test.b) c.Assert(got, qt.Equals, expect) } } func TestLexicographicSort(t *testing.T) { c := qt.New(t) s := []string{"b", "Bz", "ba", "A", "Ba", "ba"} sort.Slice(s, func(i, j int) bool { return LessStrings(s[i], s[j]) }) c.Assert(s, qt.DeepEquals, []string{"A", "b", "Ba", "ba", "ba", "Bz"}) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package compare import ( "sort" "strings" "testing" qt "github.com/frankban/quicktest" ) func TestCompare(t *testing.T) { c := qt.New(t) for _, test := range []struct { a string b string }{ {"a", "a"}, {"A", "a"}, {"Ab", "Ac"}, {"az", "Za"}, {"C", "D"}, {"B", "a"}, {"C", ""}, {"", ""}, {"αβδC", "ΑΒΔD"}, {"αβδC", "ΑΒΔ"}, {"αβδ", "ΑΒΔD"}, {"αβδ", "ΑΒΔ"}, {"β", "δ"}, {"好", strings.ToLower("好")}, } { expect := strings.Compare(strings.ToLower(test.a), strings.ToLower(test.b)) got := compareFold(test.a, test.b) c.Assert(got, qt.Equals, expect) } } func TestLexicographicSort(t *testing.T) { c := qt.New(t) s := []string{"b", "Bz", "ba", "A", "Ba", "ba"} sort.Slice(s, func(i, j int) bool { return LessStrings(s[i], s[j]) }) c.Assert(s, qt.DeepEquals, []string{"A", "b", "Ba", "ba", "ba", "Bz"}) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./commands/new_site.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "bytes" "errors" "path/filepath" "strings" "github.com/gohugoio/hugo/parser/metadecoders" _errors "github.com/pkg/errors" "github.com/gohugoio/hugo/create" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/parser" "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/viper" ) var _ cmder = (*newSiteCmd)(nil) type newSiteCmd struct { configFormat string *baseBuilderCmd } func (b *commandsBuilder) newNewSiteCmd() *newSiteCmd { cc := &newSiteCmd{} cmd := &cobra.Command{ Use: "site [path]", Short: "Create a new site (skeleton)", Long: `Create a new site in the provided directory. The new site will have the correct structure, but no content or theme yet. Use ` + "`hugo new [contentPath]`" + ` to create new content.`, RunE: cc.newSite, } cmd.Flags().StringVarP(&cc.configFormat, "format", "f", "toml", "config & frontmatter format") cmd.Flags().Bool("force", false, "init inside non-empty directory") cc.baseBuilderCmd = b.newBuilderBasicCmd(cmd) return cc } func (n *newSiteCmd) doNewSite(fs *hugofs.Fs, basepath string, force bool) error { archeTypePath := filepath.Join(basepath, "archetypes") dirs := []string{ filepath.Join(basepath, "layouts"), filepath.Join(basepath, "content"), archeTypePath, filepath.Join(basepath, "static"), filepath.Join(basepath, "data"), filepath.Join(basepath, "themes"), } if exists, _ := helpers.Exists(basepath, fs.Source); exists { if isDir, _ := helpers.IsDir(basepath, fs.Source); !isDir { return errors.New(basepath + " already exists but not a directory") } isEmpty, _ := helpers.IsEmpty(basepath, fs.Source) switch { case !isEmpty && !force: return errors.New(basepath + " already exists and is not empty. See --force.") case !isEmpty && force: all := append(dirs, filepath.Join(basepath, "config."+n.configFormat)) for _, path := range all { if exists, _ := helpers.Exists(path, fs.Source); exists { return errors.New(path + " already exists") } } } } for _, dir := range dirs { if err := fs.Source.MkdirAll(dir, 0777); err != nil { return _errors.Wrap(err, "Failed to create dir") } } createConfig(fs, basepath, n.configFormat) // Create a default archetype file. helpers.SafeWriteToDisk(filepath.Join(archeTypePath, "default.md"), strings.NewReader(create.ArchetypeTemplateTemplate), fs.Source) jww.FEEDBACK.Printf("Congratulations! Your new Hugo site is created in %s.\n\n", basepath) jww.FEEDBACK.Println(nextStepsText()) return nil } // newSite creates a new Hugo site and initializes a structured Hugo directory. func (n *newSiteCmd) newSite(cmd *cobra.Command, args []string) error { if len(args) < 1 { return newUserError("path needs to be provided") } createpath, err := filepath.Abs(filepath.Clean(args[0])) if err != nil { return newUserError(err) } forceNew, _ := cmd.Flags().GetBool("force") return n.doNewSite(hugofs.NewDefault(viper.New()), createpath, forceNew) } func createConfig(fs *hugofs.Fs, inpath string, kind string) (err error) { in := map[string]string{ "baseURL": "http://example.org/", "title": "My New Hugo Site", "languageCode": "en-us", } var buf bytes.Buffer err = parser.InterfaceToConfig(in, metadecoders.FormatFromString(kind), &buf) if err != nil { return err } return helpers.WriteToDisk(filepath.Join(inpath, "config."+kind), &buf, fs.Source) } func nextStepsText() string { var nextStepsText bytes.Buffer nextStepsText.WriteString(`Just a few more steps and you're ready to go: 1. Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme <THEMENAME>" command. 2. Perhaps you want to add some content. You can add single files with "hugo new `) nextStepsText.WriteString(filepath.Join("<SECTIONNAME>", "<FILENAME>.<FORMAT>")) nextStepsText.WriteString(`". 3. Start the built-in live server via "hugo server". Visit https://gohugo.io/ for quickstart guide and full documentation.`) return nextStepsText.String() }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "bytes" "errors" "path/filepath" "strings" "github.com/gohugoio/hugo/parser/metadecoders" _errors "github.com/pkg/errors" "github.com/gohugoio/hugo/create" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/parser" "github.com/spf13/cobra" jww "github.com/spf13/jwalterweatherman" "github.com/spf13/viper" ) var _ cmder = (*newSiteCmd)(nil) type newSiteCmd struct { configFormat string *baseBuilderCmd } func (b *commandsBuilder) newNewSiteCmd() *newSiteCmd { cc := &newSiteCmd{} cmd := &cobra.Command{ Use: "site [path]", Short: "Create a new site (skeleton)", Long: `Create a new site in the provided directory. The new site will have the correct structure, but no content or theme yet. Use ` + "`hugo new [contentPath]`" + ` to create new content.`, RunE: cc.newSite, } cmd.Flags().StringVarP(&cc.configFormat, "format", "f", "toml", "config & frontmatter format") cmd.Flags().Bool("force", false, "init inside non-empty directory") cc.baseBuilderCmd = b.newBuilderBasicCmd(cmd) return cc } func (n *newSiteCmd) doNewSite(fs *hugofs.Fs, basepath string, force bool) error { archeTypePath := filepath.Join(basepath, "archetypes") dirs := []string{ filepath.Join(basepath, "layouts"), filepath.Join(basepath, "content"), archeTypePath, filepath.Join(basepath, "static"), filepath.Join(basepath, "data"), filepath.Join(basepath, "themes"), } if exists, _ := helpers.Exists(basepath, fs.Source); exists { if isDir, _ := helpers.IsDir(basepath, fs.Source); !isDir { return errors.New(basepath + " already exists but not a directory") } isEmpty, _ := helpers.IsEmpty(basepath, fs.Source) switch { case !isEmpty && !force: return errors.New(basepath + " already exists and is not empty. See --force.") case !isEmpty && force: all := append(dirs, filepath.Join(basepath, "config."+n.configFormat)) for _, path := range all { if exists, _ := helpers.Exists(path, fs.Source); exists { return errors.New(path + " already exists") } } } } for _, dir := range dirs { if err := fs.Source.MkdirAll(dir, 0777); err != nil { return _errors.Wrap(err, "Failed to create dir") } } createConfig(fs, basepath, n.configFormat) // Create a default archetype file. helpers.SafeWriteToDisk(filepath.Join(archeTypePath, "default.md"), strings.NewReader(create.ArchetypeTemplateTemplate), fs.Source) jww.FEEDBACK.Printf("Congratulations! Your new Hugo site is created in %s.\n\n", basepath) jww.FEEDBACK.Println(nextStepsText()) return nil } // newSite creates a new Hugo site and initializes a structured Hugo directory. func (n *newSiteCmd) newSite(cmd *cobra.Command, args []string) error { if len(args) < 1 { return newUserError("path needs to be provided") } createpath, err := filepath.Abs(filepath.Clean(args[0])) if err != nil { return newUserError(err) } forceNew, _ := cmd.Flags().GetBool("force") return n.doNewSite(hugofs.NewDefault(viper.New()), createpath, forceNew) } func createConfig(fs *hugofs.Fs, inpath string, kind string) (err error) { in := map[string]string{ "baseURL": "http://example.org/", "title": "My New Hugo Site", "languageCode": "en-us", } var buf bytes.Buffer err = parser.InterfaceToConfig(in, metadecoders.FormatFromString(kind), &buf) if err != nil { return err } return helpers.WriteToDisk(filepath.Join(inpath, "config."+kind), &buf, fs.Source) } func nextStepsText() string { var nextStepsText bytes.Buffer nextStepsText.WriteString(`Just a few more steps and you're ready to go: 1. Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme <THEMENAME>" command. 2. Perhaps you want to add some content. You can add single files with "hugo new `) nextStepsText.WriteString(filepath.Join("<SECTIONNAME>", "<FILENAME>.<FORMAT>")) nextStepsText.WriteString(`". 3. Start the built-in live server via "hugo server". Visit https://gohugo.io/ for quickstart guide and full documentation.`) return nextStepsText.String() }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./commands/genman.go
// Copyright 2016 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "fmt" "strings" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/cobra" "github.com/spf13/cobra/doc" jww "github.com/spf13/jwalterweatherman" ) var _ cmder = (*genManCmd)(nil) type genManCmd struct { genmandir string *baseCmd } func newGenManCmd() *genManCmd { cc := &genManCmd{} cc.baseCmd = newBaseCmd(&cobra.Command{ Use: "man", Short: "Generate man pages for the Hugo CLI", Long: `This command automatically generates up-to-date man pages of Hugo's command-line interface. By default, it creates the man page files in the "man" directory under the current directory.`, RunE: func(cmd *cobra.Command, args []string) error { header := &doc.GenManHeader{ Section: "1", Manual: "Hugo Manual", Source: fmt.Sprintf("Hugo %s", hugo.CurrentVersion), } if !strings.HasSuffix(cc.genmandir, helpers.FilePathSeparator) { cc.genmandir += helpers.FilePathSeparator } if found, _ := helpers.Exists(cc.genmandir, hugofs.Os); !found { jww.FEEDBACK.Println("Directory", cc.genmandir, "does not exist, creating...") if err := hugofs.Os.MkdirAll(cc.genmandir, 0777); err != nil { return err } } cmd.Root().DisableAutoGenTag = true jww.FEEDBACK.Println("Generating Hugo man pages in", cc.genmandir, "...") doc.GenManTree(cmd.Root(), header, cc.genmandir) jww.FEEDBACK.Println("Done.") return nil }, }) cc.cmd.PersistentFlags().StringVar(&cc.genmandir, "dir", "man/", "the directory to write the man pages.") // For bash-completion cc.cmd.PersistentFlags().SetAnnotation("dir", cobra.BashCompSubdirsInDir, []string{}) return cc }
// Copyright 2016 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package commands import ( "fmt" "strings" "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/cobra" "github.com/spf13/cobra/doc" jww "github.com/spf13/jwalterweatherman" ) var _ cmder = (*genManCmd)(nil) type genManCmd struct { genmandir string *baseCmd } func newGenManCmd() *genManCmd { cc := &genManCmd{} cc.baseCmd = newBaseCmd(&cobra.Command{ Use: "man", Short: "Generate man pages for the Hugo CLI", Long: `This command automatically generates up-to-date man pages of Hugo's command-line interface. By default, it creates the man page files in the "man" directory under the current directory.`, RunE: func(cmd *cobra.Command, args []string) error { header := &doc.GenManHeader{ Section: "1", Manual: "Hugo Manual", Source: fmt.Sprintf("Hugo %s", hugo.CurrentVersion), } if !strings.HasSuffix(cc.genmandir, helpers.FilePathSeparator) { cc.genmandir += helpers.FilePathSeparator } if found, _ := helpers.Exists(cc.genmandir, hugofs.Os); !found { jww.FEEDBACK.Println("Directory", cc.genmandir, "does not exist, creating...") if err := hugofs.Os.MkdirAll(cc.genmandir, 0777); err != nil { return err } } cmd.Root().DisableAutoGenTag = true jww.FEEDBACK.Println("Generating Hugo man pages in", cc.genmandir, "...") doc.GenManTree(cmd.Root(), header, cc.genmandir) jww.FEEDBACK.Println("Done.") return nil }, }) cc.cmd.PersistentFlags().StringVar(&cc.genmandir, "dir", "man/", "the directory to write the man pages.") // For bash-completion cc.cmd.PersistentFlags().SetAnnotation("dir", cobra.BashCompSubdirsInDir, []string{}) return cc }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/postpub/fields.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package postpub import ( "reflect" ) const ( FieldNotSupported = "__field_not_supported" ) func structToMapWithPlaceholders(root string, in interface{}, createPlaceholder func(s string) string) map[string]interface{} { m := structToMap(in) insertFieldPlaceholders(root, m, createPlaceholder) return m } func structToMap(s interface{}) map[string]interface{} { m := make(map[string]interface{}) t := reflect.TypeOf(s) for i := 0; i < t.NumMethod(); i++ { method := t.Method(i) if method.PkgPath != "" { continue } if method.Type.NumIn() == 1 { m[method.Name] = "" } } for i := 0; i < t.NumField(); i++ { field := t.Field(i) if field.PkgPath != "" { continue } m[field.Name] = "" } return m } // insert placeholder for the templates. Do it very shallow for now. func insertFieldPlaceholders(root string, m map[string]interface{}, createPlaceholder func(s string) string) { for k := range m { m[k] = createPlaceholder(root + "." + k) } }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package postpub import ( "reflect" ) const ( FieldNotSupported = "__field_not_supported" ) func structToMapWithPlaceholders(root string, in interface{}, createPlaceholder func(s string) string) map[string]interface{} { m := structToMap(in) insertFieldPlaceholders(root, m, createPlaceholder) return m } func structToMap(s interface{}) map[string]interface{} { m := make(map[string]interface{}) t := reflect.TypeOf(s) for i := 0; i < t.NumMethod(); i++ { method := t.Method(i) if method.PkgPath != "" { continue } if method.Type.NumIn() == 1 { m[method.Name] = "" } } for i := 0; i < t.NumField(); i++ { field := t.Field(i) if field.PkgPath != "" { continue } m[field.Name] = "" } return m } // insert placeholder for the templates. Do it very shallow for now. func insertFieldPlaceholders(root string, m map[string]interface{}, createPlaceholder func(s string) string) { for k := range m { m[k] = createPlaceholder(root + "." + k) } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./helpers/path_test.go
// Copyright 2015 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package helpers import ( "fmt" "io/ioutil" "os" "path/filepath" "reflect" "runtime" "strconv" "strings" "testing" "time" "github.com/gohugoio/hugo/langs" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" "github.com/spf13/viper" ) func TestMakePath(t *testing.T) { c := qt.New(t) tests := []struct { input string expected string removeAccents bool }{ {" Foo bar ", "Foo-bar", true}, {"Foo.Bar/foo_Bar-Foo", "Foo.Bar/foo_Bar-Foo", true}, {"fOO,bar:foobAR", "fOObarfoobAR", true}, {"FOo/BaR.html", "FOo/BaR.html", true}, {"трям/трям", "трям/трям", true}, {"은행", "은행", true}, {"Банковский кассир", "Банковскии-кассир", true}, // Issue #1488 {"संस्कृत", "संस्कृत", false}, {"a%C3%B1ame", "a%C3%B1ame", false}, // Issue #1292 {"this+is+a+test", "this+is+a+test", false}, // Issue #1290 {"~foo", "~foo", false}, // Issue #2177 } for _, test := range tests { v := newTestCfg() v.Set("removePathAccents", test.removeAccents) l := langs.NewDefaultLanguage(v) p, err := NewPathSpec(hugofs.NewMem(v), l, nil) c.Assert(err, qt.IsNil) output := p.MakePath(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestMakePathSanitized(t *testing.T) { v := newTestCfg() p, _ := NewPathSpec(hugofs.NewMem(v), v, nil) tests := []struct { input string expected string }{ {" FOO bar ", "foo-bar"}, {"Foo.Bar/fOO_bAr-Foo", "foo.bar/foo_bar-foo"}, {"FOO,bar:FooBar", "foobarfoobar"}, {"foo/BAR.HTML", "foo/bar.html"}, {"трям/трям", "трям/трям"}, {"은행", "은행"}, } for _, test := range tests { output := p.MakePathSanitized(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestMakePathSanitizedDisablePathToLower(t *testing.T) { v := newTestCfg() v.Set("disablePathToLower", true) l := langs.NewDefaultLanguage(v) p, _ := NewPathSpec(hugofs.NewMem(v), l, nil) tests := []struct { input string expected string }{ {" FOO bar ", "FOO-bar"}, {"Foo.Bar/fOO_bAr-Foo", "Foo.Bar/fOO_bAr-Foo"}, {"FOO,bar:FooBar", "FOObarFooBar"}, {"foo/BAR.HTML", "foo/BAR.HTML"}, {"трям/трям", "трям/трям"}, {"은행", "은행"}, } for _, test := range tests { output := p.MakePathSanitized(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestGetRelativePath(t *testing.T) { tests := []struct { path string base string expect interface{} }{ {filepath.FromSlash("/a/b"), filepath.FromSlash("/a"), filepath.FromSlash("b")}, {filepath.FromSlash("/a/b/c/"), filepath.FromSlash("/a"), filepath.FromSlash("b/c/")}, {filepath.FromSlash("/c"), filepath.FromSlash("/a/b"), filepath.FromSlash("../../c")}, {filepath.FromSlash("/c"), "", false}, } for i, this := range tests { // ultimately a fancy wrapper around filepath.Rel result, err := GetRelativePath(this.path, this.base) if b, ok := this.expect.(bool); ok && !b { if err == nil { t.Errorf("[%d] GetRelativePath didn't return an expected error", i) } } else { if err != nil { t.Errorf("[%d] GetRelativePath failed: %s", i, err) continue } if result != this.expect { t.Errorf("[%d] GetRelativePath got %v but expected %v", i, result, this.expect) } } } } func TestMakePathRelative(t *testing.T) { type test struct { inPath, path1, path2, output string } data := []test{ {"/abc/bcd/ab.css", "/abc/bcd", "/bbc/bcd", "/ab.css"}, {"/abc/bcd/ab.css", "/abcd/bcd", "/abc/bcd", "/ab.css"}, } for i, d := range data { output, _ := makePathRelative(d.inPath, d.path1, d.path2) if d.output != output { t.Errorf("Test #%d failed. Expected %q got %q", i, d.output, output) } } _, error := makePathRelative("a/b/c.ss", "/a/c", "/d/c", "/e/f") if error == nil { t.Errorf("Test failed, expected error") } } func TestGetDottedRelativePath(t *testing.T) { // on Windows this will receive both kinds, both country and western ... for _, f := range []func(string) string{filepath.FromSlash, func(s string) string { return s }} { doTestGetDottedRelativePath(f, t) } } func doTestGetDottedRelativePath(urlFixer func(string) string, t *testing.T) { type test struct { input, expected string } data := []test{ {"", "./"}, {urlFixer("/"), "./"}, {urlFixer("post"), "../"}, {urlFixer("/post"), "../"}, {urlFixer("post/"), "../"}, {urlFixer("tags/foo.html"), "../"}, {urlFixer("/tags/foo.html"), "../"}, {urlFixer("/post/"), "../"}, {urlFixer("////post/////"), "../"}, {urlFixer("/foo/bar/index.html"), "../../"}, {urlFixer("/foo/bar/foo/"), "../../../"}, {urlFixer("/foo/bar/foo"), "../../../"}, {urlFixer("foo/bar/foo/"), "../../../"}, {urlFixer("foo/bar/foo/bar"), "../../../../"}, {"404.html", "./"}, {"404.xml", "./"}, {"/404.html", "./"}, } for i, d := range data { output := GetDottedRelativePath(d.input) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestMakeTitle(t *testing.T) { type test struct { input, expected string } data := []test{ {"Make-Title", "Make Title"}, {"MakeTitle", "MakeTitle"}, {"make_title", "make_title"}, } for i, d := range data { output := MakeTitle(d.input) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } // Replace Extension is probably poorly named, but the intent of the // function is to accept a path and return only the file name with a // new extension. It's intentionally designed to strip out the path // and only provide the name. We should probably rename the function to // be more explicit at some point. func TestReplaceExtension(t *testing.T) { type test struct { input, newext, expected string } data := []test{ // These work according to the above definition {"/some/random/path/file.xml", "html", "file.html"}, {"/banana.html", "xml", "banana.xml"}, {"./banana.html", "xml", "banana.xml"}, {"banana/pie/index.html", "xml", "index.xml"}, {"../pies/fish/index.html", "xml", "index.xml"}, // but these all fail {"filename-without-an-ext", "ext", "filename-without-an-ext.ext"}, {"/filename-without-an-ext", "ext", "filename-without-an-ext.ext"}, {"/directory/mydir/", "ext", ".ext"}, {"mydir/", "ext", ".ext"}, } for i, d := range data { output := ReplaceExtension(filepath.FromSlash(d.input), d.newext) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestDirExists(t *testing.T) { type test struct { input string expected bool } data := []test{ {".", true}, {"./", true}, {"..", true}, {"../", true}, {"./..", true}, {"./../", true}, {os.TempDir(), true}, {os.TempDir() + FilePathSeparator, true}, {"/", true}, {"/some-really-random-directory-name", false}, {"/some/really/random/directory/name", false}, {"./some-really-random-local-directory-name", false}, {"./some/really/random/local/directory/name", false}, } for i, d := range data { exists, _ := DirExists(filepath.FromSlash(d.input), new(afero.OsFs)) if d.expected != exists { t.Errorf("Test %d failed. Expected %t got %t", i, d.expected, exists) } } } func TestIsDir(t *testing.T) { type test struct { input string expected bool } data := []test{ {"./", true}, {"/", true}, {"./this-directory-does-not-existi", false}, {"/this-absolute-directory/does-not-exist", false}, } for i, d := range data { exists, _ := IsDir(d.input, new(afero.OsFs)) if d.expected != exists { t.Errorf("Test %d failed. Expected %t got %t", i, d.expected, exists) } } } func TestIsEmpty(t *testing.T) { zeroSizedFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(zeroSizedFile) nonZeroSizedFile, _ := createNonZeroSizedFileInTempDir() defer deleteFileInTempDir(nonZeroSizedFile) emptyDirectory, _ := createEmptyTempDir() defer deleteTempDir(emptyDirectory) nonEmptyZeroLengthFilesDirectory, _ := createTempDirWithZeroLengthFiles() defer deleteTempDir(nonEmptyZeroLengthFilesDirectory) nonEmptyNonZeroLengthFilesDirectory, _ := createTempDirWithNonZeroLengthFiles() defer deleteTempDir(nonEmptyNonZeroLengthFilesDirectory) nonExistentFile := os.TempDir() + "/this-file-does-not-exist.txt" nonExistentDir := os.TempDir() + "/this/directory/does/not/exist/" fileDoesNotExist := fmt.Errorf("%q path does not exist", nonExistentFile) dirDoesNotExist := fmt.Errorf("%q path does not exist", nonExistentDir) type test struct { input string expectedResult bool expectedErr error } data := []test{ {zeroSizedFile.Name(), true, nil}, {nonZeroSizedFile.Name(), false, nil}, {emptyDirectory, true, nil}, {nonEmptyZeroLengthFilesDirectory, false, nil}, {nonEmptyNonZeroLengthFilesDirectory, false, nil}, {nonExistentFile, false, fileDoesNotExist}, {nonExistentDir, false, dirDoesNotExist}, } for i, d := range data { exists, err := IsEmpty(d.input, new(afero.OsFs)) if d.expectedResult != exists { t.Errorf("Test %d failed. Expected result %t got %t", i, d.expectedResult, exists) } if d.expectedErr != nil { if d.expectedErr.Error() != err.Error() { t.Errorf("Test %d failed. Expected %q(%#v) got %q(%#v)", i, d.expectedErr, d.expectedErr, err, err) } } else { if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q(%#v) got %q(%#v)", i, d.expectedErr, d.expectedErr, err, err) } } } } func createZeroSizedFileInTempDir() (*os.File, error) { filePrefix := "_path_test_" f, e := ioutil.TempFile("", filePrefix) // dir is os.TempDir() if e != nil { // if there was an error no file was created. // => no requirement to delete the file return nil, e } return f, nil } func createNonZeroSizedFileInTempDir() (*os.File, error) { f, err := createZeroSizedFileInTempDir() if err != nil { // no file ?? return nil, err } byteString := []byte("byteString") err = ioutil.WriteFile(f.Name(), byteString, 0644) if err != nil { // delete the file deleteFileInTempDir(f) return nil, err } return f, nil } func deleteFileInTempDir(f *os.File) { _ = os.Remove(f.Name()) } func createEmptyTempDir() (string, error) { dirPrefix := "_dir_prefix_" d, e := ioutil.TempDir("", dirPrefix) // will be in os.TempDir() if e != nil { // no directory to delete - it was never created return "", e } return d, nil } func createTempDirWithZeroLengthFiles() (string, error) { d, dirErr := createEmptyTempDir() if dirErr != nil { return "", dirErr } filePrefix := "_path_test_" _, fileErr := ioutil.TempFile(d, filePrefix) // dir is os.TempDir() if fileErr != nil { // if there was an error no file was created. // but we need to remove the directory to clean-up deleteTempDir(d) return "", fileErr } // the dir now has one, zero length file in it return d, nil } func createTempDirWithNonZeroLengthFiles() (string, error) { d, dirErr := createEmptyTempDir() if dirErr != nil { return "", dirErr } filePrefix := "_path_test_" f, fileErr := ioutil.TempFile(d, filePrefix) // dir is os.TempDir() if fileErr != nil { // if there was an error no file was created. // but we need to remove the directory to clean-up deleteTempDir(d) return "", fileErr } byteString := []byte("byteString") fileErr = ioutil.WriteFile(f.Name(), byteString, 0644) if fileErr != nil { // delete the file deleteFileInTempDir(f) // also delete the directory deleteTempDir(d) return "", fileErr } // the dir now has one, zero length file in it return d, nil } func deleteTempDir(d string) { _ = os.RemoveAll(d) } func TestExists(t *testing.T) { zeroSizedFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(zeroSizedFile) nonZeroSizedFile, _ := createNonZeroSizedFileInTempDir() defer deleteFileInTempDir(nonZeroSizedFile) emptyDirectory, _ := createEmptyTempDir() defer deleteTempDir(emptyDirectory) nonExistentFile := os.TempDir() + "/this-file-does-not-exist.txt" nonExistentDir := os.TempDir() + "/this/directory/does/not/exist/" type test struct { input string expectedResult bool expectedErr error } data := []test{ {zeroSizedFile.Name(), true, nil}, {nonZeroSizedFile.Name(), true, nil}, {emptyDirectory, true, nil}, {nonExistentFile, false, nil}, {nonExistentDir, false, nil}, } for i, d := range data { exists, err := Exists(d.input, new(afero.OsFs)) if d.expectedResult != exists { t.Errorf("Test %d failed. Expected result %t got %t", i, d.expectedResult, exists) } if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q got %q", i, d.expectedErr, err) } } } func TestAbsPathify(t *testing.T) { defer viper.Reset() type test struct { inPath, workingDir, expected string } data := []test{ {os.TempDir(), filepath.FromSlash("/work"), filepath.Clean(os.TempDir())}, // TempDir has trailing slash {"dir", filepath.FromSlash("/work"), filepath.FromSlash("/work/dir")}, } windowsData := []test{ {"c:\\banana\\..\\dir", "c:\\foo", "c:\\dir"}, {"\\dir", "c:\\foo", "c:\\foo\\dir"}, {"c:\\", "c:\\foo", "c:\\"}, } unixData := []test{ {"/banana/../dir/", "/work", "/dir"}, } for i, d := range data { viper.Reset() // todo see comment in AbsPathify ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } t.Logf("Running platform specific path tests for %s", runtime.GOOS) if runtime.GOOS == "windows" { for i, d := range windowsData { ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } } else { for i, d := range unixData { ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } } } func TestExtNoDelimiter(t *testing.T) { c := qt.New(t) c.Assert(ExtNoDelimiter(filepath.FromSlash("/my/data.json")), qt.Equals, "json") } func TestFilename(t *testing.T) { type test struct { input, expected string } data := []test{ {"index.html", "index"}, {"./index.html", "index"}, {"/index.html", "index"}, {"index", "index"}, {"/tmp/index.html", "index"}, {"./filename-no-ext", "filename-no-ext"}, {"/filename-no-ext", "filename-no-ext"}, {"filename-no-ext", "filename-no-ext"}, {"directory/", ""}, // no filename case?? {"directory/.hidden.ext", ".hidden"}, {"./directory/../~/banana/gold.fish", "gold"}, {"../directory/banana.man", "banana"}, {"~/mydir/filename.ext", "filename"}, {"./directory//tmp/filename.ext", "filename"}, } for i, d := range data { output := Filename(filepath.FromSlash(d.input)) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestFileAndExt(t *testing.T) { type test struct { input, expectedFile, expectedExt string } data := []test{ {"index.html", "index", ".html"}, {"./index.html", "index", ".html"}, {"/index.html", "index", ".html"}, {"index", "index", ""}, {"/tmp/index.html", "index", ".html"}, {"./filename-no-ext", "filename-no-ext", ""}, {"/filename-no-ext", "filename-no-ext", ""}, {"filename-no-ext", "filename-no-ext", ""}, {"directory/", "", ""}, // no filename case?? {"directory/.hidden.ext", ".hidden", ".ext"}, {"./directory/../~/banana/gold.fish", "gold", ".fish"}, {"../directory/banana.man", "banana", ".man"}, {"~/mydir/filename.ext", "filename", ".ext"}, {"./directory//tmp/filename.ext", "filename", ".ext"}, } for i, d := range data { file, ext := fileAndExt(filepath.FromSlash(d.input), fpb) if d.expectedFile != file { t.Errorf("Test %d failed. Expected filename %q got %q.", i, d.expectedFile, file) } if d.expectedExt != ext { t.Errorf("Test %d failed. Expected extension %q got %q.", i, d.expectedExt, ext) } } } func TestPathPrep(t *testing.T) { } func TestPrettifyPath(t *testing.T) { } func TestExtractAndGroupRootPaths(t *testing.T) { in := []string{ filepath.FromSlash("/a/b/c/d"), filepath.FromSlash("/a/b/c/e"), filepath.FromSlash("/a/b/e/f"), filepath.FromSlash("/a/b"), filepath.FromSlash("/a/b/c/b/g"), filepath.FromSlash("/c/d/e"), } inCopy := make([]string, len(in)) copy(inCopy, in) result := ExtractAndGroupRootPaths(in) c := qt.New(t) c.Assert(fmt.Sprint(result), qt.Equals, filepath.FromSlash("[/a/b/{c,e} /c/d/e]")) // Make sure the original is preserved c.Assert(in, qt.DeepEquals, inCopy) } func TestExtractRootPaths(t *testing.T) { tests := []struct { input []string expected []string }{{ []string{ filepath.FromSlash("a/b"), filepath.FromSlash("a/b/c/"), "b", filepath.FromSlash("/c/d"), filepath.FromSlash("d/"), filepath.FromSlash("//e//"), }, []string{"a", "a", "b", "c", "d", "e"}, }} for _, test := range tests { output := ExtractRootPaths(test.input) if !reflect.DeepEqual(output, test.expected) { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestFindCWD(t *testing.T) { type test struct { expectedDir string expectedErr error } // cwd, _ := os.Getwd() data := []test{ //{cwd, nil}, // Commenting this out. It doesn't work properly. // There's a good reason why we don't use os.Getwd(), it doesn't actually work the way we want it to. // I really don't know a better way to test this function. - SPF 2014.11.04 } for i, d := range data { dir, err := FindCWD() if d.expectedDir != dir { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedDir, dir) } if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedErr, err) } } } func TestSafeWriteToDisk(t *testing.T) { emptyFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(emptyFile) tmpDir, _ := createEmptyTempDir() defer deleteTempDir(tmpDir) randomString := "This is a random string!" reader := strings.NewReader(randomString) fileExists := fmt.Errorf("%v already exists", emptyFile.Name()) type test struct { filename string expectedErr error } now := time.Now().Unix() nowStr := strconv.FormatInt(now, 10) data := []test{ {emptyFile.Name(), fileExists}, {tmpDir + "/" + nowStr, nil}, } for i, d := range data { e := SafeWriteToDisk(d.filename, reader, new(afero.OsFs)) if d.expectedErr != nil { if d.expectedErr.Error() != e.Error() { t.Errorf("Test %d failed. Expected error %q but got %q", i, d.expectedErr.Error(), e.Error()) } } else { if d.expectedErr != e { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedErr, e) } contents, _ := ioutil.ReadFile(d.filename) if randomString != string(contents) { t.Errorf("Test %d failed. Expected contents %q but got %q", i, randomString, string(contents)) } } reader.Seek(0, 0) } } func TestWriteToDisk(t *testing.T) { emptyFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(emptyFile) tmpDir, _ := createEmptyTempDir() defer deleteTempDir(tmpDir) randomString := "This is a random string!" reader := strings.NewReader(randomString) type test struct { filename string expectedErr error } now := time.Now().Unix() nowStr := strconv.FormatInt(now, 10) data := []test{ {emptyFile.Name(), nil}, {tmpDir + "/" + nowStr, nil}, } for i, d := range data { e := WriteToDisk(d.filename, reader, new(afero.OsFs)) if d.expectedErr != e { t.Errorf("Test %d failed. WriteToDisk Error Expected %q but got %q", i, d.expectedErr, e) } contents, e := ioutil.ReadFile(d.filename) if e != nil { t.Errorf("Test %d failed. Could not read file %s. Reason: %s\n", i, d.filename, e) } if randomString != string(contents) { t.Errorf("Test %d failed. Expected contents %q but got %q", i, randomString, string(contents)) } reader.Seek(0, 0) } } func TestGetTempDir(t *testing.T) { dir := os.TempDir() if FilePathSeparator != dir[len(dir)-1:] { dir = dir + FilePathSeparator } testDir := "hugoTestFolder" + FilePathSeparator tests := []struct { input string expected string }{ {"", dir}, {testDir + " Foo bar ", dir + testDir + " Foo bar " + FilePathSeparator}, {testDir + "Foo.Bar/foo_Bar-Foo", dir + testDir + "Foo.Bar/foo_Bar-Foo" + FilePathSeparator}, {testDir + "fOO,bar:foo%bAR", dir + testDir + "fOObarfoo%bAR" + FilePathSeparator}, {testDir + "fOO,bar:foobAR", dir + testDir + "fOObarfoobAR" + FilePathSeparator}, {testDir + "FOo/BaR.html", dir + testDir + "FOo/BaR.html" + FilePathSeparator}, {testDir + "трям/трям", dir + testDir + "трям/трям" + FilePathSeparator}, {testDir + "은행", dir + testDir + "은행" + FilePathSeparator}, {testDir + "Банковский кассир", dir + testDir + "Банковский кассир" + FilePathSeparator}, } for _, test := range tests { output := GetTempDir(test.input, new(afero.MemMapFs)) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } }
// Copyright 2015 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package helpers import ( "fmt" "io/ioutil" "os" "path/filepath" "reflect" "runtime" "strconv" "strings" "testing" "time" "github.com/gohugoio/hugo/langs" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/hugofs" "github.com/spf13/afero" "github.com/spf13/viper" ) func TestMakePath(t *testing.T) { c := qt.New(t) tests := []struct { input string expected string removeAccents bool }{ {" Foo bar ", "Foo-bar", true}, {"Foo.Bar/foo_Bar-Foo", "Foo.Bar/foo_Bar-Foo", true}, {"fOO,bar:foobAR", "fOObarfoobAR", true}, {"FOo/BaR.html", "FOo/BaR.html", true}, {"трям/трям", "трям/трям", true}, {"은행", "은행", true}, {"Банковский кассир", "Банковскии-кассир", true}, // Issue #1488 {"संस्कृत", "संस्कृत", false}, {"a%C3%B1ame", "a%C3%B1ame", false}, // Issue #1292 {"this+is+a+test", "this+is+a+test", false}, // Issue #1290 {"~foo", "~foo", false}, // Issue #2177 } for _, test := range tests { v := newTestCfg() v.Set("removePathAccents", test.removeAccents) l := langs.NewDefaultLanguage(v) p, err := NewPathSpec(hugofs.NewMem(v), l, nil) c.Assert(err, qt.IsNil) output := p.MakePath(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestMakePathSanitized(t *testing.T) { v := newTestCfg() p, _ := NewPathSpec(hugofs.NewMem(v), v, nil) tests := []struct { input string expected string }{ {" FOO bar ", "foo-bar"}, {"Foo.Bar/fOO_bAr-Foo", "foo.bar/foo_bar-foo"}, {"FOO,bar:FooBar", "foobarfoobar"}, {"foo/BAR.HTML", "foo/bar.html"}, {"трям/трям", "трям/трям"}, {"은행", "은행"}, } for _, test := range tests { output := p.MakePathSanitized(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestMakePathSanitizedDisablePathToLower(t *testing.T) { v := newTestCfg() v.Set("disablePathToLower", true) l := langs.NewDefaultLanguage(v) p, _ := NewPathSpec(hugofs.NewMem(v), l, nil) tests := []struct { input string expected string }{ {" FOO bar ", "FOO-bar"}, {"Foo.Bar/fOO_bAr-Foo", "Foo.Bar/fOO_bAr-Foo"}, {"FOO,bar:FooBar", "FOObarFooBar"}, {"foo/BAR.HTML", "foo/BAR.HTML"}, {"трям/трям", "трям/трям"}, {"은행", "은행"}, } for _, test := range tests { output := p.MakePathSanitized(test.input) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestGetRelativePath(t *testing.T) { tests := []struct { path string base string expect interface{} }{ {filepath.FromSlash("/a/b"), filepath.FromSlash("/a"), filepath.FromSlash("b")}, {filepath.FromSlash("/a/b/c/"), filepath.FromSlash("/a"), filepath.FromSlash("b/c/")}, {filepath.FromSlash("/c"), filepath.FromSlash("/a/b"), filepath.FromSlash("../../c")}, {filepath.FromSlash("/c"), "", false}, } for i, this := range tests { // ultimately a fancy wrapper around filepath.Rel result, err := GetRelativePath(this.path, this.base) if b, ok := this.expect.(bool); ok && !b { if err == nil { t.Errorf("[%d] GetRelativePath didn't return an expected error", i) } } else { if err != nil { t.Errorf("[%d] GetRelativePath failed: %s", i, err) continue } if result != this.expect { t.Errorf("[%d] GetRelativePath got %v but expected %v", i, result, this.expect) } } } } func TestMakePathRelative(t *testing.T) { type test struct { inPath, path1, path2, output string } data := []test{ {"/abc/bcd/ab.css", "/abc/bcd", "/bbc/bcd", "/ab.css"}, {"/abc/bcd/ab.css", "/abcd/bcd", "/abc/bcd", "/ab.css"}, } for i, d := range data { output, _ := makePathRelative(d.inPath, d.path1, d.path2) if d.output != output { t.Errorf("Test #%d failed. Expected %q got %q", i, d.output, output) } } _, error := makePathRelative("a/b/c.ss", "/a/c", "/d/c", "/e/f") if error == nil { t.Errorf("Test failed, expected error") } } func TestGetDottedRelativePath(t *testing.T) { // on Windows this will receive both kinds, both country and western ... for _, f := range []func(string) string{filepath.FromSlash, func(s string) string { return s }} { doTestGetDottedRelativePath(f, t) } } func doTestGetDottedRelativePath(urlFixer func(string) string, t *testing.T) { type test struct { input, expected string } data := []test{ {"", "./"}, {urlFixer("/"), "./"}, {urlFixer("post"), "../"}, {urlFixer("/post"), "../"}, {urlFixer("post/"), "../"}, {urlFixer("tags/foo.html"), "../"}, {urlFixer("/tags/foo.html"), "../"}, {urlFixer("/post/"), "../"}, {urlFixer("////post/////"), "../"}, {urlFixer("/foo/bar/index.html"), "../../"}, {urlFixer("/foo/bar/foo/"), "../../../"}, {urlFixer("/foo/bar/foo"), "../../../"}, {urlFixer("foo/bar/foo/"), "../../../"}, {urlFixer("foo/bar/foo/bar"), "../../../../"}, {"404.html", "./"}, {"404.xml", "./"}, {"/404.html", "./"}, } for i, d := range data { output := GetDottedRelativePath(d.input) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestMakeTitle(t *testing.T) { type test struct { input, expected string } data := []test{ {"Make-Title", "Make Title"}, {"MakeTitle", "MakeTitle"}, {"make_title", "make_title"}, } for i, d := range data { output := MakeTitle(d.input) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } // Replace Extension is probably poorly named, but the intent of the // function is to accept a path and return only the file name with a // new extension. It's intentionally designed to strip out the path // and only provide the name. We should probably rename the function to // be more explicit at some point. func TestReplaceExtension(t *testing.T) { type test struct { input, newext, expected string } data := []test{ // These work according to the above definition {"/some/random/path/file.xml", "html", "file.html"}, {"/banana.html", "xml", "banana.xml"}, {"./banana.html", "xml", "banana.xml"}, {"banana/pie/index.html", "xml", "index.xml"}, {"../pies/fish/index.html", "xml", "index.xml"}, // but these all fail {"filename-without-an-ext", "ext", "filename-without-an-ext.ext"}, {"/filename-without-an-ext", "ext", "filename-without-an-ext.ext"}, {"/directory/mydir/", "ext", ".ext"}, {"mydir/", "ext", ".ext"}, } for i, d := range data { output := ReplaceExtension(filepath.FromSlash(d.input), d.newext) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestDirExists(t *testing.T) { type test struct { input string expected bool } data := []test{ {".", true}, {"./", true}, {"..", true}, {"../", true}, {"./..", true}, {"./../", true}, {os.TempDir(), true}, {os.TempDir() + FilePathSeparator, true}, {"/", true}, {"/some-really-random-directory-name", false}, {"/some/really/random/directory/name", false}, {"./some-really-random-local-directory-name", false}, {"./some/really/random/local/directory/name", false}, } for i, d := range data { exists, _ := DirExists(filepath.FromSlash(d.input), new(afero.OsFs)) if d.expected != exists { t.Errorf("Test %d failed. Expected %t got %t", i, d.expected, exists) } } } func TestIsDir(t *testing.T) { type test struct { input string expected bool } data := []test{ {"./", true}, {"/", true}, {"./this-directory-does-not-existi", false}, {"/this-absolute-directory/does-not-exist", false}, } for i, d := range data { exists, _ := IsDir(d.input, new(afero.OsFs)) if d.expected != exists { t.Errorf("Test %d failed. Expected %t got %t", i, d.expected, exists) } } } func TestIsEmpty(t *testing.T) { zeroSizedFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(zeroSizedFile) nonZeroSizedFile, _ := createNonZeroSizedFileInTempDir() defer deleteFileInTempDir(nonZeroSizedFile) emptyDirectory, _ := createEmptyTempDir() defer deleteTempDir(emptyDirectory) nonEmptyZeroLengthFilesDirectory, _ := createTempDirWithZeroLengthFiles() defer deleteTempDir(nonEmptyZeroLengthFilesDirectory) nonEmptyNonZeroLengthFilesDirectory, _ := createTempDirWithNonZeroLengthFiles() defer deleteTempDir(nonEmptyNonZeroLengthFilesDirectory) nonExistentFile := os.TempDir() + "/this-file-does-not-exist.txt" nonExistentDir := os.TempDir() + "/this/directory/does/not/exist/" fileDoesNotExist := fmt.Errorf("%q path does not exist", nonExistentFile) dirDoesNotExist := fmt.Errorf("%q path does not exist", nonExistentDir) type test struct { input string expectedResult bool expectedErr error } data := []test{ {zeroSizedFile.Name(), true, nil}, {nonZeroSizedFile.Name(), false, nil}, {emptyDirectory, true, nil}, {nonEmptyZeroLengthFilesDirectory, false, nil}, {nonEmptyNonZeroLengthFilesDirectory, false, nil}, {nonExistentFile, false, fileDoesNotExist}, {nonExistentDir, false, dirDoesNotExist}, } for i, d := range data { exists, err := IsEmpty(d.input, new(afero.OsFs)) if d.expectedResult != exists { t.Errorf("Test %d failed. Expected result %t got %t", i, d.expectedResult, exists) } if d.expectedErr != nil { if d.expectedErr.Error() != err.Error() { t.Errorf("Test %d failed. Expected %q(%#v) got %q(%#v)", i, d.expectedErr, d.expectedErr, err, err) } } else { if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q(%#v) got %q(%#v)", i, d.expectedErr, d.expectedErr, err, err) } } } } func createZeroSizedFileInTempDir() (*os.File, error) { filePrefix := "_path_test_" f, e := ioutil.TempFile("", filePrefix) // dir is os.TempDir() if e != nil { // if there was an error no file was created. // => no requirement to delete the file return nil, e } return f, nil } func createNonZeroSizedFileInTempDir() (*os.File, error) { f, err := createZeroSizedFileInTempDir() if err != nil { // no file ?? return nil, err } byteString := []byte("byteString") err = ioutil.WriteFile(f.Name(), byteString, 0644) if err != nil { // delete the file deleteFileInTempDir(f) return nil, err } return f, nil } func deleteFileInTempDir(f *os.File) { _ = os.Remove(f.Name()) } func createEmptyTempDir() (string, error) { dirPrefix := "_dir_prefix_" d, e := ioutil.TempDir("", dirPrefix) // will be in os.TempDir() if e != nil { // no directory to delete - it was never created return "", e } return d, nil } func createTempDirWithZeroLengthFiles() (string, error) { d, dirErr := createEmptyTempDir() if dirErr != nil { return "", dirErr } filePrefix := "_path_test_" _, fileErr := ioutil.TempFile(d, filePrefix) // dir is os.TempDir() if fileErr != nil { // if there was an error no file was created. // but we need to remove the directory to clean-up deleteTempDir(d) return "", fileErr } // the dir now has one, zero length file in it return d, nil } func createTempDirWithNonZeroLengthFiles() (string, error) { d, dirErr := createEmptyTempDir() if dirErr != nil { return "", dirErr } filePrefix := "_path_test_" f, fileErr := ioutil.TempFile(d, filePrefix) // dir is os.TempDir() if fileErr != nil { // if there was an error no file was created. // but we need to remove the directory to clean-up deleteTempDir(d) return "", fileErr } byteString := []byte("byteString") fileErr = ioutil.WriteFile(f.Name(), byteString, 0644) if fileErr != nil { // delete the file deleteFileInTempDir(f) // also delete the directory deleteTempDir(d) return "", fileErr } // the dir now has one, zero length file in it return d, nil } func deleteTempDir(d string) { _ = os.RemoveAll(d) } func TestExists(t *testing.T) { zeroSizedFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(zeroSizedFile) nonZeroSizedFile, _ := createNonZeroSizedFileInTempDir() defer deleteFileInTempDir(nonZeroSizedFile) emptyDirectory, _ := createEmptyTempDir() defer deleteTempDir(emptyDirectory) nonExistentFile := os.TempDir() + "/this-file-does-not-exist.txt" nonExistentDir := os.TempDir() + "/this/directory/does/not/exist/" type test struct { input string expectedResult bool expectedErr error } data := []test{ {zeroSizedFile.Name(), true, nil}, {nonZeroSizedFile.Name(), true, nil}, {emptyDirectory, true, nil}, {nonExistentFile, false, nil}, {nonExistentDir, false, nil}, } for i, d := range data { exists, err := Exists(d.input, new(afero.OsFs)) if d.expectedResult != exists { t.Errorf("Test %d failed. Expected result %t got %t", i, d.expectedResult, exists) } if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q got %q", i, d.expectedErr, err) } } } func TestAbsPathify(t *testing.T) { defer viper.Reset() type test struct { inPath, workingDir, expected string } data := []test{ {os.TempDir(), filepath.FromSlash("/work"), filepath.Clean(os.TempDir())}, // TempDir has trailing slash {"dir", filepath.FromSlash("/work"), filepath.FromSlash("/work/dir")}, } windowsData := []test{ {"c:\\banana\\..\\dir", "c:\\foo", "c:\\dir"}, {"\\dir", "c:\\foo", "c:\\foo\\dir"}, {"c:\\", "c:\\foo", "c:\\"}, } unixData := []test{ {"/banana/../dir/", "/work", "/dir"}, } for i, d := range data { viper.Reset() // todo see comment in AbsPathify ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } t.Logf("Running platform specific path tests for %s", runtime.GOOS) if runtime.GOOS == "windows" { for i, d := range windowsData { ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } } else { for i, d := range unixData { ps := newTestDefaultPathSpec("workingDir", d.workingDir) expected := ps.AbsPathify(d.inPath) if d.expected != expected { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expected, expected) } } } } func TestExtNoDelimiter(t *testing.T) { c := qt.New(t) c.Assert(ExtNoDelimiter(filepath.FromSlash("/my/data.json")), qt.Equals, "json") } func TestFilename(t *testing.T) { type test struct { input, expected string } data := []test{ {"index.html", "index"}, {"./index.html", "index"}, {"/index.html", "index"}, {"index", "index"}, {"/tmp/index.html", "index"}, {"./filename-no-ext", "filename-no-ext"}, {"/filename-no-ext", "filename-no-ext"}, {"filename-no-ext", "filename-no-ext"}, {"directory/", ""}, // no filename case?? {"directory/.hidden.ext", ".hidden"}, {"./directory/../~/banana/gold.fish", "gold"}, {"../directory/banana.man", "banana"}, {"~/mydir/filename.ext", "filename"}, {"./directory//tmp/filename.ext", "filename"}, } for i, d := range data { output := Filename(filepath.FromSlash(d.input)) if d.expected != output { t.Errorf("Test %d failed. Expected %q got %q", i, d.expected, output) } } } func TestFileAndExt(t *testing.T) { type test struct { input, expectedFile, expectedExt string } data := []test{ {"index.html", "index", ".html"}, {"./index.html", "index", ".html"}, {"/index.html", "index", ".html"}, {"index", "index", ""}, {"/tmp/index.html", "index", ".html"}, {"./filename-no-ext", "filename-no-ext", ""}, {"/filename-no-ext", "filename-no-ext", ""}, {"filename-no-ext", "filename-no-ext", ""}, {"directory/", "", ""}, // no filename case?? {"directory/.hidden.ext", ".hidden", ".ext"}, {"./directory/../~/banana/gold.fish", "gold", ".fish"}, {"../directory/banana.man", "banana", ".man"}, {"~/mydir/filename.ext", "filename", ".ext"}, {"./directory//tmp/filename.ext", "filename", ".ext"}, } for i, d := range data { file, ext := fileAndExt(filepath.FromSlash(d.input), fpb) if d.expectedFile != file { t.Errorf("Test %d failed. Expected filename %q got %q.", i, d.expectedFile, file) } if d.expectedExt != ext { t.Errorf("Test %d failed. Expected extension %q got %q.", i, d.expectedExt, ext) } } } func TestPathPrep(t *testing.T) { } func TestPrettifyPath(t *testing.T) { } func TestExtractAndGroupRootPaths(t *testing.T) { in := []string{ filepath.FromSlash("/a/b/c/d"), filepath.FromSlash("/a/b/c/e"), filepath.FromSlash("/a/b/e/f"), filepath.FromSlash("/a/b"), filepath.FromSlash("/a/b/c/b/g"), filepath.FromSlash("/c/d/e"), } inCopy := make([]string, len(in)) copy(inCopy, in) result := ExtractAndGroupRootPaths(in) c := qt.New(t) c.Assert(fmt.Sprint(result), qt.Equals, filepath.FromSlash("[/a/b/{c,e} /c/d/e]")) // Make sure the original is preserved c.Assert(in, qt.DeepEquals, inCopy) } func TestExtractRootPaths(t *testing.T) { tests := []struct { input []string expected []string }{{ []string{ filepath.FromSlash("a/b"), filepath.FromSlash("a/b/c/"), "b", filepath.FromSlash("/c/d"), filepath.FromSlash("d/"), filepath.FromSlash("//e//"), }, []string{"a", "a", "b", "c", "d", "e"}, }} for _, test := range tests { output := ExtractRootPaths(test.input) if !reflect.DeepEqual(output, test.expected) { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } } func TestFindCWD(t *testing.T) { type test struct { expectedDir string expectedErr error } // cwd, _ := os.Getwd() data := []test{ //{cwd, nil}, // Commenting this out. It doesn't work properly. // There's a good reason why we don't use os.Getwd(), it doesn't actually work the way we want it to. // I really don't know a better way to test this function. - SPF 2014.11.04 } for i, d := range data { dir, err := FindCWD() if d.expectedDir != dir { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedDir, dir) } if d.expectedErr != err { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedErr, err) } } } func TestSafeWriteToDisk(t *testing.T) { emptyFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(emptyFile) tmpDir, _ := createEmptyTempDir() defer deleteTempDir(tmpDir) randomString := "This is a random string!" reader := strings.NewReader(randomString) fileExists := fmt.Errorf("%v already exists", emptyFile.Name()) type test struct { filename string expectedErr error } now := time.Now().Unix() nowStr := strconv.FormatInt(now, 10) data := []test{ {emptyFile.Name(), fileExists}, {tmpDir + "/" + nowStr, nil}, } for i, d := range data { e := SafeWriteToDisk(d.filename, reader, new(afero.OsFs)) if d.expectedErr != nil { if d.expectedErr.Error() != e.Error() { t.Errorf("Test %d failed. Expected error %q but got %q", i, d.expectedErr.Error(), e.Error()) } } else { if d.expectedErr != e { t.Errorf("Test %d failed. Expected %q but got %q", i, d.expectedErr, e) } contents, _ := ioutil.ReadFile(d.filename) if randomString != string(contents) { t.Errorf("Test %d failed. Expected contents %q but got %q", i, randomString, string(contents)) } } reader.Seek(0, 0) } } func TestWriteToDisk(t *testing.T) { emptyFile, _ := createZeroSizedFileInTempDir() defer deleteFileInTempDir(emptyFile) tmpDir, _ := createEmptyTempDir() defer deleteTempDir(tmpDir) randomString := "This is a random string!" reader := strings.NewReader(randomString) type test struct { filename string expectedErr error } now := time.Now().Unix() nowStr := strconv.FormatInt(now, 10) data := []test{ {emptyFile.Name(), nil}, {tmpDir + "/" + nowStr, nil}, } for i, d := range data { e := WriteToDisk(d.filename, reader, new(afero.OsFs)) if d.expectedErr != e { t.Errorf("Test %d failed. WriteToDisk Error Expected %q but got %q", i, d.expectedErr, e) } contents, e := ioutil.ReadFile(d.filename) if e != nil { t.Errorf("Test %d failed. Could not read file %s. Reason: %s\n", i, d.filename, e) } if randomString != string(contents) { t.Errorf("Test %d failed. Expected contents %q but got %q", i, randomString, string(contents)) } reader.Seek(0, 0) } } func TestGetTempDir(t *testing.T) { dir := os.TempDir() if FilePathSeparator != dir[len(dir)-1:] { dir = dir + FilePathSeparator } testDir := "hugoTestFolder" + FilePathSeparator tests := []struct { input string expected string }{ {"", dir}, {testDir + " Foo bar ", dir + testDir + " Foo bar " + FilePathSeparator}, {testDir + "Foo.Bar/foo_Bar-Foo", dir + testDir + "Foo.Bar/foo_Bar-Foo" + FilePathSeparator}, {testDir + "fOO,bar:foo%bAR", dir + testDir + "fOObarfoo%bAR" + FilePathSeparator}, {testDir + "fOO,bar:foobAR", dir + testDir + "fOObarfoobAR" + FilePathSeparator}, {testDir + "FOo/BaR.html", dir + testDir + "FOo/BaR.html" + FilePathSeparator}, {testDir + "трям/трям", dir + testDir + "трям/трям" + FilePathSeparator}, {testDir + "은행", dir + testDir + "은행" + FilePathSeparator}, {testDir + "Банковский кассир", dir + testDir + "Банковский кассир" + FilePathSeparator}, } for _, test := range tests { output := GetTempDir(test.input, new(afero.MemMapFs)) if output != test.expected { t.Errorf("Expected %#v, got %#v\n", test.expected, output) } } }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/internal/go_templates/htmltemplate/escape.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package template import ( "bytes" "fmt" "html" "io" template "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate" "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse" ) // escapeTemplate rewrites the named template, which must be // associated with t, to guarantee that the output of any of the named // templates is properly escaped. If no error is returned, then the named templates have // been modified. Otherwise the named templates have been rendered // unusable. func escapeTemplate(tmpl *Template, node parse.Node, name string) error { c, _ := tmpl.esc.escapeTree(context{}, node, name, 0) var err error if c.err != nil { err, c.err.Name = c.err, name } else if c.state != stateText { err = &Error{ErrEndContext, nil, name, 0, fmt.Sprintf("ends in a non-text context: %v", c)} } if err != nil { // Prevent execution of unsafe templates. if t := tmpl.set[name]; t != nil { t.escapeErr = err t.text.Tree = nil t.Tree = nil } return err } tmpl.esc.commit() if t := tmpl.set[name]; t != nil { t.escapeErr = escapeOK t.Tree = t.text.Tree } return nil } // evalArgs formats the list of arguments into a string. It is equivalent to // fmt.Sprint(args...), except that it deferences all pointers. func evalArgs(args ...interface{}) string { // Optimization for simple common case of a single string argument. if len(args) == 1 { if s, ok := args[0].(string); ok { return s } } for i, arg := range args { args[i] = indirectToStringerOrError(arg) } return fmt.Sprint(args...) } // funcMap maps command names to functions that render their inputs safe. var funcMap = template.FuncMap{ "_html_template_attrescaper": attrEscaper, "_html_template_commentescaper": commentEscaper, "_html_template_cssescaper": cssEscaper, "_html_template_cssvaluefilter": cssValueFilter, "_html_template_htmlnamefilter": htmlNameFilter, "_html_template_htmlescaper": htmlEscaper, "_html_template_jsregexpescaper": jsRegexpEscaper, "_html_template_jsstrescaper": jsStrEscaper, "_html_template_jsvalescaper": jsValEscaper, "_html_template_nospaceescaper": htmlNospaceEscaper, "_html_template_rcdataescaper": rcdataEscaper, "_html_template_srcsetescaper": srcsetFilterAndEscaper, "_html_template_urlescaper": urlEscaper, "_html_template_urlfilter": urlFilter, "_html_template_urlnormalizer": urlNormalizer, "_eval_args_": evalArgs, } // escaper collects type inferences about templates and changes needed to make // templates injection safe. type escaper struct { // ns is the nameSpace that this escaper is associated with. ns *nameSpace // output[templateName] is the output context for a templateName that // has been mangled to include its input context. output map[string]context // derived[c.mangle(name)] maps to a template derived from the template // named name templateName for the start context c. derived map[string]*template.Template // called[templateName] is a set of called mangled template names. called map[string]bool // xxxNodeEdits are the accumulated edits to apply during commit. // Such edits are not applied immediately in case a template set // executes a given template in different escaping contexts. actionNodeEdits map[*parse.ActionNode][]string templateNodeEdits map[*parse.TemplateNode]string textNodeEdits map[*parse.TextNode][]byte } // makeEscaper creates a blank escaper for the given set. func makeEscaper(n *nameSpace) escaper { return escaper{ n, map[string]context{}, map[string]*template.Template{}, map[string]bool{}, map[*parse.ActionNode][]string{}, map[*parse.TemplateNode]string{}, map[*parse.TextNode][]byte{}, } } // filterFailsafe is an innocuous word that is emitted in place of unsafe values // by sanitizer functions. It is not a keyword in any programming language, // contains no special characters, is not empty, and when it appears in output // it is distinct enough that a developer can find the source of the problem // via a search engine. const filterFailsafe = "ZgotmplZ" // escape escapes a template node. func (e *escaper) escape(c context, n parse.Node) context { switch n := n.(type) { case *parse.ActionNode: return e.escapeAction(c, n) case *parse.IfNode: return e.escapeBranch(c, &n.BranchNode, "if") case *parse.ListNode: return e.escapeList(c, n) case *parse.RangeNode: return e.escapeBranch(c, &n.BranchNode, "range") case *parse.TemplateNode: return e.escapeTemplate(c, n) case *parse.TextNode: return e.escapeText(c, n) case *parse.WithNode: return e.escapeBranch(c, &n.BranchNode, "with") } panic("escaping " + n.String() + " is unimplemented") } // escapeAction escapes an action template node. func (e *escaper) escapeAction(c context, n *parse.ActionNode) context { if len(n.Pipe.Decl) != 0 { // A local variable assignment, not an interpolation. return c } c = nudge(c) // Check for disallowed use of predefined escapers in the pipeline. for pos, idNode := range n.Pipe.Cmds { node, ok := idNode.Args[0].(*parse.IdentifierNode) if !ok { // A predefined escaper "esc" will never be found as an identifier in a // Chain or Field node, since: // - "esc.x ..." is invalid, since predefined escapers return strings, and // strings do not have methods, keys or fields. // - "... .esc" is invalid, since predefined escapers are global functions, // not methods or fields of any types. // Therefore, it is safe to ignore these two node types. continue } ident := node.Ident if _, ok := predefinedEscapers[ident]; ok { if pos < len(n.Pipe.Cmds)-1 || c.state == stateAttr && c.delim == delimSpaceOrTagEnd && ident == "html" { return context{ state: stateError, err: errorf(ErrPredefinedEscaper, n, n.Line, "predefined escaper %q disallowed in template", ident), } } } } s := make([]string, 0, 3) switch c.state { case stateError: return c case stateURL, stateCSSDqStr, stateCSSSqStr, stateCSSDqURL, stateCSSSqURL, stateCSSURL: switch c.urlPart { case urlPartNone: s = append(s, "_html_template_urlfilter") fallthrough case urlPartPreQuery: switch c.state { case stateCSSDqStr, stateCSSSqStr: s = append(s, "_html_template_cssescaper") default: s = append(s, "_html_template_urlnormalizer") } case urlPartQueryOrFrag: s = append(s, "_html_template_urlescaper") case urlPartUnknown: return context{ state: stateError, err: errorf(ErrAmbigContext, n, n.Line, "%s appears in an ambiguous context within a URL", n), } default: panic(c.urlPart.String()) } case stateJS: s = append(s, "_html_template_jsvalescaper") // A slash after a value starts a div operator. c.jsCtx = jsCtxDivOp case stateJSDqStr, stateJSSqStr: s = append(s, "_html_template_jsstrescaper") case stateJSRegexp: s = append(s, "_html_template_jsregexpescaper") case stateCSS: s = append(s, "_html_template_cssvaluefilter") case stateText: s = append(s, "_html_template_htmlescaper") case stateRCDATA: s = append(s, "_html_template_rcdataescaper") case stateAttr: // Handled below in delim check. case stateAttrName, stateTag: c.state = stateAttrName s = append(s, "_html_template_htmlnamefilter") case stateSrcset: s = append(s, "_html_template_srcsetescaper") default: if isComment(c.state) { s = append(s, "_html_template_commentescaper") } else { panic("unexpected state " + c.state.String()) } } switch c.delim { case delimNone: // No extra-escaping needed for raw text content. case delimSpaceOrTagEnd: s = append(s, "_html_template_nospaceescaper") default: s = append(s, "_html_template_attrescaper") } e.editActionNode(n, s) return c } // ensurePipelineContains ensures that the pipeline ends with the commands with // the identifiers in s in order. If the pipeline ends with a predefined escaper // (i.e. "html" or "urlquery"), merge it with the identifiers in s. func ensurePipelineContains(p *parse.PipeNode, s []string) { if len(s) == 0 { // Do not rewrite pipeline if we have no escapers to insert. return } // Precondition: p.Cmds contains at most one predefined escaper and the // escaper will be present at p.Cmds[len(p.Cmds)-1]. This precondition is // always true because of the checks in escapeAction. pipelineLen := len(p.Cmds) if pipelineLen > 0 { lastCmd := p.Cmds[pipelineLen-1] if idNode, ok := lastCmd.Args[0].(*parse.IdentifierNode); ok { if esc := idNode.Ident; predefinedEscapers[esc] { // Pipeline ends with a predefined escaper. if len(p.Cmds) == 1 && len(lastCmd.Args) > 1 { // Special case: pipeline is of the form {{ esc arg1 arg2 ... argN }}, // where esc is the predefined escaper, and arg1...argN are its arguments. // Convert this into the equivalent form // {{ _eval_args_ arg1 arg2 ... argN | esc }}, so that esc can be easily // merged with the escapers in s. lastCmd.Args[0] = parse.NewIdentifier("_eval_args_").SetTree(nil).SetPos(lastCmd.Args[0].Position()) p.Cmds = appendCmd(p.Cmds, newIdentCmd(esc, p.Position())) pipelineLen++ } // If any of the commands in s that we are about to insert is equivalent // to the predefined escaper, use the predefined escaper instead. dup := false for i, escaper := range s { if escFnsEq(esc, escaper) { s[i] = idNode.Ident dup = true } } if dup { // The predefined escaper will already be inserted along with the // escapers in s, so do not copy it to the rewritten pipeline. pipelineLen-- } } } } // Rewrite the pipeline, creating the escapers in s at the end of the pipeline. newCmds := make([]*parse.CommandNode, pipelineLen, pipelineLen+len(s)) insertedIdents := make(map[string]bool) for i := 0; i < pipelineLen; i++ { cmd := p.Cmds[i] newCmds[i] = cmd if idNode, ok := cmd.Args[0].(*parse.IdentifierNode); ok { insertedIdents[normalizeEscFn(idNode.Ident)] = true } } for _, name := range s { if !insertedIdents[normalizeEscFn(name)] { // When two templates share an underlying parse tree via the use of // AddParseTree and one template is executed after the other, this check // ensures that escapers that were already inserted into the pipeline on // the first escaping pass do not get inserted again. newCmds = appendCmd(newCmds, newIdentCmd(name, p.Position())) } } p.Cmds = newCmds } // predefinedEscapers contains template predefined escapers that are equivalent // to some contextual escapers. Keep in sync with equivEscapers. var predefinedEscapers = map[string]bool{ "html": true, "urlquery": true, } // equivEscapers matches contextual escapers to equivalent predefined // template escapers. var equivEscapers = map[string]string{ // The following pairs of HTML escapers provide equivalent security // guarantees, since they all escape '\000', '\'', '"', '&', '<', and '>'. "_html_template_attrescaper": "html", "_html_template_htmlescaper": "html", "_html_template_rcdataescaper": "html", // These two URL escapers produce URLs safe for embedding in a URL query by // percent-encoding all the reserved characters specified in RFC 3986 Section // 2.2 "_html_template_urlescaper": "urlquery", // These two functions are not actually equivalent; urlquery is stricter as it // escapes reserved characters (e.g. '#'), while _html_template_urlnormalizer // does not. It is therefore only safe to replace _html_template_urlnormalizer // with urlquery (this happens in ensurePipelineContains), but not the otherI've // way around. We keep this entry around to preserve the behavior of templates // written before Go 1.9, which might depend on this substitution taking place. "_html_template_urlnormalizer": "urlquery", } // escFnsEq reports whether the two escaping functions are equivalent. func escFnsEq(a, b string) bool { return normalizeEscFn(a) == normalizeEscFn(b) } // normalizeEscFn(a) is equal to normalizeEscFn(b) for any pair of names of // escaper functions a and b that are equivalent. func normalizeEscFn(e string) string { if norm := equivEscapers[e]; norm != "" { return norm } return e } // redundantFuncs[a][b] implies that funcMap[b](funcMap[a](x)) == funcMap[a](x) // for all x. var redundantFuncs = map[string]map[string]bool{ "_html_template_commentescaper": { "_html_template_attrescaper": true, "_html_template_nospaceescaper": true, "_html_template_htmlescaper": true, }, "_html_template_cssescaper": { "_html_template_attrescaper": true, }, "_html_template_jsregexpescaper": { "_html_template_attrescaper": true, }, "_html_template_jsstrescaper": { "_html_template_attrescaper": true, }, "_html_template_urlescaper": { "_html_template_urlnormalizer": true, }, } // appendCmd appends the given command to the end of the command pipeline // unless it is redundant with the last command. func appendCmd(cmds []*parse.CommandNode, cmd *parse.CommandNode) []*parse.CommandNode { if n := len(cmds); n != 0 { last, okLast := cmds[n-1].Args[0].(*parse.IdentifierNode) next, okNext := cmd.Args[0].(*parse.IdentifierNode) if okLast && okNext && redundantFuncs[last.Ident][next.Ident] { return cmds } } return append(cmds, cmd) } // newIdentCmd produces a command containing a single identifier node. func newIdentCmd(identifier string, pos parse.Pos) *parse.CommandNode { return &parse.CommandNode{ NodeType: parse.NodeCommand, Args: []parse.Node{parse.NewIdentifier(identifier).SetTree(nil).SetPos(pos)}, // TODO: SetTree. } } // nudge returns the context that would result from following empty string // transitions from the input context. // For example, parsing: // `<a href=` // will end in context{stateBeforeValue, attrURL}, but parsing one extra rune: // `<a href=x` // will end in context{stateURL, delimSpaceOrTagEnd, ...}. // There are two transitions that happen when the 'x' is seen: // (1) Transition from a before-value state to a start-of-value state without // consuming any character. // (2) Consume 'x' and transition past the first value character. // In this case, nudging produces the context after (1) happens. func nudge(c context) context { switch c.state { case stateTag: // In `<foo {{.}}`, the action should emit an attribute. c.state = stateAttrName case stateBeforeValue: // In `<foo bar={{.}}`, the action is an undelimited value. c.state, c.delim, c.attr = attrStartStates[c.attr], delimSpaceOrTagEnd, attrNone case stateAfterName: // In `<foo bar {{.}}`, the action is an attribute name. c.state, c.attr = stateAttrName, attrNone } return c } // join joins the two contexts of a branch template node. The result is an // error context if either of the input contexts are error contexts, or if the // input contexts differ. func join(a, b context, node parse.Node, nodeName string) context { if a.state == stateError { return a } if b.state == stateError { return b } if a.eq(b) { return a } c := a c.urlPart = b.urlPart if c.eq(b) { // The contexts differ only by urlPart. c.urlPart = urlPartUnknown return c } c = a c.jsCtx = b.jsCtx if c.eq(b) { // The contexts differ only by jsCtx. c.jsCtx = jsCtxUnknown return c } // Allow a nudged context to join with an unnudged one. // This means that // <p title={{if .C}}{{.}}{{end}} // ends in an unquoted value state even though the else branch // ends in stateBeforeValue. if c, d := nudge(a), nudge(b); !(c.eq(a) && d.eq(b)) { if e := join(c, d, node, nodeName); e.state != stateError { return e } } return context{ state: stateError, err: errorf(ErrBranchEnd, node, 0, "{{%s}} branches end in different contexts: %v, %v", nodeName, a, b), } } // escapeBranch escapes a branch template node: "if", "range" and "with". func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context { c0 := e.escapeList(c, n.List) if nodeName == "range" && c0.state != stateError { // The "true" branch of a "range" node can execute multiple times. // We check that executing n.List once results in the same context // as executing n.List twice. c1, _ := e.escapeListConditionally(c0, n.List, nil) c0 = join(c0, c1, n, nodeName) if c0.state == stateError { // Make clear that this is a problem on loop re-entry // since developers tend to overlook that branch when // debugging templates. c0.err.Line = n.Line c0.err.Description = "on range loop re-entry: " + c0.err.Description return c0 } } c1 := e.escapeList(c, n.ElseList) return join(c0, c1, n, nodeName) } // escapeList escapes a list template node. func (e *escaper) escapeList(c context, n *parse.ListNode) context { if n == nil { return c } for _, m := range n.Nodes { c = e.escape(c, m) } return c } // escapeListConditionally escapes a list node but only preserves edits and // inferences in e if the inferences and output context satisfy filter. // It returns the best guess at an output context, and the result of the filter // which is the same as whether e was updated. func (e *escaper) escapeListConditionally(c context, n *parse.ListNode, filter func(*escaper, context) bool) (context, bool) { e1 := makeEscaper(e.ns) // Make type inferences available to f. for k, v := range e.output { e1.output[k] = v } c = e1.escapeList(c, n) ok := filter != nil && filter(&e1, c) if ok { // Copy inferences and edits from e1 back into e. for k, v := range e1.output { e.output[k] = v } for k, v := range e1.derived { e.derived[k] = v } for k, v := range e1.called { e.called[k] = v } for k, v := range e1.actionNodeEdits { e.editActionNode(k, v) } for k, v := range e1.templateNodeEdits { e.editTemplateNode(k, v) } for k, v := range e1.textNodeEdits { e.editTextNode(k, v) } } return c, ok } // escapeTemplate escapes a {{template}} call node. func (e *escaper) escapeTemplate(c context, n *parse.TemplateNode) context { c, name := e.escapeTree(c, n, n.Name, n.Line) if name != n.Name { e.editTemplateNode(n, name) } return c } // escapeTree escapes the named template starting in the given context as // necessary and returns its output context. func (e *escaper) escapeTree(c context, node parse.Node, name string, line int) (context, string) { // Mangle the template name with the input context to produce a reliable // identifier. dname := c.mangle(name) e.called[dname] = true if out, ok := e.output[dname]; ok { // Already escaped. return out, dname } t := e.template(name) if t == nil { // Two cases: The template exists but is empty, or has never been mentioned at // all. Distinguish the cases in the error messages. if e.ns.set[name] != nil { return context{ state: stateError, err: errorf(ErrNoSuchTemplate, node, line, "%q is an incomplete or empty template", name), }, dname } return context{ state: stateError, err: errorf(ErrNoSuchTemplate, node, line, "no such template %q", name), }, dname } if dname != name { // Use any template derived during an earlier call to escapeTemplate // with different top level templates, or clone if necessary. dt := e.template(dname) if dt == nil { dt = template.New(dname) dt.Tree = &parse.Tree{Name: dname, Root: t.Root.CopyList()} e.derived[dname] = dt } t = dt } return e.computeOutCtx(c, t), dname } // computeOutCtx takes a template and its start context and computes the output // context while storing any inferences in e. func (e *escaper) computeOutCtx(c context, t *template.Template) context { // Propagate context over the body. c1, ok := e.escapeTemplateBody(c, t) if !ok { // Look for a fixed point by assuming c1 as the output context. if c2, ok2 := e.escapeTemplateBody(c1, t); ok2 { c1, ok = c2, true } // Use c1 as the error context if neither assumption worked. } if !ok && c1.state != stateError { return context{ state: stateError, err: errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()), } } return c1 } // escapeTemplateBody escapes the given template assuming the given output // context, and returns the best guess at the output context and whether the // assumption was correct. func (e *escaper) escapeTemplateBody(c context, t *template.Template) (context, bool) { filter := func(e1 *escaper, c1 context) bool { if c1.state == stateError { // Do not update the input escaper, e. return false } if !e1.called[t.Name()] { // If t is not recursively called, then c1 is an // accurate output context. return true } // c1 is accurate if it matches our assumed output context. return c.eq(c1) } // We need to assume an output context so that recursive template calls // take the fast path out of escapeTree instead of infinitely recursing. // Naively assuming that the input context is the same as the output // works >90% of the time. e.output[t.Name()] = c return e.escapeListConditionally(c, t.Tree.Root, filter) } // delimEnds maps each delim to a string of characters that terminate it. var delimEnds = [...]string{ delimDoubleQuote: `"`, delimSingleQuote: "'", // Determined empirically by running the below in various browsers. // var div = document.createElement("DIV"); // for (var i = 0; i < 0x10000; ++i) { // div.innerHTML = "<span title=x" + String.fromCharCode(i) + "-bar>"; // if (div.getElementsByTagName("SPAN")[0].title.indexOf("bar") < 0) // document.write("<p>U+" + i.toString(16)); // } delimSpaceOrTagEnd: " \t\n\f\r>", } var doctypeBytes = []byte("<!DOCTYPE") // escapeText escapes a text template node. func (e *escaper) escapeText(c context, n *parse.TextNode) context { s, written, i, b := n.Text, 0, 0, new(bytes.Buffer) for i != len(s) { c1, nread := contextAfterText(c, s[i:]) i1 := i + nread if c.state == stateText || c.state == stateRCDATA { end := i1 if c1.state != c.state { for j := end - 1; j >= i; j-- { if s[j] == '<' { end = j break } } } for j := i; j < end; j++ { if s[j] == '<' && !bytes.HasPrefix(bytes.ToUpper(s[j:]), doctypeBytes) { b.Write(s[written:j]) b.WriteString("&lt;") written = j + 1 } } } else if isComment(c.state) && c.delim == delimNone { switch c.state { case stateJSBlockCmt: // https://es5.github.com/#x7.4: // "Comments behave like white space and are // discarded except that, if a MultiLineComment // contains a line terminator character, then // the entire comment is considered to be a // LineTerminator for purposes of parsing by // the syntactic grammar." if bytes.ContainsAny(s[written:i1], "\n\r\u2028\u2029") { b.WriteByte('\n') } else { b.WriteByte(' ') } case stateCSSBlockCmt: b.WriteByte(' ') } written = i1 } if c.state != c1.state && isComment(c1.state) && c1.delim == delimNone { // Preserve the portion between written and the comment start. cs := i1 - 2 if c1.state == stateHTMLCmt { // "<!--" instead of "/*" or "//" cs -= 2 } b.Write(s[written:cs]) written = i1 } if i == i1 && c.state == c1.state { panic(fmt.Sprintf("infinite loop from %v to %v on %q..%q", c, c1, s[:i], s[i:])) } c, i = c1, i1 } if written != 0 && c.state != stateError { if !isComment(c.state) || c.delim != delimNone { b.Write(n.Text[written:]) } e.editTextNode(n, b.Bytes()) } return c } // contextAfterText starts in context c, consumes some tokens from the front of // s, then returns the context after those tokens and the unprocessed suffix. func contextAfterText(c context, s []byte) (context, int) { if c.delim == delimNone { c1, i := tSpecialTagEnd(c, s) if i == 0 { // A special end tag (`</script>`) has been seen and // all content preceding it has been consumed. return c1, 0 } // Consider all content up to any end tag. return transitionFunc[c.state](c, s[:i]) } // We are at the beginning of an attribute value. i := bytes.IndexAny(s, delimEnds[c.delim]) if i == -1 { i = len(s) } if c.delim == delimSpaceOrTagEnd { // https://www.w3.org/TR/html5/syntax.html#attribute-value-(unquoted)-state // lists the runes below as error characters. // Error out because HTML parsers may differ on whether // "<a id= onclick=f(" ends inside id's or onclick's value, // "<a class=`foo " ends inside a value, // "<a style=font:'Arial'" needs open-quote fixup. // IE treats '`' as a quotation character. if j := bytes.IndexAny(s[:i], "\"'<=`"); j >= 0 { return context{ state: stateError, err: errorf(ErrBadHTML, nil, 0, "%q in unquoted attr: %q", s[j:j+1], s[:i]), }, len(s) } } if i == len(s) { // Remain inside the attribute. // Decode the value so non-HTML rules can easily handle // <button onclick="alert(&quot;Hi!&quot;)"> // without having to entity decode token boundaries. for u := []byte(html.UnescapeString(string(s))); len(u) != 0; { c1, i1 := transitionFunc[c.state](c, u) c, u = c1, u[i1:] } return c, len(s) } element := c.element // If this is a non-JS "type" attribute inside "script" tag, do not treat the contents as JS. if c.state == stateAttr && c.element == elementScript && c.attr == attrScriptType && !isJSType(string(s[:i])) { element = elementNone } if c.delim != delimSpaceOrTagEnd { // Consume any quote. i++ } // On exiting an attribute, we discard all state information // except the state and element. return context{state: stateTag, element: element}, i } // editActionNode records a change to an action pipeline for later commit. func (e *escaper) editActionNode(n *parse.ActionNode, cmds []string) { if _, ok := e.actionNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.actionNodeEdits[n] = cmds } // editTemplateNode records a change to a {{template}} callee for later commit. func (e *escaper) editTemplateNode(n *parse.TemplateNode, callee string) { if _, ok := e.templateNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.templateNodeEdits[n] = callee } // editTextNode records a change to a text node for later commit. func (e *escaper) editTextNode(n *parse.TextNode, text []byte) { if _, ok := e.textNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.textNodeEdits[n] = text } // commit applies changes to actions and template calls needed to contextually // autoescape content and adds any derived templates to the set. func (e *escaper) commit() { for name := range e.output { e.template(name).Funcs(funcMap) } // Any template from the name space associated with this escaper can be used // to add derived templates to the underlying text/template name space. tmpl := e.arbitraryTemplate() for _, t := range e.derived { if _, err := tmpl.text.AddParseTree(t.Name(), t.Tree); err != nil { panic("error adding derived template") } } for n, s := range e.actionNodeEdits { ensurePipelineContains(n.Pipe, s) } for n, name := range e.templateNodeEdits { n.Name = name } for n, s := range e.textNodeEdits { n.Text = s } // Reset state that is specific to this commit so that the same changes are // not re-applied to the template on subsequent calls to commit. e.called = make(map[string]bool) e.actionNodeEdits = make(map[*parse.ActionNode][]string) e.templateNodeEdits = make(map[*parse.TemplateNode]string) e.textNodeEdits = make(map[*parse.TextNode][]byte) } // template returns the named template given a mangled template name. func (e *escaper) template(name string) *template.Template { // Any template from the name space associated with this escaper can be used // to look up templates in the underlying text/template name space. t := e.arbitraryTemplate().text.Lookup(name) if t == nil { t = e.derived[name] } return t } // arbitraryTemplate returns an arbitrary template from the name space // associated with e and panics if no templates are found. func (e *escaper) arbitraryTemplate() *Template { for _, t := range e.ns.set { return t } panic("no templates in name space") } // Forwarding functions so that clients need only import this package // to reach the general escaping functions of text/template. // HTMLEscape writes to w the escaped HTML equivalent of the plain text data b. func HTMLEscape(w io.Writer, b []byte) { template.HTMLEscape(w, b) } // HTMLEscapeString returns the escaped HTML equivalent of the plain text data s. func HTMLEscapeString(s string) string { return template.HTMLEscapeString(s) } // HTMLEscaper returns the escaped HTML equivalent of the textual // representation of its arguments. func HTMLEscaper(args ...interface{}) string { return template.HTMLEscaper(args...) } // JSEscape writes to w the escaped JavaScript equivalent of the plain text data b. func JSEscape(w io.Writer, b []byte) { template.JSEscape(w, b) } // JSEscapeString returns the escaped JavaScript equivalent of the plain text data s. func JSEscapeString(s string) string { return template.JSEscapeString(s) } // JSEscaper returns the escaped JavaScript equivalent of the textual // representation of its arguments. func JSEscaper(args ...interface{}) string { return template.JSEscaper(args...) } // URLQueryEscaper returns the escaped value of the textual representation of // its arguments in a form suitable for embedding in a URL query. func URLQueryEscaper(args ...interface{}) string { return template.URLQueryEscaper(args...) }
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package template import ( "bytes" "fmt" "html" "io" template "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate" "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse" ) // escapeTemplate rewrites the named template, which must be // associated with t, to guarantee that the output of any of the named // templates is properly escaped. If no error is returned, then the named templates have // been modified. Otherwise the named templates have been rendered // unusable. func escapeTemplate(tmpl *Template, node parse.Node, name string) error { c, _ := tmpl.esc.escapeTree(context{}, node, name, 0) var err error if c.err != nil { err, c.err.Name = c.err, name } else if c.state != stateText { err = &Error{ErrEndContext, nil, name, 0, fmt.Sprintf("ends in a non-text context: %v", c)} } if err != nil { // Prevent execution of unsafe templates. if t := tmpl.set[name]; t != nil { t.escapeErr = err t.text.Tree = nil t.Tree = nil } return err } tmpl.esc.commit() if t := tmpl.set[name]; t != nil { t.escapeErr = escapeOK t.Tree = t.text.Tree } return nil } // evalArgs formats the list of arguments into a string. It is equivalent to // fmt.Sprint(args...), except that it deferences all pointers. func evalArgs(args ...interface{}) string { // Optimization for simple common case of a single string argument. if len(args) == 1 { if s, ok := args[0].(string); ok { return s } } for i, arg := range args { args[i] = indirectToStringerOrError(arg) } return fmt.Sprint(args...) } // funcMap maps command names to functions that render their inputs safe. var funcMap = template.FuncMap{ "_html_template_attrescaper": attrEscaper, "_html_template_commentescaper": commentEscaper, "_html_template_cssescaper": cssEscaper, "_html_template_cssvaluefilter": cssValueFilter, "_html_template_htmlnamefilter": htmlNameFilter, "_html_template_htmlescaper": htmlEscaper, "_html_template_jsregexpescaper": jsRegexpEscaper, "_html_template_jsstrescaper": jsStrEscaper, "_html_template_jsvalescaper": jsValEscaper, "_html_template_nospaceescaper": htmlNospaceEscaper, "_html_template_rcdataescaper": rcdataEscaper, "_html_template_srcsetescaper": srcsetFilterAndEscaper, "_html_template_urlescaper": urlEscaper, "_html_template_urlfilter": urlFilter, "_html_template_urlnormalizer": urlNormalizer, "_eval_args_": evalArgs, } // escaper collects type inferences about templates and changes needed to make // templates injection safe. type escaper struct { // ns is the nameSpace that this escaper is associated with. ns *nameSpace // output[templateName] is the output context for a templateName that // has been mangled to include its input context. output map[string]context // derived[c.mangle(name)] maps to a template derived from the template // named name templateName for the start context c. derived map[string]*template.Template // called[templateName] is a set of called mangled template names. called map[string]bool // xxxNodeEdits are the accumulated edits to apply during commit. // Such edits are not applied immediately in case a template set // executes a given template in different escaping contexts. actionNodeEdits map[*parse.ActionNode][]string templateNodeEdits map[*parse.TemplateNode]string textNodeEdits map[*parse.TextNode][]byte } // makeEscaper creates a blank escaper for the given set. func makeEscaper(n *nameSpace) escaper { return escaper{ n, map[string]context{}, map[string]*template.Template{}, map[string]bool{}, map[*parse.ActionNode][]string{}, map[*parse.TemplateNode]string{}, map[*parse.TextNode][]byte{}, } } // filterFailsafe is an innocuous word that is emitted in place of unsafe values // by sanitizer functions. It is not a keyword in any programming language, // contains no special characters, is not empty, and when it appears in output // it is distinct enough that a developer can find the source of the problem // via a search engine. const filterFailsafe = "ZgotmplZ" // escape escapes a template node. func (e *escaper) escape(c context, n parse.Node) context { switch n := n.(type) { case *parse.ActionNode: return e.escapeAction(c, n) case *parse.IfNode: return e.escapeBranch(c, &n.BranchNode, "if") case *parse.ListNode: return e.escapeList(c, n) case *parse.RangeNode: return e.escapeBranch(c, &n.BranchNode, "range") case *parse.TemplateNode: return e.escapeTemplate(c, n) case *parse.TextNode: return e.escapeText(c, n) case *parse.WithNode: return e.escapeBranch(c, &n.BranchNode, "with") } panic("escaping " + n.String() + " is unimplemented") } // escapeAction escapes an action template node. func (e *escaper) escapeAction(c context, n *parse.ActionNode) context { if len(n.Pipe.Decl) != 0 { // A local variable assignment, not an interpolation. return c } c = nudge(c) // Check for disallowed use of predefined escapers in the pipeline. for pos, idNode := range n.Pipe.Cmds { node, ok := idNode.Args[0].(*parse.IdentifierNode) if !ok { // A predefined escaper "esc" will never be found as an identifier in a // Chain or Field node, since: // - "esc.x ..." is invalid, since predefined escapers return strings, and // strings do not have methods, keys or fields. // - "... .esc" is invalid, since predefined escapers are global functions, // not methods or fields of any types. // Therefore, it is safe to ignore these two node types. continue } ident := node.Ident if _, ok := predefinedEscapers[ident]; ok { if pos < len(n.Pipe.Cmds)-1 || c.state == stateAttr && c.delim == delimSpaceOrTagEnd && ident == "html" { return context{ state: stateError, err: errorf(ErrPredefinedEscaper, n, n.Line, "predefined escaper %q disallowed in template", ident), } } } } s := make([]string, 0, 3) switch c.state { case stateError: return c case stateURL, stateCSSDqStr, stateCSSSqStr, stateCSSDqURL, stateCSSSqURL, stateCSSURL: switch c.urlPart { case urlPartNone: s = append(s, "_html_template_urlfilter") fallthrough case urlPartPreQuery: switch c.state { case stateCSSDqStr, stateCSSSqStr: s = append(s, "_html_template_cssescaper") default: s = append(s, "_html_template_urlnormalizer") } case urlPartQueryOrFrag: s = append(s, "_html_template_urlescaper") case urlPartUnknown: return context{ state: stateError, err: errorf(ErrAmbigContext, n, n.Line, "%s appears in an ambiguous context within a URL", n), } default: panic(c.urlPart.String()) } case stateJS: s = append(s, "_html_template_jsvalescaper") // A slash after a value starts a div operator. c.jsCtx = jsCtxDivOp case stateJSDqStr, stateJSSqStr: s = append(s, "_html_template_jsstrescaper") case stateJSRegexp: s = append(s, "_html_template_jsregexpescaper") case stateCSS: s = append(s, "_html_template_cssvaluefilter") case stateText: s = append(s, "_html_template_htmlescaper") case stateRCDATA: s = append(s, "_html_template_rcdataescaper") case stateAttr: // Handled below in delim check. case stateAttrName, stateTag: c.state = stateAttrName s = append(s, "_html_template_htmlnamefilter") case stateSrcset: s = append(s, "_html_template_srcsetescaper") default: if isComment(c.state) { s = append(s, "_html_template_commentescaper") } else { panic("unexpected state " + c.state.String()) } } switch c.delim { case delimNone: // No extra-escaping needed for raw text content. case delimSpaceOrTagEnd: s = append(s, "_html_template_nospaceescaper") default: s = append(s, "_html_template_attrescaper") } e.editActionNode(n, s) return c } // ensurePipelineContains ensures that the pipeline ends with the commands with // the identifiers in s in order. If the pipeline ends with a predefined escaper // (i.e. "html" or "urlquery"), merge it with the identifiers in s. func ensurePipelineContains(p *parse.PipeNode, s []string) { if len(s) == 0 { // Do not rewrite pipeline if we have no escapers to insert. return } // Precondition: p.Cmds contains at most one predefined escaper and the // escaper will be present at p.Cmds[len(p.Cmds)-1]. This precondition is // always true because of the checks in escapeAction. pipelineLen := len(p.Cmds) if pipelineLen > 0 { lastCmd := p.Cmds[pipelineLen-1] if idNode, ok := lastCmd.Args[0].(*parse.IdentifierNode); ok { if esc := idNode.Ident; predefinedEscapers[esc] { // Pipeline ends with a predefined escaper. if len(p.Cmds) == 1 && len(lastCmd.Args) > 1 { // Special case: pipeline is of the form {{ esc arg1 arg2 ... argN }}, // where esc is the predefined escaper, and arg1...argN are its arguments. // Convert this into the equivalent form // {{ _eval_args_ arg1 arg2 ... argN | esc }}, so that esc can be easily // merged with the escapers in s. lastCmd.Args[0] = parse.NewIdentifier("_eval_args_").SetTree(nil).SetPos(lastCmd.Args[0].Position()) p.Cmds = appendCmd(p.Cmds, newIdentCmd(esc, p.Position())) pipelineLen++ } // If any of the commands in s that we are about to insert is equivalent // to the predefined escaper, use the predefined escaper instead. dup := false for i, escaper := range s { if escFnsEq(esc, escaper) { s[i] = idNode.Ident dup = true } } if dup { // The predefined escaper will already be inserted along with the // escapers in s, so do not copy it to the rewritten pipeline. pipelineLen-- } } } } // Rewrite the pipeline, creating the escapers in s at the end of the pipeline. newCmds := make([]*parse.CommandNode, pipelineLen, pipelineLen+len(s)) insertedIdents := make(map[string]bool) for i := 0; i < pipelineLen; i++ { cmd := p.Cmds[i] newCmds[i] = cmd if idNode, ok := cmd.Args[0].(*parse.IdentifierNode); ok { insertedIdents[normalizeEscFn(idNode.Ident)] = true } } for _, name := range s { if !insertedIdents[normalizeEscFn(name)] { // When two templates share an underlying parse tree via the use of // AddParseTree and one template is executed after the other, this check // ensures that escapers that were already inserted into the pipeline on // the first escaping pass do not get inserted again. newCmds = appendCmd(newCmds, newIdentCmd(name, p.Position())) } } p.Cmds = newCmds } // predefinedEscapers contains template predefined escapers that are equivalent // to some contextual escapers. Keep in sync with equivEscapers. var predefinedEscapers = map[string]bool{ "html": true, "urlquery": true, } // equivEscapers matches contextual escapers to equivalent predefined // template escapers. var equivEscapers = map[string]string{ // The following pairs of HTML escapers provide equivalent security // guarantees, since they all escape '\000', '\'', '"', '&', '<', and '>'. "_html_template_attrescaper": "html", "_html_template_htmlescaper": "html", "_html_template_rcdataescaper": "html", // These two URL escapers produce URLs safe for embedding in a URL query by // percent-encoding all the reserved characters specified in RFC 3986 Section // 2.2 "_html_template_urlescaper": "urlquery", // These two functions are not actually equivalent; urlquery is stricter as it // escapes reserved characters (e.g. '#'), while _html_template_urlnormalizer // does not. It is therefore only safe to replace _html_template_urlnormalizer // with urlquery (this happens in ensurePipelineContains), but not the otherI've // way around. We keep this entry around to preserve the behavior of templates // written before Go 1.9, which might depend on this substitution taking place. "_html_template_urlnormalizer": "urlquery", } // escFnsEq reports whether the two escaping functions are equivalent. func escFnsEq(a, b string) bool { return normalizeEscFn(a) == normalizeEscFn(b) } // normalizeEscFn(a) is equal to normalizeEscFn(b) for any pair of names of // escaper functions a and b that are equivalent. func normalizeEscFn(e string) string { if norm := equivEscapers[e]; norm != "" { return norm } return e } // redundantFuncs[a][b] implies that funcMap[b](funcMap[a](x)) == funcMap[a](x) // for all x. var redundantFuncs = map[string]map[string]bool{ "_html_template_commentescaper": { "_html_template_attrescaper": true, "_html_template_nospaceescaper": true, "_html_template_htmlescaper": true, }, "_html_template_cssescaper": { "_html_template_attrescaper": true, }, "_html_template_jsregexpescaper": { "_html_template_attrescaper": true, }, "_html_template_jsstrescaper": { "_html_template_attrescaper": true, }, "_html_template_urlescaper": { "_html_template_urlnormalizer": true, }, } // appendCmd appends the given command to the end of the command pipeline // unless it is redundant with the last command. func appendCmd(cmds []*parse.CommandNode, cmd *parse.CommandNode) []*parse.CommandNode { if n := len(cmds); n != 0 { last, okLast := cmds[n-1].Args[0].(*parse.IdentifierNode) next, okNext := cmd.Args[0].(*parse.IdentifierNode) if okLast && okNext && redundantFuncs[last.Ident][next.Ident] { return cmds } } return append(cmds, cmd) } // newIdentCmd produces a command containing a single identifier node. func newIdentCmd(identifier string, pos parse.Pos) *parse.CommandNode { return &parse.CommandNode{ NodeType: parse.NodeCommand, Args: []parse.Node{parse.NewIdentifier(identifier).SetTree(nil).SetPos(pos)}, // TODO: SetTree. } } // nudge returns the context that would result from following empty string // transitions from the input context. // For example, parsing: // `<a href=` // will end in context{stateBeforeValue, attrURL}, but parsing one extra rune: // `<a href=x` // will end in context{stateURL, delimSpaceOrTagEnd, ...}. // There are two transitions that happen when the 'x' is seen: // (1) Transition from a before-value state to a start-of-value state without // consuming any character. // (2) Consume 'x' and transition past the first value character. // In this case, nudging produces the context after (1) happens. func nudge(c context) context { switch c.state { case stateTag: // In `<foo {{.}}`, the action should emit an attribute. c.state = stateAttrName case stateBeforeValue: // In `<foo bar={{.}}`, the action is an undelimited value. c.state, c.delim, c.attr = attrStartStates[c.attr], delimSpaceOrTagEnd, attrNone case stateAfterName: // In `<foo bar {{.}}`, the action is an attribute name. c.state, c.attr = stateAttrName, attrNone } return c } // join joins the two contexts of a branch template node. The result is an // error context if either of the input contexts are error contexts, or if the // input contexts differ. func join(a, b context, node parse.Node, nodeName string) context { if a.state == stateError { return a } if b.state == stateError { return b } if a.eq(b) { return a } c := a c.urlPart = b.urlPart if c.eq(b) { // The contexts differ only by urlPart. c.urlPart = urlPartUnknown return c } c = a c.jsCtx = b.jsCtx if c.eq(b) { // The contexts differ only by jsCtx. c.jsCtx = jsCtxUnknown return c } // Allow a nudged context to join with an unnudged one. // This means that // <p title={{if .C}}{{.}}{{end}} // ends in an unquoted value state even though the else branch // ends in stateBeforeValue. if c, d := nudge(a), nudge(b); !(c.eq(a) && d.eq(b)) { if e := join(c, d, node, nodeName); e.state != stateError { return e } } return context{ state: stateError, err: errorf(ErrBranchEnd, node, 0, "{{%s}} branches end in different contexts: %v, %v", nodeName, a, b), } } // escapeBranch escapes a branch template node: "if", "range" and "with". func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context { c0 := e.escapeList(c, n.List) if nodeName == "range" && c0.state != stateError { // The "true" branch of a "range" node can execute multiple times. // We check that executing n.List once results in the same context // as executing n.List twice. c1, _ := e.escapeListConditionally(c0, n.List, nil) c0 = join(c0, c1, n, nodeName) if c0.state == stateError { // Make clear that this is a problem on loop re-entry // since developers tend to overlook that branch when // debugging templates. c0.err.Line = n.Line c0.err.Description = "on range loop re-entry: " + c0.err.Description return c0 } } c1 := e.escapeList(c, n.ElseList) return join(c0, c1, n, nodeName) } // escapeList escapes a list template node. func (e *escaper) escapeList(c context, n *parse.ListNode) context { if n == nil { return c } for _, m := range n.Nodes { c = e.escape(c, m) } return c } // escapeListConditionally escapes a list node but only preserves edits and // inferences in e if the inferences and output context satisfy filter. // It returns the best guess at an output context, and the result of the filter // which is the same as whether e was updated. func (e *escaper) escapeListConditionally(c context, n *parse.ListNode, filter func(*escaper, context) bool) (context, bool) { e1 := makeEscaper(e.ns) // Make type inferences available to f. for k, v := range e.output { e1.output[k] = v } c = e1.escapeList(c, n) ok := filter != nil && filter(&e1, c) if ok { // Copy inferences and edits from e1 back into e. for k, v := range e1.output { e.output[k] = v } for k, v := range e1.derived { e.derived[k] = v } for k, v := range e1.called { e.called[k] = v } for k, v := range e1.actionNodeEdits { e.editActionNode(k, v) } for k, v := range e1.templateNodeEdits { e.editTemplateNode(k, v) } for k, v := range e1.textNodeEdits { e.editTextNode(k, v) } } return c, ok } // escapeTemplate escapes a {{template}} call node. func (e *escaper) escapeTemplate(c context, n *parse.TemplateNode) context { c, name := e.escapeTree(c, n, n.Name, n.Line) if name != n.Name { e.editTemplateNode(n, name) } return c } // escapeTree escapes the named template starting in the given context as // necessary and returns its output context. func (e *escaper) escapeTree(c context, node parse.Node, name string, line int) (context, string) { // Mangle the template name with the input context to produce a reliable // identifier. dname := c.mangle(name) e.called[dname] = true if out, ok := e.output[dname]; ok { // Already escaped. return out, dname } t := e.template(name) if t == nil { // Two cases: The template exists but is empty, or has never been mentioned at // all. Distinguish the cases in the error messages. if e.ns.set[name] != nil { return context{ state: stateError, err: errorf(ErrNoSuchTemplate, node, line, "%q is an incomplete or empty template", name), }, dname } return context{ state: stateError, err: errorf(ErrNoSuchTemplate, node, line, "no such template %q", name), }, dname } if dname != name { // Use any template derived during an earlier call to escapeTemplate // with different top level templates, or clone if necessary. dt := e.template(dname) if dt == nil { dt = template.New(dname) dt.Tree = &parse.Tree{Name: dname, Root: t.Root.CopyList()} e.derived[dname] = dt } t = dt } return e.computeOutCtx(c, t), dname } // computeOutCtx takes a template and its start context and computes the output // context while storing any inferences in e. func (e *escaper) computeOutCtx(c context, t *template.Template) context { // Propagate context over the body. c1, ok := e.escapeTemplateBody(c, t) if !ok { // Look for a fixed point by assuming c1 as the output context. if c2, ok2 := e.escapeTemplateBody(c1, t); ok2 { c1, ok = c2, true } // Use c1 as the error context if neither assumption worked. } if !ok && c1.state != stateError { return context{ state: stateError, err: errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()), } } return c1 } // escapeTemplateBody escapes the given template assuming the given output // context, and returns the best guess at the output context and whether the // assumption was correct. func (e *escaper) escapeTemplateBody(c context, t *template.Template) (context, bool) { filter := func(e1 *escaper, c1 context) bool { if c1.state == stateError { // Do not update the input escaper, e. return false } if !e1.called[t.Name()] { // If t is not recursively called, then c1 is an // accurate output context. return true } // c1 is accurate if it matches our assumed output context. return c.eq(c1) } // We need to assume an output context so that recursive template calls // take the fast path out of escapeTree instead of infinitely recursing. // Naively assuming that the input context is the same as the output // works >90% of the time. e.output[t.Name()] = c return e.escapeListConditionally(c, t.Tree.Root, filter) } // delimEnds maps each delim to a string of characters that terminate it. var delimEnds = [...]string{ delimDoubleQuote: `"`, delimSingleQuote: "'", // Determined empirically by running the below in various browsers. // var div = document.createElement("DIV"); // for (var i = 0; i < 0x10000; ++i) { // div.innerHTML = "<span title=x" + String.fromCharCode(i) + "-bar>"; // if (div.getElementsByTagName("SPAN")[0].title.indexOf("bar") < 0) // document.write("<p>U+" + i.toString(16)); // } delimSpaceOrTagEnd: " \t\n\f\r>", } var doctypeBytes = []byte("<!DOCTYPE") // escapeText escapes a text template node. func (e *escaper) escapeText(c context, n *parse.TextNode) context { s, written, i, b := n.Text, 0, 0, new(bytes.Buffer) for i != len(s) { c1, nread := contextAfterText(c, s[i:]) i1 := i + nread if c.state == stateText || c.state == stateRCDATA { end := i1 if c1.state != c.state { for j := end - 1; j >= i; j-- { if s[j] == '<' { end = j break } } } for j := i; j < end; j++ { if s[j] == '<' && !bytes.HasPrefix(bytes.ToUpper(s[j:]), doctypeBytes) { b.Write(s[written:j]) b.WriteString("&lt;") written = j + 1 } } } else if isComment(c.state) && c.delim == delimNone { switch c.state { case stateJSBlockCmt: // https://es5.github.com/#x7.4: // "Comments behave like white space and are // discarded except that, if a MultiLineComment // contains a line terminator character, then // the entire comment is considered to be a // LineTerminator for purposes of parsing by // the syntactic grammar." if bytes.ContainsAny(s[written:i1], "\n\r\u2028\u2029") { b.WriteByte('\n') } else { b.WriteByte(' ') } case stateCSSBlockCmt: b.WriteByte(' ') } written = i1 } if c.state != c1.state && isComment(c1.state) && c1.delim == delimNone { // Preserve the portion between written and the comment start. cs := i1 - 2 if c1.state == stateHTMLCmt { // "<!--" instead of "/*" or "//" cs -= 2 } b.Write(s[written:cs]) written = i1 } if i == i1 && c.state == c1.state { panic(fmt.Sprintf("infinite loop from %v to %v on %q..%q", c, c1, s[:i], s[i:])) } c, i = c1, i1 } if written != 0 && c.state != stateError { if !isComment(c.state) || c.delim != delimNone { b.Write(n.Text[written:]) } e.editTextNode(n, b.Bytes()) } return c } // contextAfterText starts in context c, consumes some tokens from the front of // s, then returns the context after those tokens and the unprocessed suffix. func contextAfterText(c context, s []byte) (context, int) { if c.delim == delimNone { c1, i := tSpecialTagEnd(c, s) if i == 0 { // A special end tag (`</script>`) has been seen and // all content preceding it has been consumed. return c1, 0 } // Consider all content up to any end tag. return transitionFunc[c.state](c, s[:i]) } // We are at the beginning of an attribute value. i := bytes.IndexAny(s, delimEnds[c.delim]) if i == -1 { i = len(s) } if c.delim == delimSpaceOrTagEnd { // https://www.w3.org/TR/html5/syntax.html#attribute-value-(unquoted)-state // lists the runes below as error characters. // Error out because HTML parsers may differ on whether // "<a id= onclick=f(" ends inside id's or onclick's value, // "<a class=`foo " ends inside a value, // "<a style=font:'Arial'" needs open-quote fixup. // IE treats '`' as a quotation character. if j := bytes.IndexAny(s[:i], "\"'<=`"); j >= 0 { return context{ state: stateError, err: errorf(ErrBadHTML, nil, 0, "%q in unquoted attr: %q", s[j:j+1], s[:i]), }, len(s) } } if i == len(s) { // Remain inside the attribute. // Decode the value so non-HTML rules can easily handle // <button onclick="alert(&quot;Hi!&quot;)"> // without having to entity decode token boundaries. for u := []byte(html.UnescapeString(string(s))); len(u) != 0; { c1, i1 := transitionFunc[c.state](c, u) c, u = c1, u[i1:] } return c, len(s) } element := c.element // If this is a non-JS "type" attribute inside "script" tag, do not treat the contents as JS. if c.state == stateAttr && c.element == elementScript && c.attr == attrScriptType && !isJSType(string(s[:i])) { element = elementNone } if c.delim != delimSpaceOrTagEnd { // Consume any quote. i++ } // On exiting an attribute, we discard all state information // except the state and element. return context{state: stateTag, element: element}, i } // editActionNode records a change to an action pipeline for later commit. func (e *escaper) editActionNode(n *parse.ActionNode, cmds []string) { if _, ok := e.actionNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.actionNodeEdits[n] = cmds } // editTemplateNode records a change to a {{template}} callee for later commit. func (e *escaper) editTemplateNode(n *parse.TemplateNode, callee string) { if _, ok := e.templateNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.templateNodeEdits[n] = callee } // editTextNode records a change to a text node for later commit. func (e *escaper) editTextNode(n *parse.TextNode, text []byte) { if _, ok := e.textNodeEdits[n]; ok { panic(fmt.Sprintf("node %s shared between templates", n)) } e.textNodeEdits[n] = text } // commit applies changes to actions and template calls needed to contextually // autoescape content and adds any derived templates to the set. func (e *escaper) commit() { for name := range e.output { e.template(name).Funcs(funcMap) } // Any template from the name space associated with this escaper can be used // to add derived templates to the underlying text/template name space. tmpl := e.arbitraryTemplate() for _, t := range e.derived { if _, err := tmpl.text.AddParseTree(t.Name(), t.Tree); err != nil { panic("error adding derived template") } } for n, s := range e.actionNodeEdits { ensurePipelineContains(n.Pipe, s) } for n, name := range e.templateNodeEdits { n.Name = name } for n, s := range e.textNodeEdits { n.Text = s } // Reset state that is specific to this commit so that the same changes are // not re-applied to the template on subsequent calls to commit. e.called = make(map[string]bool) e.actionNodeEdits = make(map[*parse.ActionNode][]string) e.templateNodeEdits = make(map[*parse.TemplateNode]string) e.textNodeEdits = make(map[*parse.TextNode][]byte) } // template returns the named template given a mangled template name. func (e *escaper) template(name string) *template.Template { // Any template from the name space associated with this escaper can be used // to look up templates in the underlying text/template name space. t := e.arbitraryTemplate().text.Lookup(name) if t == nil { t = e.derived[name] } return t } // arbitraryTemplate returns an arbitrary template from the name space // associated with e and panics if no templates are found. func (e *escaper) arbitraryTemplate() *Template { for _, t := range e.ns.set { return t } panic("no templates in name space") } // Forwarding functions so that clients need only import this package // to reach the general escaping functions of text/template. // HTMLEscape writes to w the escaped HTML equivalent of the plain text data b. func HTMLEscape(w io.Writer, b []byte) { template.HTMLEscape(w, b) } // HTMLEscapeString returns the escaped HTML equivalent of the plain text data s. func HTMLEscapeString(s string) string { return template.HTMLEscapeString(s) } // HTMLEscaper returns the escaped HTML equivalent of the textual // representation of its arguments. func HTMLEscaper(args ...interface{}) string { return template.HTMLEscaper(args...) } // JSEscape writes to w the escaped JavaScript equivalent of the plain text data b. func JSEscape(w io.Writer, b []byte) { template.JSEscape(w, b) } // JSEscapeString returns the escaped JavaScript equivalent of the plain text data s. func JSEscapeString(s string) string { return template.JSEscapeString(s) } // JSEscaper returns the escaped JavaScript equivalent of the textual // representation of its arguments. func JSEscaper(args ...interface{}) string { return template.JSEscaper(args...) } // URLQueryEscaper returns the escaped value of the textual representation of // its arguments in a form suitable for embedding in a URL query. func URLQueryEscaper(args ...interface{}) string { return template.URLQueryEscaper(args...) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./common/types/convert_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package types import ( "encoding/json" "testing" qt "github.com/frankban/quicktest" ) func TestToStringSlicePreserveString(t *testing.T) { c := qt.New(t) c.Assert(ToStringSlicePreserveString("Hugo"), qt.DeepEquals, []string{"Hugo"}) c.Assert(ToStringSlicePreserveString([]interface{}{"A", "B"}), qt.DeepEquals, []string{"A", "B"}) c.Assert(ToStringSlicePreserveString(nil), qt.IsNil) } func TestToString(t *testing.T) { c := qt.New(t) c.Assert(ToString([]byte("Hugo")), qt.Equals, "Hugo") c.Assert(ToString(json.RawMessage("Hugo")), qt.Equals, "Hugo") }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package types import ( "encoding/json" "testing" qt "github.com/frankban/quicktest" ) func TestToStringSlicePreserveString(t *testing.T) { c := qt.New(t) c.Assert(ToStringSlicePreserveString("Hugo"), qt.DeepEquals, []string{"Hugo"}) c.Assert(ToStringSlicePreserveString([]interface{}{"A", "B"}), qt.DeepEquals, []string{"A", "B"}) c.Assert(ToStringSlicePreserveString(nil), qt.IsNil) } func TestToString(t *testing.T) { c := qt.New(t) c.Assert(ToString([]byte("Hugo")), qt.Equals, "Hugo") c.Assert(ToString(json.RawMessage("Hugo")), qt.Equals, "Hugo") }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/code.html
<div class="code relative bg-primary-color moon-gray" id="{{.Get "file" | urlize}}"> {{- with .Get "file" -}} <div class="filename san-serif f6 dib lh-solid pl2 pv2">{{.}}</div> {{- end -}} {{ if ne (.Get "copy") "false" }} <button class="needs-js copy bg-accent-color-dark f6 absolute top-0 right-0 lh-solid hover-bg-primary-color-dark bn white ph3 pv2" title="Copy this code to your clipboard." data-clipboard-action="copy" aria-label="copy button"> </button> {{/* Functionality located within filesaver.js The copy here is located in the css with .copy class so it can be replaced with JS on success */}} {{end}} <div class="code-copy-content nt3" {{with .Get "download"}}id="{{.}}"{{end}}> {{- .Inner -}} </div> </div>
<div class="code relative bg-primary-color moon-gray" id="{{.Get "file" | urlize}}"> {{- with .Get "file" -}} <div class="filename san-serif f6 dib lh-solid pl2 pv2">{{.}}</div> {{- end -}} {{ if ne (.Get "copy") "false" }} <button class="needs-js copy bg-accent-color-dark f6 absolute top-0 right-0 lh-solid hover-bg-primary-color-dark bn white ph3 pv2" title="Copy this code to your clipboard." data-clipboard-action="copy" aria-label="copy button"> </button> {{/* Functionality located within filesaver.js The copy here is located in the css with .copy class so it can be replaced with JS on success */}} {{end}} <div class="code-copy-content nt3" {{with .Get "download"}}id="{{.}}"{{end}}> {{- .Inner -}} </div> </div>
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/tools/starter-kits.md
--- title: Starter Kits linktitle: Starter Kits description: A list of community-developed projects designed to help you get up and running with Hugo. date: 2017-02-22 publishdate: 2017-02-01 lastmod: 2018-08-11 keywords: [starters,assets,pipeline] menu: docs: parent: "tools" weight: 30 weight: 30 sections_weight: 30 draft: false aliases: [/developer-tools/migrations/,/developer-tools/migrated/] toc: false --- Know of a Hugo-related starter kit that isn't mentioned here? [Please add it to the list.][addkit] {{% note "Starter Kits are Not Maintained by the Hugo Team"%}} The following starter kits are developed by active members of the Hugo community. If you find yourself having issues with any of the projects, it's best to file an issue directly with the project's maintainer(s). {{% /note %}} * [Hugo Wrapper][hugow]. Hugo Wrapper is a POSIX-style shell script which acts as a wrapper to download and run Hugo binary for your platform. It can be executed in variety of [Operating Systems][hugow-test] and [Command Shells][hugow-test]. * [Victor Hugo][]. Victor Hugo is a Hugo boilerplate for creating truly epic websites using Webpack as an asset pipeline. Victor Hugo uses post-css and Babel for CSS and JavaScript, respectively, and is actively maintained. * [GOHUGO AMP][]. GoHugo AMP is a starter theme that aims to make it easy to adopt [Google's AMP Project][amp]. The starter kit comes with 40+ shortcodes and partials plus automatic structured data. The project also includes a [separate site with extensive documentation][gohugodocs]. * [Blaupause][]. Blaupause is a developer-friendly Hugo starter kit based on Gulp tasks. It comes ES6-ready with several helpers for SVG and fonts and basic structure for HTML, SCSS, and JavaScript. * [hugulp][]. hugulp is a tool to optimize the assets of a Hugo website. The main idea is to recreate the famous Ruby on Rails Asset Pipeline, which minifies, concatenates and fingerprints the assets used in your website. * [Atlas][]. Atlas is a Hugo boilerplate designed to speed up development with support for Netlify, Hugo Pipes, SCSS & more. It's actively maintained and contributions are always welcome. * [Hyas][]. Hyas is a Hugo starter helping you build modern websites that are secure, fast, and SEO-ready — by default. It is Netlify-ready (functions, redirects, headers) and comes with [documentation](https://gethyas.com/) to easily make it your own. [addkit]: https://github.com/gohugoio/hugo/edit/master/docs/content/en/tools/starter-kits.md [amp]: https://amp.dev [Blaupause]: https://github.com/fspoettel/blaupause [GOHUGO AMP]: https://github.com/wildhaber/gohugo-amp [gohugodocs]: https://gohugo-amp.gohugohq.com/ [hugow]: https://github.com/khos2ow/hugo-wrapper [hugow-test]: https://github.com/khos2ow/hugo-wrapper#tested-on [hugulp]: https://github.com/jbrodriguez/hugulp [Victor Hugo]: https://github.com/netlify/victor-hugo [Atlas]: https://github.com/indigotree/atlas [Hyas]: https://github.com/h-enk/hyas
--- title: Starter Kits linktitle: Starter Kits description: A list of community-developed projects designed to help you get up and running with Hugo. date: 2017-02-22 publishdate: 2017-02-01 lastmod: 2018-08-11 keywords: [starters,assets,pipeline] menu: docs: parent: "tools" weight: 30 weight: 30 sections_weight: 30 draft: false aliases: [/developer-tools/migrations/,/developer-tools/migrated/] toc: false --- Know of a Hugo-related starter kit that isn't mentioned here? [Please add it to the list.][addkit] {{% note "Starter Kits are Not Maintained by the Hugo Team"%}} The following starter kits are developed by active members of the Hugo community. If you find yourself having issues with any of the projects, it's best to file an issue directly with the project's maintainer(s). {{% /note %}} * [Hugo Wrapper][hugow]. Hugo Wrapper is a POSIX-style shell script which acts as a wrapper to download and run Hugo binary for your platform. It can be executed in variety of [Operating Systems][hugow-test] and [Command Shells][hugow-test]. * [Victor Hugo][]. Victor Hugo is a Hugo boilerplate for creating truly epic websites using Webpack as an asset pipeline. Victor Hugo uses post-css and Babel for CSS and JavaScript, respectively, and is actively maintained. * [GOHUGO AMP][]. GoHugo AMP is a starter theme that aims to make it easy to adopt [Google's AMP Project][amp]. The starter kit comes with 40+ shortcodes and partials plus automatic structured data. The project also includes a [separate site with extensive documentation][gohugodocs]. * [Blaupause][]. Blaupause is a developer-friendly Hugo starter kit based on Gulp tasks. It comes ES6-ready with several helpers for SVG and fonts and basic structure for HTML, SCSS, and JavaScript. * [hugulp][]. hugulp is a tool to optimize the assets of a Hugo website. The main idea is to recreate the famous Ruby on Rails Asset Pipeline, which minifies, concatenates and fingerprints the assets used in your website. * [Atlas][]. Atlas is a Hugo boilerplate designed to speed up development with support for Netlify, Hugo Pipes, SCSS & more. It's actively maintained and contributions are always welcome. * [Hyas][]. Hyas is a Hugo starter helping you build modern websites that are secure, fast, and SEO-ready — by default. It is Netlify-ready (functions, redirects, headers) and comes with [documentation](https://gethyas.com/) to easily make it your own. [addkit]: https://github.com/gohugoio/hugo/edit/master/docs/content/en/tools/starter-kits.md [amp]: https://amp.dev [Blaupause]: https://github.com/fspoettel/blaupause [GOHUGO AMP]: https://github.com/wildhaber/gohugo-amp [gohugodocs]: https://gohugo-amp.gohugohq.com/ [hugow]: https://github.com/khos2ow/hugo-wrapper [hugow-test]: https://github.com/khos2ow/hugo-wrapper#tested-on [hugulp]: https://github.com/jbrodriguez/hugulp [Victor Hugo]: https://github.com/netlify/victor-hugo [Atlas]: https://github.com/indigotree/atlas [Hyas]: https://github.com/h-enk/hyas
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/static/images/gohugoio-card-1.png
PNG  IHDRQKiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about=""/> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?> I:gAMA asRGBPLTE~( F G֞ ҙ ԛ Ж ܦ ؠ ͒ @ˏ  ٣ ީ { y+1 uptLDR#Yiza ¬F^wn>7~iӢ $@GxDLSɸ%'Zd:I69E˳1 %Σ¹-.O{Ɍ%/TpLҦC@ѫLϯ0KzNPl18,9::7͜"% Ú)pDZb\c,ǣpP(Ti&ê˩Ѹ-5@BٹA 'wt "rg]k?fX=~frZ{5{Htm{I٫ >vnl`ݳƉ߾cjyD.brƠֲ bZ@WyY*mÄ $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 "\ .t)a0GX:r: RAPDX]* 6Vo4<$<Z MhyM'AQdNDI*Bh <2qIH<S=Ö́k_tn2gPH|D"܁g%!uU'ԙa._@>@k\mQ!yY= ֩I4٨au@ 3@kj Ohf@aM>~Pohp(4%~]JIܟ'=ub<#Ǟhxջ J0eUj $_|" 5G?E%AIG{;mjB=!I$օ $n6!"x*H`DEh"Zm0TrW&Ƅ쮌66F'\_I0psd/MGow&~0d_;&| {df&c!C7zL,ut|J壑*RhNny74?y2f %<XVS-}FC)ܯזJBȟsΙ_lH9{V&Oӗykc2/JBeBSf$u2?g]Q ;:09"DuXF1X.V$X;edjOn;%a UIcFwN__( CJEq 7F3کI(/7 !>2n7ે L)џqAF#X ?QH p(`ݗƌP<unjC%59ѓvI2!:,' CLц`.Z?EK_1l̷§/y x0rJh 23*E~ɨ 9*" d ! ³g MOT4$݇,;}RF@+ 'SzﳼN6ZZO׃W˟&t* o 8;ҳBpie>JGɂ;qc2 &T"$v,8CxDPeЃmj !]z)ty=O<FQih %5"& (Dep>AT-p'9oP5;IENDB`
PNG  IHDRQKiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about=""/> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?> I:gAMA asRGBPLTE~( F G֞ ҙ ԛ Ж ܦ ؠ ͒ @ˏ  ٣ ީ { y+1 uptLDR#Yiza ¬F^wn>7~iӢ $@GxDLSɸ%'Zd:I69E˳1 %Σ¹-.O{Ɍ%/TpLҦC@ѫLϯ0KzNPl18,9::7͜"% Ú)pDZb\c,ǣpP(Ti&ê˩Ѹ-5@BٹA 'wt "rg]k?fX=~frZ{5{Htm{I٫ >vnl`ݳƉ߾cjyD.brƠֲ bZ@WyY*m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Ѡ "\ .t)a0GX:r: RAPDX]* 6Vo4<$<Z MhyM'AQdNDI*Bh <2qIH<S=Ö́k_tn2gPH|D"܁g%!uU'ԙa._@>@k\mQ!yY= ֩I4٨au@ 3@kj Ohf@aM>~Pohp(4%~]JIܟ'=ub<#Ǟhxջ J0eUj $_|" 5G?E%AIG{;mjB=!I$օ $n6!"x*H`DEh"Zm0TrW&Ƅ쮌66F'\_I0psd/MGow&~0d_;&| {df&c!C7zL,ut|J壑*RhNny74?y2f %<XVS-}FC)ܯזJBȟsΙ_lH9{V&Oӗykc2/JBeBSf$u2?g]Q ;:09"DuXF1X.V$X;edjOn;%a UIcFwN__( CJEq 7F3کI(/7 !>2n7ે L)џqAF#X ?QH p(`ݗƌP<unjC%59ѓvI2!:,' CLц`.Z?EK_1l̷§/y x0rJh 23*E~ɨ 9*" d ! ³g MOT4$݇,;}RF@+ 'SzﳼN6ZZO׃W˟&t* o 8;ҳBpie>JGɂ;qc2 &T"$v,8CxDPeЃmj !]z)ty=O<FQih %5"& (Dep>AT-p'9oP5;IENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl
template2 {{define "y"}}y{{end}} {{template "x"}}
template2 {{define "y"}}y{{end}} {{template "x"}}
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/functions/safeHTML.md
--- title: safeHTML # linktitle: description: Declares a provided string as a "safe" HTML document to avoid escaping by Go templates. godocref: https://golang.org/src/html/template/content.go?s=1374:1385#L25 date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [functions] menu: docs: parent: "functions" keywords: [strings] signature: ["safeHTML INPUT"] workson: [] hugoversion: relatedfuncs: [] deprecated: false --- It should not be used for HTML from a third-party, or HTML with unclosed tags or comments. Given a site-wide [`config.toml`][config] with the following `copyright` value: ``` copyright = "© 2015 Jane Doe. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>." ``` `{{ .Site.Copyright | safeHTML }}` in a template would then output: ``` © 2015 Jane Doe. <a href="https://creativecommons.org/licenses/by/4.0/">Some rights reserved</a>. ``` However, without the `safeHTML` function, html/template assumes `.Site.Copyright` to be unsafe and therefore escapes all HTML tags and renders the whole string as plain text: ``` <p>© 2015 Jane Doe. &lt;a href=&#34;https://creativecommons.org/licenses by/4.0/&#34;&gt;Some rights reserved&lt;/a&gt;.</p> ``` [config]: /getting-started/configuration/
--- title: safeHTML # linktitle: description: Declares a provided string as a "safe" HTML document to avoid escaping by Go templates. godocref: https://golang.org/src/html/template/content.go?s=1374:1385#L25 date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [functions] menu: docs: parent: "functions" keywords: [strings] signature: ["safeHTML INPUT"] workson: [] hugoversion: relatedfuncs: [] deprecated: false --- It should not be used for HTML from a third-party, or HTML with unclosed tags or comments. Given a site-wide [`config.toml`][config] with the following `copyright` value: ``` copyright = "© 2015 Jane Doe. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>." ``` `{{ .Site.Copyright | safeHTML }}` in a template would then output: ``` © 2015 Jane Doe. <a href="https://creativecommons.org/licenses/by/4.0/">Some rights reserved</a>. ``` However, without the `safeHTML` function, html/template assumes `.Site.Copyright` to be unsafe and therefore escapes all HTML tags and renders the whole string as plain text: ``` <p>© 2015 Jane Doe. &lt;a href=&#34;https://creativecommons.org/licenses by/4.0/&#34;&gt;Some rights reserved&lt;/a&gt;.</p> ``` [config]: /getting-started/configuration/
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/resource_transformers/integrity/integrity.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package integrity import ( "crypto/md5" "crypto/sha256" "crypto/sha512" "encoding/base64" "encoding/hex" "hash" "html/template" "io" "github.com/gohugoio/hugo/resources/internal" "github.com/pkg/errors" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" ) const defaultHashAlgo = "sha256" // Client contains methods to fingerprint (cachebusting) and other integrity-related // methods. type Client struct { rs *resources.Spec } // New creates a new Client with the given specification. func New(rs *resources.Spec) *Client { return &Client{rs: rs} } type fingerprintTransformation struct { algo string } func (t *fingerprintTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("fingerprint", t.algo) } // Transform creates a MD5 hash of the Resource content and inserts that hash before // the extension in the filename. func (t *fingerprintTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { h, err := newHash(t.algo) if err != nil { return err } var w io.Writer if rc, ok := ctx.From.(io.ReadSeeker); ok { // This transformation does not change the content, so try to // avoid writing to To if we can. defer rc.Seek(0, 0) w = h } else { w = io.MultiWriter(h, ctx.To) } io.Copy(w, ctx.From) d, err := digest(h) if err != nil { return err } ctx.Data["Integrity"] = integrity(t.algo, d) ctx.AddOutPathIdentifier("." + hex.EncodeToString(d[:])) return nil } func newHash(algo string) (hash.Hash, error) { switch algo { case "md5": return md5.New(), nil case "sha256": return sha256.New(), nil case "sha384": return sha512.New384(), nil case "sha512": return sha512.New(), nil default: return nil, errors.Errorf("unsupported crypto algo: %q, use either md5, sha256, sha384 or sha512", algo) } } // Fingerprint applies fingerprinting of the given resource and hash algorithm. // It defaults to sha256 if none given, and the options are md5, sha256 or sha512. // The same algo is used for both the fingerprinting part (aka cache busting) and // the base64-encoded Subresource Integrity hash, so you will have to stay away from // md5 if you plan to use both. // See https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity func (c *Client) Fingerprint(res resources.ResourceTransformer, algo string) (resource.Resource, error) { if algo == "" { algo = defaultHashAlgo } return res.Transform(&fingerprintTransformation{algo: algo}) } func integrity(algo string, sum []byte) template.HTMLAttr { encoded := base64.StdEncoding.EncodeToString(sum) return template.HTMLAttr(algo + "-" + encoded) } func digest(h hash.Hash) ([]byte, error) { sum := h.Sum(nil) return sum, nil }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package integrity import ( "crypto/md5" "crypto/sha256" "crypto/sha512" "encoding/base64" "encoding/hex" "hash" "html/template" "io" "github.com/gohugoio/hugo/resources/internal" "github.com/pkg/errors" "github.com/gohugoio/hugo/resources" "github.com/gohugoio/hugo/resources/resource" ) const defaultHashAlgo = "sha256" // Client contains methods to fingerprint (cachebusting) and other integrity-related // methods. type Client struct { rs *resources.Spec } // New creates a new Client with the given specification. func New(rs *resources.Spec) *Client { return &Client{rs: rs} } type fingerprintTransformation struct { algo string } func (t *fingerprintTransformation) Key() internal.ResourceTransformationKey { return internal.NewResourceTransformationKey("fingerprint", t.algo) } // Transform creates a MD5 hash of the Resource content and inserts that hash before // the extension in the filename. func (t *fingerprintTransformation) Transform(ctx *resources.ResourceTransformationCtx) error { h, err := newHash(t.algo) if err != nil { return err } var w io.Writer if rc, ok := ctx.From.(io.ReadSeeker); ok { // This transformation does not change the content, so try to // avoid writing to To if we can. defer rc.Seek(0, 0) w = h } else { w = io.MultiWriter(h, ctx.To) } io.Copy(w, ctx.From) d, err := digest(h) if err != nil { return err } ctx.Data["Integrity"] = integrity(t.algo, d) ctx.AddOutPathIdentifier("." + hex.EncodeToString(d[:])) return nil } func newHash(algo string) (hash.Hash, error) { switch algo { case "md5": return md5.New(), nil case "sha256": return sha256.New(), nil case "sha384": return sha512.New384(), nil case "sha512": return sha512.New(), nil default: return nil, errors.Errorf("unsupported crypto algo: %q, use either md5, sha256, sha384 or sha512", algo) } } // Fingerprint applies fingerprinting of the given resource and hash algorithm. // It defaults to sha256 if none given, and the options are md5, sha256 or sha512. // The same algo is used for both the fingerprinting part (aka cache busting) and // the base64-encoded Subresource Integrity hash, so you will have to stay away from // md5 if you plan to use both. // See https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity func (c *Client) Fingerprint(res resources.ResourceTransformer, algo string) (resource.Resource, error) { if algo == "" { algo = defaultHashAlgo } return res.Transform(&fingerprintTransformation{algo: algo}) } func integrity(algo string, sum []byte) template.HTMLAttr { encoded := base64.StdEncoding.EncodeToString(sum) return template.HTMLAttr(algo + "-" + encoded) } func digest(h hash.Hash) ([]byte, error) { sum := h.Sum(nil) return sum, nil }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/testdata/golden/gohugoio24_huc57dd738f4724f4b341121e66fd85555_267952_300x100_fill_nearestneighbor_topleft_2.png
PNG  IHDR,dcYIDATx fGU7S}zf23IBVHĐ (Ȣ "/""ʾ@Lf^[u:KU,= ğTy{ֽu:WLځo@=Y@?WBBH@=8=~#.~%p>^y@>L$@O BW8TJi^.vzӋr:h8>\J˗ -='3py7?WJƏڰS#3 C(cKt<ʝz.h+fA?tX=.W(5<*-DqGbHċ"v = {*'AG}D(1do࿻{8P?h@E if1K2I'!ʔ54<:ϛ(9t;x09dS;0I`P`Hj9p?$}u$ANt!Rڀd([M%A)Jr LGeK_g%^Ӏy<i6 {i +w:)u>k*lzM>ReJM殈x :It5RdcZrnG<i})Vm#[o<Xu XR -#YȞ裳' @ͤ(+r|+PGW Kv<laN#0EN Tg"]1IAF*T`O&Sxrv]0X"ٮiHR*?]Hh+%4Ë F=IzSVH P jO^`w 0!b!ȖIˬbAi萯jK{P+$Q\d*S^m46ӗJl`2+d$ !b6 iHiʋI?t;rr-`I?`sZ "bٗ4RJE< `Nj%r!Ș$SQĈ1S 3&8%N٪O|;Itg'y R'JȊC֊Kg I8~volOp, Y6h@-=P1*f$(yM{@Dz%ieȒUbcA:Q2mgMT\"=֚(qCA3DC6 I. `gKCfhIlKȋ" ]׺oAEV(7 ̢@Y(dxX+7*fkaPJY d%\d.M3"h ̈6PKTU2;[S0.tiT!u"d (@= +K@x?kMHk<53L<N'٤=ٯР,Ԇ&iT|h}S>u&+Gϡ0r)W9VAaHI$ Iih:jJ:gw˷.GٷxOhﻰ| dAgiD?i&:W ֧3MJ`[%dr!ٲىF$mRuIL~"]MJy h]ݨPnQg{UdO_΢ \!EWe1 wYґ q"g_C=#-L/d]!j٤W@H)hR#')LRk %7#d #i4o铲蔂N9*cPi'͐YDA&Vk̘ $}f~-@@.3 uU\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 ~4n=0s£\bP>83{=Z'm<Mva3R=ꏿtLIw?zwX?a8kr 晍yEqF&kȿ"6L.A R2[\ ݊=2,;Sƫ"B#ڞ?Oo~Lq6~Runa=y\_yǮ~Mc3S##I2pL=wM `EOnFѤtKkQM՞zCkwq| ! M0gMDjiIENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/static/images/hosting-and-deployment/hosting-on-aws-amplify/amplify-gettingstarted.png
PNG  IHDRXe(U pHYs%%IR$ IDATx[Tۖ}{o>ݧvo(*#F s""DD9g,9DArNE1VnYߧҪUc}c&|m°;_$`IIIIIIIII%KJJJJJJJJ,)))))))) X$`IIIIIIIII%KJJJJJJJJ,)))))))) XRRRRRRRR$`IIIIIIIII%%%%%%%%%K,)@s BJJJJ"VCC{Yf dߍ'eBpkw#KJJkf:"`eQ9n#iR~?RRR/vDlX6n *c?]uc`-C]I s _+lp 6 `fDŽ, ?+R:Ba2f@`'r%8m {Z`7c좃ݒp XRR.`MޅUzem/nl6&e06{1m0`Zw&%ϣ C$i8[{Aw> Sֻ˩8k l898{p`G l,kaV pne殾ۤ퐀%%uo#޻{&]ŜKf KhY0|{TJ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0EGf.''"L0![uKJH^#X#XzK-WRY!Kqզ6a0e0 Kg{Kc0dGfO#X`0 F `0`2 `0e0 ``0 ,`0 #X`0 F `0` `0` `02 `0e0 ``0 ,`0 #X`0 F` `02 `bIENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/showcase/fireship/bio.md
**Fireship.io** is an ecosystem of detailed and practical resources for developers who want to build and ship high-quality apps. The site is built by: * [Jeff Delaney](https://fireship.io/contributors/jeff-delaney/)
**Fireship.io** is an ecosystem of detailed and practical resources for developers who want to build and ship high-quality apps. The site is built by: * [Jeff Delaney](https://fireship.io/contributors/jeff-delaney/)
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/svg/github-corner.svg
<a href="{{ .Site.Params.github_hrepo }}" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#0594CB; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
<a href="{{ .Site.Params.github_hrepo }}" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#0594CB; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/resources/_gen/images/news/0.61.0-relnotes/hugo-61-featured_huc7cf44fd2ae7c41ccbb87bf5c4aa169c_79929_480x0_resize_catmullrom_2.png
PNG  IHDRGPLTEF ( *" " $ %(H1( .%* %- *5+(!" * '.8-#0RA $L=;0/G9*/" 5'B5WF")$25<,&"9.>'!#'1:$=O]J" 74?22BD" '5C)D2.qZ?")((<7HbNV(+M9lV+9GgRw_@H#6G 0. Ib @XN!+V0#K19$W@5; Pl~e3L|T7aG,E =9_<  WvSLhaL)!]lF+qg a|_WkNyo0 jjD#B;[LD|[!$=nc(88S hpwM&sU E@ q_1* p{Qz ]`/Z jsA-r)Gbr49 u~C4b | R+}7@ ud%L}i7- .M|\(MVv Hn u "?a>_5_}1g6M z2L}K7U5MAIF}9?m@@ y+XEPf-^ mk7q6l'YQ)RX:p:T;m94Y2hBH)f%4TF?TʨL4cYQ8w^Ci[{9w%'= V"v H^/1 eٷ lF ];B@WhyLAbW1:kJ9v<w@w4TӨCFNLw>D.?jiFE8Gkϱ"ЂDÝ\xݤ:ĹAXv{IDATx XU׽ Z )Ť X@-b9-*-"^sUqH41S@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ry' u wc%1SW<z#  N<\)\M.mV(<[9EipG_+;Kޒ<a %"L :Mo2N\[ mHI(p#uQ/a0r%L~„Yo[W":Ian:؉Ǥ=ČN/ɫʫ-bq-]~`N f^HW{i5,*;I鶼y,RRZ>O4>;J^(`SaJ 'WaU^K~OXj(+Zeo/j+RL+ݖM'\`1[J9G+e¦2.h>WJhZrvlugXy)<i:YTb'\d=}]@Fk}4_,8V, N9 ;4%fҒw<DY\ ak .4W,I`l )ץX'. f?F/W VR$yN8ՈI'n)I ޥ*ǣʂ ҦЁb}C3IprЪa^G^՝:?rp7[]ٍۤtX>dGʶaBW7bYң}O[! {!ӽIENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/news/0.8-relnotes/index.md
--- date: 2013-08-03T15:26:04Z description: "Hugo 0.8 added support for pretty URLs, support for TOML and YAML, better Windows compatibility, and more!" title: "Hugo 0.8" categories: ["Releases"] --- **Please read the docs as a few options have changed in this release:** - Added support for pretty URLs (filename/index.html vs filename.html) - Hugo supports a destination directory - Will efficiently sync content in static to destination directory - Cleaned up options.. now with support for short and long options - Added support for TOML - Added support for YAML - Added support for Previous & Next - Added support for indexes for the indexes - Better Windows compatibility - Support for series - Adding verbose output - Loads of bugfixes
--- date: 2013-08-03T15:26:04Z description: "Hugo 0.8 added support for pretty URLs, support for TOML and YAML, better Windows compatibility, and more!" title: "Hugo 0.8" categories: ["Releases"] --- **Please read the docs as a few options have changed in this release:** - Added support for pretty URLs (filename/index.html vs filename.html) - Hugo supports a destination directory - Will efficiently sync content in static to destination directory - Cleaned up options.. now with support for short and long options - Added support for TOML - Added support for YAML - Added support for Previous & Next - Added support for indexes for the indexes - Better Windows compatibility - Support for series - Adding verbose output - Loads of bugfixes
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/readfiles/testing.txt
##### Hello World! Testing one, **two**, *three*. Don't delete this sample file used in the [templates](/templates/) section of the Hugo docs.
##### Hello World! Testing one, **two**, *three*. Don't delete this sample file used in the [templates](/templates/) section of the Hugo docs.
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/layouts/shortcodes/todo.html
{{ if .Inner }}{{ end }}
{{ if .Inner }}{{ end }}
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/internal/go_templates/texttemplate/testdata/tmpl1.tmpl
template1 {{define "x"}}x{{end}} {{template "y"}}
template1 {{define "x"}}x{{end}} {{template "y"}}
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./create/content.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package create provides functions to create new content. package create import ( "bytes" "io" "os" "path/filepath" "strings" "github.com/pkg/errors" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/hugofs/files" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugolib" "github.com/spf13/afero" jww "github.com/spf13/jwalterweatherman" ) // NewContent creates a new content file in the content directory based upon the // given kind, which is used to lookup an archetype. func NewContent( sites *hugolib.HugoSites, kind, targetPath string) error { targetPath = filepath.Clean(targetPath) ext := helpers.Ext(targetPath) ps := sites.PathSpec archetypeFs := ps.BaseFs.SourceFilesystems.Archetypes.Fs sourceFs := ps.Fs.Source jww.INFO.Printf("attempting to create %q of %q of ext %q", targetPath, kind, ext) archetypeFilename, isDir := findArchetype(ps, kind, ext) contentPath, s := resolveContentPath(sites, sourceFs, targetPath) if isDir { langFs, err := hugofs.NewLanguageFs(sites.LanguageSet(), archetypeFs) if err != nil { return err } cm, err := mapArcheTypeDir(ps, langFs, archetypeFilename) if err != nil { return err } if cm.siteUsed { if err := sites.Build(hugolib.BuildCfg{SkipRender: true}); err != nil { return err } } name := filepath.Base(targetPath) return newContentFromDir(archetypeFilename, sites, sourceFs, cm, name, contentPath) } // Building the sites can be expensive, so only do it if really needed. siteUsed := false if archetypeFilename != "" { var err error siteUsed, err = usesSiteVar(archetypeFs, archetypeFilename) if err != nil { return err } } if siteUsed { if err := sites.Build(hugolib.BuildCfg{SkipRender: true}); err != nil { return err } } content, err := executeArcheTypeAsTemplate(s, "", kind, targetPath, archetypeFilename) if err != nil { return err } if err := helpers.SafeWriteToDisk(contentPath, bytes.NewReader(content), s.Fs.Source); err != nil { return err } jww.FEEDBACK.Println(contentPath, "created") editor := s.Cfg.GetString("newContentEditor") if editor != "" { jww.FEEDBACK.Printf("Editing %s with %q ...\n", targetPath, editor) editorCmd := append(strings.Fields(editor), contentPath) cmd, err := hexec.SafeCommand(editorCmd[0], editorCmd[1:]...) if err != nil { return err } cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr return cmd.Run() } return nil } func targetSite(sites *hugolib.HugoSites, fi hugofs.FileMetaInfo) *hugolib.Site { for _, s := range sites.Sites { if fi.Meta().Lang() == s.Language().Lang { return s } } return sites.Sites[0] } func newContentFromDir( archetypeDir string, sites *hugolib.HugoSites, targetFs afero.Fs, cm archetypeMap, name, targetPath string) error { for _, f := range cm.otherFiles { meta := f.Meta() filename := meta.Path() // Just copy the file to destination. in, err := meta.Open() if err != nil { return errors.Wrap(err, "failed to open non-content file") } targetFilename := filepath.Join(targetPath, strings.TrimPrefix(filename, archetypeDir)) targetDir := filepath.Dir(targetFilename) if err := targetFs.MkdirAll(targetDir, 0777); err != nil && !os.IsExist(err) { return errors.Wrapf(err, "failed to create target directory for %s:", targetDir) } out, err := targetFs.Create(targetFilename) if err != nil { return err } _, err = io.Copy(out, in) if err != nil { return err } in.Close() out.Close() } for _, f := range cm.contentFiles { filename := f.Meta().Path() s := targetSite(sites, f) targetFilename := filepath.Join(targetPath, strings.TrimPrefix(filename, archetypeDir)) content, err := executeArcheTypeAsTemplate(s, name, archetypeDir, targetFilename, filename) if err != nil { return errors.Wrap(err, "failed to execute archetype template") } if err := helpers.SafeWriteToDisk(targetFilename, bytes.NewReader(content), targetFs); err != nil { return errors.Wrap(err, "failed to save results") } } jww.FEEDBACK.Println(targetPath, "created") return nil } type archetypeMap struct { // These needs to be parsed and executed as Go templates. contentFiles []hugofs.FileMetaInfo // These are just copied to destination. otherFiles []hugofs.FileMetaInfo // If the templates needs a fully built site. This can potentially be // expensive, so only do when needed. siteUsed bool } func mapArcheTypeDir( ps *helpers.PathSpec, fs afero.Fs, archetypeDir string) (archetypeMap, error) { var m archetypeMap walkFn := func(path string, fi hugofs.FileMetaInfo, err error) error { if err != nil { return err } if fi.IsDir() { return nil } fil := fi.(hugofs.FileMetaInfo) if files.IsContentFile(path) { m.contentFiles = append(m.contentFiles, fil) if !m.siteUsed { m.siteUsed, err = usesSiteVar(fs, path) if err != nil { return err } } return nil } m.otherFiles = append(m.otherFiles, fil) return nil } walkCfg := hugofs.WalkwayConfig{ WalkFn: walkFn, Fs: fs, Root: archetypeDir, } w := hugofs.NewWalkway(walkCfg) if err := w.Walk(); err != nil { return m, errors.Wrapf(err, "failed to walk archetype dir %q", archetypeDir) } return m, nil } func usesSiteVar(fs afero.Fs, filename string) (bool, error) { f, err := fs.Open(filename) if err != nil { return false, errors.Wrap(err, "failed to open archetype file") } defer f.Close() return helpers.ReaderContains(f, []byte(".Site")), nil } // Resolve the target content path. func resolveContentPath(sites *hugolib.HugoSites, fs afero.Fs, targetPath string) (string, *hugolib.Site) { targetDir := filepath.Dir(targetPath) first := sites.Sites[0] var ( s *hugolib.Site siteContentDir string ) // Try the filename: my-post.en.md for _, ss := range sites.Sites { if strings.Contains(targetPath, "."+ss.Language().Lang+".") { s = ss break } } var dirLang string for _, dir := range sites.BaseFs.Content.Dirs { meta := dir.Meta() contentDir := meta.Filename() if !strings.HasSuffix(contentDir, helpers.FilePathSeparator) { contentDir += helpers.FilePathSeparator } if strings.HasPrefix(targetPath, contentDir) { siteContentDir = contentDir dirLang = meta.Lang() break } } if s == nil && dirLang != "" { for _, ss := range sites.Sites { if ss.Lang() == dirLang { s = ss break } } } if s == nil { s = first } if targetDir != "" && targetDir != "." { exists, _ := helpers.Exists(targetDir, fs) if exists { return targetPath, s } } if siteContentDir == "" { } if siteContentDir != "" { pp := filepath.Join(siteContentDir, strings.TrimPrefix(targetPath, siteContentDir)) return s.PathSpec.AbsPathify(pp), s } else { var contentDir string for _, dir := range sites.BaseFs.Content.Dirs { contentDir = dir.Meta().Filename() if dir.Meta().Lang() == s.Lang() { break } } return s.PathSpec.AbsPathify(filepath.Join(contentDir, targetPath)), s } } // FindArchetype takes a given kind/archetype of content and returns the path // to the archetype in the archetype filesystem, blank if none found. func findArchetype(ps *helpers.PathSpec, kind, ext string) (outpath string, isDir bool) { fs := ps.BaseFs.Archetypes.Fs var pathsToCheck []string if kind != "" { pathsToCheck = append(pathsToCheck, kind+ext) } pathsToCheck = append(pathsToCheck, "default"+ext, "default") for _, p := range pathsToCheck { fi, err := fs.Stat(p) if err == nil { return p, fi.IsDir() } } return "", false }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package create provides functions to create new content. package create import ( "bytes" "io" "os" "path/filepath" "strings" "github.com/pkg/errors" "github.com/gohugoio/hugo/common/hexec" "github.com/gohugoio/hugo/hugofs/files" "github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugolib" "github.com/spf13/afero" jww "github.com/spf13/jwalterweatherman" ) // NewContent creates a new content file in the content directory based upon the // given kind, which is used to lookup an archetype. func NewContent( sites *hugolib.HugoSites, kind, targetPath string) error { targetPath = filepath.Clean(targetPath) ext := helpers.Ext(targetPath) ps := sites.PathSpec archetypeFs := ps.BaseFs.SourceFilesystems.Archetypes.Fs sourceFs := ps.Fs.Source jww.INFO.Printf("attempting to create %q of %q of ext %q", targetPath, kind, ext) archetypeFilename, isDir := findArchetype(ps, kind, ext) contentPath, s := resolveContentPath(sites, sourceFs, targetPath) if isDir { langFs, err := hugofs.NewLanguageFs(sites.LanguageSet(), archetypeFs) if err != nil { return err } cm, err := mapArcheTypeDir(ps, langFs, archetypeFilename) if err != nil { return err } if cm.siteUsed { if err := sites.Build(hugolib.BuildCfg{SkipRender: true}); err != nil { return err } } name := filepath.Base(targetPath) return newContentFromDir(archetypeFilename, sites, sourceFs, cm, name, contentPath) } // Building the sites can be expensive, so only do it if really needed. siteUsed := false if archetypeFilename != "" { var err error siteUsed, err = usesSiteVar(archetypeFs, archetypeFilename) if err != nil { return err } } if siteUsed { if err := sites.Build(hugolib.BuildCfg{SkipRender: true}); err != nil { return err } } content, err := executeArcheTypeAsTemplate(s, "", kind, targetPath, archetypeFilename) if err != nil { return err } if err := helpers.SafeWriteToDisk(contentPath, bytes.NewReader(content), s.Fs.Source); err != nil { return err } jww.FEEDBACK.Println(contentPath, "created") editor := s.Cfg.GetString("newContentEditor") if editor != "" { jww.FEEDBACK.Printf("Editing %s with %q ...\n", targetPath, editor) editorCmd := append(strings.Fields(editor), contentPath) cmd, err := hexec.SafeCommand(editorCmd[0], editorCmd[1:]...) if err != nil { return err } cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr return cmd.Run() } return nil } func targetSite(sites *hugolib.HugoSites, fi hugofs.FileMetaInfo) *hugolib.Site { for _, s := range sites.Sites { if fi.Meta().Lang() == s.Language().Lang { return s } } return sites.Sites[0] } func newContentFromDir( archetypeDir string, sites *hugolib.HugoSites, targetFs afero.Fs, cm archetypeMap, name, targetPath string) error { for _, f := range cm.otherFiles { meta := f.Meta() filename := meta.Path() // Just copy the file to destination. in, err := meta.Open() if err != nil { return errors.Wrap(err, "failed to open non-content file") } targetFilename := filepath.Join(targetPath, strings.TrimPrefix(filename, archetypeDir)) targetDir := filepath.Dir(targetFilename) if err := targetFs.MkdirAll(targetDir, 0777); err != nil && !os.IsExist(err) { return errors.Wrapf(err, "failed to create target directory for %s:", targetDir) } out, err := targetFs.Create(targetFilename) if err != nil { return err } _, err = io.Copy(out, in) if err != nil { return err } in.Close() out.Close() } for _, f := range cm.contentFiles { filename := f.Meta().Path() s := targetSite(sites, f) targetFilename := filepath.Join(targetPath, strings.TrimPrefix(filename, archetypeDir)) content, err := executeArcheTypeAsTemplate(s, name, archetypeDir, targetFilename, filename) if err != nil { return errors.Wrap(err, "failed to execute archetype template") } if err := helpers.SafeWriteToDisk(targetFilename, bytes.NewReader(content), targetFs); err != nil { return errors.Wrap(err, "failed to save results") } } jww.FEEDBACK.Println(targetPath, "created") return nil } type archetypeMap struct { // These needs to be parsed and executed as Go templates. contentFiles []hugofs.FileMetaInfo // These are just copied to destination. otherFiles []hugofs.FileMetaInfo // If the templates needs a fully built site. This can potentially be // expensive, so only do when needed. siteUsed bool } func mapArcheTypeDir( ps *helpers.PathSpec, fs afero.Fs, archetypeDir string) (archetypeMap, error) { var m archetypeMap walkFn := func(path string, fi hugofs.FileMetaInfo, err error) error { if err != nil { return err } if fi.IsDir() { return nil } fil := fi.(hugofs.FileMetaInfo) if files.IsContentFile(path) { m.contentFiles = append(m.contentFiles, fil) if !m.siteUsed { m.siteUsed, err = usesSiteVar(fs, path) if err != nil { return err } } return nil } m.otherFiles = append(m.otherFiles, fil) return nil } walkCfg := hugofs.WalkwayConfig{ WalkFn: walkFn, Fs: fs, Root: archetypeDir, } w := hugofs.NewWalkway(walkCfg) if err := w.Walk(); err != nil { return m, errors.Wrapf(err, "failed to walk archetype dir %q", archetypeDir) } return m, nil } func usesSiteVar(fs afero.Fs, filename string) (bool, error) { f, err := fs.Open(filename) if err != nil { return false, errors.Wrap(err, "failed to open archetype file") } defer f.Close() return helpers.ReaderContains(f, []byte(".Site")), nil } // Resolve the target content path. func resolveContentPath(sites *hugolib.HugoSites, fs afero.Fs, targetPath string) (string, *hugolib.Site) { targetDir := filepath.Dir(targetPath) first := sites.Sites[0] var ( s *hugolib.Site siteContentDir string ) // Try the filename: my-post.en.md for _, ss := range sites.Sites { if strings.Contains(targetPath, "."+ss.Language().Lang+".") { s = ss break } } var dirLang string for _, dir := range sites.BaseFs.Content.Dirs { meta := dir.Meta() contentDir := meta.Filename() if !strings.HasSuffix(contentDir, helpers.FilePathSeparator) { contentDir += helpers.FilePathSeparator } if strings.HasPrefix(targetPath, contentDir) { siteContentDir = contentDir dirLang = meta.Lang() break } } if s == nil && dirLang != "" { for _, ss := range sites.Sites { if ss.Lang() == dirLang { s = ss break } } } if s == nil { s = first } if targetDir != "" && targetDir != "." { exists, _ := helpers.Exists(targetDir, fs) if exists { return targetPath, s } } if siteContentDir == "" { } if siteContentDir != "" { pp := filepath.Join(siteContentDir, strings.TrimPrefix(targetPath, siteContentDir)) return s.PathSpec.AbsPathify(pp), s } else { var contentDir string for _, dir := range sites.BaseFs.Content.Dirs { contentDir = dir.Meta().Filename() if dir.Meta().Lang() == s.Lang() { break } } return s.PathSpec.AbsPathify(filepath.Join(contentDir, targetPath)), s } } // FindArchetype takes a given kind/archetype of content and returns the path // to the archetype in the archetype filesystem, blank if none found. func findArchetype(ps *helpers.PathSpec, kind, ext string) (outpath string, isDir bool) { fs := ps.BaseFs.Archetypes.Fs var pathsToCheck []string if kind != "" { pathsToCheck = append(pathsToCheck, kind+ext) } pathsToCheck = append(pathsToCheck, "default"+ext, "default") for _, p := range pathsToCheck { fi, err := fs.Stat(p) if err == nil { return p, fi.IsDir() } } return "", false }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./resources/testdata/golden/gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_84a8d324276a96584446750f06d04bd4.png
PNG  IHDRGPLTE~( F G֞ ҙ ԛ Ж ܦ ؠ ͒ @ˏ  ٣ ީ { y+1 uptLDR#Yiza ¬F^wn>7~iӢ $@GxDLSɸ%'Zd:I69E˳1 %Σ¹-.O{Ɍ%/TpLҦC@ѫLϯ0KzNPl18,9::7͜"% Ú)pDZb\c,ǣpP(Ti&ê˩Ѹ-5@BٹA 'wt "rg]k?fX=~frZ{5{Htm{I٫ >vnl`ݳƉ߾cjyD.brƠֲ bZ@WyY*mÄ $>d&ǒ,v ơHDßȐ ا2Xx߿)sQNWȷu/kϱzvDs̚qcۮ5TTS;87ZMƢ=֖\!IDATxp[ו&c*Le򗥡! ^1!HyڎX)*:)nW t+[[1K-̒Ewۗ],녒Fɨ /ɨI ,8-w{5H*Q;CA~wιJv*e AW~Fiz+?Ϣ4^x 탟?)z_+䂮ʺ򢢼 )CC 郃C%?@l|S1&h  c<~/(*Ae]EePQZWuMQ늺Z].i  ~vNIzӇ8>?8|00 `8qQ ! 4MW5M#b`jպo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mtKA^V$OD&mne5Jpl:>pY,")D-=֡aVX=MXZshIENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/content/en/showcase/letsencrypt/featured.png
PNG  IHDRV-L&iKiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about=""/> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>-CDgAMA asRGBPLTEٱ‰ԕܼ۷gg⼄ozyǎѪ叿Ĥykho֝{oоʨyիmЗ`دu՛S}vϊ֘Ӣrqv^}Ξbd߂ӷɋtϥx+<hʕ԰څwhZwt{˖#L%V״ڴz} =1_corzwۧ:Цpor鿤{4Hqgv;kkhȰwʺ1fuhFuX|znr[lɠoBUzg䝞.//<wNa>?@tYZZ_ݭ YLMMdgenrkPxyxc~phFW+2Wfm$ҴnƢlxG췽qW ?U映 z}=3WSY`;l[|@m IDATx_H}`5Z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ru~]8 q,! qCm޸ uE*cmUvn;Ple[ 0#m$n Sg5ZRX52scV: j[%c2ڤ!ЕUV?'\E%ow6Wr{8bbu'Țz/&n1Vto-6@R:%WԱgU@D=4ߖml^yFʎKJbGO* m?,؝[㫷*xnOD q&:a5p={.S< `BNV<OHvnO f8ąԑL.-T&TT9 âQe5e?L.u*ª6(T h+V:̀!yKaRi;K#Z}:ULJ hzk'>: XCXz2XZ7} a뺮2Ƞ-<MSI LWM]H38} g ߛ^Ϙ;;H)T}`'}5/0 2W 8j,VZU,ڭS yzjTl>X?&cIENDB`
PNG  IHDRV-L&iKiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about=""/> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>-CDgAMA asRGBPLTEٱ‰ԕܼ۷gg⼄ozyǎѪ叿Ĥykho֝{oоʨyիmЗ`دu՛S}vϊ֘Ӣrqv^}Ξbd߂ӷɋtϥx+<hʕ԰څwhZwt{˖#L%V״ڴz} =1_corzwۧ:Цpor鿤{4Hqgv;kkhȰwʺ1fuhFuX|znr[lɠoBUzg䝞.//<wNa>?@tYZZ_ݭ YLMMdgenrkPxyxc~phFW+2Wfm$ҴnƢlxG췽qW ?U映 z}=3WSY`;l[|@m IDATx_H}`5ZYV76MO1lP"^U#Đ\L6m40"KI t&6u"_.DD6u.b.ċW9XkY/yR|Se0a„0L0a„ &->z^V#ᘟ#ݺ+Ĺ*Iɷے8'o\%",skVYFۙ0a˜ 9@8gjA`$+β): UUk2Rq>>r½>nvo}=74p$n}$ ܾۃN|ɪ۷?}=713ǘDܜYɪo~ݲn0&L\UPoCd+dJվrseow]row:G#nX+{kk9˚[Ҫ۾Y~o^`hm^Ѯj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2Ƞ-<MSI LWM]H38} g ߛ^Ϙ;;H)T}`'}5/0 2W 8j,VZU,ڭS yzjTl>X?&cIENDB`
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/_vendor/github.com/gohugoio/gohugoioTheme/layouts/partials/nav-top.html
{{ $currentPage := . }} <header class="dn-lTK relative cf bg-primary-color-dark pl4 w-100 z-5"> <div class="flexTK items-centerTK dib "> <a class="absolute top-0 left-0 ml4 w4 w4-ns ph3 mr3" href="/"> <img src="{{ .Site.Params.logo }}" alt="" class="w-100 shadow-2"> </a> <a class="f4 f3-ns lh-solid brand-font fw7 link white hover-white no-underline dib mv0 ml6 pl3 mr5" href="/"> {{ .Site.Title | markdownify }} </a> </div> {{ partial "nav-links" .}} <div class="dn-l"> {{ partial "nav-button-open" .}} </div> </header>
{{ $currentPage := . }} <header class="dn-lTK relative cf bg-primary-color-dark pl4 w-100 z-5"> <div class="flexTK items-centerTK dib "> <a class="absolute top-0 left-0 ml4 w4 w4-ns ph3 mr3" href="/"> <img src="{{ .Site.Params.logo }}" alt="" class="w-100 shadow-2"> </a> <a class="f4 f3-ns lh-solid brand-font fw7 link white hover-white no-underline dib mv0 ml6 pl3 mr5" href="/"> {{ .Site.Title | markdownify }} </a> </div> {{ partial "nav-links" .}} <div class="dn-l"> {{ partial "nav-button-open" .}} </div> </header>
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/safe/init.go
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package safe import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "safe" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.CSS, []string{"safeCSS"}, [][2]string{ {`{{ "Bat&Man" | safeCSS | safeCSS }}`, `Bat&amp;Man`}, }, ) ns.AddMethodMapping(ctx.HTML, []string{"safeHTML"}, [][2]string{ {`{{ "Bat&Man" | safeHTML | safeHTML }}`, `Bat&Man`}, {`{{ "Bat&Man" | safeHTML }}`, `Bat&Man`}, }, ) ns.AddMethodMapping(ctx.HTMLAttr, []string{"safeHTMLAttr"}, [][2]string{}, ) ns.AddMethodMapping(ctx.JS, []string{"safeJS"}, [][2]string{ {`{{ "(1*2)" | safeJS | safeJS }}`, `(1*2)`}, }, ) ns.AddMethodMapping(ctx.JSStr, []string{"safeJSStr"}, [][2]string{}, ) ns.AddMethodMapping(ctx.URL, []string{"safeURL"}, [][2]string{ {`{{ "http://gohugo.io" | safeURL | safeURL }}`, `http://gohugo.io`}, }, ) ns.AddMethodMapping(ctx.SanitizeURL, []string{"sanitizeURL", "sanitizeurl"}, [][2]string{}, ) return ns } internal.AddTemplateFuncsNamespace(f) }
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package safe import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/tpl/internal" ) const name = "safe" func init() { f := func(d *deps.Deps) *internal.TemplateFuncsNamespace { ctx := New() ns := &internal.TemplateFuncsNamespace{ Name: name, Context: func(args ...interface{}) interface{} { return ctx }, } ns.AddMethodMapping(ctx.CSS, []string{"safeCSS"}, [][2]string{ {`{{ "Bat&Man" | safeCSS | safeCSS }}`, `Bat&amp;Man`}, }, ) ns.AddMethodMapping(ctx.HTML, []string{"safeHTML"}, [][2]string{ {`{{ "Bat&Man" | safeHTML | safeHTML }}`, `Bat&Man`}, {`{{ "Bat&Man" | safeHTML }}`, `Bat&Man`}, }, ) ns.AddMethodMapping(ctx.HTMLAttr, []string{"safeHTMLAttr"}, [][2]string{}, ) ns.AddMethodMapping(ctx.JS, []string{"safeJS"}, [][2]string{ {`{{ "(1*2)" | safeJS | safeJS }}`, `(1*2)`}, }, ) ns.AddMethodMapping(ctx.JSStr, []string{"safeJSStr"}, [][2]string{}, ) ns.AddMethodMapping(ctx.URL, []string{"safeURL"}, [][2]string{ {`{{ "http://gohugo.io" | safeURL | safeURL }}`, `http://gohugo.io`}, }, ) ns.AddMethodMapping(ctx.SanitizeURL, []string{"sanitizeURL", "sanitizeurl"}, [][2]string{}, ) return ns } internal.AddTemplateFuncsNamespace(f) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./modules/collect_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package modules import ( "testing" qt "github.com/frankban/quicktest" ) func TestPathKey(t *testing.T) { c := qt.New(t) for _, test := range []struct { in string expect string }{ {"github.com/foo", "github.com/foo"}, {"github.com/foo/v2", "github.com/foo"}, {"github.com/foo/v12", "github.com/foo"}, {"github.com/foo/v3d", "github.com/foo/v3d"}, {"MyTheme", "mytheme"}, } { c.Assert(pathKey(test.in), qt.Equals, test.expect) } } func TestFilterUnwantedMounts(t *testing.T) { mounts := []Mount{ {Source: "a", Target: "b", Lang: "en"}, {Source: "a", Target: "b", Lang: "en"}, {Source: "b", Target: "c", Lang: "en"}, } filtered := filterUnwantedMounts(mounts) c := qt.New(t) c.Assert(len(filtered), qt.Equals, 2) c.Assert(filtered, qt.DeepEquals, []Mount{{Source: "a", Target: "b", Lang: "en"}, {Source: "b", Target: "c", Lang: "en"}}) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package modules import ( "testing" qt "github.com/frankban/quicktest" ) func TestPathKey(t *testing.T) { c := qt.New(t) for _, test := range []struct { in string expect string }{ {"github.com/foo", "github.com/foo"}, {"github.com/foo/v2", "github.com/foo"}, {"github.com/foo/v12", "github.com/foo"}, {"github.com/foo/v3d", "github.com/foo/v3d"}, {"MyTheme", "mytheme"}, } { c.Assert(pathKey(test.in), qt.Equals, test.expect) } } func TestFilterUnwantedMounts(t *testing.T) { mounts := []Mount{ {Source: "a", Target: "b", Lang: "en"}, {Source: "a", Target: "b", Lang: "en"}, {Source: "b", Target: "c", Lang: "en"}, } filtered := filterUnwantedMounts(mounts) c := qt.New(t) c.Assert(len(filtered), qt.Equals, 2) c.Assert(filtered, qt.DeepEquals, []Mount{{Source: "a", Target: "b", Lang: "en"}, {Source: "b", Target: "c", Lang: "en"}}) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./hugolib/paginator_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "path/filepath" "testing" qt "github.com/frankban/quicktest" ) func TestPaginator(t *testing.T) { configFile := ` baseURL = "https://example.com/foo/" paginate = 3 paginatepath = "thepage" [languages.en] weight = 1 contentDir = "content/en" [languages.nn] weight = 2 contentDir = "content/nn" ` b := newTestSitesBuilder(t).WithConfigFile("toml", configFile) var content []string for i := 0; i < 9; i++ { for _, contentDir := range []string{"content/en", "content/nn"} { content = append(content, fmt.Sprintf(contentDir+"/blog/page%d.md", i), fmt.Sprintf(`--- title: Page %d --- Content. `, i)) } } b.WithContent(content...) pagTemplate := ` {{ $pag := $.Paginator }} Total: {{ $pag.TotalPages }} First: {{ $pag.First.URL }} Page Number: {{ $pag.PageNumber }} URL: {{ $pag.URL }} {{ with $pag.Next }}Next: {{ .URL }}{{ end }} {{ with $pag.Prev }}Prev: {{ .URL }}{{ end }} {{ range $i, $e := $pag.Pagers }} {{ printf "%d: %d/%d %t" $i $pag.PageNumber .PageNumber (eq . $pag) -}} {{ end }} ` b.WithTemplatesAdded("index.html", pagTemplate) b.WithTemplatesAdded("index.xml", pagTemplate) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/thepage/2/index.html", "Total: 3", "Page Number: 2", "URL: /foo/thepage/2/", "Next: /foo/thepage/3/", "Prev: /foo/", "1: 2/2 true", ) b.AssertFileContent("public/index.xml", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/thepage/2/index.xml", "Page Number: 2", "1: 2/2 true") b.AssertFileContent("public/nn/index.html", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/nn/index.xml", "Page Number: 1", "0: 1/1 true") } // Issue 6023 func TestPaginateWithSort(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", `{{ range (.Paginate (sort .Site.RegularPages ".File.Filename" "desc")).Pages }}|{{ .File.Filename }}{{ end }}`) b.Build(BuildCfg{}).AssertFileContent("public/index.html", filepath.FromSlash("|content/sect/doc1.nn.md|content/sect/doc1.nb.md|content/sect/doc1.fr.md|content/sect/doc1.en.md")) } // https://github.com/gohugoio/hugo/issues/6797 func TestPaginateOutputFormat(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithContent("_index.md", `--- title: "Home" cascade: outputs: - JSON ---`) for i := 0; i < 22; i++ { b.WithContent(fmt.Sprintf("p%d.md", i+1), fmt.Sprintf(`--- title: "Page" weight: %d ---`, i+1)) } b.WithTemplatesAdded("index.json", `JSON: {{ .Paginator.TotalNumberOfElements }}: {{ range .Paginator.Pages }}|{{ .RelPermalink }}{{ end }}:DONE`) b.Build(BuildCfg{}) b.AssertFileContent("public/index.json", `JSON: 22 |/p1/index.json|/p2/index.json| `) // This looks odd, so are most bugs. b.Assert(b.CheckExists("public/page/1/index.json/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/page/1/index.json"), qt.Equals, false) b.AssertFileContent("public/page/2/index.json", `JSON: 22: |/p11/index.json|/p12/index.json`) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package hugolib import ( "fmt" "path/filepath" "testing" qt "github.com/frankban/quicktest" ) func TestPaginator(t *testing.T) { configFile := ` baseURL = "https://example.com/foo/" paginate = 3 paginatepath = "thepage" [languages.en] weight = 1 contentDir = "content/en" [languages.nn] weight = 2 contentDir = "content/nn" ` b := newTestSitesBuilder(t).WithConfigFile("toml", configFile) var content []string for i := 0; i < 9; i++ { for _, contentDir := range []string{"content/en", "content/nn"} { content = append(content, fmt.Sprintf(contentDir+"/blog/page%d.md", i), fmt.Sprintf(`--- title: Page %d --- Content. `, i)) } } b.WithContent(content...) pagTemplate := ` {{ $pag := $.Paginator }} Total: {{ $pag.TotalPages }} First: {{ $pag.First.URL }} Page Number: {{ $pag.PageNumber }} URL: {{ $pag.URL }} {{ with $pag.Next }}Next: {{ .URL }}{{ end }} {{ with $pag.Prev }}Prev: {{ .URL }}{{ end }} {{ range $i, $e := $pag.Pagers }} {{ printf "%d: %d/%d %t" $i $pag.PageNumber .PageNumber (eq . $pag) -}} {{ end }} ` b.WithTemplatesAdded("index.html", pagTemplate) b.WithTemplatesAdded("index.xml", pagTemplate) b.Build(BuildCfg{}) b.AssertFileContent("public/index.html", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/thepage/2/index.html", "Total: 3", "Page Number: 2", "URL: /foo/thepage/2/", "Next: /foo/thepage/3/", "Prev: /foo/", "1: 2/2 true", ) b.AssertFileContent("public/index.xml", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/thepage/2/index.xml", "Page Number: 2", "1: 2/2 true") b.AssertFileContent("public/nn/index.html", "Page Number: 1", "0: 1/1 true") b.AssertFileContent("public/nn/index.xml", "Page Number: 1", "0: 1/1 true") } // Issue 6023 func TestPaginateWithSort(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithTemplatesAdded("index.html", `{{ range (.Paginate (sort .Site.RegularPages ".File.Filename" "desc")).Pages }}|{{ .File.Filename }}{{ end }}`) b.Build(BuildCfg{}).AssertFileContent("public/index.html", filepath.FromSlash("|content/sect/doc1.nn.md|content/sect/doc1.nb.md|content/sect/doc1.fr.md|content/sect/doc1.en.md")) } // https://github.com/gohugoio/hugo/issues/6797 func TestPaginateOutputFormat(t *testing.T) { b := newTestSitesBuilder(t).WithSimpleConfigFile() b.WithContent("_index.md", `--- title: "Home" cascade: outputs: - JSON ---`) for i := 0; i < 22; i++ { b.WithContent(fmt.Sprintf("p%d.md", i+1), fmt.Sprintf(`--- title: "Page" weight: %d ---`, i+1)) } b.WithTemplatesAdded("index.json", `JSON: {{ .Paginator.TotalNumberOfElements }}: {{ range .Paginator.Pages }}|{{ .RelPermalink }}{{ end }}:DONE`) b.Build(BuildCfg{}) b.AssertFileContent("public/index.json", `JSON: 22 |/p1/index.json|/p2/index.json| `) // This looks odd, so are most bugs. b.Assert(b.CheckExists("public/page/1/index.json/index.html"), qt.Equals, false) b.Assert(b.CheckExists("public/page/1/index.json"), qt.Equals, false) b.AssertFileContent("public/page/2/index.json", `JSON: 22: |/p11/index.json|/p12/index.json`) }
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./tpl/tplimpl/embedded/templates/shortcodes/instagram.html
{{- $pc := .Page.Site.Config.Privacy.Instagram -}} {{- if not $pc.Disable -}} {{- if $pc.Simple -}} {{ template "_internal/shortcodes/instagram_simple.html" . }} {{- else -}} {{ $id := .Get 0 }} {{ $hideCaption := cond (eq (.Get 1) "hidecaption") "1" "0" }} {{ with getJSON "https://api.instagram.com/oembed/?url=https://instagram.com/p/" $id "/&hidecaption=" $hideCaption }}{{ .html | safeHTML }}{{ end }} {{- end -}} {{- end -}}
{{- $pc := .Page.Site.Config.Privacy.Instagram -}} {{- if not $pc.Disable -}} {{- if $pc.Simple -}} {{ template "_internal/shortcodes/instagram_simple.html" . }} {{- else -}} {{ $id := .Get 0 }} {{ $hideCaption := cond (eq (.Get 1) "hidecaption") "1" "0" }} {{ with getJSON "https://api.instagram.com/oembed/?url=https://instagram.com/p/" $id "/&hidecaption=" $hideCaption }}{{ .html | safeHTML }}{{ end }} {{- end -}} {{- end -}}
-1
gohugoio/hugo
8,148
pipes: rollup, babel, esbuild
WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
richtera
"2021-01-15T16:01:50Z"
"2021-01-18T09:38:09Z"
0004a733c85cee991a8a170e93cd69c326cc8f2f
2c8b5d9165011c4b24b494e661ae60dfc7bb7d1b
pipes: rollup, babel, esbuild. WIP Hopefully there is a way to make a test binary to validate production creation of source maps. In dev it seems to work as expected. Still needs test scripts. Added rollup for testing. Added sourceMaps option for babel. Babel can also read sourcemaps from the output of an esbuild if they are "inline", it will then convert the file and remap the source maps and then re-export them but currently not if they are "external". Added support for sourcemap = "external" for esbuild. Ref #8132
./docs/static/images/hosting-and-deployment/deployment-with-wercker/and-we-ve-got-an-app.png
PNG  IHDRKm, pHYs  ~ IDATxypUGYL|=Q1=*z:QvQ7`lllbV# @H+B "vXHH, y9UW E6,yd>y_2 Fh4wNo.ݠB!nl`B!ďx.Ͱ?H!G<~_,B! Bx B!B(!B@!B!B!P<B!B!Bx B!B!B(!򴈇{펮Dz{~{ڏsTwɴwvvʽ{2b#iW;:]"ʪ_omWRT!ߔ{tgŇ]㞼].ӷx;( )P6l^/<wԺcGT<|All uDžڝG-@;:)>qI;H .wؑk:q]Eamv)۶"&;ѵɾ=)JFV$8eAB[ p"K-q,v/;vYgdˉerg/H#A;>1^"dn<e -T_~M5f~̉#G$%-E}q sutsre=@d%&Km۷UvI=/٢.7te2q$㾑sQ'ouO9ÝfXݹ:<JctA`oR:? GiU* Fc_>:ކ^V,fMR-eg׹fp=x8tk=;vVC xDCu*q{A)s<ٺ}}~v5ֺƹ K׻;W],uuJ 9zDIy[nu;) n(vgw{rg\ZY6)eGz>\3fϴ??`9!ƿ+v^6y?wt!\%Yq7e.U<ܸqCF@GQvR\V_O8/ u~ :7f3հ` MPC x]+/]zꚓxn߼uSubvn.NM%Ǐw"K];Ўܝ޸9F 6 RX\䞁-6ndqmnnv{`iF̢@A^if(x 6t[zxٻᮿp}mWoɈZ7`gBZ>>fiaV[]~[rTVW7e|a_RV N>;Y'\V+/,͗(^\Ν`< ;hw7^syѪt>gpOhYի9#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?}6_jۅrs [+_}5v(&-VMUwSJs]mQ<|&be]!y,< # Vٸyl#%oxLL}`GEM1 /S ao@9粭2/"Q<(DDDD """Q<ADDD""""Q<ADDD"""xŃADDD"""xŃ(DDDDxŃ(DDDD """Q<΋u}'_.?K)</(SW@kAC<u(Ń(,Q<X""x(DDDxP<A`Q<(Ń(,Q<X""xP<(DDDxP<a*ǜvQ.]v cEWz>2|rp(_n7<K""xac=/V10(Ń[ V=~?rŃ[(^ ?X1K᧫u\x=GBGϑϋ3N\.߸> s4<q$ _ ވJ]krpWCᯗn-~$||`hؿaw=C""xhA<`tX/l< ]F?˚c~fC_ӜG΄W ,r`~VCY|tQ?<UJ!<\ӏ 1p_ ;O\ur! }x}9Ve3zDDD0ıb[<gw1Cߩ9 T"DśaDXXw"wߢ;(=]ADD-NFÛʏWte;Ex7ns^C9/F|Kqtxw0!Lq>歭1x<P^s_߬L<=bkx3A@,MQ.~8<]|# a(DDD0NKD0P΋wsva^3@cG<١ڿn#SBs {D(<پ(ٯxx2m޸~V+P9:_+|$LEqQRd#@]7:xovp˚BTv\$v_ Q}ln Ń(& aƄ)~qo ?'vKVl}"/`ߥ1`kx G/\zlb&[3c{x$,W?X";A8d OH;?fxŃE ""ŃADDŃ(ŃA`Q<xŃE ""ŃADDŃ(ŃA`Q<xoxL2&""u}'SP8DDD """xŃ(DDDD """Q<(DDDD """Q<ADDD""""Q<ADDD"""xŃADDD"""xŃ(DDDD """xŃ(DDDD """Q<(DDDD """64<_W?-bXR及'ESbX,ɈNnEÑ,bXR^K? biIENDB`
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./docs/content/en/content-management/formats.md
--- title: Content Formats linktitle: Content Formats description: Both HTML and Markdown are supported content formats. date: 2017-01-10 publishdate: 2017-01-10 lastmod: 2017-04-06 categories: [content management] keywords: [markdown,asciidoc,mmark,pandoc,content format] menu: docs: parent: "content-management" weight: 20 weight: 20 #rem draft: false aliases: [/content/markdown-extras/,/content/supported-formats/,/doc/supported-formats/] toc: true --- You can put any file type into your `/content` directories, but Hugo uses the `markup` front matter value if set or the file extension (see `Markup identifiers` in the table below) to determine if the markup needs to be processed, e.g.: * Markdown converted to HTML * [Shortcodes](/content-management/shortcodes/) processed * Layout applied ## List of content formats The current list of content formats in Hugo: | Name | Markup identifiers | Comment | | ------------- | ------------- |-------------| | Goldmark | md, markdown, goldmark |Note that you can set the default handler of `md` and `markdown` to something else, see [Configure Markup](/getting-started/configuration-markup/).{{< new-in "0.60.0" >}} | | Blackfriday | blackfriday |Blackfriday will eventually be deprecated.| |MMark|mmark|Mmark is deprecated and will be removed in a future release.| |Emacs Org-Mode|org|See [go-org](https://github.com/niklasfasching/go-org).| |AsciiDoc|asciidocext, adoc, ad|Needs [Asciidoctor][ascii] installed.| |RST|rst|Needs [RST](http://docutils.sourceforge.net/rst.html) installed.| |Pandoc|pandoc, pdc|Needs [Pandoc](https://www.pandoc.org/) installed.| |HTML|html, htm|To be treated as a content file, with layout, shortcodes etc., it must have front matter. If not, it will be copied as-is.| The `markup identifier` is fetched from either the `markup` variable in front matter or from the file extension. For markup-related configuration, see [Configure Markup](/getting-started/configuration-markup/). ## External Helpers Some of the formats in the table above need external helpers installed on your PC. For example, for AsciiDoc files, Hugo will try to call the `asciidoctor` command. This means that you will have to install the associated tool on your machine to be able to use these formats. Hugo passes reasonable default arguments to these external helpers by default: - `asciidoctor`: `--no-header-footer -` - `rst2html`: `--leave-comments --initial-header-level=2` - `pandoc`: `--mathjax` {{% warning "Performance of External Helpers" %}} Because additional formats are external commands, generation performance will rely heavily on the performance of the external tool you are using. As this feature is still in its infancy, feedback is welcome. {{% /warning %}} ### External Helper AsciiDoc [AsciiDoc](https://github.com/asciidoc/asciidoc) implementation EOLs in Jan 2020 and is no longer supported. AsciiDoc development is being continued under [Asciidoctor](https://github.com/asciidoctor). The format AsciiDoc remains of course. Please continue with the implementation Asciidoctor. ### External Helper Asciidoctor The Asciidoctor community offers a wide set of tools for the AsciiDoc format that can be installed additionally to Hugo. [See the Asciidoctor docs for installation instructions](https://asciidoctor.org/docs/install-toolchain/). Make sure that also all optional extensions like `asciidoctor-diagram` or `asciidoctor-html5s` are installed if required. {{% note %}} External `asciidoctor` command requires Hugo rendering to _disk_ to a specific destination directory. It is required to run Hugo with the command option `--destination`. {{% /note %}} Some [Asciidoctor](https://asciidoctor.org/man/asciidoctor/) parameters can be customized in Hugo: Parameter | Comment --- | --- backend | Don't change this unless you know what you are doing. doctype | Currently, the only document type supported in Hugo is `article`. extensions | Possible extensions are `asciidoctor-html5s`, `asciidoctor-bibtex`, `asciidoctor-diagram`, `asciidoctor-interdoc-reftext`, `asciidoctor-katex`, `asciidoctor-latex`, `asciidoctor-mathematical`, `asciidoctor-question`, `asciidoctor-rouge`. attributes | Variables to be referenced in your AsciiDoc file. This is a list of variable name/value maps. See [Asciidoctor's attributes](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions). noHeaderOrFooter | Output an embeddable document, which excludes the header, the footer, and everything outside the body of the document. Don't change this unless you know what you are doing. safeMode | Safe mode level `unsafe`, `safe`, `server` or `secure`. Don't change this unless you know what you are doing. sectionNumbers | Auto-number section titles. verbose | Verbosely print processing information and configuration file checks to stderr. trace | Include backtrace information on errors. failureLevel | The minimum logging level that triggers a non-zero exit code (failure). Hugo provides additional settings that don't map directly to Asciidoctor's CLI options: workingFolderCurrent : Sets the working directory to be the same as that of the AsciiDoc file being processed, so that [include](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files) will work with relative paths. This setting uses the `asciidoctor` cli parameter `--base-dir` and attribute `outdir=`. For rendering diagrams with [asciidoctor-diagram](https://asciidoctor.org/docs/asciidoctor-diagram/), `workingFolderCurrent` must be set to `true`. preserveTOC : By default, Hugo removes the table of contents generated by Asciidoctor and provides it through the built-in variable [`.TableOfContents`](/content-management/toc/) to enable further customization and better integration with the various Hugo themes. This option can be set to `true` to preserve Asciidoctor's TOC in the generated page. Below are all the AsciiDoc related settings in Hugo with their default values: {{< code-toggle config="markup.asciidocExt" />}} Example of how to set extensions and attributes: ``` [markup.asciidocExt] extensions = ["asciidoctor-html5s", "asciidoctor-diagram"] workingFolderCurrent = true [markup.asciidocExt.attributes] my-base-url = "https://example.com/" my-attribute-name = "my value" ``` In a complex Asciidoctor environment it is sometimes helpful to debug the exact call to your external helper with all parameters. Run Hugo with `-v`. You will get an output like ``` INFO 2019/12/22 09:08:48 Rendering book-as-pdf.adoc with C:\Ruby26-x64\bin\asciidoctor.bat using asciidoc args [--no-header-footer -r asciidoctor-html5s -b html5s -r asciidoctor-diagram --base-dir D:\prototypes\hugo_asciidoc_ddd\docs -a outdir=D:\prototypes\hugo_asciidoc_ddd\build -] ... ``` ## Learn Markdown Markdown syntax is simple enough to learn in a single sitting. The following are excellent resources to get you up and running: * [Daring Fireball: Markdown, John Gruber (Creator of Markdown)][fireball] * [Markdown Cheatsheet, Adam Pritchard][mdcheatsheet] * [Markdown Tutorial (Interactive), Garen Torikian][mdtutorial] * [The Markdown Guide, Matt Cone][mdguide] [`emojify` function]: /functions/emojify/ [ascii]: https://asciidoctor.org/ [bfconfig]: /getting-started/configuration/#configuring-blackfriday-rendering [blackfriday]: https://github.com/russross/blackfriday [mmark]: https://github.com/miekg/mmark [config]: /getting-started/configuration/ [developer tools]: /tools/ [emojis]: https://www.webpagefx.com/tools/emoji-cheat-sheet/ [fireball]: https://daringfireball.net/projects/markdown/ [gfmtasks]: https://guides.github.com/features/mastering-markdown/#syntax [helperssource]: https://github.com/gohugoio/hugo/blob/77c60a3440806067109347d04eb5368b65ea0fe8/helpers/general.go#L65 [hl]: /content-management/syntax-highlighting/ [hlsc]: /content-management/shortcodes/#highlight [hugocss]: /css/style.css [ietf]: https://tools.ietf.org/html/ [mathjaxdocs]: https://docs.mathjax.org/en/latest/ [mdcheatsheet]: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet [mdguide]: https://www.markdownguide.org/ [mdtutorial]: https://www.markdowntutorial.com/ [Miek Gieben's website]: https://miek.nl/2016/march/05/mmark-syntax-document/ [mmark]: https://github.com/mmarkdown/mmark [org]: https://orgmode.org/ [pandoc]: https://www.pandoc.org/ [Pygments]: https://pygments.org/ [rest]: https://docutils.sourceforge.io/rst.html [sc]: /content-management/shortcodes/ [sct]: /templates/shortcode-templates/
--- title: Content Formats linktitle: Content Formats description: Both HTML and Markdown are supported content formats. date: 2017-01-10 publishdate: 2017-01-10 lastmod: 2017-04-06 categories: [content management] keywords: [markdown,asciidoc,mmark,pandoc,content format] menu: docs: parent: "content-management" weight: 20 weight: 20 #rem draft: false aliases: [/content/markdown-extras/,/content/supported-formats/,/doc/supported-formats/] toc: true --- You can put any file type into your `/content` directories, but Hugo uses the `markup` front matter value if set or the file extension (see `Markup identifiers` in the table below) to determine if the markup needs to be processed, e.g.: * Markdown converted to HTML * [Shortcodes](/content-management/shortcodes/) processed * Layout applied ## List of content formats The current list of content formats in Hugo: | Name | Markup identifiers | Comment | | ------------- | ------------- |-------------| | Goldmark | md, markdown, goldmark |Note that you can set the default handler of `md` and `markdown` to something else, see [Configure Markup](/getting-started/configuration-markup/).{{< new-in "0.60.0" >}} | | Blackfriday | blackfriday |Blackfriday will eventually be deprecated.| |MMark|mmark|Mmark is deprecated and will be removed in a future release.| |Emacs Org-Mode|org|See [go-org](https://github.com/niklasfasching/go-org).| |AsciiDoc|asciidocext, adoc, ad|Needs [Asciidoctor][ascii] installed.| |RST|rst|Needs [RST](http://docutils.sourceforge.net/rst.html) installed.| |Pandoc|pandoc, pdc|Needs [Pandoc](https://www.pandoc.org/) installed.| |HTML|html, htm|To be treated as a content file, with layout, shortcodes etc., it must have front matter. If not, it will be copied as-is.| The `markup identifier` is fetched from either the `markup` variable in front matter or from the file extension. For markup-related configuration, see [Configure Markup](/getting-started/configuration-markup/). ## External Helpers Some of the formats in the table above need external helpers installed on your PC. For example, for AsciiDoc files, Hugo will try to call the `asciidoctor` command. This means that you will have to install the associated tool on your machine to be able to use these formats. Hugo passes reasonable default arguments to these external helpers by default: - `asciidoctor`: `--no-header-footer -` - `rst2html`: `--leave-comments --initial-header-level=2` - `pandoc`: `--mathjax` {{% warning "Performance of External Helpers" %}} Because additional formats are external commands, generation performance will rely heavily on the performance of the external tool you are using. As this feature is still in its infancy, feedback is welcome. {{% /warning %}} ### External Helper AsciiDoc [AsciiDoc](https://github.com/asciidoc/asciidoc) implementation EOLs in Jan 2020 and is no longer supported. AsciiDoc development is being continued under [Asciidoctor](https://github.com/asciidoctor). The format AsciiDoc remains of course. Please continue with the implementation Asciidoctor. ### External Helper Asciidoctor The Asciidoctor community offers a wide set of tools for the AsciiDoc format that can be installed additionally to Hugo. [See the Asciidoctor docs for installation instructions](https://asciidoctor.org/docs/install-toolchain/). Make sure that also all optional extensions like `asciidoctor-diagram` or `asciidoctor-html5s` are installed if required. {{% note %}} External `asciidoctor` command requires Hugo rendering to _disk_ to a specific destination directory. It is required to run Hugo with the command option `--destination`. {{% /note %}} Some [Asciidoctor](https://asciidoctor.org/man/asciidoctor/) parameters can be customized in Hugo: Parameter | Comment --- | --- backend | Don't change this unless you know what you are doing. doctype | Currently, the only document type supported in Hugo is `article`. extensions | Possible extensions are `asciidoctor-html5s`, `asciidoctor-bibtex`, `asciidoctor-diagram`, `asciidoctor-interdoc-reftext`, `asciidoctor-katex`, `asciidoctor-latex`, `asciidoctor-mathematical`, `asciidoctor-question`, `asciidoctor-rouge`. attributes | Variables to be referenced in your AsciiDoc file. This is a list of variable name/value maps. See [Asciidoctor's attributes](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#attributes-and-substitutions). noHeaderOrFooter | Output an embeddable document, which excludes the header, the footer, and everything outside the body of the document. Don't change this unless you know what you are doing. safeMode | Safe mode level `unsafe`, `safe`, `server` or `secure`. Don't change this unless you know what you are doing. sectionNumbers | Auto-number section titles. verbose | Verbosely print processing information and configuration file checks to stderr. trace | Include backtrace information on errors. failureLevel | The minimum logging level that triggers a non-zero exit code (failure). Hugo provides additional settings that don't map directly to Asciidoctor's CLI options: workingFolderCurrent : Sets the working directory to be the same as that of the AsciiDoc file being processed, so that [include](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files) will work with relative paths. This setting uses the `asciidoctor` cli parameter `--base-dir` and attribute `outdir=`. For rendering diagrams with [asciidoctor-diagram](https://asciidoctor.org/docs/asciidoctor-diagram/), `workingFolderCurrent` must be set to `true`. preserveTOC : By default, Hugo removes the table of contents generated by Asciidoctor and provides it through the built-in variable [`.TableOfContents`](/content-management/toc/) to enable further customization and better integration with the various Hugo themes. This option can be set to `true` to preserve Asciidoctor's TOC in the generated page. Below are all the AsciiDoc related settings in Hugo with their default values: {{< code-toggle config="markup.asciidocExt" />}} Notice that for security concerns only extensions that do not have path separators (either `\`, `/` or `.`) are allowed. That means that extensions can only be invoked if they are in one's ruby's `$LOAD_PATH` (ie. most likely, the extension has been installed by the user). Any extension declared relative to the website's path will not be accepted. Example of how to set extensions and attributes: ``` [markup.asciidocExt] extensions = ["asciidoctor-html5s", "asciidoctor-diagram"] workingFolderCurrent = true [markup.asciidocExt.attributes] my-base-url = "https://example.com/" my-attribute-name = "my value" ``` In a complex Asciidoctor environment it is sometimes helpful to debug the exact call to your external helper with all parameters. Run Hugo with `-v`. You will get an output like ``` INFO 2019/12/22 09:08:48 Rendering book-as-pdf.adoc with C:\Ruby26-x64\bin\asciidoctor.bat using asciidoc args [--no-header-footer -r asciidoctor-html5s -b html5s -r asciidoctor-diagram --base-dir D:\prototypes\hugo_asciidoc_ddd\docs -a outdir=D:\prototypes\hugo_asciidoc_ddd\build -] ... ``` ## Learn Markdown Markdown syntax is simple enough to learn in a single sitting. The following are excellent resources to get you up and running: * [Daring Fireball: Markdown, John Gruber (Creator of Markdown)][fireball] * [Markdown Cheatsheet, Adam Pritchard][mdcheatsheet] * [Markdown Tutorial (Interactive), Garen Torikian][mdtutorial] * [The Markdown Guide, Matt Cone][mdguide] [`emojify` function]: /functions/emojify/ [ascii]: https://asciidoctor.org/ [bfconfig]: /getting-started/configuration/#configuring-blackfriday-rendering [blackfriday]: https://github.com/russross/blackfriday [mmark]: https://github.com/miekg/mmark [config]: /getting-started/configuration/ [developer tools]: /tools/ [emojis]: https://www.webpagefx.com/tools/emoji-cheat-sheet/ [fireball]: https://daringfireball.net/projects/markdown/ [gfmtasks]: https://guides.github.com/features/mastering-markdown/#syntax [helperssource]: https://github.com/gohugoio/hugo/blob/77c60a3440806067109347d04eb5368b65ea0fe8/helpers/general.go#L65 [hl]: /content-management/syntax-highlighting/ [hlsc]: /content-management/shortcodes/#highlight [hugocss]: /css/style.css [ietf]: https://tools.ietf.org/html/ [mathjaxdocs]: https://docs.mathjax.org/en/latest/ [mdcheatsheet]: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet [mdguide]: https://www.markdownguide.org/ [mdtutorial]: https://www.markdowntutorial.com/ [Miek Gieben's website]: https://miek.nl/2016/march/05/mmark-syntax-document/ [mmark]: https://github.com/mmarkdown/mmark [org]: https://orgmode.org/ [pandoc]: https://www.pandoc.org/ [Pygments]: https://pygments.org/ [rest]: https://docutils.sourceforge.io/rst.html [sc]: /content-management/shortcodes/ [sct]: /templates/shortcode-templates/
1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./markup/asciidocext/asciidocext_config/config.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidoc_config holds asciidoc related configuration. package asciidocext_config var ( // Default holds Hugo's default asciidoc configuration. Default = Config{ Backend: "html5", Extensions: []string{}, Attributes: map[string]string{}, NoHeaderOrFooter: true, SafeMode: "unsafe", SectionNumbers: false, Verbose: false, Trace: false, FailureLevel: "fatal", WorkingFolderCurrent: false, PreserveTOC: false, } // CliDefault holds Asciidoctor CLI defaults (see https://asciidoctor.org/docs/user-manual/) CliDefault = Config{ Backend: "html5", SafeMode: "unsafe", FailureLevel: "fatal", } AllowedExtensions = map[string]bool{ "asciidoctor-html5s": true, "asciidoctor-bibtex": true, "asciidoctor-diagram": true, "asciidoctor-interdoc-reftext": true, "asciidoctor-katex": true, "asciidoctor-latex": true, "asciidoctor-mathematical": true, "asciidoctor-question": true, "asciidoctor-rouge": true, } AllowedSafeMode = map[string]bool{ "unsafe": true, "safe": true, "server": true, "secure": true, } AllowedFailureLevel = map[string]bool{ "fatal": true, "warn": true, } AllowedBackend = map[string]bool{ "html5": true, "html5s": true, "xhtml5": true, "docbook5": true, "docbook45": true, "manpage": true, } DisallowedAttributes = map[string]bool{ "outdir": true, } ) // Config configures asciidoc. type Config struct { Backend string Extensions []string Attributes map[string]string NoHeaderOrFooter bool SafeMode string SectionNumbers bool Verbose bool Trace bool FailureLevel string WorkingFolderCurrent bool PreserveTOC bool }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidoc_config holds asciidoc related configuration. package asciidocext_config var ( // Default holds Hugo's default asciidoc configuration. Default = Config{ Backend: "html5", Extensions: []string{}, Attributes: map[string]string{}, NoHeaderOrFooter: true, SafeMode: "unsafe", SectionNumbers: false, Verbose: false, Trace: false, FailureLevel: "fatal", WorkingFolderCurrent: false, PreserveTOC: false, } // CliDefault holds Asciidoctor CLI defaults (see https://asciidoctor.org/docs/user-manual/) CliDefault = Config{ Backend: "html5", SafeMode: "unsafe", FailureLevel: "fatal", } AllowedSafeMode = map[string]bool{ "unsafe": true, "safe": true, "server": true, "secure": true, } AllowedFailureLevel = map[string]bool{ "fatal": true, "warn": true, } AllowedBackend = map[string]bool{ "html5": true, "html5s": true, "xhtml5": true, "docbook5": true, "docbook45": true, "manpage": true, } DisallowedAttributes = map[string]bool{ "outdir": true, } ) // Config configures asciidoc. type Config struct { Backend string Extensions []string Attributes map[string]string NoHeaderOrFooter bool SafeMode string SectionNumbers bool Verbose bool Trace bool FailureLevel string WorkingFolderCurrent bool PreserveTOC bool }
1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./markup/asciidocext/convert.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "bytes" "path/filepath" "github.com/gohugoio/hugo/htesting" "github.com/cli/safeexec" "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/markup/asciidocext/asciidocext_config" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/internal" "github.com/gohugoio/hugo/markup/tableofcontents" "golang.org/x/net/html" ) /* ToDo: RelPermalink patch for svg posts not working*/ type pageSubset interface { RelPermalink() string } // Provider is the package entry point. var Provider converter.ProviderProvider = provider{} type provider struct{} func (p provider) New(cfg converter.ProviderConfig) (converter.Provider, error) { return converter.NewProvider("asciidocext", func(ctx converter.DocumentContext) (converter.Converter, error) { return &asciidocConverter{ ctx: ctx, cfg: cfg, }, nil }), nil } type asciidocResult struct { converter.Result toc tableofcontents.Root } func (r asciidocResult) TableOfContents() tableofcontents.Root { return r.toc } type asciidocConverter struct { ctx converter.DocumentContext cfg converter.ProviderConfig } func (a *asciidocConverter) Convert(ctx converter.RenderContext) (converter.Result, error) { content, toc, err := a.extractTOC(a.getAsciidocContent(ctx.Src, a.ctx)) if err != nil { return nil, err } return asciidocResult{ Result: converter.Bytes(content), toc: toc, }, nil } func (a *asciidocConverter) Supports(_ identity.Identity) bool { return false } // getAsciidocContent calls asciidoctor as an external helper // to convert AsciiDoc content to HTML. func (a *asciidocConverter) getAsciidocContent(src []byte, ctx converter.DocumentContext) []byte { path := getAsciidoctorExecPath() if path == "" { a.cfg.Logger.Errorln("asciidoctor not found in $PATH: Please install.\n", " Leaving AsciiDoc content unrendered.") return src } args := a.parseArgs(ctx) args = append(args, "-") a.cfg.Logger.Infoln("Rendering", ctx.DocumentName, "with", path, "using asciidoctor args", args, "...") return internal.ExternallyRenderContent(a.cfg, ctx, src, path, args) } func (a *asciidocConverter) parseArgs(ctx converter.DocumentContext) []string { cfg := a.cfg.MarkupConfig.AsciidocExt args := []string{} args = a.appendArg(args, "-b", cfg.Backend, asciidocext_config.CliDefault.Backend, asciidocext_config.AllowedBackend) for _, extension := range cfg.Extensions { if !asciidocext_config.AllowedExtensions[extension] { a.cfg.Logger.Errorln("Unsupported asciidoctor extension was passed in. Extension `" + extension + "` ignored.") continue } args = append(args, "-r", extension) } for attributeKey, attributeValue := range cfg.Attributes { if asciidocext_config.DisallowedAttributes[attributeKey] { a.cfg.Logger.Errorln("Unsupported asciidoctor attribute was passed in. Attribute `" + attributeKey + "` ignored.") continue } args = append(args, "-a", attributeKey+"="+attributeValue) } if cfg.WorkingFolderCurrent { contentDir := filepath.Dir(ctx.Filename) sourceDir := a.cfg.Cfg.GetString("source") destinationDir := a.cfg.Cfg.GetString("destination") if destinationDir == "" { a.cfg.Logger.Errorln("markup.asciidocext.workingFolderCurrent requires hugo command option --destination to be set") } if !filepath.IsAbs(destinationDir) && sourceDir != "" { destinationDir = filepath.Join(sourceDir, destinationDir) } var outDir string var err error file := filepath.Base(ctx.Filename) if a.cfg.Cfg.GetBool("uglyUrls") || file == "_index.adoc" || file == "index.adoc" { outDir, err = filepath.Abs(filepath.Dir(filepath.Join(destinationDir, ctx.DocumentName))) } else { postDir := "" page, ok := ctx.Document.(pageSubset) if ok { postDir = filepath.Base(page.RelPermalink()) } else { a.cfg.Logger.Errorln("unable to cast interface to pageSubset") } outDir, err = filepath.Abs(filepath.Join(destinationDir, filepath.Dir(ctx.DocumentName), postDir)) } if err != nil { a.cfg.Logger.Errorln("asciidoctor outDir: ", err) } args = append(args, "--base-dir", contentDir, "-a", "outdir="+outDir) } if cfg.NoHeaderOrFooter { args = append(args, "--no-header-footer") } else { a.cfg.Logger.Warnln("asciidoctor parameter NoHeaderOrFooter is expected for correct html rendering") } if cfg.SectionNumbers { args = append(args, "--section-numbers") } if cfg.Verbose { args = append(args, "--verbose") } if cfg.Trace { args = append(args, "--trace") } args = a.appendArg(args, "--failure-level", cfg.FailureLevel, asciidocext_config.CliDefault.FailureLevel, asciidocext_config.AllowedFailureLevel) args = a.appendArg(args, "--safe-mode", cfg.SafeMode, asciidocext_config.CliDefault.SafeMode, asciidocext_config.AllowedSafeMode) return args } func (a *asciidocConverter) appendArg(args []string, option, value, defaultValue string, allowedValues map[string]bool) []string { if value != defaultValue { if allowedValues[value] { args = append(args, option, value) } else { a.cfg.Logger.Errorln("Unsupported asciidoctor value `" + value + "` for option " + option + " was passed in and will be ignored.") } } return args } func getAsciidoctorExecPath() string { path, err := safeexec.LookPath("asciidoctor") if err != nil { return "" } return path } // extractTOC extracts the toc from the given src html. // It returns the html without the TOC, and the TOC data func (a *asciidocConverter) extractTOC(src []byte) ([]byte, tableofcontents.Root, error) { var buf bytes.Buffer buf.Write(src) node, err := html.Parse(&buf) if err != nil { return nil, tableofcontents.Root{}, err } var ( f func(*html.Node) bool toc tableofcontents.Root toVisit []*html.Node ) f = func(n *html.Node) bool { if n.Type == html.ElementNode && n.Data == "div" && attr(n, "id") == "toc" { toc = parseTOC(n) if !a.cfg.MarkupConfig.AsciidocExt.PreserveTOC { n.Parent.RemoveChild(n) } return true } if n.FirstChild != nil { toVisit = append(toVisit, n.FirstChild) } if n.NextSibling != nil && f(n.NextSibling) { return true } for len(toVisit) > 0 { nv := toVisit[0] toVisit = toVisit[1:] if f(nv) { return true } } return false } f(node) if err != nil { return nil, tableofcontents.Root{}, err } buf.Reset() err = html.Render(&buf, node) if err != nil { return nil, tableofcontents.Root{}, err } // ltrim <html><head></head><body> and rtrim </body></html> which are added by html.Render res := buf.Bytes()[25:] res = res[:len(res)-14] return res, toc, nil } // parseTOC returns a TOC root from the given toc Node func parseTOC(doc *html.Node) tableofcontents.Root { var ( toc tableofcontents.Root f func(*html.Node, int, int) ) f = func(n *html.Node, row, level int) { if n.Type == html.ElementNode { switch n.Data { case "ul": if level == 0 { row++ } level++ f(n.FirstChild, row, level) case "li": for c := n.FirstChild; c != nil; c = c.NextSibling { if c.Type != html.ElementNode || c.Data != "a" { continue } href := attr(c, "href")[1:] toc.AddAt(tableofcontents.Header{ Text: nodeContent(c), ID: href, }, row, level) } f(n.FirstChild, row, level) } } if n.NextSibling != nil { f(n.NextSibling, row, level) } } f(doc.FirstChild, -1, 0) return toc } func attr(node *html.Node, key string) string { for _, a := range node.Attr { if a.Key == key { return a.Val } } return "" } func nodeContent(node *html.Node) string { var buf bytes.Buffer for c := node.FirstChild; c != nil; c = c.NextSibling { html.Render(&buf, c) } return buf.String() } // Supports returns whether Asciidoctor is installed on this computer. func Supports() bool { if htesting.SupportsAll() { return true } return getAsciidoctorExecPath() != "" }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "bytes" "path/filepath" "strings" "github.com/gohugoio/hugo/htesting" "github.com/cli/safeexec" "github.com/gohugoio/hugo/identity" "github.com/gohugoio/hugo/markup/asciidocext/asciidocext_config" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/internal" "github.com/gohugoio/hugo/markup/tableofcontents" "golang.org/x/net/html" ) /* ToDo: RelPermalink patch for svg posts not working*/ type pageSubset interface { RelPermalink() string } // Provider is the package entry point. var Provider converter.ProviderProvider = provider{} type provider struct{} func (p provider) New(cfg converter.ProviderConfig) (converter.Provider, error) { return converter.NewProvider("asciidocext", func(ctx converter.DocumentContext) (converter.Converter, error) { return &asciidocConverter{ ctx: ctx, cfg: cfg, }, nil }), nil } type asciidocResult struct { converter.Result toc tableofcontents.Root } func (r asciidocResult) TableOfContents() tableofcontents.Root { return r.toc } type asciidocConverter struct { ctx converter.DocumentContext cfg converter.ProviderConfig } func (a *asciidocConverter) Convert(ctx converter.RenderContext) (converter.Result, error) { content, toc, err := a.extractTOC(a.getAsciidocContent(ctx.Src, a.ctx)) if err != nil { return nil, err } return asciidocResult{ Result: converter.Bytes(content), toc: toc, }, nil } func (a *asciidocConverter) Supports(_ identity.Identity) bool { return false } // getAsciidocContent calls asciidoctor as an external helper // to convert AsciiDoc content to HTML. func (a *asciidocConverter) getAsciidocContent(src []byte, ctx converter.DocumentContext) []byte { path := getAsciidoctorExecPath() if path == "" { a.cfg.Logger.Errorln("asciidoctor not found in $PATH: Please install.\n", " Leaving AsciiDoc content unrendered.") return src } args := a.parseArgs(ctx) args = append(args, "-") a.cfg.Logger.Infoln("Rendering", ctx.DocumentName, "with", path, "using asciidoctor args", args, "...") return internal.ExternallyRenderContent(a.cfg, ctx, src, path, args) } func (a *asciidocConverter) parseArgs(ctx converter.DocumentContext) []string { cfg := a.cfg.MarkupConfig.AsciidocExt args := []string{} args = a.appendArg(args, "-b", cfg.Backend, asciidocext_config.CliDefault.Backend, asciidocext_config.AllowedBackend) for _, extension := range cfg.Extensions { if strings.LastIndexAny(extension, `\/.`) > -1 { a.cfg.Logger.Errorln("Unsupported asciidoctor extension was passed in. Extension `" + extension + "` ignored. Only installed asciidoctor extensions are allowed.") continue } args = append(args, "-r", extension) } for attributeKey, attributeValue := range cfg.Attributes { if asciidocext_config.DisallowedAttributes[attributeKey] { a.cfg.Logger.Errorln("Unsupported asciidoctor attribute was passed in. Attribute `" + attributeKey + "` ignored.") continue } args = append(args, "-a", attributeKey+"="+attributeValue) } if cfg.WorkingFolderCurrent { contentDir := filepath.Dir(ctx.Filename) sourceDir := a.cfg.Cfg.GetString("source") destinationDir := a.cfg.Cfg.GetString("destination") if destinationDir == "" { a.cfg.Logger.Errorln("markup.asciidocext.workingFolderCurrent requires hugo command option --destination to be set") } if !filepath.IsAbs(destinationDir) && sourceDir != "" { destinationDir = filepath.Join(sourceDir, destinationDir) } var outDir string var err error file := filepath.Base(ctx.Filename) if a.cfg.Cfg.GetBool("uglyUrls") || file == "_index.adoc" || file == "index.adoc" { outDir, err = filepath.Abs(filepath.Dir(filepath.Join(destinationDir, ctx.DocumentName))) } else { postDir := "" page, ok := ctx.Document.(pageSubset) if ok { postDir = filepath.Base(page.RelPermalink()) } else { a.cfg.Logger.Errorln("unable to cast interface to pageSubset") } outDir, err = filepath.Abs(filepath.Join(destinationDir, filepath.Dir(ctx.DocumentName), postDir)) } if err != nil { a.cfg.Logger.Errorln("asciidoctor outDir: ", err) } args = append(args, "--base-dir", contentDir, "-a", "outdir="+outDir) } if cfg.NoHeaderOrFooter { args = append(args, "--no-header-footer") } else { a.cfg.Logger.Warnln("asciidoctor parameter NoHeaderOrFooter is expected for correct html rendering") } if cfg.SectionNumbers { args = append(args, "--section-numbers") } if cfg.Verbose { args = append(args, "--verbose") } if cfg.Trace { args = append(args, "--trace") } args = a.appendArg(args, "--failure-level", cfg.FailureLevel, asciidocext_config.CliDefault.FailureLevel, asciidocext_config.AllowedFailureLevel) args = a.appendArg(args, "--safe-mode", cfg.SafeMode, asciidocext_config.CliDefault.SafeMode, asciidocext_config.AllowedSafeMode) return args } func (a *asciidocConverter) appendArg(args []string, option, value, defaultValue string, allowedValues map[string]bool) []string { if value != defaultValue { if allowedValues[value] { args = append(args, option, value) } else { a.cfg.Logger.Errorln("Unsupported asciidoctor value `" + value + "` for option " + option + " was passed in and will be ignored.") } } return args } func getAsciidoctorExecPath() string { path, err := safeexec.LookPath("asciidoctor") if err != nil { return "" } return path } // extractTOC extracts the toc from the given src html. // It returns the html without the TOC, and the TOC data func (a *asciidocConverter) extractTOC(src []byte) ([]byte, tableofcontents.Root, error) { var buf bytes.Buffer buf.Write(src) node, err := html.Parse(&buf) if err != nil { return nil, tableofcontents.Root{}, err } var ( f func(*html.Node) bool toc tableofcontents.Root toVisit []*html.Node ) f = func(n *html.Node) bool { if n.Type == html.ElementNode && n.Data == "div" && attr(n, "id") == "toc" { toc = parseTOC(n) if !a.cfg.MarkupConfig.AsciidocExt.PreserveTOC { n.Parent.RemoveChild(n) } return true } if n.FirstChild != nil { toVisit = append(toVisit, n.FirstChild) } if n.NextSibling != nil && f(n.NextSibling) { return true } for len(toVisit) > 0 { nv := toVisit[0] toVisit = toVisit[1:] if f(nv) { return true } } return false } f(node) if err != nil { return nil, tableofcontents.Root{}, err } buf.Reset() err = html.Render(&buf, node) if err != nil { return nil, tableofcontents.Root{}, err } // ltrim <html><head></head><body> and rtrim </body></html> which are added by html.Render res := buf.Bytes()[25:] res = res[:len(res)-14] return res, toc, nil } // parseTOC returns a TOC root from the given toc Node func parseTOC(doc *html.Node) tableofcontents.Root { var ( toc tableofcontents.Root f func(*html.Node, int, int) ) f = func(n *html.Node, row, level int) { if n.Type == html.ElementNode { switch n.Data { case "ul": if level == 0 { row++ } level++ f(n.FirstChild, row, level) case "li": for c := n.FirstChild; c != nil; c = c.NextSibling { if c.Type != html.ElementNode || c.Data != "a" { continue } href := attr(c, "href")[1:] toc.AddAt(tableofcontents.Header{ Text: nodeContent(c), ID: href, }, row, level) } f(n.FirstChild, row, level) } } if n.NextSibling != nil { f(n.NextSibling, row, level) } } f(doc.FirstChild, -1, 0) return toc } func attr(node *html.Node, key string) string { for _, a := range node.Attr { if a.Key == key { return a.Val } } return "" } func nodeContent(node *html.Node) string { var buf bytes.Buffer for c := node.FirstChild; c != nil; c = c.NextSibling { html.Render(&buf, c) } return buf.String() } // Supports returns whether Asciidoctor is installed on this computer. func Supports() bool { if htesting.SupportsAll() { return true } return getAsciidoctorExecPath() != "" }
1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./markup/asciidocext/convert_test.go
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "path/filepath" "testing" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/markup_config" "github.com/gohugoio/hugo/markup/tableofcontents" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestAsciidoctorDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorNonDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "manpage" mconf.AsciidocExt.NoHeaderOrFooter = false mconf.AsciidocExt.SafeMode = "safe" mconf.AsciidocExt.SectionNumbers = true mconf.AsciidocExt.Verbose = true mconf.AsciidocExt.Trace = false mconf.AsciidocExt.FailureLevel = "warn" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "manpage", "--section-numbers", "--verbose", "--failure-level", "warn", "--safe-mode", "safe"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDisallowedArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "disallowed-backend" mconf.AsciidocExt.Extensions = []string{"disallowed-extension"} mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"} mconf.AsciidocExt.SafeMode = "disallowed-safemode" mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDiagramArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "html5s", "-r", "asciidoctor-html5s", "-r", "asciidoctor-diagram", "--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorWorkingFolderCurrent(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) ctx := converter.DocumentContext{Filename: "/tmp/hugo_asciidoc_ddd/docs/chapter2/index.adoc", DocumentName: "chapter2/index.adoc"} conv, err := p.New(ctx) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(ctx) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "--base-dir") c.Assert(filepath.ToSlash(args[1]), qt.Matches, "/tmp/hugo_asciidoc_ddd/docs/chapter2") c.Assert(args[2], qt.Equals, "-a") c.Assert(args[3], qt.Matches, `outdir=.*[/\\]{1,2}asciidocext[/\\]{1,2}chapter2`) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestAsciidoctorWorkingFolderCurrentAndExtensions(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 11) c.Assert(args[0], qt.Equals, "-b") c.Assert(args[1], qt.Equals, "html5s") c.Assert(args[2], qt.Equals, "-r") c.Assert(args[3], qt.Equals, "asciidoctor-html5s") c.Assert(args[4], qt.Equals, "-r") c.Assert(args[5], qt.Equals, "asciidoctor-diagram") c.Assert(args[6], qt.Equals, "--base-dir") c.Assert(args[7], qt.Equals, ".") c.Assert(args[8], qt.Equals, "-a") c.Assert(args[9], qt.Contains, "outdir=") c.Assert(args[10], qt.Equals, "--no-header-footer") } func TestAsciidoctorAttributes(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Attributes = map[string]string{"my-base-url": "https://gohugo.io/", "my-attribute-name": "my value"} mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) expectedValues := map[string]bool{ "my-base-url=https://gohugo.io/": true, "my-attribute-name=my value": true, } args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "-a") c.Assert(expectedValues[args[1]], qt.Equals, true) c.Assert(args[2], qt.Equals, "-a") c.Assert(expectedValues[args[3]], qt.Equals, true) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestConvert(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<div class=\"paragraph\">\n<p>testContent</p>\n</div>\n") } func TestTableOfContents(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: macro :toclevels: 4 toc::[] === Introduction == Section 1 === Section 1.1 ==== Section 1.1.1 === Section 1.2 testContent == Section 2 `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_introduction", Text: "Introduction", Headers: nil, }, { ID: "_section_1", Text: "Section 1", Headers: tableofcontents.Headers{ { ID: "_section_1_1", Text: "Section 1.1", Headers: tableofcontents.Headers{ { ID: "_section_1_1_1", Text: "Section 1.1.1", Headers: nil, }, }, }, { ID: "_section_1_2", Text: "Section 1.2", Headers: nil, }, }, }, { ID: "_section_2", Text: "Section 2", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsWithCode(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: auto == Some ` + "`code`" + ` in the title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_some_code_in_the_title", Text: "Some <code>code</code> in the title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsPreserveTOC(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default mconf.AsciidocExt.PreserveTOC = true p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: :idprefix: :idseparator: - == Some title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "some-title", Text: "Some title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Contains, "<div id=\"toc\" class=\"toc\">") }
// Copyright 2020 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package asciidocext converts AsciiDoc to HTML using Asciidoctor // external binary. The `asciidoc` module is reserved for a future golang // implementation. package asciidocext import ( "path/filepath" "testing" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/markup_config" "github.com/gohugoio/hugo/markup/tableofcontents" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestAsciidoctorDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorNonDefaultArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "manpage" mconf.AsciidocExt.NoHeaderOrFooter = false mconf.AsciidocExt.SafeMode = "safe" mconf.AsciidocExt.SectionNumbers = true mconf.AsciidocExt.Verbose = true mconf.AsciidocExt.Trace = false mconf.AsciidocExt.FailureLevel = "warn" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-b", "manpage", "--section-numbers", "--verbose", "--failure-level", "warn", "--safe-mode", "safe"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDisallowedArgs(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Backend = "disallowed-backend" mconf.AsciidocExt.Extensions = []string{"./disallowed-extension"} mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"} mconf.AsciidocExt.SafeMode = "disallowed-safemode" mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel" p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorArbitraryExtension(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Extensions = []string{"arbitrary-extension"} p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"-r", "arbitrary-extension", "--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } func TestAsciidoctorDisallowedExtension(t *testing.T) { c := qt.New(t) cfg := viper.New() for _, disallowedExtension := range []string{ `foo-bar//`, `foo-bar\\ `, `../../foo-bar`, `/foo-bar`, `C:\foo-bar`, `foo-bar.rb`, `foo.bar`, } { mconf := markup_config.Default mconf.AsciidocExt.Extensions = []string{disallowedExtension} p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) expected := []string{"--no-header-footer"} c.Assert(args, qt.DeepEquals, expected) } } func TestAsciidoctorWorkingFolderCurrent(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) ctx := converter.DocumentContext{Filename: "/tmp/hugo_asciidoc_ddd/docs/chapter2/index.adoc", DocumentName: "chapter2/index.adoc"} conv, err := p.New(ctx) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(ctx) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "--base-dir") c.Assert(filepath.ToSlash(args[1]), qt.Matches, "/tmp/hugo_asciidoc_ddd/docs/chapter2") c.Assert(args[2], qt.Equals, "-a") c.Assert(args[3], qt.Matches, `outdir=.*[/\\]{1,2}asciidocext[/\\]{1,2}chapter2`) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestAsciidoctorWorkingFolderCurrentAndExtensions(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.NoHeaderOrFooter = true mconf.AsciidocExt.Extensions = []string{"asciidoctor-html5s", "asciidoctor-diagram"} mconf.AsciidocExt.Backend = "html5s" mconf.AsciidocExt.WorkingFolderCurrent = true mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 11) c.Assert(args[0], qt.Equals, "-b") c.Assert(args[1], qt.Equals, "html5s") c.Assert(args[2], qt.Equals, "-r") c.Assert(args[3], qt.Equals, "asciidoctor-html5s") c.Assert(args[4], qt.Equals, "-r") c.Assert(args[5], qt.Equals, "asciidoctor-diagram") c.Assert(args[6], qt.Equals, "--base-dir") c.Assert(args[7], qt.Equals, ".") c.Assert(args[8], qt.Equals, "-a") c.Assert(args[9], qt.Contains, "outdir=") c.Assert(args[10], qt.Equals, "--no-header-footer") } func TestAsciidoctorAttributes(t *testing.T) { c := qt.New(t) cfg := viper.New() mconf := markup_config.Default mconf.AsciidocExt.Attributes = map[string]string{"my-base-url": "https://gohugo.io/", "my-attribute-name": "my value"} mconf.AsciidocExt.Trace = false p, err := Provider.New( converter.ProviderConfig{ Cfg: cfg, MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) ac := conv.(*asciidocConverter) c.Assert(ac, qt.Not(qt.IsNil)) expectedValues := map[string]bool{ "my-base-url=https://gohugo.io/": true, "my-attribute-name=my value": true, } args := ac.parseArgs(converter.DocumentContext{}) c.Assert(len(args), qt.Equals, 5) c.Assert(args[0], qt.Equals, "-a") c.Assert(expectedValues[args[1]], qt.Equals, true) c.Assert(args[2], qt.Equals, "-a") c.Assert(expectedValues[args[3]], qt.Equals, true) c.Assert(args[4], qt.Equals, "--no-header-footer") } func TestConvert(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")}) c.Assert(err, qt.IsNil) c.Assert(string(b.Bytes()), qt.Equals, "<div class=\"paragraph\">\n<p>testContent</p>\n</div>\n") } func TestTableOfContents(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: macro :toclevels: 4 toc::[] === Introduction == Section 1 === Section 1.1 ==== Section 1.1.1 === Section 1.2 testContent == Section 2 `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_introduction", Text: "Introduction", Headers: nil, }, { ID: "_section_1", Text: "Section 1", Headers: tableofcontents.Headers{ { ID: "_section_1_1", Text: "Section 1.1", Headers: tableofcontents.Headers{ { ID: "_section_1_1_1", Text: "Section 1.1.1", Headers: nil, }, }, }, { ID: "_section_1_2", Text: "Section 1.2", Headers: nil, }, }, }, { ID: "_section_2", Text: "Section 2", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsWithCode(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: auto == Some ` + "`code`" + ` in the title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "_some_code_in_the_title", Text: "Some <code>code</code> in the title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Not(qt.Contains), "<div id=\"toc\" class=\"toc\">") } func TestTableOfContentsPreserveTOC(t *testing.T) { if !Supports() { t.Skip("asciidoctor not installed") } c := qt.New(t) mconf := markup_config.Default mconf.AsciidocExt.PreserveTOC = true p, err := Provider.New( converter.ProviderConfig{ MarkupConfig: mconf, Logger: loggers.NewErrorLogger(), }, ) c.Assert(err, qt.IsNil) conv, err := p.New(converter.DocumentContext{}) c.Assert(err, qt.IsNil) r, err := conv.Convert(converter.RenderContext{Src: []byte(`:toc: :idprefix: :idseparator: - == Some title `)}) c.Assert(err, qt.IsNil) toc, ok := r.(converter.TableOfContentsProvider) c.Assert(ok, qt.Equals, true) expected := tableofcontents.Root{ Headers: tableofcontents.Headers{ { ID: "", Text: "", Headers: tableofcontents.Headers{ { ID: "some-title", Text: "Some title", Headers: nil, }, }, }, }, } c.Assert(toc.TableOfContents(), qt.DeepEquals, expected) c.Assert(string(r.Bytes()), qt.Contains, "<div id=\"toc\" class=\"toc\">") }
1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./markup/highlight/config_test.go
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package highlight provides code highlighting. package highlight import ( "testing" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestConfig(t *testing.T) { c := qt.New(t) c.Run("applyLegacyConfig", func(c *qt.C) { v := viper.New() v.Set("pygmentsStyle", "hugo") v.Set("pygmentsUseClasses", false) v.Set("pygmentsCodeFences", false) v.Set("pygmentsOptions", "linenos=inline") cfg := DefaultConfig err := ApplyLegacyConfig(v, &cfg) c.Assert(err, qt.IsNil) c.Assert(cfg.Style, qt.Equals, "hugo") c.Assert(cfg.NoClasses, qt.Equals, true) c.Assert(cfg.CodeFences, qt.Equals, false) c.Assert(cfg.LineNos, qt.Equals, true) c.Assert(cfg.LineNumbersInTable, qt.Equals, false) }) c.Run("parseOptions", func(c *qt.C) { cfg := DefaultConfig opts := "noclasses=true,linenos=inline,linenostart=32,hl_lines=3-8 10-20" err := applyOptionsFromString(opts, &cfg) c.Assert(err, qt.IsNil) c.Assert(cfg.NoClasses, qt.Equals, true) c.Assert(cfg.LineNos, qt.Equals, true) c.Assert(cfg.LineNumbersInTable, qt.Equals, false) c.Assert(cfg.LineNoStart, qt.Equals, 32) c.Assert(cfg.Hl_Lines, qt.Equals, "3-8 10-20") }) }
// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Package highlight provides code highlighting. package highlight import ( "testing" "github.com/spf13/viper" qt "github.com/frankban/quicktest" ) func TestConfig(t *testing.T) { c := qt.New(t) c.Run("applyLegacyConfig", func(c *qt.C) { v := viper.New() v.Set("pygmentsStyle", "hugo") v.Set("pygmentsUseClasses", false) v.Set("pygmentsCodeFences", false) v.Set("pygmentsOptions", "linenos=inline") cfg := DefaultConfig err := ApplyLegacyConfig(v, &cfg) c.Assert(err, qt.IsNil) c.Assert(cfg.Style, qt.Equals, "hugo") c.Assert(cfg.NoClasses, qt.Equals, true) c.Assert(cfg.CodeFences, qt.Equals, false) c.Assert(cfg.LineNos, qt.Equals, true) c.Assert(cfg.LineNumbersInTable, qt.Equals, false) }) c.Run("parseOptions", func(c *qt.C) { cfg := DefaultConfig opts := "noclasses=true,linenos=inline,linenostart=32,hl_lines=3-8 10-20" err := applyOptionsFromString(opts, &cfg) c.Assert(err, qt.IsNil) c.Assert(cfg.NoClasses, qt.Equals, true) c.Assert(cfg.LineNos, qt.Equals, true) c.Assert(cfg.LineNumbersInTable, qt.Equals, false) c.Assert(cfg.LineNoStart, qt.Equals, 32) c.Assert(cfg.Hl_Lines, qt.Equals, "3-8 10-20") }) }
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./docs/content/en/content-management/organization/index.md
--- title: Content Organization linktitle: Organization description: Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [content management,fundamentals] keywords: [sections,content,organization,bundle,resources] menu: docs: parent: "content-management" weight: 10 weight: 10 #rem draft: false aliases: [/content/sections/] toc: true --- ## Page Bundles Hugo `0.32` announced page-relative images and other resources packaged into `Page Bundles`. These terms are connected, and you also need to read about [Page Resources]({{< relref "/content-management/page-resources" >}}) and [Image Processing]({{< relref "/content-management/image-processing" >}}) to get the full picture. {{< imgproc 1-featured Resize "300x" >}} The illustration shows 3 bundles. Note that the home page bundle cannot contain other content pages, but other files (images etc.) are fine. {{< /imgproc >}} {{% note %}} The bundle documentation is **work in progress**. We will publish more comprehensive docs about this soon. {{% /note %}} # Organization of Content Source In Hugo, your content should be organized in a manner that reflects the rendered website. While Hugo supports content nested at any level, the top levels (i.e. `content/<DIRECTORIES>`) are special in Hugo and are considered the content type used to determine layouts etc. To read more about sections, including how to nest them, see [sections][]. Without any additional configuration, the following will just work: ``` . └── content └── about | └── index.md // <- https://example.com/about/ ├── posts | ├── firstpost.md // <- https://example.com/posts/firstpost/ | ├── happy | | └── ness.md // <- https://example.com/posts/happy/ness/ | └── secondpost.md // <- https://example.com/posts/secondpost/ └── quote ├── first.md // <- https://example.com/quote/first/ └── second.md // <- https://example.com/quote/second/ ``` ## Path Breakdown in Hugo The following demonstrates the relationships between your content organization and the output URL structure for your Hugo website when it renders. These examples assume you are [using pretty URLs][pretty], which is the default behavior for Hugo. The examples also assume a key-value of `baseURL = "https://example.com"` in your [site's configuration file][config]. ### Index Pages: `_index.md` `_index.md` has a special role in Hugo. It allows you to add front matter and content to your [list templates][lists]. These templates include those for [section templates][], [taxonomy templates][], [taxonomy terms templates][], and your [homepage template][]. {{% note %}} **Tip:** You can get a reference to the content and metadata in `_index.md` using the [`.Site.GetPage` function](/functions/getpage/). {{% /note %}} You can keep one `_index.md` for your homepage and one in each of your content sections, taxonomies, and taxonomy terms. The following shows typical placement of an `_index.md` that would contain content and front matter for a `posts` section list page on a Hugo website: ``` . url . ⊢--^-⊣ . path slug . ⊢--^-⊣⊢---^---⊣ . filepath . ⊢------^------⊣ content/posts/_index.md ``` At build, this will output to the following destination with the associated values: ``` url ("/posts/") ⊢-^-⊣ baseurl section ("posts") ⊢--------^---------⊣⊢-^-⊣ permalink ⊢----------^-------------⊣ https://example.com/posts/index.html ``` The [sections][] can be nested as deeply as you need. The important part to understand is, that to make the section tree fully navigational, at least the lower-most section needs a content file. (i.e. `_index.md`). ### Single Pages in Sections Single content files in each of your sections are going to be rendered as [single page templates][singles]. Here is an example of a single `post` within `posts`: ``` path ("posts/my-first-hugo-post.md") . ⊢-----------^------------⊣ . section slug . ⊢-^-⊣⊢--------^----------⊣ content/posts/my-first-hugo-post.md ``` When Hugo builds your site, the content will be outputted to the following destination: ``` url ("/posts/my-first-hugo-post/") ⊢------------^----------⊣ baseurl section slug ⊢--------^--------⊣⊢-^--⊣⊢-------^---------⊣ permalink ⊢--------------------^---------------------⊣ https://example.com/posts/my-first-hugo-post/index.html ``` ## Paths Explained The following concepts will provide more insight into the relationship between your project's organization and the default behaviors of Hugo when building the output website. ### `section` A default content type is determined by a piece of content's section. `section` is determined by the location within the project's `content` directory. `section` *cannot* be specified or overridden in front matter. ### `slug` A content's `slug` is either `name.extension` or `name/`. The value for `slug` is determined by * the name of the content file (e.g., `lollapalooza.md`) OR * front matter overrides ### `path` A content's `path` is determined by the section's path to the file. The file `path` * is based on the path to the content's location AND * does not include the slug ### `url` The `url` is the relative URL for the piece of content. The `url` * is based on the content's location within the directory structure OR * is defined in front matter and *overrides all the above* ## Override Destination Paths via Front Matter Hugo believes that you organize your content with a purpose. The same structure that works to organize your source content is used to organize the rendered site. As displayed above, the organization of the source content will be mirrored in the destination. There are times where you may need more control over your content. In these cases, there are fields that can be specified in the front matter to determine the destination of a specific piece of content. The following items are defined in this order for a specific reason: items explained further down in the list will override earlier items, and not all of these items can be defined in front matter: ### `filename` This isn't in the front matter, but is the actual name of the file minus the extension. This will be the name of the file in the destination (e.g., `content/posts/my-post.md` becomes `example.com/posts/my-post/`). ### `slug` When defined in the front matter, the `slug` can take the place of the filename for the destination. {{< code file="content/posts/old-post.md" >}} --- title: A new post with the filename old-post.md slug: "new-post" --- {{< /code >}} This will render to the following destination according to Hugo's default behavior: ``` example.com/posts/new-post/ ``` ### `section` `section` is determined by a content's location on disk and *cannot* be specified in the front matter. See [sections][] for more information. ### `type` A content's `type` is also determined by its location on disk but, unlike `section`, it *can* be specified in the front matter. See [types][]. This can come in especially handy when you want a piece of content to render using a different layout. In the following example, you can create a layout at `layouts/new/mylayout.html` that Hugo will use to render this piece of content, even in the midst of many other posts. {{< code file="content/posts/my-post.md" >}} --- title: My Post type: new layout: mylayout --- {{< /code >}} <!-- See https://discourse.gohugo.io/t/path-not-works/6387 --> <!-- ### `path`--> <!--`path` can be provided in the front matter. This will replace the actual path to the file on disk. Destination will create the destination with the same path, including the section. --> ### `url` A complete URL can be provided. This will override all the above as it pertains to the end destination. This must be the path from the baseURL (starting with a `/`). `url` will be used exactly as it provided in the front matter and will ignore the `--uglyURLs` setting in your site configuration: {{< code file="content/posts/old-url.md" >}} --- title: Old URL url: /blog/new-url/ --- {{< /code >}} Assuming your `baseURL` is [configured][config] to `https://example.com`, the addition of `url` to the front matter will make `old-url.md` render to the following destination: ``` https://example.com/blog/new-url/ ``` You can see more information on how to control output paths in [URL Management][urls]. [config]: /getting-started/configuration/ [formats]: /content-management/formats/ [front matter]: /content-management/front-matter/ [getpage]: /functions/getpage/ [homepage template]: /templates/homepage/ [homepage]: /templates/homepage/ [lists]: /templates/lists/ [pretty]: /content-management/urls/#pretty-urls [section templates]: /templates/section-templates/ [sections]: /content-management/sections/ [singles]: /templates/single-page-templates/ [taxonomy templates]: /templates/taxonomy-templates/ [taxonomy terms templates]: /templates/taxonomy-templates/ [types]: /content-management/types/ [urls]: /content-management/urls/
--- title: Content Organization linktitle: Organization description: Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [content management,fundamentals] keywords: [sections,content,organization,bundle,resources] menu: docs: parent: "content-management" weight: 10 weight: 10 #rem draft: false aliases: [/content/sections/] toc: true --- ## Page Bundles Hugo `0.32` announced page-relative images and other resources packaged into `Page Bundles`. These terms are connected, and you also need to read about [Page Resources]({{< relref "/content-management/page-resources" >}}) and [Image Processing]({{< relref "/content-management/image-processing" >}}) to get the full picture. {{< imgproc 1-featured Resize "300x" >}} The illustration shows 3 bundles. Note that the home page bundle cannot contain other content pages, but other files (images etc.) are fine. {{< /imgproc >}} {{% note %}} The bundle documentation is **work in progress**. We will publish more comprehensive docs about this soon. {{% /note %}} # Organization of Content Source In Hugo, your content should be organized in a manner that reflects the rendered website. While Hugo supports content nested at any level, the top levels (i.e. `content/<DIRECTORIES>`) are special in Hugo and are considered the content type used to determine layouts etc. To read more about sections, including how to nest them, see [sections][]. Without any additional configuration, the following will just work: ``` . └── content └── about | └── index.md // <- https://example.com/about/ ├── posts | ├── firstpost.md // <- https://example.com/posts/firstpost/ | ├── happy | | └── ness.md // <- https://example.com/posts/happy/ness/ | └── secondpost.md // <- https://example.com/posts/secondpost/ └── quote ├── first.md // <- https://example.com/quote/first/ └── second.md // <- https://example.com/quote/second/ ``` ## Path Breakdown in Hugo The following demonstrates the relationships between your content organization and the output URL structure for your Hugo website when it renders. These examples assume you are [using pretty URLs][pretty], which is the default behavior for Hugo. The examples also assume a key-value of `baseURL = "https://example.com"` in your [site's configuration file][config]. ### Index Pages: `_index.md` `_index.md` has a special role in Hugo. It allows you to add front matter and content to your [list templates][lists]. These templates include those for [section templates][], [taxonomy templates][], [taxonomy terms templates][], and your [homepage template][]. {{% note %}} **Tip:** You can get a reference to the content and metadata in `_index.md` using the [`.Site.GetPage` function](/functions/getpage/). {{% /note %}} You can keep one `_index.md` for your homepage and one in each of your content sections, taxonomies, and taxonomy terms. The following shows typical placement of an `_index.md` that would contain content and front matter for a `posts` section list page on a Hugo website: ``` . url . ⊢--^-⊣ . path slug . ⊢--^-⊣⊢---^---⊣ . filepath . ⊢------^------⊣ content/posts/_index.md ``` At build, this will output to the following destination with the associated values: ``` url ("/posts/") ⊢-^-⊣ baseurl section ("posts") ⊢--------^---------⊣⊢-^-⊣ permalink ⊢----------^-------------⊣ https://example.com/posts/index.html ``` The [sections][] can be nested as deeply as you need. The important part to understand is, that to make the section tree fully navigational, at least the lower-most section needs a content file. (i.e. `_index.md`). ### Single Pages in Sections Single content files in each of your sections are going to be rendered as [single page templates][singles]. Here is an example of a single `post` within `posts`: ``` path ("posts/my-first-hugo-post.md") . ⊢-----------^------------⊣ . section slug . ⊢-^-⊣⊢--------^----------⊣ content/posts/my-first-hugo-post.md ``` When Hugo builds your site, the content will be outputted to the following destination: ``` url ("/posts/my-first-hugo-post/") ⊢------------^----------⊣ baseurl section slug ⊢--------^--------⊣⊢-^--⊣⊢-------^---------⊣ permalink ⊢--------------------^---------------------⊣ https://example.com/posts/my-first-hugo-post/index.html ``` ## Paths Explained The following concepts will provide more insight into the relationship between your project's organization and the default behaviors of Hugo when building the output website. ### `section` A default content type is determined by a piece of content's section. `section` is determined by the location within the project's `content` directory. `section` *cannot* be specified or overridden in front matter. ### `slug` A content's `slug` is either `name.extension` or `name/`. The value for `slug` is determined by * the name of the content file (e.g., `lollapalooza.md`) OR * front matter overrides ### `path` A content's `path` is determined by the section's path to the file. The file `path` * is based on the path to the content's location AND * does not include the slug ### `url` The `url` is the relative URL for the piece of content. The `url` * is based on the content's location within the directory structure OR * is defined in front matter and *overrides all the above* ## Override Destination Paths via Front Matter Hugo believes that you organize your content with a purpose. The same structure that works to organize your source content is used to organize the rendered site. As displayed above, the organization of the source content will be mirrored in the destination. There are times where you may need more control over your content. In these cases, there are fields that can be specified in the front matter to determine the destination of a specific piece of content. The following items are defined in this order for a specific reason: items explained further down in the list will override earlier items, and not all of these items can be defined in front matter: ### `filename` This isn't in the front matter, but is the actual name of the file minus the extension. This will be the name of the file in the destination (e.g., `content/posts/my-post.md` becomes `example.com/posts/my-post/`). ### `slug` When defined in the front matter, the `slug` can take the place of the filename for the destination. {{< code file="content/posts/old-post.md" >}} --- title: A new post with the filename old-post.md slug: "new-post" --- {{< /code >}} This will render to the following destination according to Hugo's default behavior: ``` example.com/posts/new-post/ ``` ### `section` `section` is determined by a content's location on disk and *cannot* be specified in the front matter. See [sections][] for more information. ### `type` A content's `type` is also determined by its location on disk but, unlike `section`, it *can* be specified in the front matter. See [types][]. This can come in especially handy when you want a piece of content to render using a different layout. In the following example, you can create a layout at `layouts/new/mylayout.html` that Hugo will use to render this piece of content, even in the midst of many other posts. {{< code file="content/posts/my-post.md" >}} --- title: My Post type: new layout: mylayout --- {{< /code >}} <!-- See https://discourse.gohugo.io/t/path-not-works/6387 --> <!-- ### `path`--> <!--`path` can be provided in the front matter. This will replace the actual path to the file on disk. Destination will create the destination with the same path, including the section. --> ### `url` A complete URL can be provided. This will override all the above as it pertains to the end destination. This must be the path from the baseURL (starting with a `/`). `url` will be used exactly as it provided in the front matter and will ignore the `--uglyURLs` setting in your site configuration: {{< code file="content/posts/old-url.md" >}} --- title: Old URL url: /blog/new-url/ --- {{< /code >}} Assuming your `baseURL` is [configured][config] to `https://example.com`, the addition of `url` to the front matter will make `old-url.md` render to the following destination: ``` https://example.com/blog/new-url/ ``` You can see more information on how to control output paths in [URL Management][urls]. [config]: /getting-started/configuration/ [formats]: /content-management/formats/ [front matter]: /content-management/front-matter/ [getpage]: /functions/getpage/ [homepage template]: /templates/homepage/ [homepage]: /templates/homepage/ [lists]: /templates/lists/ [pretty]: /content-management/urls/#pretty-urls [section templates]: /templates/section-templates/ [sections]: /content-management/sections/ [singles]: /templates/single-page-templates/ [taxonomy templates]: /templates/taxonomy-templates/ [taxonomy terms templates]: /templates/taxonomy-templates/ [types]: /content-management/types/ [urls]: /content-management/urls/
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./examples/blog/README.md
Hugo Example Blog ================= This repository provides a fully-working example of a [Hugo](https://github.com/gohugoio/hugo)-powered blog. Many Hugo-specific features are used as a way to see them in action, and hopefully ease the learning curve for creating your very own site with Hugo. Features -------- - Recent Posts at main index - Indexes for `tags` and `categories` - Post information block, with links for all `tags` and `categories` post belongs to - [Bootstrap 3](https://getbootstrap.com/) ready - Currently using the [Yeti](https://bootswatch.com/yeti/) theme from https://bootswatch.com/ Common things that should be added in the near future *(pull requests are welcome!)*: - Disqus integration - More content types to demonstrate different layout methods - About Me - Contact Getting Started --------------- To get started, you should simply fork or clone this repository! That's definitely an important first step. [Install Hugo](https://gohugo.io/getting-started/installing) in a way that best suits your environment and comfort level. Edit `config.toml` and change the default properties to suit your own information. This is not required to run the example, but this is the global configuration file and you're going to need to use it eventually. Start here! In a command prompt or terminal, navigate to the path that contains your `config.toml` file and run `hugo`. That's it! You should now have a `public` directory with a complete blog! Open `public/index.html` in your browser and bask. If that wasn't amazing enough, from the same terminal, run `hugo server`. This will watch your directories for changes and rebuild the site immediately, *and* it will make these changes available at http://localhost:1313/ so you can view your finished site in your browser. Go on, try it. This is one of the best ways to preview your site while working on it. To further learn Hugo and learn more, read through the Hugo [documentation](https://gohugo.io/getting-started/) or browse around the files in this repository. Have fun!
Hugo Example Blog ================= This repository provides a fully-working example of a [Hugo](https://github.com/gohugoio/hugo)-powered blog. Many Hugo-specific features are used as a way to see them in action, and hopefully ease the learning curve for creating your very own site with Hugo. Features -------- - Recent Posts at main index - Indexes for `tags` and `categories` - Post information block, with links for all `tags` and `categories` post belongs to - [Bootstrap 3](https://getbootstrap.com/) ready - Currently using the [Yeti](https://bootswatch.com/yeti/) theme from https://bootswatch.com/ Common things that should be added in the near future *(pull requests are welcome!)*: - Disqus integration - More content types to demonstrate different layout methods - About Me - Contact Getting Started --------------- To get started, you should simply fork or clone this repository! That's definitely an important first step. [Install Hugo](https://gohugo.io/getting-started/installing) in a way that best suits your environment and comfort level. Edit `config.toml` and change the default properties to suit your own information. This is not required to run the example, but this is the global configuration file and you're going to need to use it eventually. Start here! In a command prompt or terminal, navigate to the path that contains your `config.toml` file and run `hugo`. That's it! You should now have a `public` directory with a complete blog! Open `public/index.html` in your browser and bask. If that wasn't amazing enough, from the same terminal, run `hugo server`. This will watch your directories for changes and rebuild the site immediately, *and* it will make these changes available at http://localhost:1313/ so you can view your finished site in your browser. Go on, try it. This is one of the best ways to preview your site while working on it. To further learn Hugo and learn more, read through the Hugo [documentation](https://gohugo.io/getting-started/) or browse around the files in this repository. Have fun!
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./tpl/internal/go_templates/htmltemplate/js.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package template import ( "bytes" "encoding/json" "fmt" htmltemplate "html/template" "reflect" "strings" "unicode/utf8" ) // nextJSCtx returns the context that determines whether a slash after the // given run of tokens starts a regular expression instead of a division // operator: / or /=. // // This assumes that the token run does not include any string tokens, comment // tokens, regular expression literal tokens, or division operators. // // This fails on some valid but nonsensical JavaScript programs like // "x = ++/foo/i" which is quite different than "x++/foo/i", but is not known to // fail on any known useful programs. It is based on the draft // JavaScript 2.0 lexical grammar and requires one token of lookbehind: // https://www.mozilla.org/js/language/js20-2000-07/rationale/syntax.html func nextJSCtx(s []byte, preceding jsCtx) jsCtx { s = bytes.TrimRight(s, "\t\n\f\r \u2028\u2029") if len(s) == 0 { return preceding } // All cases below are in the single-byte UTF-8 group. switch c, n := s[len(s)-1], len(s); c { case '+', '-': // ++ and -- are not regexp preceders, but + and - are whether // they are used as infix or prefix operators. start := n - 1 // Count the number of adjacent dashes or pluses. for start > 0 && s[start-1] == c { start-- } if (n-start)&1 == 1 { // Reached for trailing minus signs since "---" is the // same as "-- -". return jsCtxRegexp } return jsCtxDivOp case '.': // Handle "42." if n != 1 && '0' <= s[n-2] && s[n-2] <= '9' { return jsCtxDivOp } return jsCtxRegexp // Suffixes for all punctuators from section 7.7 of the language spec // that only end binary operators not handled above. case ',', '<', '>', '=', '*', '%', '&', '|', '^', '?': return jsCtxRegexp // Suffixes for all punctuators from section 7.7 of the language spec // that are prefix operators not handled above. case '!', '~': return jsCtxRegexp // Matches all the punctuators from section 7.7 of the language spec // that are open brackets not handled above. case '(', '[': return jsCtxRegexp // Matches all the punctuators from section 7.7 of the language spec // that precede expression starts. case ':', ';', '{': return jsCtxRegexp // CAVEAT: the close punctuators ('}', ']', ')') precede div ops and // are handled in the default except for '}' which can precede a // division op as in // ({ valueOf: function () { return 42 } } / 2 // which is valid, but, in practice, developers don't divide object // literals, so our heuristic works well for code like // function () { ... } /foo/.test(x) && sideEffect(); // The ')' punctuator can precede a regular expression as in // if (b) /foo/.test(x) && ... // but this is much less likely than // (a + b) / c case '}': return jsCtxRegexp default: // Look for an IdentifierName and see if it is a keyword that // can precede a regular expression. j := n for j > 0 && isJSIdentPart(rune(s[j-1])) { j-- } if regexpPrecederKeywords[string(s[j:])] { return jsCtxRegexp } } // Otherwise is a punctuator not listed above, or // a string which precedes a div op, or an identifier // which precedes a div op. return jsCtxDivOp } // regexpPrecederKeywords is a set of reserved JS keywords that can precede a // regular expression in JS source. var regexpPrecederKeywords = map[string]bool{ "break": true, "case": true, "continue": true, "delete": true, "do": true, "else": true, "finally": true, "in": true, "instanceof": true, "return": true, "throw": true, "try": true, "typeof": true, "void": true, } var jsonMarshalType = reflect.TypeOf((*json.Marshaler)(nil)).Elem() // indirectToJSONMarshaler returns the value, after dereferencing as many times // as necessary to reach the base type (or nil) or an implementation of json.Marshal. func indirectToJSONMarshaler(a interface{}) interface{} { // text/template now supports passing untyped nil as a func call // argument, so we must support it. Otherwise we'd panic below, as one // cannot call the Type or Interface methods on an invalid // reflect.Value. See golang.org/issue/18716. if a == nil { return nil } v := reflect.ValueOf(a) for !v.Type().Implements(jsonMarshalType) && v.Kind() == reflect.Ptr && !v.IsNil() { v = v.Elem() } return v.Interface() } // jsValEscaper escapes its inputs to a JS Expression (section 11.14) that has // neither side-effects nor free variables outside (NaN, Infinity). func jsValEscaper(args ...interface{}) string { var a interface{} if len(args) == 1 { a = indirectToJSONMarshaler(args[0]) switch t := a.(type) { case htmltemplate.JS: return string(t) case htmltemplate.JSStr: // TODO: normalize quotes. return `"` + string(t) + `"` case json.Marshaler: // Do not treat as a Stringer. case fmt.Stringer: a = t.String() } } else { for i, arg := range args { args[i] = indirectToJSONMarshaler(arg) } a = fmt.Sprint(args...) } // TODO: detect cycles before calling Marshal which loops infinitely on // cyclic data. This may be an unacceptable DoS risk. b, err := json.Marshal(a) if err != nil { // Put a space before comment so that if it is flush against // a division operator it is not turned into a line comment: // x/{{y}} // turning into // x//* error marshaling y: // second line of error message */null return fmt.Sprintf(" /* %s */null ", strings.ReplaceAll(err.Error(), "*/", "* /")) } // TODO: maybe post-process output to prevent it from containing // "<!--", "-->", "<![CDATA[", "]]>", or "</script" // in case custom marshalers produce output containing those. // Note: Do not use \x escaping to save bytes because it is not JSON compatible and this escaper // supports ld+json content-type. if len(b) == 0 { // In, `x=y/{{.}}*z` a json.Marshaler that produces "" should // not cause the output `x=y/*z`. return " null " } first, _ := utf8.DecodeRune(b) last, _ := utf8.DecodeLastRune(b) var buf strings.Builder // Prevent IdentifierNames and NumericLiterals from running into // keywords: in, instanceof, typeof, void pad := isJSIdentPart(first) || isJSIdentPart(last) if pad { buf.WriteByte(' ') } written := 0 // Make sure that json.Marshal escapes codepoints U+2028 & U+2029 // so it falls within the subset of JSON which is valid JS. for i := 0; i < len(b); { rune, n := utf8.DecodeRune(b[i:]) repl := "" if rune == 0x2028 { repl = `\u2028` } else if rune == 0x2029 { repl = `\u2029` } if repl != "" { buf.Write(b[written:i]) buf.WriteString(repl) written = i + n } i += n } if buf.Len() != 0 { buf.Write(b[written:]) if pad { buf.WriteByte(' ') } return buf.String() } return string(b) } // jsStrEscaper produces a string that can be included between quotes in // JavaScript source, in JavaScript embedded in an HTML5 <script> element, // or in an HTML5 event handler attribute such as onclick. func jsStrEscaper(args ...interface{}) string { s, t := stringify(args...) if t == contentTypeJSStr { return replace(s, jsStrNormReplacementTable) } return replace(s, jsStrReplacementTable) } // jsRegexpEscaper behaves like jsStrEscaper but escapes regular expression // specials so the result is treated literally when included in a regular // expression literal. /foo{{.X}}bar/ matches the string "foo" followed by // the literal text of {{.X}} followed by the string "bar". func jsRegexpEscaper(args ...interface{}) string { s, _ := stringify(args...) s = replace(s, jsRegexpReplacementTable) if s == "" { // /{{.X}}/ should not produce a line comment when .X == "". return "(?:)" } return s } // replace replaces each rune r of s with replacementTable[r], provided that // r < len(replacementTable). If replacementTable[r] is the empty string then // no replacement is made. // It also replaces runes U+2028 and U+2029 with the raw strings `\u2028` and // `\u2029`. func replace(s string, replacementTable []string) string { var b strings.Builder r, w, written := rune(0), 0, 0 for i := 0; i < len(s); i += w { // See comment in htmlEscaper. r, w = utf8.DecodeRuneInString(s[i:]) var repl string switch { case int(r) < len(lowUnicodeReplacementTable): repl = lowUnicodeReplacementTable[r] case int(r) < len(replacementTable) && replacementTable[r] != "": repl = replacementTable[r] case r == '\u2028': repl = `\u2028` case r == '\u2029': repl = `\u2029` default: continue } if written == 0 { b.Grow(len(s)) } b.WriteString(s[written:i]) b.WriteString(repl) written = i + w } if written == 0 { return s } b.WriteString(s[written:]) return b.String() } var lowUnicodeReplacementTable = []string{ 0: `\u0000`, 1: `\u0001`, 2: `\u0002`, 3: `\u0003`, 4: `\u0004`, 5: `\u0005`, 6: `\u0006`, '\a': `\u0007`, '\b': `\u0008`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, 0xe: `\u000e`, 0xf: `\u000f`, 0x10: `\u0010`, 0x11: `\u0011`, 0x12: `\u0012`, 0x13: `\u0013`, 0x14: `\u0014`, 0x15: `\u0015`, 0x16: `\u0016`, 0x17: `\u0017`, 0x18: `\u0018`, 0x19: `\u0019`, 0x1a: `\u001a`, 0x1b: `\u001b`, 0x1c: `\u001c`, 0x1d: `\u001d`, 0x1e: `\u001e`, 0x1f: `\u001f`, } var jsStrReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '&': `\u0026`, '\'': `\u0027`, '+': `\u002b`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, '\\': `\\`, } // jsStrNormReplacementTable is like jsStrReplacementTable but does not // overencode existing escapes since this table has no entry for `\`. var jsStrNormReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '&': `\u0026`, '\'': `\u0027`, '+': `\u002b`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, } var jsRegexpReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '$': `\$`, '&': `\u0026`, '\'': `\u0027`, '(': `\(`, ')': `\)`, '*': `\*`, '+': `\u002b`, '-': `\-`, '.': `\.`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, '?': `\?`, '[': `\[`, '\\': `\\`, ']': `\]`, '^': `\^`, '{': `\{`, '|': `\|`, '}': `\}`, } // isJSIdentPart reports whether the given rune is a JS identifier part. // It does not handle all the non-Latin letters, joiners, and combining marks, // but it does handle every codepoint that can occur in a numeric literal or // a keyword. func isJSIdentPart(r rune) bool { switch { case r == '$': return true case '0' <= r && r <= '9': return true case 'A' <= r && r <= 'Z': return true case r == '_': return true case 'a' <= r && r <= 'z': return true } return false } // isJSType reports whether the given MIME type should be considered JavaScript. // // It is used to determine whether a script tag with a type attribute is a javascript container. func isJSType(mimeType string) bool { // per // https://www.w3.org/TR/html5/scripting-1.html#attr-script-type // https://tools.ietf.org/html/rfc7231#section-3.1.1 // https://tools.ietf.org/html/rfc4329#section-3 // https://www.ietf.org/rfc/rfc4627.txt // discard parameters if i := strings.Index(mimeType, ";"); i >= 0 { mimeType = mimeType[:i] } mimeType = strings.ToLower(mimeType) mimeType = strings.TrimSpace(mimeType) switch mimeType { case "application/ecmascript", "application/javascript", "application/json", "application/ld+json", "application/x-ecmascript", "application/x-javascript", "module", "text/ecmascript", "text/javascript", "text/javascript1.0", "text/javascript1.1", "text/javascript1.2", "text/javascript1.3", "text/javascript1.4", "text/javascript1.5", "text/jscript", "text/livescript", "text/x-ecmascript", "text/x-javascript": return true default: return false } }
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package template import ( "bytes" "encoding/json" "fmt" htmltemplate "html/template" "reflect" "strings" "unicode/utf8" ) // nextJSCtx returns the context that determines whether a slash after the // given run of tokens starts a regular expression instead of a division // operator: / or /=. // // This assumes that the token run does not include any string tokens, comment // tokens, regular expression literal tokens, or division operators. // // This fails on some valid but nonsensical JavaScript programs like // "x = ++/foo/i" which is quite different than "x++/foo/i", but is not known to // fail on any known useful programs. It is based on the draft // JavaScript 2.0 lexical grammar and requires one token of lookbehind: // https://www.mozilla.org/js/language/js20-2000-07/rationale/syntax.html func nextJSCtx(s []byte, preceding jsCtx) jsCtx { s = bytes.TrimRight(s, "\t\n\f\r \u2028\u2029") if len(s) == 0 { return preceding } // All cases below are in the single-byte UTF-8 group. switch c, n := s[len(s)-1], len(s); c { case '+', '-': // ++ and -- are not regexp preceders, but + and - are whether // they are used as infix or prefix operators. start := n - 1 // Count the number of adjacent dashes or pluses. for start > 0 && s[start-1] == c { start-- } if (n-start)&1 == 1 { // Reached for trailing minus signs since "---" is the // same as "-- -". return jsCtxRegexp } return jsCtxDivOp case '.': // Handle "42." if n != 1 && '0' <= s[n-2] && s[n-2] <= '9' { return jsCtxDivOp } return jsCtxRegexp // Suffixes for all punctuators from section 7.7 of the language spec // that only end binary operators not handled above. case ',', '<', '>', '=', '*', '%', '&', '|', '^', '?': return jsCtxRegexp // Suffixes for all punctuators from section 7.7 of the language spec // that are prefix operators not handled above. case '!', '~': return jsCtxRegexp // Matches all the punctuators from section 7.7 of the language spec // that are open brackets not handled above. case '(', '[': return jsCtxRegexp // Matches all the punctuators from section 7.7 of the language spec // that precede expression starts. case ':', ';', '{': return jsCtxRegexp // CAVEAT: the close punctuators ('}', ']', ')') precede div ops and // are handled in the default except for '}' which can precede a // division op as in // ({ valueOf: function () { return 42 } } / 2 // which is valid, but, in practice, developers don't divide object // literals, so our heuristic works well for code like // function () { ... } /foo/.test(x) && sideEffect(); // The ')' punctuator can precede a regular expression as in // if (b) /foo/.test(x) && ... // but this is much less likely than // (a + b) / c case '}': return jsCtxRegexp default: // Look for an IdentifierName and see if it is a keyword that // can precede a regular expression. j := n for j > 0 && isJSIdentPart(rune(s[j-1])) { j-- } if regexpPrecederKeywords[string(s[j:])] { return jsCtxRegexp } } // Otherwise is a punctuator not listed above, or // a string which precedes a div op, or an identifier // which precedes a div op. return jsCtxDivOp } // regexpPrecederKeywords is a set of reserved JS keywords that can precede a // regular expression in JS source. var regexpPrecederKeywords = map[string]bool{ "break": true, "case": true, "continue": true, "delete": true, "do": true, "else": true, "finally": true, "in": true, "instanceof": true, "return": true, "throw": true, "try": true, "typeof": true, "void": true, } var jsonMarshalType = reflect.TypeOf((*json.Marshaler)(nil)).Elem() // indirectToJSONMarshaler returns the value, after dereferencing as many times // as necessary to reach the base type (or nil) or an implementation of json.Marshal. func indirectToJSONMarshaler(a interface{}) interface{} { // text/template now supports passing untyped nil as a func call // argument, so we must support it. Otherwise we'd panic below, as one // cannot call the Type or Interface methods on an invalid // reflect.Value. See golang.org/issue/18716. if a == nil { return nil } v := reflect.ValueOf(a) for !v.Type().Implements(jsonMarshalType) && v.Kind() == reflect.Ptr && !v.IsNil() { v = v.Elem() } return v.Interface() } // jsValEscaper escapes its inputs to a JS Expression (section 11.14) that has // neither side-effects nor free variables outside (NaN, Infinity). func jsValEscaper(args ...interface{}) string { var a interface{} if len(args) == 1 { a = indirectToJSONMarshaler(args[0]) switch t := a.(type) { case htmltemplate.JS: return string(t) case htmltemplate.JSStr: // TODO: normalize quotes. return `"` + string(t) + `"` case json.Marshaler: // Do not treat as a Stringer. case fmt.Stringer: a = t.String() } } else { for i, arg := range args { args[i] = indirectToJSONMarshaler(arg) } a = fmt.Sprint(args...) } // TODO: detect cycles before calling Marshal which loops infinitely on // cyclic data. This may be an unacceptable DoS risk. b, err := json.Marshal(a) if err != nil { // Put a space before comment so that if it is flush against // a division operator it is not turned into a line comment: // x/{{y}} // turning into // x//* error marshaling y: // second line of error message */null return fmt.Sprintf(" /* %s */null ", strings.ReplaceAll(err.Error(), "*/", "* /")) } // TODO: maybe post-process output to prevent it from containing // "<!--", "-->", "<![CDATA[", "]]>", or "</script" // in case custom marshalers produce output containing those. // Note: Do not use \x escaping to save bytes because it is not JSON compatible and this escaper // supports ld+json content-type. if len(b) == 0 { // In, `x=y/{{.}}*z` a json.Marshaler that produces "" should // not cause the output `x=y/*z`. return " null " } first, _ := utf8.DecodeRune(b) last, _ := utf8.DecodeLastRune(b) var buf strings.Builder // Prevent IdentifierNames and NumericLiterals from running into // keywords: in, instanceof, typeof, void pad := isJSIdentPart(first) || isJSIdentPart(last) if pad { buf.WriteByte(' ') } written := 0 // Make sure that json.Marshal escapes codepoints U+2028 & U+2029 // so it falls within the subset of JSON which is valid JS. for i := 0; i < len(b); { rune, n := utf8.DecodeRune(b[i:]) repl := "" if rune == 0x2028 { repl = `\u2028` } else if rune == 0x2029 { repl = `\u2029` } if repl != "" { buf.Write(b[written:i]) buf.WriteString(repl) written = i + n } i += n } if buf.Len() != 0 { buf.Write(b[written:]) if pad { buf.WriteByte(' ') } return buf.String() } return string(b) } // jsStrEscaper produces a string that can be included between quotes in // JavaScript source, in JavaScript embedded in an HTML5 <script> element, // or in an HTML5 event handler attribute such as onclick. func jsStrEscaper(args ...interface{}) string { s, t := stringify(args...) if t == contentTypeJSStr { return replace(s, jsStrNormReplacementTable) } return replace(s, jsStrReplacementTable) } // jsRegexpEscaper behaves like jsStrEscaper but escapes regular expression // specials so the result is treated literally when included in a regular // expression literal. /foo{{.X}}bar/ matches the string "foo" followed by // the literal text of {{.X}} followed by the string "bar". func jsRegexpEscaper(args ...interface{}) string { s, _ := stringify(args...) s = replace(s, jsRegexpReplacementTable) if s == "" { // /{{.X}}/ should not produce a line comment when .X == "". return "(?:)" } return s } // replace replaces each rune r of s with replacementTable[r], provided that // r < len(replacementTable). If replacementTable[r] is the empty string then // no replacement is made. // It also replaces runes U+2028 and U+2029 with the raw strings `\u2028` and // `\u2029`. func replace(s string, replacementTable []string) string { var b strings.Builder r, w, written := rune(0), 0, 0 for i := 0; i < len(s); i += w { // See comment in htmlEscaper. r, w = utf8.DecodeRuneInString(s[i:]) var repl string switch { case int(r) < len(lowUnicodeReplacementTable): repl = lowUnicodeReplacementTable[r] case int(r) < len(replacementTable) && replacementTable[r] != "": repl = replacementTable[r] case r == '\u2028': repl = `\u2028` case r == '\u2029': repl = `\u2029` default: continue } if written == 0 { b.Grow(len(s)) } b.WriteString(s[written:i]) b.WriteString(repl) written = i + w } if written == 0 { return s } b.WriteString(s[written:]) return b.String() } var lowUnicodeReplacementTable = []string{ 0: `\u0000`, 1: `\u0001`, 2: `\u0002`, 3: `\u0003`, 4: `\u0004`, 5: `\u0005`, 6: `\u0006`, '\a': `\u0007`, '\b': `\u0008`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, 0xe: `\u000e`, 0xf: `\u000f`, 0x10: `\u0010`, 0x11: `\u0011`, 0x12: `\u0012`, 0x13: `\u0013`, 0x14: `\u0014`, 0x15: `\u0015`, 0x16: `\u0016`, 0x17: `\u0017`, 0x18: `\u0018`, 0x19: `\u0019`, 0x1a: `\u001a`, 0x1b: `\u001b`, 0x1c: `\u001c`, 0x1d: `\u001d`, 0x1e: `\u001e`, 0x1f: `\u001f`, } var jsStrReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '&': `\u0026`, '\'': `\u0027`, '+': `\u002b`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, '\\': `\\`, } // jsStrNormReplacementTable is like jsStrReplacementTable but does not // overencode existing escapes since this table has no entry for `\`. var jsStrNormReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '&': `\u0026`, '\'': `\u0027`, '+': `\u002b`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, } var jsRegexpReplacementTable = []string{ 0: `\u0000`, '\t': `\t`, '\n': `\n`, '\v': `\u000b`, // "\v" == "v" on IE 6. '\f': `\f`, '\r': `\r`, // Encode HTML specials as hex so the output can be embedded // in HTML attributes without further encoding. '"': `\u0022`, '$': `\$`, '&': `\u0026`, '\'': `\u0027`, '(': `\(`, ')': `\)`, '*': `\*`, '+': `\u002b`, '-': `\-`, '.': `\.`, '/': `\/`, '<': `\u003c`, '>': `\u003e`, '?': `\?`, '[': `\[`, '\\': `\\`, ']': `\]`, '^': `\^`, '{': `\{`, '|': `\|`, '}': `\}`, } // isJSIdentPart reports whether the given rune is a JS identifier part. // It does not handle all the non-Latin letters, joiners, and combining marks, // but it does handle every codepoint that can occur in a numeric literal or // a keyword. func isJSIdentPart(r rune) bool { switch { case r == '$': return true case '0' <= r && r <= '9': return true case 'A' <= r && r <= 'Z': return true case r == '_': return true case 'a' <= r && r <= 'z': return true } return false } // isJSType reports whether the given MIME type should be considered JavaScript. // // It is used to determine whether a script tag with a type attribute is a javascript container. func isJSType(mimeType string) bool { // per // https://www.w3.org/TR/html5/scripting-1.html#attr-script-type // https://tools.ietf.org/html/rfc7231#section-3.1.1 // https://tools.ietf.org/html/rfc4329#section-3 // https://www.ietf.org/rfc/rfc4627.txt // discard parameters if i := strings.Index(mimeType, ";"); i >= 0 { mimeType = mimeType[:i] } mimeType = strings.ToLower(mimeType) mimeType = strings.TrimSpace(mimeType) switch mimeType { case "application/ecmascript", "application/javascript", "application/json", "application/ld+json", "application/x-ecmascript", "application/x-javascript", "module", "text/ecmascript", "text/javascript", "text/javascript1.0", "text/javascript1.1", "text/javascript1.2", "text/javascript1.3", "text/javascript1.4", "text/javascript1.5", "text/jscript", "text/livescript", "text/x-ecmascript", "text/x-javascript": return true default: return false } }
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./docs/content/en/news/0.73.0-relnotes/index.md
--- date: 2020-06-23 title: "Summer Breeze" description: "Taxonomy terms cleanup, render hooks per section/type, HMAC function, and more." categories: ["Releases"] --- Again, a release on the small side. Some new features -- one example is that we now support hook templates per section/type, see [#7349](https://github.com/gohugoio/hugo/issues/7349) -- and some important bug fixes. But the most important part of this release is that we have now finally cleaned up the terms used for the taxonomy page kinds. This has made the taxonomy feature in Hugo harder to understand than it needed to be. The old/new values for these are `taxonomy` => `term` and `taxonomyTerm` => `taxonomy`. We have taken great care to avoid site breakage. See [#6911](https://github.com/gohugoio/hugo/issues/6911) for more information. This release represents **21 contributions by 9 contributors** to the main Hugo code base.bjorn.erik.pedersen leads the Hugo development with a significant amount of contributions, but also a big shoutout to helfper, moorereason, and onedrawingperday for their ongoing contributions. And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the themes site in pristine condition and to [@davidsneighbour](https://github.com/davidsneighbour), [@coliff](https://github.com/coliff) and [@kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **30 contributions by 14 contributors**. A special thanks to christianoliff, bjorn.erik.pedersen, patrick, and hello for their work on the documentation site. ## Notes * Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [#6911](https://github.com/gohugoio/hugo/issues/6911) ## Enhancements ### Templates * tpl/crypto: Add hmac ### Other * Remove some old release notes * Create robots.txt in the domain root directory [#5160](https://github.com/gohugoio/hugo/issues/5160)[#4193](https://github.com/gohugoio/hugo/issues/4193) * Make GroupByParamDate work with string params [#3983](https://github.com/gohugoio/hugo/issues/3983) * Add GroupByLastmod [#7408](https://github.com/gohugoio/hugo/issues/7408) * Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [#6911](https://github.com/gohugoio/hugo/issues/6911)[#7395](https://github.com/gohugoio/hugo/issues/7395) * Add genDocsHelper mage target * Regenerate templates * Beautify HTML generated by pagination template [#7199](https://github.com/gohugoio/hugo/issues/7199) * Add a nested data dir test * Use os.PathError in RootMappingFs.doLstat * Remove credit (#7347) * Allow hook template per section/type [#7349](https://github.com/gohugoio/hugo/issues/7349) ## Fixes ### Templates * Fix bad rounding in NumFmt [#7116](https://github.com/gohugoio/hugo/issues/7116) ### Other * Fix aliases with path in baseURL * Fix server data race/nil pointer in withMaps [#7392](https://github.com/gohugoio/hugo/issues/7392) * Fix order of GetTerms [#7213](https://github.com/gohugoio/hugo/issues/7213) * Fix aliases with uglyURLs * Fix crash for closing shortcode with no .Inner set [#6857](https://github.com/gohugoio/hugo/issues/6857)[#7330](https://github.com/gohugoio/hugo/issues/7330) * Fix aliases with relativeURLs * Fix URL rewrites vs fast render server mode [#7357](https://github.com/gohugoio/hugo/issues/7357)
--- date: 2020-06-23 title: "Summer Breeze" description: "Taxonomy terms cleanup, render hooks per section/type, HMAC function, and more." categories: ["Releases"] --- Again, a release on the small side. Some new features -- one example is that we now support hook templates per section/type, see [#7349](https://github.com/gohugoio/hugo/issues/7349) -- and some important bug fixes. But the most important part of this release is that we have now finally cleaned up the terms used for the taxonomy page kinds. This has made the taxonomy feature in Hugo harder to understand than it needed to be. The old/new values for these are `taxonomy` => `term` and `taxonomyTerm` => `taxonomy`. We have taken great care to avoid site breakage. See [#6911](https://github.com/gohugoio/hugo/issues/6911) for more information. This release represents **21 contributions by 9 contributors** to the main Hugo code base.bjorn.erik.pedersen leads the Hugo development with a significant amount of contributions, but also a big shoutout to helfper, moorereason, and onedrawingperday for their ongoing contributions. And a big thanks to [@digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the themes site in pristine condition and to [@davidsneighbour](https://github.com/davidsneighbour), [@coliff](https://github.com/coliff) and [@kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **30 contributions by 14 contributors**. A special thanks to christianoliff, bjorn.erik.pedersen, patrick, and hello for their work on the documentation site. ## Notes * Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [#6911](https://github.com/gohugoio/hugo/issues/6911) ## Enhancements ### Templates * tpl/crypto: Add hmac ### Other * Remove some old release notes * Create robots.txt in the domain root directory [#5160](https://github.com/gohugoio/hugo/issues/5160)[#4193](https://github.com/gohugoio/hugo/issues/4193) * Make GroupByParamDate work with string params [#3983](https://github.com/gohugoio/hugo/issues/3983) * Add GroupByLastmod [#7408](https://github.com/gohugoio/hugo/issues/7408) * Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [#6911](https://github.com/gohugoio/hugo/issues/6911)[#7395](https://github.com/gohugoio/hugo/issues/7395) * Add genDocsHelper mage target * Regenerate templates * Beautify HTML generated by pagination template [#7199](https://github.com/gohugoio/hugo/issues/7199) * Add a nested data dir test * Use os.PathError in RootMappingFs.doLstat * Remove credit (#7347) * Allow hook template per section/type [#7349](https://github.com/gohugoio/hugo/issues/7349) ## Fixes ### Templates * Fix bad rounding in NumFmt [#7116](https://github.com/gohugoio/hugo/issues/7116) ### Other * Fix aliases with path in baseURL * Fix server data race/nil pointer in withMaps [#7392](https://github.com/gohugoio/hugo/issues/7392) * Fix order of GetTerms [#7213](https://github.com/gohugoio/hugo/issues/7213) * Fix aliases with uglyURLs * Fix crash for closing shortcode with no .Inner set [#6857](https://github.com/gohugoio/hugo/issues/6857)[#7330](https://github.com/gohugoio/hugo/issues/7330) * Fix aliases with relativeURLs * Fix URL rewrites vs fast render server mode [#7357](https://github.com/gohugoio/hugo/issues/7357)
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./docs/content/en/functions/delimit.md
--- title: delimit description: Loops through any array, slice, or map and returns a string of all the values separated by a delimiter. godocref: workson: [] date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [functions] menu: docs: parent: "functions" keywords: [iteration] toc: false signature: ["delimit COLLECTION DELIMIT LAST"] workson: [lists,taxonomies,terms] hugoversion: relatedfuncs: [] deprecated: false draft: false aliases: [] --- `delimit` called in your template takes the form of ``` {{ delimit array/slice/map delimiter optionallastdelimiter}} ``` `delimit` loops through any array, slice, or map and returns a string of all the values separated by a delimiter, the second argument in the function call. There is an optional third parameter that lets you choose a different delimiter to go between the last two values in the loop. To maintain a consistent output order, maps will be sorted by keys and only a slice of the values will be returned. The examples of `delimit` that follow all use the same front matter: {{< code file="delimit-example-front-matter.toml" nocopy="true" >}} +++ title: I love Delimit tags: [ "tag1", "tag2", "tag3" ] +++ {{< /code >}} {{< code file="delimit-page-tags-input.html" >}} <p>Tags: {{ delimit .Params.tags ", " }}</p> {{< /code >}} {{< output file="delimit-page-tags-output.html" >}} <p>Tags: tag1, tag2, tag3</p> {{< /output >}} Here is the same example but with the optional "last" delimiter: {{< code file="delimit-page-tags-final-and-input.html" >}} Tags: {{ delimit .Params.tags ", " ", and " }} {{< /code >}} {{< output file="delimit-page-tags-final-and-output.html" >}} <p>Tags: tag1, tag2, and tag3</p> {{< /output >}} [lists]: /templates/lists/ [taxonomies]: /templates/taxonomy-templates/#taxonomy-list-templates [terms]: /templates/taxonomy-templates/#terms-list-templates
--- title: delimit description: Loops through any array, slice, or map and returns a string of all the values separated by a delimiter. godocref: workson: [] date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [functions] menu: docs: parent: "functions" keywords: [iteration] toc: false signature: ["delimit COLLECTION DELIMIT LAST"] workson: [lists,taxonomies,terms] hugoversion: relatedfuncs: [] deprecated: false draft: false aliases: [] --- `delimit` called in your template takes the form of ``` {{ delimit array/slice/map delimiter optionallastdelimiter}} ``` `delimit` loops through any array, slice, or map and returns a string of all the values separated by a delimiter, the second argument in the function call. There is an optional third parameter that lets you choose a different delimiter to go between the last two values in the loop. To maintain a consistent output order, maps will be sorted by keys and only a slice of the values will be returned. The examples of `delimit` that follow all use the same front matter: {{< code file="delimit-example-front-matter.toml" nocopy="true" >}} +++ title: I love Delimit tags: [ "tag1", "tag2", "tag3" ] +++ {{< /code >}} {{< code file="delimit-page-tags-input.html" >}} <p>Tags: {{ delimit .Params.tags ", " }}</p> {{< /code >}} {{< output file="delimit-page-tags-output.html" >}} <p>Tags: tag1, tag2, tag3</p> {{< /output >}} Here is the same example but with the optional "last" delimiter: {{< code file="delimit-page-tags-final-and-input.html" >}} Tags: {{ delimit .Params.tags ", " ", and " }} {{< /code >}} {{< output file="delimit-page-tags-final-and-output.html" >}} <p>Tags: tag1, tag2, and tag3</p> {{< /output >}} [lists]: /templates/lists/ [taxonomies]: /templates/taxonomy-templates/#taxonomy-list-templates [terms]: /templates/taxonomy-templates/#terms-list-templates
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./docs/content/en/functions/unix.md
--- title: .Unix draft: false description: .Unix returns the local Time corresponding to the given Unix time, sec seconds and nsec nanoseconds since January 1, 1970 UTC. godocref: https://golang.org/search?q=Unix#Functions date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 keywords: [dates,time] categories: [functions] menu: docs: parent: "functions" signature: [".Unix"] workson: [times] hugoversion: relatedfuncs: [Format,dateFormat,now,time] deprecated: false aliases: [] --- ## Example: Time Passed Since Last Modification This very simple one-liner uses `now.Unix` to calculate the amount of time that has passed between the `.LastMod` for the current page and the last build of the current page. {{< code file="time-passed.html" >}} {{ div (sub now.Unix .Lastmod.Unix) 86400 }} {{< /code >}} Since both values are integers, they can be subtracted and then divided by the number of seconds in a day (i.e., `60 * 60 * 24 == 86400`). {{% note %}} Hugo's output is *static*. For the example above to be realistic, the site needs to be built every day. {{% /note %}} [partial template]: /templates/partials/
--- title: .Unix draft: false description: .Unix returns the local Time corresponding to the given Unix time, sec seconds and nsec nanoseconds since January 1, 1970 UTC. godocref: https://golang.org/search?q=Unix#Functions date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 keywords: [dates,time] categories: [functions] menu: docs: parent: "functions" signature: [".Unix"] workson: [times] hugoversion: relatedfuncs: [Format,dateFormat,now,time] deprecated: false aliases: [] --- ## Example: Time Passed Since Last Modification This very simple one-liner uses `now.Unix` to calculate the amount of time that has passed between the `.LastMod` for the current page and the last build of the current page. {{< code file="time-passed.html" >}} {{ div (sub now.Unix .Lastmod.Unix) 86400 }} {{< /code >}} Since both values are integers, they can be subtracted and then divided by the number of seconds in a day (i.e., `60 * 60 * 24 == 86400`). {{% note %}} Hugo's output is *static*. For the example above to be realistic, the site needs to be built every day. {{% /note %}} [partial template]: /templates/partials/
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./create/content_template_handler.go
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package create import ( "bytes" "fmt" "path/filepath" "strings" "time" "github.com/pkg/errors" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/source" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/tpl" "github.com/spf13/afero" ) // ArchetypeFileData represents the data available to an archetype template. type ArchetypeFileData struct { // The archetype content type, either given as --kind option or extracted // from the target path's section, i.e. "blog/mypost.md" will resolve to // "blog". Type string // The current date and time as a RFC3339 formatted string, suitable for use in front matter. Date string // The Site, fully equipped with all the pages etc. Note: This will only be set if it is actually // used in the archetype template. Also, if this is a multilingual setup, // this site is the site that best matches the target content file, based // on the presence of language code in the filename. Site *hugolib.SiteInfo // Name will in most cases be the same as TranslationBaseName, e.g. "my-post". // But if that value is "index" (bundles), the Name is instead the owning folder. // This is the value you in most cases would want to use to construct the title in your // archetype template. Name string // The target content file. Note that the .Content will be empty, as that // has not been created yet. source.File } const ( // ArchetypeTemplateTemplate is used as initial template when adding an archetype template. ArchetypeTemplateTemplate = `--- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true --- ` ) var ( archetypeShortcodeReplacementsPre = strings.NewReplacer( "{{<", "{x{<", "{{%", "{x{%", ">}}", ">}x}", "%}}", "%}x}") archetypeShortcodeReplacementsPost = strings.NewReplacer( "{x{<", "{{<", "{x{%", "{{%", ">}x}", ">}}", "%}x}", "%}}") ) func executeArcheTypeAsTemplate(s *hugolib.Site, name, kind, targetPath, archetypeFilename string) ([]byte, error) { var ( archetypeContent []byte archetypeTemplate []byte err error ) f, err := s.SourceSpec.NewFileInfoFrom(targetPath, targetPath) if err != nil { return nil, err } if name == "" { name = f.TranslationBaseName() if name == "index" || name == "_index" { // Page bundles; the directory name will hopefully have a better name. dir := strings.TrimSuffix(f.Dir(), helpers.FilePathSeparator) _, name = filepath.Split(dir) } } data := ArchetypeFileData{ Type: kind, Date: time.Now().Format(time.RFC3339), Name: name, File: f, Site: s.Info, } if archetypeFilename == "" { // TODO(bep) archetype revive the issue about wrong tpl funcs arg order archetypeTemplate = []byte(ArchetypeTemplateTemplate) } else { archetypeTemplate, err = afero.ReadFile(s.BaseFs.Archetypes.Fs, archetypeFilename) if err != nil { return nil, fmt.Errorf("failed to read archetype file %s", err) } } // The archetype template may contain shortcodes, and these does not play well // with the Go templates. Need to set some temporary delimiters. archetypeTemplate = []byte(archetypeShortcodeReplacementsPre.Replace(string(archetypeTemplate))) // Reuse the Hugo template setup to get the template funcs properly set up. templateHandler := s.Deps.Tmpl().(tpl.TemplateManager) templateName := helpers.Filename(archetypeFilename) if err := templateHandler.AddTemplate("_text/"+templateName, string(archetypeTemplate)); err != nil { return nil, errors.Wrapf(err, "Failed to parse archetype file %q:", archetypeFilename) } templ, _ := templateHandler.Lookup(templateName) var buff bytes.Buffer if err := templateHandler.Execute(templ, &buff, data); err != nil { return nil, errors.Wrapf(err, "Failed to process archetype file %q:", archetypeFilename) } archetypeContent = []byte(archetypeShortcodeReplacementsPost.Replace(buff.String())) return archetypeContent, nil }
// Copyright 2017 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package create import ( "bytes" "fmt" "path/filepath" "strings" "time" "github.com/pkg/errors" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/source" "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/tpl" "github.com/spf13/afero" ) // ArchetypeFileData represents the data available to an archetype template. type ArchetypeFileData struct { // The archetype content type, either given as --kind option or extracted // from the target path's section, i.e. "blog/mypost.md" will resolve to // "blog". Type string // The current date and time as a RFC3339 formatted string, suitable for use in front matter. Date string // The Site, fully equipped with all the pages etc. Note: This will only be set if it is actually // used in the archetype template. Also, if this is a multilingual setup, // this site is the site that best matches the target content file, based // on the presence of language code in the filename. Site *hugolib.SiteInfo // Name will in most cases be the same as TranslationBaseName, e.g. "my-post". // But if that value is "index" (bundles), the Name is instead the owning folder. // This is the value you in most cases would want to use to construct the title in your // archetype template. Name string // The target content file. Note that the .Content will be empty, as that // has not been created yet. source.File } const ( // ArchetypeTemplateTemplate is used as initial template when adding an archetype template. ArchetypeTemplateTemplate = `--- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true --- ` ) var ( archetypeShortcodeReplacementsPre = strings.NewReplacer( "{{<", "{x{<", "{{%", "{x{%", ">}}", ">}x}", "%}}", "%}x}") archetypeShortcodeReplacementsPost = strings.NewReplacer( "{x{<", "{{<", "{x{%", "{{%", ">}x}", ">}}", "%}x}", "%}}") ) func executeArcheTypeAsTemplate(s *hugolib.Site, name, kind, targetPath, archetypeFilename string) ([]byte, error) { var ( archetypeContent []byte archetypeTemplate []byte err error ) f, err := s.SourceSpec.NewFileInfoFrom(targetPath, targetPath) if err != nil { return nil, err } if name == "" { name = f.TranslationBaseName() if name == "index" || name == "_index" { // Page bundles; the directory name will hopefully have a better name. dir := strings.TrimSuffix(f.Dir(), helpers.FilePathSeparator) _, name = filepath.Split(dir) } } data := ArchetypeFileData{ Type: kind, Date: time.Now().Format(time.RFC3339), Name: name, File: f, Site: s.Info, } if archetypeFilename == "" { // TODO(bep) archetype revive the issue about wrong tpl funcs arg order archetypeTemplate = []byte(ArchetypeTemplateTemplate) } else { archetypeTemplate, err = afero.ReadFile(s.BaseFs.Archetypes.Fs, archetypeFilename) if err != nil { return nil, fmt.Errorf("failed to read archetype file %s", err) } } // The archetype template may contain shortcodes, and these does not play well // with the Go templates. Need to set some temporary delimiters. archetypeTemplate = []byte(archetypeShortcodeReplacementsPre.Replace(string(archetypeTemplate))) // Reuse the Hugo template setup to get the template funcs properly set up. templateHandler := s.Deps.Tmpl().(tpl.TemplateManager) templateName := helpers.Filename(archetypeFilename) if err := templateHandler.AddTemplate("_text/"+templateName, string(archetypeTemplate)); err != nil { return nil, errors.Wrapf(err, "Failed to parse archetype file %q:", archetypeFilename) } templ, _ := templateHandler.Lookup(templateName) var buff bytes.Buffer if err := templateHandler.Execute(templ, &buff, data); err != nil { return nil, errors.Wrapf(err, "Failed to process archetype file %q:", archetypeFilename) } archetypeContent = []byte(archetypeShortcodeReplacementsPost.Replace(buff.String())) return archetypeContent, nil }
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./tpl/internal/go_templates/texttemplate/link_test.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.13 package template_test import ( "bytes" "github.com/gohugoio/hugo/tpl/internal/go_templates/testenv" "os" "os/exec" "path/filepath" "testing" ) // Issue 36021: verify that text/template doesn't prevent the linker from removing // unused methods. func _TestLinkerGC(t *testing.T) { if testing.Short() { t.Skip("skipping in short mode") } testenv.MustHaveGoBuild(t) const prog = `package main import ( _ "text/template" ) type T struct{} func (t *T) Unused() { println("THIS SHOULD BE ELIMINATED") } func (t *T) Used() {} var sink *T func main() { var t T sink = &t t.Used() } ` td, err := os.MkdirTemp("", "text_template_TestDeadCodeElimination") if err != nil { t.Fatal(err) } defer os.RemoveAll(td) if err := os.WriteFile(filepath.Join(td, "x.go"), []byte(prog), 0644); err != nil { t.Fatal(err) } cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", "x.exe", "x.go") cmd.Dir = td if out, err := cmd.CombinedOutput(); err != nil { t.Fatalf("go build: %v, %s", err, out) } slurp, err := os.ReadFile(filepath.Join(td, "x.exe")) if err != nil { t.Fatal(err) } if bytes.Contains(slurp, []byte("THIS SHOULD BE ELIMINATED")) { t.Error("binary contains code that should be deadcode eliminated") } }
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.13 package template_test import ( "bytes" "github.com/gohugoio/hugo/tpl/internal/go_templates/testenv" "os" "os/exec" "path/filepath" "testing" ) // Issue 36021: verify that text/template doesn't prevent the linker from removing // unused methods. func _TestLinkerGC(t *testing.T) { if testing.Short() { t.Skip("skipping in short mode") } testenv.MustHaveGoBuild(t) const prog = `package main import ( _ "text/template" ) type T struct{} func (t *T) Unused() { println("THIS SHOULD BE ELIMINATED") } func (t *T) Used() {} var sink *T func main() { var t T sink = &t t.Used() } ` td, err := os.MkdirTemp("", "text_template_TestDeadCodeElimination") if err != nil { t.Fatal(err) } defer os.RemoveAll(td) if err := os.WriteFile(filepath.Join(td, "x.go"), []byte(prog), 0644); err != nil { t.Fatal(err) } cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", "x.exe", "x.go") cmd.Dir = td if out, err := cmd.CombinedOutput(); err != nil { t.Fatalf("go build: %v, %s", err, out) } slurp, err := os.ReadFile(filepath.Join(td, "x.exe")) if err != nil { t.Fatal(err) } if bytes.Contains(slurp, []byte("THIS SHOULD BE ELIMINATED")) { t.Error("binary contains code that should be deadcode eliminated") } }
-1
gohugoio/hugo
8,131
markup: Allow arbitrary Asciidoc extension in unsafe mode
This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
gzagatti
"2021-01-11T08:36:17Z"
"2021-02-22T12:52:04Z"
c8f45d1d861f596821afc068bd12eb1213aba5ce
01dd7c16af6204d18d530f9d3018689215482170
markup: Allow arbitrary Asciidoc extension in unsafe mode. This PR implements proposal #7698 which allows for arbitrary Asciidoc extensions in unsafe mode expanding the range of possibilities when using this markup language. The proposal allows for arbitrary extension when [`SafeMode`](https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/) option is set to `unsafe`. Any stricter mode would prevent arbitrary extensions and only those listed in the [configuration](https://github.com/gohugoio/hugo/blob/master/markup/asciidocext/asciidocext_config/config.go#L40) would be allowed.
./config/privacy/privacyConfig_test.go
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package privacy import ( "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/config" "github.com/spf13/viper" ) func TestDecodeConfigFromTOML(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [privacy] [privacy.disqus] disable = true [privacy.googleAnalytics] disable = true respectDoNotTrack = true anonymizeIP = true useSessionStorage = true [privacy.instagram] disable = true simple = true [privacy.twitter] disable = true enableDNT = true simple = true [privacy.vimeo] disable = true enableDNT = true simple = true [privacy.youtube] disable = true privacyEnhanced = true simple = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) got := []bool{ pc.Disqus.Disable, pc.GoogleAnalytics.Disable, pc.GoogleAnalytics.RespectDoNotTrack, pc.GoogleAnalytics.AnonymizeIP, pc.GoogleAnalytics.UseSessionStorage, pc.Instagram.Disable, pc.Instagram.Simple, pc.Twitter.Disable, pc.Twitter.EnableDNT, pc.Twitter.Simple, pc.Vimeo.Disable, pc.Vimeo.EnableDNT, pc.Vimeo.Simple, pc.YouTube.PrivacyEnhanced, pc.YouTube.Disable, } c.Assert(got, qt.All(qt.Equals), true) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [Privacy] [Privacy.YouTube] PrivacyENhanced = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, true) } func TestDecodeConfigDefault(t *testing.T) { c := qt.New(t) pc, err := DecodeConfig(viper.New()) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, false) }
// Copyright 2018 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package privacy import ( "testing" qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/config" "github.com/spf13/viper" ) func TestDecodeConfigFromTOML(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [privacy] [privacy.disqus] disable = true [privacy.googleAnalytics] disable = true respectDoNotTrack = true anonymizeIP = true useSessionStorage = true [privacy.instagram] disable = true simple = true [privacy.twitter] disable = true enableDNT = true simple = true [privacy.vimeo] disable = true enableDNT = true simple = true [privacy.youtube] disable = true privacyEnhanced = true simple = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) got := []bool{ pc.Disqus.Disable, pc.GoogleAnalytics.Disable, pc.GoogleAnalytics.RespectDoNotTrack, pc.GoogleAnalytics.AnonymizeIP, pc.GoogleAnalytics.UseSessionStorage, pc.Instagram.Disable, pc.Instagram.Simple, pc.Twitter.Disable, pc.Twitter.EnableDNT, pc.Twitter.Simple, pc.Vimeo.Disable, pc.Vimeo.EnableDNT, pc.Vimeo.Simple, pc.YouTube.PrivacyEnhanced, pc.YouTube.Disable, } c.Assert(got, qt.All(qt.Equals), true) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { c := qt.New(t) tomlConfig := ` someOtherValue = "foo" [Privacy] [Privacy.YouTube] PrivacyENhanced = true ` cfg, err := config.FromConfigString(tomlConfig, "toml") c.Assert(err, qt.IsNil) pc, err := DecodeConfig(cfg) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, true) } func TestDecodeConfigDefault(t *testing.T) { c := qt.New(t) pc, err := DecodeConfig(viper.New()) c.Assert(err, qt.IsNil) c.Assert(pc, qt.Not(qt.IsNil)) c.Assert(pc.YouTube.PrivacyEnhanced, qt.Equals, false) }
-1