Commit Graph
6701 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 1cf29200b4 tplimpl: Allow text partials in HTML templates
Most obvius benefit of this is to include CSS partials with css file suffix into HTML templates.

A valid workaround would be to rename the file `mystyles.html`, but that doesn't work too good for external editors etc.

The css partial is  a method used in some themes before Hugo 0.20, but then it stopped working.

This commit reintroduces that behaviour.

Note that the regular layout lookups for text templates, i.e. "single.json" will be
prefixed with "_text/" on lookup and will only match in the text collection.

Fixes #3273
2017-04-16 09:17:47 +02:00
Ryan Watters fcca2cad5d Clean up single page and list template explanations further 2017-04-14 18:40:35 -05:00
Ryan Watters 318a75ec33 Update homepage terminal to govendor install instructions 2017-04-14 18:10:24 -05:00
Ryan Watters 74da85edf6 Fix small typographical errors in shortcode templating page 2017-04-14 17:59:24 -05:00
Ryan Watters d557ca80c3 Explain use of .Params in shortcode templating
Closes rdwatters/hugo-docs-concept#84
2017-04-14 17:55:30 -05:00
Ryan Watters 807f45196c Make small typographical tweaks to homepage template 2017-04-14 17:32:48 -05:00
Ryan Watters 8f70189a3c Fix typographical errors in lists.md 2017-04-14 17:21:48 -05:00
Ryan Watters e845755601 Beef up explanation of _index.md in homepage content 2017-04-14 17:15:38 -05:00
Ryan Watters 452bd58af8 Add admonition note to GitHub hosting
Closes rdwatters/hugo-docs-concept#54
2017-04-14 16:42:14 -05:00
Ryan Watters 9ed90b708a Add more in-page references to date-related page vars
Closes rdwatters/hugo-docs-concept#86
2017-04-14 14:54:15 -05:00
digitalcraftsman 0fff8177db Propose archetype usage for summary divider in content-management/summaries.md
Comment by @rdwatters: Nice catch.

See PR rdwatters/hugo-docs-concept#89
2017-04-14 13:44:37 -05:00
digitalcraftsman 8aaa5e171f Fix typo in content-management/types.md
Cheers!

See PR rdwatters/hugo-docs-concept#88
2017-04-14 13:43:49 -05:00
Ryan Watters 26f8775488 Fix broken link in toc.md to page variables 2017-04-14 13:40:49 -05:00
Ryan Watters c5e2fa228e Fix link in cm-cross references 2017-04-14 13:38:34 -05:00
digitalcraftsman 83fba81535 Fix links in content-management/front-matter.md
Thanks @digitalcraftsman

See PR rdwatters/hugo-docs-concept#87
2017-04-14 12:22:33 -05:00
Bjørn Erik Pedersen 8ccee6717c vendor: Update dependencies 2017-04-14 10:24:30 +02:00
Bjørn Erik Pedersen 9b3a02b72e docs: Add Netlify badge if on Netlify 2017-04-14 10:22:51 +02:00
Bjørn Erik Pedersen 86a97dbd18 docs: Add Netlify badge if on Netlify 2017-04-14 10:22:51 +02:00
Bjørn Erik Pedersen d977cf0120 Get versions back to 0.20-DEV
This reverts commit 8ac1fcd0ce.
2017-04-13 16:19:50 +02:00
Bjørn Erik Pedersen 5e2e62d97f Get versions back to 0.20-DEV
This reverts commit 8ac1fcd0ce.
2017-04-13 16:19:50 +02:00
Bjørn Erik Pedersen b4a73e67d7 Prepare release 0.20.1 2017-04-13 16:00:30 +02:00
Bjørn Erik Pedersen 8ac1fcd0ce Prepare release 0.20.1 2017-04-13 16:00:30 +02:00
Bjørn Erik Pedersen 941e7df6f2 docs: Add 0.20.1 release notes 2017-04-13 14:05:33 +02:00
Bjørn Erik Pedersen 0ed3beec80 docs: Add 0.20.1 release notes 2017-04-13 14:05:33 +02:00
Bjørn Erik Pedersen 077005e514 output: Fix base theme vs project base template logic
Fixes #3323
2017-04-13 11:19:54 +02:00
Sanjay Saxena 134f85b2dc docs: Add sanjay-saxena.github.io to the showcase 2017-04-13 00:40:45 +02:00
Sanjay Saxena efc0e05c4e docs: Add sanjay-saxena.github.io to the showcase 2017-04-13 00:40:45 +02:00
Ryan Watters ab7f43e181 Update math function page to include "add" usage with strings
Closes rdwatters/hugo-docs-concept#85
2017-04-12 15:24:32 -05:00
Bjørn Erik Pedersen 6d2ea0f7d7 hugolib, output: Do not lower case template names
This regression was introduced in Hugo 0.20.

