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-12-03all: Format code with gofumptBjørn Erik Pedersen
See https://github.com/mvdan/gofumpt
2019-04-05Add HUGO_NUMWORKERMULTIPLIERBjørn Erik Pedersen
And use that to calculate number of workers, if set, else fall back to number of logical CPUs. Also tweak the relevant related settings to match the new setup. Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5. Fixes #5814
2018-04-11commands: Make commands.Execute return a Response objectBjørn Erik Pedersen
We have no global `Hugo` object no more (yay!), and there are some external tools that depends on that value. These tools need to use get that value from `Response.Result`. Note that `commands.Execute` now also takes the arguments as a string slice. This should also make it easier to use, not having to modify `os.Args`. This commit also wraps up this particular issue. Phew! Test coverage in /commands before: 14.4% Now: 53.5% Still work to do, now it is at least possible. Closes #4598
2018-04-11commands: Remove the Hugo globalBjørn Erik Pedersen
There are still some cleaning to do, but that felt good. See #4598
2018-04-11commands: Add CLI testsBjørn Erik Pedersen
See #4598
2017-06-13all: Update import paths to gohugoio/hugoBjørn Erik Pedersen
2017-03-27Exit -1 on ERROR in non-global loggerBjørn Erik Pedersen
Fixes #3239
2016-03-11Exit with error code on any errorBjørn Erik Pedersen
Fixes #740
2015-12-07Fix copyright headers in source filesBjørn Erik Pedersen
Still need to add some missing headers and an AUTHORS file. See #1646
2015-11-24Change the license to Apache 2.0Steve Francia
2014-09-08More proofreading and minor revisions to Hugo docsAnthony Fok
Among the various changes, most instances of {{ template "partials/FILE.html" . }} were changed to {{ partial "FILE.html" . }} Also, in main.go, change "2013" to "2013-14".
2014-03-31Adding support for logging & verbose logging. Consolidation of error ↵spf13
handling. Integration of jWalterWeatherman library. Fixed #137
2014-03-06Parallelizing the largest build processes (templates, pages, indexes). ↵spf13
Seeing 300%+ improvement of total build time.
2013-09-29Change the interface to use commands and flags instead of just flags.spf13
Better organization of main (controller style) code.
2013-09-01Return an error (other than 0) when ./hugo failsNoah Campbell
Being a good OS citizen so folks can compose hugo into their tool chain. Also helps with git bisect run.
2013-08-20Static changes shouldn't be destructive to existing filesRoss Lawley
Currently changing css deletes all the site published html when it copies. Refs #46
2013-08-19Watch StaticDir and sync to PublishDir on changerawfalafel
New behavior adds a special case for file changes inside the static directory to fsync PublishDir
2013-08-14Clarify uglyurls flag.VonC
Mention more clearly that, for generating `/filename.html`, you need to set the `uglyurls` flag to `true`.
2013-08-10Nitro timer is encapsulated.Noah Campbell
Remove the need for NewSite by relying on appropriate defaults. Renamed site.c to site.Config to allow Sites to be created outside the package.
2013-08-09Make sure hugo --version prints the version and does *nothing* else.VonC
Any program, when asks to print their version, only prints that, and then stops. hugo checks the config (and prints a warning message if not found), and proceeds to generate the site! Yet, the user just wanted to check the version. This patch makes sure hugo stops after printing the version.
2013-08-02Adding error message when no content pages exists.Noah Campbell
2013-07-30copying static content to destinationspf13
2013-07-27Adding support for destination dir, split out staticspf13
2013-07-26fixing bug with server not finding right pathspf13
2013-07-26adding more verbose output to server functionalityspf13
2013-07-19Adding proper command line option parsingspf13
2013-07-19Default is now pretty urls (without .html)spf13
Adding --uglyurls option to retain previous behavior
2013-07-12Now support for config files as yaml, json or tomlspf13
2013-07-11fixing incorrect import pathspf13
2013-07-10Adding total time to generated stats.spf13
2013-07-10Writing relative links to absolute so they work in feedsspf13
2013-07-09Adding version number to command line optionsspf13
2013-07-07changing to suport yaml rather than json and adding optional ↵tycho garen
restructuredtext support
2013-07-07sanity: move from json to yamltycho garen
2013-07-04adding hugospf13