summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
2019-07-23deps: TidyBjørn Erik Pedersen
2019-07-22Fix livereload for @import caseBjørn Erik Pedersen
Fixes #6106
2019-07-20releaser: Remove unused functionpeaceiris
gitLog function is not used
2019-07-19deps: Update xerrorsBjørn Erik Pedersen
To get it to build on Go 1.13.
2019-07-17travis: Ignore errors in go mod downloadBjørn Erik Pedersen
It sometimes fails with 502 errors, but the dependency download later when tests are run.
2019-07-16deps: Update ChromaBjørn Erik Pedersen
Fixes #6088
2019-07-16resource/postcss: Change postcss to check for local installation under ↵Eric Selin
node_modules/.bin Fixes #5091
2019-07-15Merge commit '35febb2e2a3780c3338a2665fddea7dda28a17f4'Bjørn Erik Pedersen
2019-07-15Squashed 'docs/' changes from 0c3c04fd6..540aeddc7Bjørn Erik Pedersen
540aeddc7 Small fixes for Open Graph internal template 47bbb3fd7 Bump lodash.template from 4.4.0 to 4.5.0 in /themes/gohugoioTheme 64c1cc3db Update title.md 36c27be37 Update configuration.md 4627cfe9a added commento.io to the list 341d9d945 Fix link to font assets 4a6876dec Small typo fix in configuration.md 736d6ddd7 Add bypasscensorship.org showcase. de7ab636b Use actual width in image processing examples 6c88ab2da Update directory-structure.md 88f559e81 Fix spelling mistakes 7bd427141 Rephrase four points from Hosting on Github docs bce1b1832 Fix typos for absLangURL and relLangURL functions abab57335 Update directory-structure.md a6716f2ed Fix metadata list 5ef61d912 Fix typo d9e467b8b Actuall show how to generate pages in quickstart 0aadc92e7 Update link to issue theme submission b1902faaa Remove incorrect note about Hugo snap --classic use. d451e7362 Update documentation on page variables ab2233c39 Update publish_to_ghpages.sh 7c120346b Fix typo in syntax highlighting page. f01dc555d Correct some typos be825ade9 Videos plural produces og:video bc962fbdf Updated installing.md file to include linuxbrew installation 08c9f8fc8 Mention 1 MB file size limit in readFile doc 7145e29e2 Fixes bad URL in menus.md for .hasChildren * part of issue #814 0edbd59c4 add warning about .Hugo variable being deprecated 77f74ced5 fix: typo in output-formats.md f71b67f34 Correct typo "RFC339" to "RFC1123Z" (#837) 424c0207a baseurl -> baseURL f4e24a03e Render launched; no invite code needed 37e1101d3 Add Render hosting guide 01d0a6481 Bump js-yaml from 3.12.0 to 3.13.1 in /themes/gohugoioTheme edb7b36b0 Link site hierarchy schema to larger version af72acda0 Fixes typo in fingerprint.md 0a738467b Adding required XML tag to sample templates 52211f656 Remove note that XML declaration is not needed a39b9ac87 Adding required XML tag to sample templates 1a44d8a50 Add configuration information for Azure 5b7c6b5a1 remove google plus 5a64301ba HTTPS link to yaml.org/spec/ git-subtree-dir: docs git-subtree-split: 540aeddc797658a2c3d0e49e944592d2b23b3bb8
2019-07-15tpl/collections: Add Merge functionBjørn Erik Pedersen
Merges two maps recursively and returns a new one. Merge is case-insensitive. Fixes #5992
2019-07-10Add org to front matter formatsNiklas Fasching
actually it's 5, there's also csv. Afaict it's not meant to be used in that way though so let's just add org.
2019-07-10deps: Update go-orgNiklas Fasching
- added support for anonymous footnotes - changed source block html output to more closely resemble emacs org-export output
2019-07-09Fix typo s/Meny/Menu/Kaushal Modi
2019-07-07hugolib: Add testfile to .gitignoreBjørn Erik Pedersen
2019-06-26tpl/tplimpl: Regenerate templatesBjørn Erik Pedersen
2019-06-26Pagination - do not render href if no next itemMark Mandel
When using a html link checker with Hugo, this template consistently causes errors, as it renders `href=""` attributes when next/previous is disabled. This change makes it so that the `href` attribute is not rendered at all if `HasNext` is false - which is better semantically, and makes link checking far easier.
2019-06-26Include path to source page in non-relative ref/relref warningJustin Van Patten
We occasionally see warnings when building our site: ``` WARN 2019/06/25 23:07:08 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}} ``` But the `%q` value is missing, making it difficult to track down the source of the warning. This change addresses that, by including the source path in the warning: ``` WARN 2019/06/25 23:07:31 make non-relative ref/relref page reference(s) in page "blog/my-post/index.md" absolute, e.g. {{< ref "/blog/my-post.md" >}} ```
2019-06-26hugolib: Add another site benchmarkBjørn Erik Pedersen
Also rework test test setup so the benchmarks can also be run as tests, which is useful when creating new benchmarks an make sure they ... work.
2019-06-19commands: Remove comma after URL in new site outputJoshua Arnott
Some terminals include the comma in the URL when hyperlinking, resulting in a 404
2019-06-16deps: Revert to an older version of BlackfridayBjørn Erik Pedersen
See #6040
2019-06-12examples: Update link to prevent redirectChristian Oliff
2019-06-12examples: Update URLsChristian Oliff
2019-06-11releaser: Update Go Releaser and consolidate the 2 configsBjørn Erik Pedersen
Fixes #5949
2019-06-10tpl/collections: Fix slice type handling in sortBjørn Erik Pedersen
The `sort` template func was producing a `[]page.Page` which did not work in `.Paginate`. Fixes #6023
2019-06-09hugolib: Fix bundle path when slug is setBjørn Erik Pedersen
Fixes #4870
2019-06-09tpl/collections: Unwrap any interface value in sort and whereBjørn Erik Pedersen
Hugo `0.55.0` introduced some new interface types for `Page` etc. This worked great in general, but there were cases where this would fail in `where` and `sort`. One such example would be sorting by `MenuItem.Page.Date` where `Page` on `MenuItem` was a small subset of the bigger `page.Page` interface. This commit fixes that by unwrapping such interface values. Fixes #5989
2019-06-08Refactor Org mode front matter: Introduce '#+KEY[]:' array notationNiklas Fasching
Hugo requires some front matter values to be arrays (e.g. for taxonomies). Org mode front matter syntax (`#+KEY: VALUE`) does however not support anything but string values normally - which is why goorgeous hardcoded the values for the keys tags, categories & aliases to be parsed as string arrays. This causes problems with custom taxonomies. A simple thing we can do instead is make keywords ending in '[]' be parsed as string arrays.
2019-06-08Improve Org mode support: Replace goorgeous with go-orgNiklas Fasching
Sadly, goorgeous has not been updated in over a year and still has a lot of open issues (e.g. no support for nested lists). go-org fixes most of those issues and supports a larger subset of Org mode syntax.
2019-06-08deploy: Default --target to the first deployment targetRobert van Gent
2019-06-02Add safety barrier between concatenated javascript resourcesVincent Fiduccia