Fixes #3333
2017-04-12 21:40:55 +02:00
Bjørn Erik Pedersen 45c7452668 hugolib: Must recreate Paginator on live-reload
The structure may potentially have changed, and then it fails.

Fixes #3315
2017-04-12 21:15:51 +02:00
Bjørn Erik Pedersen e765b43e2b hugolib: Avoid recreating the Paginator on copy
See #3315
2017-04-12 21:15:51 +02:00
Bjørn Erik Pedersen 3b67759495 hugolib: Avoid processing the same notify event twice
On `macOS`, at least, we've seen multiple WRITE events for same file, and no need to do the same job twice.
2017-04-12 21:15:51 +02:00
Ryan Watters da02241839 Remove unnecessary keys from config file 2017-04-12 13:19:57 -05:00
Ryan Watters 81fa0a45dc Adjust all metadata partials to use absURL and relURL 2017-04-12 13:08:56 -05:00
Ryan Watters 7ee73ffde3 Update scripts to use absURL func 2017-04-12 11:54:24 -05:00
Anthony Fok 5fad8a9d06 snapcraft: Go 1.8.1 2017-04-12 03:05:01 -06:00
Ryan Watters 9a1c3f42fe Add CLI Overview 2017-04-10 23:21:37 -05:00
Ryan Watters aa0c2bd6b7 Add Emacs Easy Hugo to "other tools" page
Closes rdwatters/hugo-docs-concept#81
See PR gohugoio/hugo#3306
2017-04-10 23:11:26 -05:00
Ryan Watters 2677772044 Fix env var description in configuration.md 2017-04-10 23:06:17 -05:00
Ryan Watters 24ae7df130 Add mention of output format configuration to configuration.md 2017-04-10 23:01:22 -05:00
Ryan Watters 0b51849d0c Remove wip badge from output formats page 2017-04-10 22:58:14 -05:00
Ryan Watters 08ff6f6176 Do a small language cleanup for output formats page 2017-04-10 22:56:27 -05:00
Ryan Watters 33db41438c Update custom outputs title and aliases 2017-04-10 21:27:49 -05:00
Ryan Watters 6652cb8bf2 Move custom outputs to templating section 2017-04-10 21:18:36 -05:00
Bjørn Erik Pedersen 9ec00725b7 hugolib: Final fix of rssURI deprecation
Fixes #3319
2017-04-10 21:26:55 +02:00
Bjørn Erik Pedersen cfd3af8e69 hugolib: Only show rssUri deprecation WARNING if it is actually set
Fixes #3319
2017-04-10 17:54:55 +02:00
Bjørn Erik Pedersen 5f44f1e677 all Bump to 0.21-DEV 2017-04-10 09:33:21 +02:00
Bjørn Erik Pedersen 4c6fec56f1 all Bump to 0.21-DEV 2017-04-10 09:33:21 +02:00
Bjørn Erik Pedersen f21f829a97 all: Prepare Hugo 0.20 release version 2017-04-10 09:10:53 +02:00
Bjørn Erik Pedersen dac0d4a69d all: Prepare Hugo 0.20 release version 2017-04-10 09:10:53 +02:00