26 Commits

Author SHA1 Message Date
Kaushal Modi
4917f06363 Mention that math add/sub/mul/div functions can do float math too
Fixes https://github.com/gohugoio/hugoDocs/issues/373
2018-02-26 18:39:44 -05:00
digitalcraftsman
0100df7364 Fix code examples for math.{Ceil, Floor, Round} 2017-09-26 23:41:52 +02:00
digitalcraftsman
463558f919 Document math.Log template function
Closes #99
2017-09-26 21:26:33 +02:00
Cameron Moore
f060d6d124 Fix math.Ceil, Floor, and Round naming
math.Ceil, Floor, and Round don't have short-hand equivalents.

Fixes #205
2017-09-26 12:04:11 +02:00
digitalcraftsman
f0133079b3 Document math.{ceil, floor, round} template functions
Closes #203
2017-09-25 18:23:34 +02:00
Bjørn Erik Pedersen
158cee1b5c Make the tags into keywords
See #32
2017-09-13 19:50:17 +02:00
Bjørn Erik Pedersen
a3ef5be939 Remove string concatenation from add (math) sample
Using `add` to concatenate two strings sounds like a hack, and has its limitations. Use `printf` for this.
2017-08-16 18:08:52 +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
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
Bjørn Erik Pedersen
b0470688f1 Use infinitive mood for titles
Fixes #46
2017-07-17 21:22:03 +02:00
Bjørn Erik Pedersen
43c935a83d Copy editing of the template func documentation 2017-07-16 22:01:36 +02:00
Bjørn Erik Pedersen
b9bdfd40a6 Prefix methods with a "."
Not optimal, but it at least indicates that they need a context (Page etc.) and cannot be called alone.
2017-07-16 15:32:31 +02:00
Bjørn Erik Pedersen
4e0bca2b1e Remove the needsexamples construct
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
2017-07-16 15:13:35 +02:00
Bjørn Erik Pedersen
87db4be71e Remove the tags config for now
See https://github.com/gohugoio/hugoDocs/issues/32
2017-07-14 10:54:47 +02:00
Bud Parr
7fd64f19c8 Merge bp/theme-design branch containing Bud Parr's new design
It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
2017-05-26 14:25:22 -05: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
Cameron Moore
da71775958 Add function signatures
Fixes rdwatters/hugo-docs-concept#31
2017-03-27 16:32:31 -05:00
Ryan Watters
7a1f9a6a03 Update signature fields 2017-03-27 14:33:35 -05:00
Ryan Watters
1ca6a27636 Add ns field to all func files
Closes rdwatters/hugo-docs-concept#36
2017-03-18 15:42:41 -05:00
Ryan Watters
72e1b60244 Update content changes in concept document 2017-02-26 22:23:06 -06:00
Ryan Watters
ee008f4b81 Update function front matter across all files 2017-02-24 00:52:40 -06:00
Ryan Watters
949bbd030f Update functions front matter 2017-02-18 18:02:18 -06:00
Ryan Watters
cbd08323b3 Update shortcodes, needs works, and toc styles 2017-02-17 02:40:06 -06:00
Ryan Watters
19d7a56e00 Remove unnecessary math functions and created table for all 2017-02-15 23:47:00 -06:00