Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-16 | Create a struct with all of Hugo's config options | Bjørn Erik Pedersen | |
Primary motivation is documentation, but it will also hopefully simplify the code. Also, * Lower case the default output format names; this is in line with the custom ones (map keys) and how it's treated all the places. This avoids doing `stringds.EqualFold` everywhere. Closes #10896 Closes #10620 | |||
2019-04-07 | Adjust rlimit logic | Bjørn Erik Pedersen | |
Closes #5821 | |||
2018-04-11 | commands: Move the commands related logic to its own file | Bjørn Erik Pedersen | |
See #4598 | |||
2018-04-11 | commands: Make the hugo command non-global | Bjørn Erik Pedersen | |
See #4598 | |||
2018-04-11 | comands: Make the config command non-global | Bjørn Erik Pedersen | |
See #4598 | |||
2018-04-11 | commands: Make more commands non-global | Bjørn Erik Pedersen | |
See #4598 | |||
2017-06-12 | commands: Adjust rlimit to 64000 | Bjørn Erik Pedersen | |
See #3582 | |||
2017-06-12 | commands: Make error on setting rlimit a warning only | Bjørn Erik Pedersen | |
And reduce it to 10000. Closes #3582 | |||
2017-06-12 | Revert "commands: Remove the rlimit tweaking on macOS" | Bjørn Erik Pedersen | |
This reverts commit bcd32f1086c8c604fb22a7496924e41cc46b1605. See #3582 | |||
2017-05-23 | commands: Remove the rlimit tweaking on macOS | Bjørn Erik Pedersen | |
Fixes #3512 | |||
2017-01-05 | commans: Remove unneeded build constraint | Bjørn Erik Pedersen | |
Fixes #2886 | |||
2015-12-10 | Add copyright header to that source files that don’t have one. | Anthony Fok | |
See #1646 | |||
2015-12-07 | Fix copyright headers in source files | Bjørn Erik Pedersen | |
Still need to add some missing headers and an AUTHORS file. See #1646 | |||
2015-12-02 | One more error fix in the server command | Anthony Fok | |
And some other small code clean-up. See #1502 | |||
2015-12-02 | Improve error handling in commands | Bjørn Erik Pedersen | |
Cobra, the CLI commander in use in Hugo, has some long awaited improvements in the error handling department. This enables a more centralized error handling approach. This commit introduces that by changing all the command funcs to `RunE`: * The core part of the error logging, usage logging and `os.Exit(-1)` is now performed in one place and that one place only. * The usage text is now only shown on invalid arguments etc. (user errors) Fixes #1502 | |||
2015-11-23 | Change the license to Apache 2.0 | Steve Francia | |
2014-03-31 | Adding support for logging & verbose logging. Consolidation of error ↵ | spf13 | |
handling. Integration of jWalterWeatherman library. Fixed #137 | |||
2014-02-21 | Fix imports so hugo builds on darwin | spf13 | |
2014-02-18 | Fix build | mattn | |