Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-23 | vendor: Fix +-timezones in TOML | Bjørn Erik Pedersen | |
Fixes #29 | |||
2017-06-23 | create: Preserve shortcodes in archetype templates | Bjørn Erik Pedersen | |
Fixes #3623 | |||
2017-06-22 | commands: Create default archetype on new site | Bjørn Erik Pedersen | |
See #3626 | |||
2017-06-22 | create: Fix archetype regression when no archetype file | Bjørn Erik Pedersen | |
Fixes #3626 | |||
2017-06-21 | docs: Update | Bjørn Erik Pedersen | |
2017-06-21 | Update docs | Bjørn Erik Pedersen | |
2017-06-21 | releaser: Fix typo, change "relase" to "release" | Anthony Fok | |
2017-06-21 | Update docs | Bjørn Erik Pedersen | |
2017-06-21 | releaser: Prepare repository for 0.25-DEV | Bjørn Erik Pedersen | |
[ci skip] | |||
2017-06-21 | releaser: Update /docs to 0.24 [ci skip]v0.24 | Bjørn Erik Pedersen | |
2017-06-21 | releaser: Bump versions for release of 0.24 | Bjørn Erik Pedersen | |
[ci skip] | |||
2017-06-21 | releaser: Update /docs [ci skip] | Bjørn Erik Pedersen | |
2017-06-21 | releaser: Add release notes draft for 0.24 | Bjørn Erik Pedersen | |
2017-06-20 | output: Identify extension-less text types as text | Bjørn Erik Pedersen | |
See #3614 | |||
2017-06-20 | Support non-md files as archetype files | Bjørn Erik Pedersen | |
It now properly uses the extension of the target file to determine archetype file. Fixes #3597 Fixes #3618 | |||
2017-06-20 | media, hugolib: Support extension-less media types | Bjørn Erik Pedersen | |
This change is motivated by Netlify's `_redirects` files, which is currently not possible to generate with Hugo. This commit adds a `Delimiter` field to media type, which defaults to ".", but can be blanked out. Fixes #3614 | |||
2017-06-20 | hugolib: Add disableAliases | Bjørn Erik Pedersen | |
Note that even with this setting enabled, the aliases themselves are preserved on the pages. The big motivation for this change is to be able to use the alias definitions to generate `.htaccess` or Netlify's `_redirect` files with server-side redirects. Fixes #3613 | |||
2017-06-19 | parser: Fix handling of quoted brackets in JSON front matter | Bjørn Erik Pedersen | |
Also remove a broken JSON test. Fixes #3511 | |||
2017-06-19 | vendor: Update Viper | Bjørn Erik Pedersen | |
2017-06-19 | hugolib: Fix error handling for JSON front matter | Bjørn Erik Pedersen | |
Fixes #3610 | |||
2017-06-19 | commands, create: Add .Site to the archetype templates | Bjørn Erik Pedersen | |
This commit completes the "The Revival of the Archetypes!" If `.Site` is used in the arcetype template, the site is built and added to the template context. Note that this may be potentially time consuming for big sites. A more complete example would then be for the section `newsletter` and the archetype file `archetypes/newsletter.md`: ``` --- title: "{{ replace .TranslationBaseName "-" " " | title }}" date: {{ .Date }} tags: - x categories: - x draft: true --- <!--more--> {{ range first 10 ( where .Site.RegularPages "Type" "cool" ) }} * {{ .Title }} {{ end }} ``` And then create a new post with: ```bash hugo new newsletter/the-latest-cool.stuff.md ``` **Hot Tip:** If you set the `newContentEditor` configuration variable to an editor on your `PATH`, the newly created article will be opened. The above _newsletter type archetype_ illustrates the possibilities: The full Hugo `.Site` and all of Hugo's template funcs can be used in the archetype file. Fixes #1629 | |||
2017-06-18 | create: Use archetype template as-is as a Go template | Bjørn Erik Pedersen | |
This commit removes the fragile front matter decoding, and takes the provided archetype file as-is and processes it as a template. This also means that we no longer will attempt to fill in default values for `title` and `date`. The upside is that it is now easy to create these values in a dynamic way: ```toml +++ title = {{ .BaseFileName | title }} date = {{ .Date }} draft = true +++ ``` You can currently use all of Hugo's template funcs, but the data context is currently very shallow: * `.Type` gives the archetype kind provided * `.Name` gives the target file name without extension. * `.Path` gives the target file name * `.Date` gives the current time as RFC3339 formatted string The above will probably be extended in #1629. Fixes #452 Updates #1629 | |||
2017-06-17 | Update links to new discuss URL | Bjørn Erik Pedersen | |
2017-06-16 | vendor: Update deps | Bjørn Erik Pedersen | |
2017-06-16 | releaser: Add TODO | Bjørn Erik Pedersen | |
2017-06-16 | releaser: Prepare repository for 0.24-DEV | Bjørn Erik Pedersen | |
[ci skip] | |||
2017-06-16 | releaser: Update /docs to 0.23 [ci skip]v0.23 | Bjørn Erik Pedersen | |
2017-06-16 | releaser: Bump versions for release of 0.23 | Bjørn Erik Pedersen | |
[ci skip] | |||
2017-06-16 | releaser: Update /docs [ci skip] | Bjørn Erik Pedersen | |
2017-06-16 | releaser: Adjust | Bjørn Erik Pedersen | |
2017-06-16 | releaser: Add release notes draft for 0.23 | Bjørn Erik Pedersen | |
[ci skip] | |||
2017-06-16 | releaser: Adapt release logic to docs submodule | Bjørn Erik Pedersen | |
2017-06-14 | Update logo link in README | Bjørn Erik Pedersen | |
2017-06-14 | Remove docs building from CI builds | Bjørn Erik Pedersen | |
We could probably get it working, but we have plenty of site tests now. | |||
2017-06-14 | commands: Adjust docs path | Bjørn Erik Pedersen | |
2017-06-14 | Add docs as submodule | Bjørn Erik Pedersen | |
2017-06-14 | docs: Remove | Bjørn Erik Pedersen | |
Docs site is moved to https://github.com/gohugoio/hugoDocs Will be re-added here as a Git submodule. | |||
2017-06-13 | Update Gitter link in README | Bjørn Erik Pedersen | |
That is still running under spf13. | |||
2017-06-13 | vendor: Update to new org name | Bjørn Erik Pedersen | |
2017-06-13 | Change Windows build badge link, take #3 | Bjørn Erik Pedersen | |
2017-06-13 | Change Windows build badge link, take #2 | Bjørn Erik Pedersen | |
2017-06-13 | Update Windows build link | Bjørn Erik Pedersen | |
2017-06-13 | hugolib: Disable shaky leaktest on CI | Bjørn Erik Pedersen | |
2017-06-13 | Update links in CONTRIBUTING.md due to the org transition | digitalcraftsman | |
2017-06-13 | Update source path in Dockerfile due to the org transition | digitalcraftsman | |
2017-06-13 | Update clone folder in appveyor.yml due to the org transition | digitalcraftsman | |
2017-06-13 | Update import path in snapcraft.yaml due to the org transition | digitalcraftsman | |
2017-06-13 | Run gofmt to get imports in line vs gohugoio/hugo | Bjørn Erik Pedersen | |
2017-06-13 | Update Makefile vs gohugoio/hugo | Bjørn Erik Pedersen | |
2017-06-13 | Update README to point to gohugoio/hugo | Bjørn Erik Pedersen | |