Regis Philibert
f9a5dc59b7
Code Toggle block added to doc site final batch
...
Templates ✅
Variables ✅
2018-04-12 16:24:59 +02:00
Kaushal Modi
000fed94e4
Add missing closing tags for li in menu template example
...
Also:
- "blank" -> "_blank" in target
- Re-indent whole snippet for consistency
- Do "{{ foo }}" instead of "{{foo}}" for consistency
2018-04-11 12:22:58 -04:00
Kaushal Modi
f462b620f3
Clarify that local CSV files cannot be inside data dir
...
Thanks @divinerites <divinerites@gmail.com >
Ref: https://discourse.gohugo.io/t/error-message-failed-to-read-data-from-csv-even-it-is-working-fine/10763/7
2018-04-10 16:59:20 -04:00
Bjørn Erik Pedersen
c5a5250a1b
Use the new go-html-template Chroma lexer
2018-04-02 15:07:01 +02:00
Kaushal Modi
18114d4b4a
Update Output Formats
2018-04-02 13:30:09 +02:00
Greg Kaleka
a9168b1067
Adds missing word
2018-04-02 00:02:38 -04:00
xa0082249956
86a90edf96
Fix typo 'If will' to 'It will' line 41
2018-03-18 14:24:43 +01:00
Kaushal Modi
6b626fac61
Add a tip for testing custom 404.html on hugo server
...
- https://github.com/gohugoio/hugo/issues/874
- https://discourse.gohugo.io/t/how-to-test-404-html-on-local-server/681/2
2018-03-16 16:45:29 -04:00
Kaushal Modi
3bc56e9ecc
Fix shortcode name in example: image -> img
...
Fixes https://github.com/gohugoio/hugoDocs/issues/126 .
2018-03-16 14:36:29 -04:00
Lorenz Cuno Klopfenstein
83f3c46b09
Minor style fix
2018-03-14 20:15:20 -04:00
cmal
7851345c8a
Add docs about comments within templates
2018-03-14 17:24:08 -04:00
Kaushal Modi
d129b4a280
Make the recommendation to use partial over template consistent
...
Also, mention internal templates.
Fixes https://github.com/gohugoio/hugoDocs/issues/382 .
2018-03-14 14:59:12 -04:00
Kaushal Modi
d332269246
Update Page Kinds documentation
...
Also fixes https://github.com/gohugoio/hugoDocs/issues/402 .
2018-03-12 16:04:18 +01:00
Bjørn Erik Pedersen
320e268cd0
Spelling
2018-03-09 13:33:13 +01:00
Bjørn Erik Pedersen
e45b640f71
More layout lookup work
...
Closes #400
2018-03-09 13:32:21 +01:00
Dirk Kelly
5d4c3c03c6
Update data-templates.md
...
corrected partials directory in example
2018-03-07 09:26:19 +01:00
Royce
20e8a21f65
update rss linking docs
2018-03-01 19:31:50 +01:00
Randy Stauner
ceb94d1e14
Fix readDir function links
2018-02-21 15:49:25 +01:00
Bjørn Erik Pedersen
6886982fd9
Merge commit '9cc9bab46288d8d5f9fda7009c5f746258cec1b4'
2018-02-10 12:52:31 +01:00
Kaushal Modi
09728efbfd
Add "target" and "rel" parameters to figure shortcode
...
Also:
- Remove unnecessary space from `figure` tag if no class is specified.
- Update related tests.
- Add test cases for the changes made to the figure shortcode.
- Document the newly added target and rel parameters
- Add more detail to the documentation of all figure shortcode parameters.
2018-02-09 22:27:58 +01:00
Sam Foo
47aefdbda3
Remove unnecessary duplicated words
2018-02-09 18:18:49 +01:00
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