160 Commits

Author SHA1 Message Date
Andrew Brampton
fc40d078d6 Remove page arg from examples of relref shortcode 2017-10-04 17:12:00 +02:00
Andrew Brampton
c578620b57 Remove page arg from examples of ref shortcode 2017-10-04 17:11:27 +02:00
Cameron Moore
dcb0998d0f Add a Build Performance page draft
* Add a Build Performance page draft

* Update Build Performance page

* Add step analysis to build performance guide

* Remove wip and draft status from front matter
2017-09-29 13:58:21 +02:00
digitalcraftsman
36d7e22f5c Document fmt.{print, println} template functions
Closes #97
2017-09-27 17:30:32 +02:00
Cameron Moore
00342ca9ae Fix broken link on highlight page 2017-09-27 08:51:08 +02: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
a2262d241e Document strings.TrimPrefix and TrimSuffix template functions
Closes #148
2017-09-25 19:26:34 +02:00
digitalcraftsman
80c1ce631b Document strings.TrimLeft and TrimRight template functions
Closes #147
2017-09-25 19:11:45 +02:00
digitalcraftsman
2921088dde Document urls.Parse template function
Closes #204
2017-09-25 18:39:00 +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
20959c7b91 Rewrite the syntax highlighter docs etc. 2017-09-25 08:30:32 +02:00
Sean Shao
c8f1a2d2f6 Correct code example for index template function
typo in example code {{ index .Site.Data.locations .Params.location }}
2017-09-19 15:33:25 +02:00
Bjørn Erik Pedersen
158cee1b5c Make the tags into keywords
See #32
2017-09-13 19:50:17 +02:00
Cameron Moore
eb371e5235 functions: Fix lang.NumFmt docs
Fixes #154
2017-08-21 21:47:02 +02:00
James Rhea
2a14624dfb Fix alias in countrunes.md
Fixes #84.
2017-08-16 22:54:06 +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
Bjørn Erik Pedersen
a78bbe22d7 Add link to Go issue 2017-08-10 14:22:05 +02:00
Ron Liskey
35abbc8691 Add example with taxonomy for title template func
Example URL with printf.
2017-08-06 11:34:37 +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
Cameron Moore
d93f09926b functions: Add all missing binary comparison operators
Fixes #91
2017-07-27 00:20:02 +02:00
digitalcraftsman
b3ec698681 Let page title correspond to function name replaceRE 2017-07-23 10:39:03 +02:00
zuriar
6c0bde3f88 Update slice.md
Change word "alice" to "slice" in description
2017-07-22 09:27:20 +02:00
Bjørn Erik Pedersen
e4824eb3fe Fix the output shortcode and its usage
Passing the shortcode into the Markdown processor just to get pre and code tags does not make much sense.
2017-07-21 13:06:11 +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
52adf3c906 Fix union description 2017-07-17 11:15:00 +02:00
Bjørn Erik Pedersen
b1238c98a1 Document Pages support in union and intersect
Fixes #26
2017-07-17 11:11:10 +02:00
Bjørn Erik Pedersen
2baad4b37e Add missing functions alias 2017-07-17 01:06:11 +02:00
Bjørn Erik Pedersen
d3603ef943 Adjust GetPage doc 2017-07-17 00:01:47 +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
4ac6e82810 Update content references to new gohugoio org 2017-07-16 14:38:15 +02:00
Bjørn Erik Pedersen
2d75e09066 Content fix 2017-07-16 00:24:03 +02:00
Bjørn Erik Pedersen
2a657165f7 Set unix func to draft 2017-07-14 21:30:36 +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
Ryan Watters
73d616c56b Remove category taxonomy from site config 2017-07-13 00:05:15 -06:00
Ryan Watters
813a0cb0bd Add time to int example for time function 2017-07-13 00:05:15 -06:00
Ryan Watters
52aedacd2b Add admonition note to getenv function 2017-07-13 00:05:15 -06:00
Ryan Watters
976c398f6a Add numfmt to functions list
Closes rdwatters/hugo-docs-concept#147
2017-06-20 11:58:48 -05:00
Ryan Watters
d78c5b4d5c Replace all instances of discuss.gohugo.io with new discourse.gohugo.io URL 2017-06-16 20:50:36 -05:00
Ryan Watters
9ccb82fa42 Add functions file for uniq 2017-06-03 13:00:56 -05:00
Ryan Watters
b68758a9fe Update _index.md to show more intuitive link titles 2017-05-26 14:51:57 -05: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
c616ade998 Add logic and operators tags to where.md for better discoverability
See rdwatters/hugo-docs-concept#37
2017-04-30 17:27:00 -05:00
Ryan Watters
c2a5952f4f Add regex101.com reference to both RE functions
Ref rdwatters/hugo-docs-concept#97
2017-04-30 17:21:31 -05:00