Commit Graph
5719 Commits
Author SHA1 Message Date
Cameron Moore 592e055f12 Add check-vendor target to Makefile
The check-vendor target will exit with an error if any files in vendor/
differ from what's checked into git.

govendor checksums can get out of sync if extraneous files are in the
local, third-party repo (see kardianos/govendor#129).  govendor also
updates the vendor.json upon "sync."  We can use that quirk to detect
out of sync checksums in CI, so I've added check-vendor to the check
target dependencies.
2017-04-19 18:04:53 +02:00
Ryan Watters e97837f656 Fix typo in Format function 2017-04-18 19:46:18 -05:00
Ryan Watters 4a2148e276 Clean up list ordering and grouping; add ref to Format func 2017-04-18 19:43:34 -05:00
Ryan Watters c67f09b209 Update signature for len function 2017-04-18 19:32:35 -05:00
Ryan Watters 999ba8d47e Add len to functions list with examples
Closes rdwatters/hugo-docs-concept#92
2017-04-18 19:30:25 -05:00
Ryan Watters 246bb06854 Fix heading structure for newest releases 2017-04-18 13:26:00 -05:00
Ryan Watters 6cba8ff7fc Fix minor typos in Release Notes 2017-04-18 12:29:39 -05:00
Ryan Watters 2d1854f7fb Add 20+ Release Notes 2017-04-18 12:27:26 -05:00
Ryan Watters b1ce0d9861 Fix .Date.Pages typos across the board 2017-04-18 12:20:16 -05:00
Ryan Watters f7fae4b156 Fix .Date.Pages typos across the board 2017-04-18 12:20:00 -05:00
Bjørn Erik Pedersen ab692e73de hugolib: Log WARNING only on unknown /data files
Fixes #3361
2017-04-18 18:47:37 +02:00
Ricky Han 61c510b048 docs: Add txtpen as alternative commenting service 2017-04-18 18:05:52 +02:00
Ricky Han 7cdc244a72 docs: Add txtpen as alternative commenting service 2017-04-18 18:05:52 +02:00
digitalcraftsman ed0c3ec4ef Fix .Data.Pages range in sample
See spf13/hugo#3350
2017-04-16 13:26:51 +02:00
Rachel Simone Weil 311ed72012 docs: Fix .Data.Pages range in sample 2017-04-16 13:22:24 +02:00
Rachel Simone Weil b5e32eb609 docs: Fix .Data.Pages range in sample 2017-04-16 13:22:24 +02:00
Bjørn Erik Pedersen 3b81165796 docs: Add 0.20.2 release notes 2017-04-16 10:56:50 +02:00
Bjørn Erik Pedersen 66ec6305f6 docs: Add 0.20.2 release notes 2017-04-16 10:56:50 +02:00
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