Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-16Update to Go 1.15Bjørn Erik Pedersen
Fixes #7554
2020-05-17Update to Go 1.14.3 and Go 1.13.11Bjørn Erik Pedersen
2020-03-20Update to Go 1.14.1 and 1.13.9Bjørn Erik Pedersen
Fixes #7078
2020-02-26Update to Go 1.14 and 1.13.8Bjørn Erik Pedersen
Fixes #6958
2020-02-16Add "go mod verify" to build scriptsBjørn Erik Pedersen
2020-01-31Update to Go 1.13.7 and Go 1.12.16Bjørn Erik Pedersen
Fixes #6830
2019-11-25Update to Go 1.13.4 and Go 1.12.13Bjørn Erik Pedersen
2019-11-08travis: Increase timeout to 30000 for mage -v checkAnthony Fok
The default timeout of 15000 millisecond is too short for go test -race on arm64. See golang/go#35308
2019-11-04travis: Allow arm64 to failBjørn Erik Pedersen
As that is what it does at the moment.
2019-11-01Update .travis.yml for arm64 support, etc.Anthony Fok
- Add arm64 support for Linux thanks to Travis CI’s new feature, see https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support - Force GO111MODULE=on - Cache directories - Switch to bionic (Ubuntu 18.04) environment - Use "master" instead of "tip" to match the latest Travis CI docs - Allow "mage -v check" to fail on non-AMD64 architectures because "go test -race ./..." currently fails on arm64 and ppc64le.
2019-10-10Update to Go 1.12.10 and 1.13.1Bjørn Erik Pedersen
Fixes #6406
2019-09-04Update to Go 1.13Bjørn Erik Pedersen
Fixes #6304
2019-09-03Update to Go 1.11.13 and 1.12.9Bjørn Erik Pedersen
Fixes #6228
2019-08-17Revert "Update to Go 1.11.13 and 1.12.9"Bjørn Erik Pedersen
This reverts commit f28efd35820dc4909832c14dfd8ea6812ecead31.
2019-08-16Update to Go 1.11.13 and 1.12.9Bjørn Erik Pedersen
Fixes #6228
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-05-15Update to Go 1.12.5 and Go 1.11.10Bjørn Erik Pedersen
Fixes #5944
2019-05-03travis: Use proxy.golang.orgBjørn Erik Pedersen
2019-04-07Update to Go 1.12.2 and Go 1.11.7Bjørn Erik Pedersen
Fixes #5819
2019-03-17Update to Go 1.12.1 and Go 1.11.6Bjørn Erik Pedersen
Fixes #5755
2019-03-07Update to Go 1.12Bjørn Erik Pedersen
Fixes #5716
2019-03-05Update Travis config to work for forked buildsgrahamjamesaddis
2019-01-31Bump to Go 1.11.5Bjørn Erik Pedersen
Fixes #5654
2018-12-19Update to Go 1.11.4Bjørn Erik Pedersen
Fixes #5524
2018-11-13Add Windows build config to TravisEmir Beganović
2018-09-24ci: Add "go mod download" to CI scriptsBjørn Erik Pedersen
To hopefully make them less flaky.
2018-09-06Fix broken Travis configBjørn Erik Pedersen
See https://github.com/magefile/mage/issues/79
2018-08-28travis: Set GO111MODULE=on for mage installBjørn Erik Pedersen
See #5115
2018-08-25Use Go 1.11 modules with MageBjørn Erik Pedersen
See #5115
2018-08-25Update Travis to Go 1.11 and Go 1.10.4Bjørn Erik Pedersen
See #5115
2018-07-06Add Hugo Piper with SCSS support and much moreBjørn Erik Pedersen
Before this commit, you would have to use page bundles to do image processing etc. in Hugo. This commit adds * A new `/assets` top-level project or theme dir (configurable via `assetDir`) * A new template func, `resources.Get` which can be used to "get a resource" that can be further processed. This means that you can now do this in your templates (or shortcodes): ```bash {{ $sunset := (resources.Get "images/sunset.jpg").Fill "300x200" }} ``` This also adds a new `extended` build tag that enables powerful SCSS/SASS support with source maps. To compile this from source, you will also need a C compiler installed: ``` HUGO_BUILD_TAGS=extended mage install ``` Note that you can use output of the SCSS processing later in a non-SCSSS-enabled Hugo. The `SCSS` processor is a _Resource transformation step_ and it can be chained with the many others in a pipeline: ```bash {{ $css := resources.Get "styles.scss" | resources.ToCSS | resources.PostCSS | resources.Minify | resources.Fingerprint }} <link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Digest }}" media="screen"> ``` The transformation funcs above have aliases, so it can be shortened to: ```bash {{ $css := resources.Get "styles.scss" | toCSS | postCSS | minify | fingerprint }} <link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Digest }}" media="screen"> ``` A quick tip would be to avoid the fingerprinting part, and possibly also the not-superfast `postCSS` when you're doing development, as it allows Hugo to be smarter about the rebuilding. Documentation will follow, but have a look at the demo repo in https://github.com/bep/hugo-sass-test New functions to create `Resource` objects: * `resources.Get` (see above) * `resources.FromString`: Create a Resource from a string. New `Resource` transformation funcs: * `resources.ToCSS`: Compile `SCSS` or `SASS` into `CSS`. * `resources.PostCSS`: Process your CSS with PostCSS. Config file support (project or theme or passed as an option). * `resources.Minify`: Currently supports `css`, `js`, `json`, `html`, `svg`, `xml`. * `resources.Fingerprint`: Creates a fingerprinted version of the given Resource with Subresource Integrity.. * `resources.Concat`: Concatenates a list of Resource objects. Think of this as a poor man's bundler. * `resources.ExecuteAsTemplate`: Parses and executes the given Resource and data context (e.g. .Site) as a Go template. Fixes #4381 Fixes #4903 Fixes #4858
2018-06-15Update to Go 1.9.7 and Go 1.10.3Anthony Fok
for Travis CI, Docker and Snap
2018-04-09Bump Go versionsBjørn Erik Pedersen
Fixes #4545
2018-04-07travis: Disable shallow clone to fix TestPageWithLastmodFromGitInfoAnthony Fok
Fixes #4584
2018-04-02travis: Clean up and increase verbosityAnthony Fok
2018-04-02travis: Run "gem install" without sudoAnthony Fok
Running "sudo gem install" was causing random errors like the following: ERROR: While executing gem ... (Errno::EACCES) Permission denied @ rb_sysopen - /home/travis/.rvm/gems/ruby-2.4.1/cache/asciidoctor-1.5.6.2.gem Perhaps sudo is no longer necessary, even on OS X? :-)
2018-03-26travis: Move to Ubuntu Trusty imageAnthony Fok
2018-02-17Second try: Update to Go 1.10 (!)Bjørn Erik Pedersen
2018-02-17Revert "Update to Go 1.10 (!)"Bjørn Erik Pedersen
This reverts commit ff10c15a93632043f7a7f6551a30487c9ef58c50.
2018-02-17Update to Go 1.10 (!)Bjørn Erik Pedersen
See https://blog.golang.org/go1.10
2018-02-07Bump Travis/Snapcraft to Go 1.9.4Bjørn Erik Pedersen
2018-01-26travis: Re-enable macOS buildsBjørn Erik Pedersen
2018-01-26Update to Go 1.9.3Bjørn Erik Pedersen
Fixes #4328
2018-01-23travis: Disable macOS builds for nowBjørn Erik Pedersen
Travis have not been able to build those the last week or so.
2017-11-08Update Travis and snapcraft to Go 1.9.2Bjørn Erik Pedersen
See #4064
2017-10-05Bump Go versions in Travis configBjørn Erik Pedersen
2017-10-05Replace make with mageBjørn Erik Pedersen
Fixes #3937
2017-08-25Update Travis build to Go 1.9!Bjørn Erik Pedersen
Just released: https://blog.golang.org/go1.9
2017-08-11travis: Pull docutils out into requirements.txtBjørn Erik Pedersen
2017-08-11travis: Fix docutils setupBjørn Erik Pedersen