Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-04 | output: Support templates per site/language | Bjørn Erik Pedersen | |
This applies to both regular templates and shortcodes. So, if the site language is French and the output format is AMP, this is the (start) of the lookup order for the home page: 1. index.fr.amp.html 2. index.amp.html 3. index.fr.html 4. index.html 5. ... Fixes #3360 | |||
2017-06-26 | Support open "current content page" in browser | Bjørn Erik Pedersen | |
This commit adds a new `--navigateToChanged` and config setting with the same name, that, when running the Hugo server with live reload enabled, will navigate to the current content file's URL on save. This is really useful for site-wide content changes (copyedits etc.). Fixes #3643 | |||
2017-06-13 | hugolib: Disable shaky leaktest on CI | Bjørn Erik Pedersen | |
2017-06-13 | Run gofmt to get imports in line vs gohugoio/hugo | Bjørn Erik Pedersen | |
2017-06-13 | all: Update import paths to gohugoio/hugo | Bjørn Erik Pedersen | |
2017-06-02 | hugolib: Bump leaktest timeout to 30 seconds | Bjørn Erik Pedersen | |
To try to make it less flaky. | |||
2017-05-31 | hugolib: Increase leaktest timeout | Bjørn Erik Pedersen | |
To try to less flaky test. | |||
2017-05-30 | hugolib: Adjust timeout for leaktest | Bjørn Erik Pedersen | |
2017-05-23 | hugolib: Enable leaktest | Bjørn Erik Pedersen | |
See #3082 | |||
2017-04-02 | hugolib, i18n: Update tests with flat format and TOML files | Albert Nigmatzianov | |
2017-03-27 | Remove the now superflous defaultExtension | Bjørn Erik Pedersen | |
And some other unsed fields and methods. | |||
2017-03-27 | hugolib, tplimpl: Use OutputFormats to create atom links | Bjørn Erik Pedersen | |
2017-03-27 | hugolib, output: Fix RSSLink vs output formats | Bjørn Erik Pedersen | |
And remove the now superflous setPageURLs method. | |||
2017-03-27 | hugolib: Refactor/-work the permalink/target path logic | Bjørn Erik Pedersen | |
This is a pretty fundamental change in Hugo, but absolutely needed if we should have any hope of getting "multiple outputs" done. This commit's goal is to say: * Every file target path is created by `createTargetPath`, i.e. one function for all. * That function takes every page and site parameter into account, to avoid fragile string parsing to uglify etc. later on. * The path creation logic has full test coverage. * All permalinks, paginator URLs etc. are then built on top of that same logic. Fixes #1252 Fixes #2110 Closes #2374 Fixes #1885 Fixes #3102 Fixes #3179 Fixes #1641 Fixes #1989 | |||
2017-03-27 | Implement the first generic JSON output testcase | Bjørn Erik Pedersen | |
2017-03-01 | hugolib: Only return RSSLink when RSS is available | Bjørn Erik Pedersen | |
Fixes #1302 | |||
2017-02-28 | hugolib: Only consider regular pages in Prev/Next | Bjørn Erik Pedersen | |
Fixes #3108 | |||
2017-02-22 | hugolib: Temporarily disable leaktest | Bjørn Erik Pedersen | |
See #3082 | |||
2017-02-20 | hugolib: Finish menu vs section content pages | Bjørn Erik Pedersen | |
This commit also fixes the default menu sort when the weight is 0. Closes #2974 | |||
2017-02-18 | hugolib: Add disableKinds option | Bjørn Erik Pedersen | |
Fixes #2534 | |||
2017-02-18 | hugolib: More test helper cleanup | Bjørn Erik Pedersen | |
2017-02-17 | hugolib: Test helper cleanup | Bjørn Erik Pedersen | |
2017-02-17 | hugolib: Add test case for empty Pages in regular pages | Bjørn Erik Pedersen | |
Fixes #2947 | |||
2017-02-17 | all: Refactor to nonglobal Viper, i18n etc. | Bjørn Erik Pedersen | |
This is a final rewrite that removes all the global state in Hugo, which also enables the use if `t.Parallel` in tests. Updates #2701 Fixes #3016 | |||
2017-02-04 | all: Refactor to nonglobal file systems | Bjørn Erik Pedersen | |
Updates #2701 Fixes #2951 | |||
2017-01-08 | hugolib: Avoid double-encoding of paginator URLs | Bjørn Erik Pedersen | |
Fixes #2177 | |||
2017-01-07 | all: Refactor to non-global logger | Bjørn Erik Pedersen | |
Note that this looks like overkill for just the logger, and that is correct, but this will make sense once we start with the template handling etc. Updates #2701 | |||
2016-12-27 | hugolib: Fix IsTranslated for "old" node types | Bjørn Erik Pedersen | |
The new logic for creating Page objects from old node types didn't include itself in the translation logic, so `IsTranslated` returned falsely false for sites with only two languages. The `AllTranslations` method also returned too few pages in that case. This commit fixes that. Fixes #2812 | |||
2016-12-21 | hugolib: Add a test assertion for IsTranslated | Bjørn Erik Pedersen | |
See #2812 | |||
2016-12-01 | hugolib: Make RawContent raw again | Bjørn Erik Pedersen | |
This was a regression introduced in Hugo 0.17. Fixes #2601 | |||
2016-11-22 | node to page: Handle URLs | Bjørn Erik Pedersen | |
This includes removing the error return value from Permalink and RelPermalink. We ignore that error all over the place, so we might as well remove it. Updates #2297 | |||
2016-11-22 | node to page: Remove Node | Bjørn Erik Pedersen | |
And misc. TODO-fixes Updates #2297 | |||
2016-11-22 | node to page: Rename PageType to Kind | Bjørn Erik Pedersen | |
And embed that on Page. Updates #2297 | |||
2016-11-22 | node to page: Handle Date and Lastmod | Bjørn Erik Pedersen | |
Updates #2297 |