summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-07-31releaser: Add release notes to /docs for release of 0.56.3v0.56.3hugoreleaser
[ci skip]
2019-07-31releaser: Bump versions for release of 0.56.3hugoreleaser
[ci skip]
2019-07-31releaser: Add release notes for 0.56.3hugoreleaser
[ci skip]
2019-07-31hugolib: Fix bundle header clone logicBjørn Erik Pedersen
Fixes #6136
2019-07-31docs: Regenerate CLI docsBjørn Erik Pedersen
2019-07-31commands: Add "hugo config mounts" commandBjørn Erik Pedersen
This prints the effective file mounts in a project. Fixes #6144
2019-07-31commands: Cleanup the hugo config commandBjørn Erik Pedersen
Most importantly filter out some keys not relevant for the end user. See #6144
2019-07-31Move the mount duplicate filter to the modules packageBjørn Erik Pedersen
Also simplify the mount validation logic. There are plenty of ways a user can create mount configs that behaves oddly.
2019-07-31Allow overlap in module mountsBjørn Erik Pedersen
Fixes #6146
2019-07-31Fix self-mounts on the main projectBjørn Erik Pedersen
Fixes #6143
2019-07-30releaser: Prepare repository for 0.57.0-DEVhugoreleaser
[ci skip]
2019-07-30releaser: Add release notes to /docs for release of 0.56.2v0.56.2hugoreleaser
[ci skip]
2019-07-30releaser: Bump versions for release of 0.56.2hugoreleaser
[ci skip]
2019-07-30releaser: Add release notes for 0.56.2hugoreleaser
[ci skip]
2019-07-30Add some more content language test assertionsBjørn Erik Pedersen
See #6136
2019-07-30commands: Fix config reloading in Vim and similarBjørn Erik Pedersen
The config path was simplified in Hugo 0.56.0 to support more config dirs/files (go.mod etc.), and the new code path assumed that every file change would trigger a `Write` event. This is not true for Vim etc. which triggers a `Chmod` and then a `Rename`. Lesson learned: Be really careful changing Os/editor specific code without proper tests. Fixes #6139
2019-07-30Fix Jekyll importBjørn Erik Pedersen
Fixes #6131
2019-07-30releaser: Create a proper automated title for patch releasesBjørn Erik Pedersen
Fixes #6126
2019-07-30Fix image format detection for upper case extensions, e.g. JPGBjørn Erik Pedersen
This regression was introduced in 0.56.0. Fixes #6137
2019-07-29Fix i18n project vs theme orderBjørn Erik Pedersen
Fixes #6134
2019-07-29Add proper error message when receiving nil in Resource transformationBjørn Erik Pedersen
Closes #6128
2019-07-28Merge branch 'release-0.56.1'Bjørn Erik Pedersen
2019-07-28releaser: Prepare repository for 0.57.0-DEVhugoreleaser
[ci skip]
2019-07-28deps: Update go-org to v0.1.2Niklas Fasching
fixes superfluous whitespace around code blocks due to misuse of pre tag
2019-07-28releaser: Add release notes to /docs for release of 0.56.1v0.56.1hugoreleaser
[ci skip]
2019-07-28releaser: Bump versions for release of 0.56.1hugoreleaser
[ci skip]
2019-07-28releaser: Add release notes for 0.56.1hugoreleaser
[ci skip]
2019-07-28releaser: Make it a one click release for patch releasesBjørn Erik Pedersen
2019-07-28common/maps: Do not return error on params dot access on incompatible typesBjørn Erik Pedersen
This error was introduced in 0.56 and has shown some site breakage in the wild. Fixes #6121
2019-07-28resources: Fix image Width/Height regressionBjørn Erik Pedersen
Fixes #6120
2019-07-26Revert "cache/filecache: Skip resource cache init if the fs is missing"Bjørn Erik Pedersen
I need to revisit this. This reverts commit da4c4a7789d403af3f4f4fdd5dfd3327535e4050.
2019-07-26modules: Set GO111MODULE=onBjørn Erik Pedersen
Fixes #6114
2019-07-26cache/filecache: Skip resource cache init if the fs is missingBjørn Erik Pedersen
Fixes #6113
2019-07-25releaser: Prepare repository for 0.57.0-DEVhugoreleaser
[ci skip]
2019-07-25releaser: Add release notes to /docs for release of 0.56.0v0.56.0hugoreleaser
[ci skip]
2019-07-25releaser: Bump versions for release of 0.56.0hugoreleaser
[ci skip]
2019-07-25Update release notesBjørn Erik Pedersen
2019-07-25releaser: Add release notes draft for 0.56.0hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2019-07-25resources: Fix test on WindowsBjørn Erik Pedersen
2019-07-25docs: Add Hugo Modules docsBjørn Erik Pedersen
2019-07-25Block symlink dir traversal for /staticBjørn Erik Pedersen
This is in line with how it behaved before, but it was lifted a little for the project mount for Hugo Modules, but that could create hard-to-detect loops.
2019-07-24modules: GofmtBjørn Erik Pedersen
2019-07-24modules: Rename disabled => disable in configBjørn Erik Pedersen
2019-07-24hugolib: Fix broken testBjørn Erik Pedersen
2019-07-24hugolib: Add a symdiff testBjørn Erik Pedersen
2019-07-24docs: Regenerate CLI docsBjørn Erik Pedersen
2019-07-24docs: Regenerate data helpersBjørn Erik Pedersen
2019-07-24Merge commit '5cb4e46cfa65bddae8ac5344540e3dd1e4c266b2'Bjørn Erik Pedersen
2019-07-24Squashed 'docs/' changes from 540aeddc7..41aae7abbBjørn Erik Pedersen
41aae7abb Better deploy script example git-subtree-dir: docs git-subtree-split: 41aae7abb37d43db3a38e09f2ef674cce2c98ce9
2019-07-24Add Hugo ModulesBjørn Erik Pedersen
This commit implements Hugo Modules. This is a broad subject, but some keywords include: * A new `module` configuration section where you can import almost anything. You can configure both your own file mounts nd the file mounts of the modules you import. This is the new recommended way of configuring what you earlier put in `configDir`, `staticDir` etc. And it also allows you to mount folders in non-Hugo-projects, e.g. the `SCSS` folder in the Bootstrap GitHub project. * A module consists of a set of mounts to the standard 7 component types in Hugo: `static`, `content`, `layouts`, `data`, `assets`, `i18n`, and `archetypes`. Yes, Theme Components can now include content, which should be very useful, especially in bigger multilingual projects. * Modules not in your local file cache will be downloaded automatically and even "hot replaced" while the server is running. * Hugo Modules supports and encourages semver versioned modules, and uses the minimal version selection algorithm to resolve versions. * A new set of CLI commands are provided to manage all of this: `hugo mod init`, `hugo mod get`, `hugo mod graph`, `hugo mod tidy`, and `hugo mod vendor`. All of the above is backed by Go Modules. Fixes #5973 Fixes #5996 Fixes #6010 Fixes #5911 Fixes #5940 Fixes #6074 Fixes #6082 Fixes #6092