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
2016-09-26commands: Revise instructions after "hugo new site"Anthony Fok
mainly to fit inside 80-column wide terminal windows. See #1164
2016-09-19commands: Add some band-aid to convertBjørn Erik Pedersen
Fixes #2458
2016-09-13commands: Improve error messages in convertBjørn Erik Pedersen
See #2440
2016-09-13commands: Report errors in convertBjørn Erik Pedersen
Fixes #2440
2016-09-13Fix broken convert commandBjørn Erik Pedersen
Fixes #2437
2016-09-12commands: Fix typosAlbert
2016-09-11Replace some leftover os.Stat with hugofs.SourceBjørn Erik Pedersen
2016-09-11commands: Delete useless conversionbogem
2016-09-11commands: Simplify err conditionbogem
2016-09-11commands: Delete unused newUserErrorFbogem
2016-09-11Fixe target path location check in jekyll import commandJelmer Tiete
2016-09-06Add a global Reset funcBjørn Erik Pedersen
So we can do some benchmarking.
2016-09-06Handle error in config loadingBjørn Erik Pedersen
See #2309
2016-09-06Improve i18n string handlingBjørn Erik Pedersen
* Fall back to default language on missing translation file * Add a i18n-warnings build flag * If that flag is set, print a parseable and greppable string on missing translation strings See #2303
2016-09-06Make the check command work in multilingual modeBjørn Erik Pedersen
Or: some more multilingual TODO-fixes. See #2309
2016-09-06Multilingual TODO-fixes, take 1Bjørn Erik Pedersen
See #2309
2016-09-06Fix livereload in multilingual modeBjørn Erik Pedersen
See #2309
2016-09-06Make it possible to add a language in server modeBjørn Erik Pedersen
See #2309
2016-09-06cmd: Load config from the common config loader in hugolibBjørn Erik Pedersen
See #2309
2016-09-06Get the list commands up to multi-site levelBjørn Erik Pedersen
This commit also unexports some Site methods, making it clear what the external build API really is. See #2312
2016-09-06Make taxonomies configurable per languageBjørn Erik Pedersen
See #2312
2016-09-06Rework the multilingual docsBjørn Erik Pedersen
And in the same go adjusted some minor parts of the language API: Add LanguagePrefix alias to Node and rename the Multilingual config section to Languages. See #2309
2016-09-06Optimize the multilanguage build processBjørn Erik Pedersen
Work In Progress! This commit makes a rework of the build and rebuild process to better suit a multi-site setup. This also includes a complete overhaul of the site tests. Previous these were a messy mix that were testing just small parts of the build chain, some of it testing code-paths not even used in "real life". Now all tests that depends on a built site follows the same and real production code path. See #2309 Closes #2211 Closes #477 Closes #1744
2016-09-06Move the Build* methods to HugoSitesBjørn Erik Pedersen
See #2309
2016-09-06Move HugoSites to hugolibBjørn Erik Pedersen
It will get more involved in the build process in a minute. See #2309
2016-09-06Introduce HugoSites typeBjørn Erik Pedersen
And a Hugo global variable which contains the site under build. This is really needed to get some level of control of the "multiple languages" in play. There are still work related to this scattered around, but that will come. With this commit, the multilingual feature is starting to work.
2016-09-06Rename MainSites to SitesBjørn Erik Pedersen
Having many *main* sites doesn't make much sense.
2016-09-06Add Translations and AllTranslations methods to PageBjørn Erik Pedersen
Will revisit Node later.
2016-09-06Add proper Language and Languages typesBjørn Erik Pedersen
2016-09-06Add multilingual support in HugoAlexandre Bourget
Implements: * support to render: * content/post/whatever.en.md to /en/2015/12/22/whatever/index.html * content/post/whatever.fr.md to /fr/2015/12/22/whatever/index.html * gets enabled when `Multilingual:` is specified in config. * support having language switchers in templates, that know where the translated page is (with .Page.Translations) (when you're on /en/about/, you can have a "Francais" link pointing to /fr/a-propos/) * all translations are in the `.Page.Translations` map, including the current one. * easily tweak themes to support Multilingual mode * renders in a single swift, no need for two config files. Adds a couple of variables useful for multilingual sites Adds documentation (content/multilingual.md) Added language prefixing for all URL generation/permalinking see in the code base. Implements i18n. Leverages the great github.com/nicksnyder/go-i18n lib.. thanks Nick. * Adds "i18n" and "T" template functions..
2016-08-20Switch to a more up to date TOML libraryBjørn Erik Pedersen
Fixes #2089
2016-08-16Add a global Reset funcBjørn Erik Pedersen
So we can do some benchmarking.
2016-08-14commands: Suppress 'missing static' errorKishin Yagami
Fixes #2311
2016-08-02Fix for meminterval not using specified intervalJeremy Brown
Hugo seems to ignore the meminterval I specify and always uses it's default of 100ms. This seems to be because Hugo tries to take the meminterval from the command line (an Int) and converts it to a String and passes it to time.ParseDuration. If you pass a different meminterval (such as `1000` as above) it will fail (time.ParseDuration requires some units) and use the default instead. Changed `meminterval` to be a String and added better documentation for valid time units. Resolves: #2325
2016-07-30Use the Afero source fs where relevantBjørn Erik Pedersen
Fixes #2319
2016-07-26Be less aggressive with CHMOD filesystem eventsPedro Melo
On 4679fbee41d3, rebuild was disabled on CHMOD filesystem events, but the code is overly aggressive. In some situations, specially with older Mac's (using a Late 2008 Macbook), the events we receive might be aggregated. On my particular laptop, I get this events: INFO: 2016/07/26 18:08:51 hugo.go:737: Received System Events: ["<path>": WRITE|CHMOD] These events are ignored because the code only checks for Chmod. This commit fixes this by checking that the event is also not a Write or Create. Related to #1587.
2016-07-11Ignore emacs temp filesAlexandre Bourget
2016-07-08Make auto-date disabled by defaultVincent Batoufflet
Fixes #2244 Closes #2260
2016-07-07Make config flag globalBjørn Erik Pedersen
Fixes #2261
2016-06-30commands: Allow schema-less baseURL on command lineCameron Moore
Fixes #1632
2016-06-22Fix example for autocompleteBjørn Erik Pedersen
See #2235
2016-06-16commands: Specify os port generic errorsHanchen Wang
Closes #2217
2016-06-15commands: Fix charsets in mimetypesBjørn Erik Pedersen
Fixes #2218
2016-06-14commands: Add listExpiredCmd for expired pagesHanchen Wang
2016-06-14commands: Add buildExpired flagHanchen Wang
2016-06-09Change hugo to Hugo in help textBjørn Erik Pedersen
2016-06-03Ignore __jb_tmp___ files created by IntelliJSteve Francia
2016-06-03Annotate temp files that Hugo ignoresSteve Francia
2016-05-06Ignore Byword temp filesBjørn Erik Pedersen
Fixes #2126
2016-04-27commands: Sett mime type for CSS in Hugo serverBjørn Erik Pedersen
Fixes #2104