Bjørn Erik Pedersen
2abbd9bd91
Merge branch 'master' into menu-link-title
2018-01-19 14:13:06 +01:00
Oliver
050ccd12b7
Add documentation for the .HasShortcode function
2018-01-19 14:08:47 +01:00
Bjørn Erik Pedersen
55600b4ff3
More layouts work
2018-01-19 13:28:41 +01:00
Bjørn Erik Pedersen
201cf4f67e
Add some more single page layout variants
2018-01-19 11:39:14 +01:00
Bjørn Erik Pedersen
d5e7c03e20
Rework the layouts doc
2018-01-19 10:14:56 +01:00
Oz Ramos
84622e67c8
Cleans up the code sample
...
- Invalid markup
- Removed extra unecessary classnames to make example clearer
- Consistent tabbing
2018-01-19 10:13:46 +01:00
Richard Metzler
a52db97d84
fixing typos and syntax for consistency
2017-12-19 17:51:42 +01:00
Richard Metzler
64525670f3
ádd title to some menu entries. This needs hugo >= v0.32
2017-12-16 13:34:12 +01:00
Richard Metzler
85d415ab21
ádd examples for menu .Title and .Page
2017-12-16 13:26:25 +01:00
Ricardo N Feliciano
03d191fec6
Mention Reverse function in taxonomy tpl page.
2017-12-14 20:40:57 +01:00
cheng
47eb431ca6
Correct one link in templates/output-formats.md
...
In templates/output-formats.md, there is one link of problem.
This commit is to correct it.
2017-12-07 10:01:37 +01:00
Bjørn Erik Pedersen
cfdc2e4ea8
Fix output formats example
2017-11-23 16:18:24 +01:00
Bjørn Erik Pedersen
5746c10c2d
More on output format
2017-11-23 14:40:16 +01:00
Bjørn Erik Pedersen
de2ee0fe05
Improve suffix redefinition example
2017-11-23 14:03:38 +01:00
Víctor Adrián de la Cruz Serrano
94cffc43c4
Fix little typo
...
Changed:
Note that both examples make **us** of Go template's [math functions][].
To:
### Example 2: Comparing Numbers
```
{{ lt 1 2 }}
=> true (i.e., since 1 is less than 2)
```
Note that both examples make **use** of Go template's [math functions][].
2017-11-20 16:59:40 +01:00
Julien Schmidt
22038d1a8e
shortcode-templates.md: Update year example
...
The example used a deprecated way to get the current year:
`Page's Now is deprecated and will be removed in Hugo 0.31. Use now (the template func).`
2017-11-01 22:03:57 +01:00
XhmikosR
a7422f35d1
shortcode-templates.md: Remove stray period
2017-10-25 19:46:33 +02:00
Emir Ribić
9dcc4d4dd3
Update robots.md
2017-10-11 15:29:47 +02:00
Bjørn Erik Pedersen
4e7123d208
Add som code fence lang tags
2017-10-01 22:08:16 +02:00
maiki
79a72fce9a
Fix link to page variables
2017-09-27 08:51:27 +02:00
i-give-up
1662b9d0bc
Add missing Disqus links in templates/internal.md
2017-09-24 13:20:17 +02:00
Muhammad Muhajir
5be6fef0b0
Fix typo, {{Content} should be {{.Content}}
2017-09-23 09:43:49 +02:00
icannotfly
32356e4eab
Fix typo in header of shortcode-templates.md
2017-09-19 15:35:39 +02:00
Bjørn Erik Pedersen
158cee1b5c
Make the tags into keywords
...
See #32
2017-09-13 19:50:17 +02:00
Giraffe Academy
2b27785915
Add tutorial videos to several docs pages
...
Credits go to @giraffeacademy
2017-09-11 22:06:09 +02:00
Frank Taillandier
44fe0285a0
Fix links to JSON spec
2017-09-07 16:26:06 +02:00
jorin
816d207f07
Add missing backtick in templates/views.md
2017-09-01 14:02:02 +02:00
Chris Lasher
85aad56e38
Abstract the type in the lookup order
...
The _default pieces still had a concrete type of "post".
2017-08-31 19:02:58 +02:00
Christopher Su
94af72b52a
Fix .Data.Terms usage in taxonomy template example
...
.Data.Taxonomy should be .Data.Terms
2017-08-26 09:59:14 +02:00
digitalcraftsman
a745cd6c8b
Fix layouts' folder name in template primer
2017-08-21 00:12:01 +02:00
Bjørn Erik Pedersen
01424887aa
List the internal templates
...
So they hopefully show up in search.
2017-08-16 18:22:37 +02:00
Patrick Collins
43d12b44ca
Fix typo
2017-08-16 17:36:32 +02:00
Nicole Dominguez
4e14071e7b
Removes an extra bracket (>) in single-page-templates.md
2017-08-14 08:50:52 +02:00
guayom
31d1ef4037
Add example for taxonomy terms with metadata
...
There is no information on how you can add custom metadata to your
taxonomy terms. What you need to do is add front matter data in the file
/content/<TAXONOMY>/<TERM>/_index.md
Then you will be able to access the taxonomy term as a page in a
taxonomy terms template.
That is why I added instructions in /content-management/taxonomies on
how to add custom metadata. And in /templates/taxonomy-templates/ I
added an example on how you can display that metadata in the taxonomy
terms template.
I think that would be enough to guide the user in how to add custom
metadata to their taxonomy terms.
2017-08-09 08:53:53 +02:00
Abdullah Diab
8353177226
Replace http://example.{com,org}/ with https://example.{com,org}/
...
* Replace http://example.{com,org}/ with https://example.{com,org}/
To be consistent with gohugoio/hugo, @bep suggests changing all
instances of http://(www.)?example.{com,org} with
https://(www.)?example.{com,org}
See issue gohugoio/hugo#3728 with pull request gohugoio/hugo#3739
2017-08-01 22:54:32 +02:00
Jeremiah Valenzuela
dc4b90db27
Replace old RSS template with new embedded version ( #116 )
...
Current documentation shows an old version of the embedded RSS template. The newer version is in:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/template_embedded.go
This was copied and pasted into the documentation as embedded.
2017-07-31 20:52:14 +02:00
Bjørn Erik Pedersen
00f39bd78d
camelCase output format options
...
Fixes #114
2017-07-31 16:56:51 +02:00
Bjørn Erik Pedersen
6e91e9003b
SectionPagesMenu > sectionPagesMenu
2017-07-29 13:18:12 +02:00
Bjørn Erik Pedersen
1a0db1a699
Adjust sectionPagesMenu
...
To test search.
See https://github.com/gohugoio/gohugoioTheme/issues/63
2017-07-29 13:16:55 +02:00
Ricardo N Feliciano
f9f87d9d71
Fix extension's missing period.
2017-07-28 22:03:54 +02:00
Andrey S
5589ba96c1
Fix typos in templates/lists.md
2017-07-24 19:53:50 +02:00
Bjørn Erik Pedersen
d2edcbc32d
Revert "Fix links to Disqus template documentation"
...
This reverts commit 93e08e1956 .
2017-07-23 23:58:17 +02:00
Tom Bennet
93e08e1956
Fix links to Disqus template documentation
...
Links were pointing at the Partials page - more useful to link directly to the Disqus section of Internal Templates page
2017-07-23 22:39:50 +02:00
Jeremiah Valenzuela
6c212ea611
Reorder to match the following content order
2017-07-22 09:23:23 +02:00
Bjørn Erik Pedersen
83ff50c2e0
Use example.com in examples
...
Avoid linking to existing domain yoursite.com.
2017-07-20 21:46:10 +02:00
Bjørn Erik Pedersen
572b9e7590
Clean up the code shortcode use
...
* No markdown needed
* No code fence needed
See #61
2017-07-20 11:51:45 +02:00
Bjørn Erik Pedersen
a1b2fd3bdc
Remove the code fence language codes
...
See #61
2017-07-20 11:51:45 +02:00
Ricardo N Feliciano
2bdc771063
Clarify .Data.Pages sorting in lists.md
2017-07-19 20:13:51 +02:00
Bjørn Erik Pedersen
092271c24c
Use infinitive mood for main titles
...
Updates #46
2017-07-19 19:19:29 +02:00
Bjørn Erik Pedersen
b0470688f1
Use infinitive mood for titles
...
Fixes #46
2017-07-17 21:22:03 +02:00