20555b1630
Add htmlEscape
and htmlUnescape
template functions
...
These functions allow trivial escaping and unescaping of HTML entities,
and make it far easier to compose other functions for the creation of
parameterised URLs.
2016-07-19 00:14:05 +02:00
318558f26c
docs: Add 404 template
...
Closes #1965
2016-07-14 00:01:06 +02:00
0a812beb12
tpl: Modify tpl.humanize to ordinalize integer input
...
Add logic to tpl.humanize such that it understands input of int literals
or strings which represent an integer. When tpl.humanize sees this type
of input, it will use inflect.Ordinalize as opposed to the standard
inflect.Humanize.
Fixes #1886
2016-07-13 22:09:59 +02:00
4a48b5f326
Replace replace-this-with-your-hugo-site.com with example.org
...
Fixes #2264
2016-07-08 21:38:28 +02:00
0ce6438268
docs: Update install instructions to reflect hugo.exe filename change
...
The install tutorial instructed users to rename the *.exe file to
hugo.exe because it used to have a big long name.
In Hugo 0.16 the file is already named hugo.exe, so the tutorial
made no sense on that point. Edited out those instructions.
2016-06-30 02:16:16 -06:00
e140070c9a
docs: Add tutorial for GitLab Pages
2016-06-30 00:35:59 -06:00
195a2b3845
docs: Suggests the use of delimiter for taxonomy listing
...
as a shortcut suggested by @digitalcraftsman.
See #2143
2016-06-29 22:52:29 -06:00
364686ecbb
docs: Add additional example for taxonomies listing
...
Add another example how to list taxonomies inline,
adding title (singular or plural) and commas between taxonomies.
See #2143
2016-06-29 22:36:34 -06:00
c21e2b3b4d
tpl: Enable safeHTMLAttr
...
See #2234 and #347
2016-06-27 09:18:14 -06:00
29ca323a34
docs: Regen commands doc
...
Fixes #2235
2016-06-22 14:03:18 +02:00
a4b8496210
docs: Fix typo is 0.16 release notes
2016-06-20 13:21:10 -05:00
ca5ae50c2b
Revert "docs: Refactor /docs to use the block keyword"
...
I forgot that we support Go 1.5 ...
This reverts commit 3a2748e0d2d1a574f569fb9cf45efeaf8d1fee2f.
2016-06-20 17:53:27 +02:00
3a2748e0d2
docs: Refactor /docs to use the block keyword
...
Fixes #2226
Closes #2229
2016-06-20 15:50:41 +02:00
357c9db235
docs: Add mtbhomer.com to the showcase
2016-06-19 16:12:59 +02:00
6ba074562c
docs: Add upbeat.it to the showcase
2016-06-14 18:19:03 +02:00
c01f98255b
docs: Add mayan-edms to the showcase
2016-06-14 18:13:19 +02:00
f7b2e532e2
docs: Add ExpiryDate to the list of variables
2016-06-14 15:45:26 +02:00
448f0306d7
docs: Example of how to use Order by ExpiryDate
2016-06-14 15:45:26 +02:00
02d2f05e74
docs: Add instructions on buildExpired in build configurations
2016-06-14 15:45:26 +02:00
6e9fbf8ad6
docs: Add expirydate to front-matter doc
2016-06-14 15:45:26 +02:00
5d3aabcb32
Update the alias generated HTML files to conform to the W3C HTML spec
...
- W3C recommends that there be a [whitespace character][1] between the
`;` and the `url=` portions.
- W3C also recommends that there be a [title][2] child in the `head`
element
[1]: https://www.w3.org/TR/html-markup/meta.http-equiv.refresh.html
[2]: https://www.w3.org/TR/html-markup/head.html
Closes #1933
2016-06-09 15:57:35 +02:00
48ebd598a9
docs: Add jamescampbell.us to the showcase
2016-06-06 21:04:02 +02:00
7212e51347
Update release-notes.md
...
bump 0.16 to the correct date and add meta generator note.
2016-06-06 08:37:59 -04:00
80ebe0578a
Update release-notes.md
2016-06-04 21:44:38 +02:00
60184823e5
docs. Add the guranteed exit -1 on eror to Hugo 0.16 rel notes
...
It is a minor thing, but BIG thing for many, including myself.
2016-06-04 00:14:32 +02:00
cf10d4ce79
Some polish and addends to 0.16 release notes
2016-06-03 22:54:18 +02:00
d4e5fa6fdf
Pull the shootouts about 0.16 into the intro section
2016-06-03 20:53:33 +02:00
834d41771b
update release notes for 0.16 release
2016-06-03 11:33:51 -04:00
ce05dfa553
docs: Grammar fix in overview/quickstart.md
2016-06-02 22:13:01 +02:00
4ab5ed6c21
docs: Add Digital Ocean articles to press section
2016-05-30 20:25:50 +02:00
d486396ff5
docs: Add c't magazine article to press section
2016-05-29 12:02:07 +02:00
20358f46c8
docs: Document UniqueID page variable
2016-05-27 20:14:52 +02:00
5611631539
docs: Add an example of how to use .PrevInSection
...
It's not a common knowledge what the "pointer" is so let's
add an example of how to use .PrevInSection
2016-05-27 20:02:29 +02:00
c21b1558ae
docs: Add note about live reload script injection
...
Answers common question in docs.
https://discuss.gohugo.io/t/livereload-only-works-on-the-homepage/1006/4
2016-05-27 19:51:17 +02:00
dcee05b2ae
docs: Fix minor typo in overview/quickstart.md
2016-05-27 19:32:27 +02:00
efae41c186
docs: Add novelist.xyz to the showcase
2016-05-22 14:08:45 +02:00
90362933ee
docs: Fix typo / readability in extras/menu.md
2016-05-22 11:30:29 +02:00
6dec7b3ea6
docs: Add stefano.chodino.uk to the showcase gallery.
2016-05-22 11:25:07 +02:00
dec744316e
docs: Add klingt.net to the showcase gallery
2016-05-18 12:23:40 +02:00
9305deca15
docs: Clarify that watch is enabled by default
2016-05-18 12:08:26 +02:00
9aa70af1a3
docs: Fix git clone for hugo_theme_robust in quickstart guide
2016-05-17 21:10:04 +02:00
ac938d9da7
docs: Improve description for .Hugo.Generator
2016-05-11 20:59:31 +02:00
fd40fe39bc
docs: Document relativeURLs
...
Fixes #1342
2016-05-07 16:52:18 -05:00
7cbafa4ec5
docs: Fix typo in overview/configuration.md
2016-05-04 21:44:28 +02:00
a07889d4a3
docs: Fix typo in templates/content.md
2016-05-04 21:40:22 +02:00
bf4206a02f
docs: Fix links in the documentation
...
A couple of internal links use `#toc_4` to attempt to locate a document
element within another document page. In both of these instances, there
is no element on the linked to pages with the id `#toc_4`. This commit
updates those links with the document elements which were the original
intended links, meaning these links now take you directly to the
intended element.
Signed-off-by: mattjmcnaughton <mattjmcnaughton@gmail.com>
2016-05-04 21:35:24 +02:00
5caea6f2da
docs: Add 2626.info to the showcase
2016-05-03 20:23:04 +02:00
09038865c2
tpl: Add intersect operator to where function
...
Returns true if a given field value that is a slice / array of strings, integers or floats contains elements in common with the matching value. It follows the same rules as the intersect function.
Closes #1945
2016-04-28 00:58:47 +02:00
ffbd2b6c67
docs: Add appernetic blog to showcase
2016-04-27 22:05:45 +02:00
c5723a8931
docs: Add aydos.com to the showcase
2016-04-23 21:57:31 +02:00