Jack Taylor
90d3fbf1da
tplimpl: Add translation links to the default sitemap template
...
For pages with translations, add links with hreflang attributes to the
default sitemap template. This helps Google to show the correct
language page in its search results. The syntax used is based on
Google's example at [1].
Also update the sitemap template docs to reflect the changes in the
default template.
[1]
https://support.google.com/webmasters/answer/2620865?hl=en&topic=2370587&ctx=topic
Fixes #2569
2017-04-22 22:37:14 +02:00
Stefan Buynov
5f3ad1c319
commands: Import Octopress image tag in Jekyll importer
2017-04-22 22:35:52 +02:00
Cameron Moore
8cd3ea565a
Fix check-vendor logic in Makefile
2017-04-22 22:34:12 +02:00
Cameron Moore
9c72fa3661
Move lookup order section within lookup order page
...
See PR rdwatters/hugo-docs-concept#99
Fixes rdwatters/hugo-docs-concept#98
2017-04-21 16:02:05 -05:00
Ryan Watters
8fb94fa4ae
Add note on Golang regexp library to findRE and replaceRE funcs
2017-04-21 13:01:19 -05:00
Bud Parr
6aaf47be8a
Remove the pesky .DS_store from the site and improve .gitignore
...
Haha, pesky indeed. Thanks @budparr
See PR rdwatters/hugo-docs-concept#96
2017-04-21 10:26:17 -05:00
Ryan Watters
1b86764964
Correct typo in cm-types page
...
Closes rdwatters/hugo-docs-concept#94
2017-04-20 22:03:27 -05:00
Ryan Watters
e63c2fb1e5
Remove extra parentheses in GetPage function example
2017-04-20 17:15:19 -05:00
Ryan Watters
21ebf481df
Remove extra parentheses in GetPage function example
2017-04-20 17:14:57 -05:00
Ryan Watters
d304130629
Clean up links in RSS templates
2017-04-20 12:56:48 -05:00
Bjørn Erik Pedersen
7935541087
Remove check-vendor from make check
...
I suspect there are some false negatives in this one.
2017-04-19 18:12:01 +02:00
Bjørn Erik Pedersen
d6818f2381
vendor: Fix go-toml
2017-04-19 18:09:51 +02:00
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