Commit Graph
5736 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
i-give-up ee81931a41 Remove delimiters in YAML and TOML config examples
The use of `---` and `...` delimiters in the YAML examples seem to
suggest that those delimiters are necessary in a .yaml/.yml file when in
fact they are optional. Also, it seems to be common practice to *not*
use `---` and `...` in .yaml/.yml files. Similarly, it's less common to
use `+++` in .toml files. The examples on TOML's Github repo don't use
it, and Hugo-generated .toml files don't use it either.  This commit
removes the delimiters mentioned above to conform with the more common
styles.

Additionally this modifies the example for shortcut to find
configuration option

- add `cd` to make it clear that user has to change to the hugo site's
  directory first
- separate the command and the output of the command
2017-10-04 16:36:03 +02:00
Kaushal Modi 62d7b269fb Clarify that .Lastmod automatically uses .GitInfo.AuthorDate (#226)
If the `lastmod` field in the content front matter is not set if `.GitInfo` is
enabled, Page's .Lastmod is auto-set to .GitInfo.AuthorDate.
2017-10-04 16:29:01 +02:00
Vas Sudanagunta 000ab7c423 Fix ref and relref shortcode usage patterns
The documentname parameter to `ref` and `relref` shortcodes must include file extension. Including the file extension in the given usage patterns will make it much easier for users to follow.
2017-10-02 14:21:28 +02:00
Bjørn Erik Pedersen 4e7123d208 Add som code fence lang tags 2017-10-01 22:08:16 +02:00
Kaushal Modi 21d4f97d15 Update homepage for ox-hugo tool 2017-10-01 17:34:22 +02:00
Bjørn Erik Pedersen 668969fc4e Remove superflous back ticks 2017-09-30 15:08:16 +02:00
Bjørn Erik Pedersen f78cf64909 Fix code example 2017-09-30 11:40:52 +02:00
budparr 05aaee8cec Remove background color from code shortcode
Background color is not necessary with Chroma.css
2017-09-30 10:09:31 +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
Cameron Moore 50e04593a7 Document templateMetrics usage
Fixes #213
2017-09-29 13:55:39 +02:00
Bjørn Erik Pedersen 67ad366918 Merge commit 'f66d59b8991c264c3366895b5e148ea810a184cd' 2017-09-29 09:45:29 +02:00
Bjørn Erik Pedersen f66d59b899 Squashed 'themes/gohugoioTheme/' changes from ca53082d..cdaa89c8
cdaa89c8 Add Pygments style CSS class for Chroma
c735cec1  Add highlight color to Chroma css, take 2
54cf963a Add highlight color to Chroma css
002a7fad Add Chroma css

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: cdaa89c87c927e549fc824867b4e26dcd0d7c282
2017-09-29 09:42:10 +02:00
digitalcraftsman 36d7e22f5c Document fmt.{print, println} template functions
Closes #97
2017-09-27 17:30:32 +02:00
maiki 79a72fce9a Fix link to page variables 2017-09-27 08:51:27 +02:00
Cameron Moore 00342ca9ae Fix broken link on highlight page 2017-09-27 08:51:08 +02:00
maiki 15f44952db Fix link in v0.28 release notes 2017-09-26 23:43:20 +02:00
digitalcraftsman 0100df7364 Fix code examples for math.{Ceil, Floor, Round} 2017-09-26 23:41:52 +02:00
Bjørn Erik Pedersen a354a69bd2 Fix broken netlify.toml 2017-09-26 21:38:24 +02:00
Bjørn Erik Pedersen 4995e5df9a Merge branch 'master' of github.com:gohugoio/hugoDocs 2017-09-26 21:33:30 +02:00
Bjørn Erik Pedersen 9cdd990ae1 Hugo 0.29 2017-09-26 21:32:24 +02:00
digitalcraftsman 463558f919 Document math.Log template function
Closes #99
2017-09-26 21:26:33 +02:00
Bjørn Erik Pedersen 588499affc Add nohup.out to .gitignore 2017-09-26 21:02:13 +02:00
Marvin Hockenjos db8ddcf7ee Change name of post files in example to use post prefix 2017-09-26 16:25:38 +02:00
Kaushal Modi 296ec01ffb Add ox-hugo Emacs package to the tools section 2017-09-26 12:10:00 +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
Christopher Berner 8286380891 Fix typo in migration tools section 2017-09-25 13:37:58 +02:00
Bjørn Erik Pedersen d5215d6157 Add link to syntax hl docs in release notes 2017-09-25 10:23:38 +02:00
Bjørn Erik Pedersen 541f06865c Update versions 2017-09-25 10:18:58 +02:00
Bjørn Erik Pedersen 275ce2b4d8 Update 0.28 release notes 2017-09-25 10:18:07 +02:00
Bjørn Erik Pedersen 886713a14d Add release notes for 0.28 2017-09-25 10:09:08 +02:00
Bjørn Erik Pedersen bed02e5ff1 Merge branch 'next' 2017-09-25 10:07:42 +02:00
Bjørn Erik Pedersen 8e3b1ac40c Add a note about branches 2017-09-25 10:07:33 +02:00
Bjørn Erik Pedersen 20959c7b91 Rewrite the syntax highlighter docs etc. 2017-09-25 08:30:32 +02:00
i-give-up 1662b9d0bc Add missing Disqus links in templates/internal.md 2017-09-24 13:20:17 +02:00
Bjørn Erik Pedersen 92435459c1 Add a note about branches 2017-09-23 10:49:11 +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
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
Will bfa6a55d03 Escape code fencing 2017-09-18 08:03:22 +02:00
Tony Ranieri ff8b2f999f Fix typos in deployment with wercker tutorial 2017-09-14 09:16:00 +02:00
Bjørn Erik Pedersen 557c36e81c theme: Merge commit '7fbb4bed25001182bfeb91f79db0f0c1936582ee'
Closes #32
2017-09-13 20:55:16 +02:00
Bjørn Erik Pedersen 7fbb4bed25 Squashed 'themes/gohugoioTheme/' changes from 7dd8a302..ca53082d
ca53082d Add See Also section

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: ca53082de54436ff2dfbfee1228dcade4ac86a96
2017-09-13 20:53:46 +02:00
Bjørn Erik Pedersen ce31cee04a Add "See Also" config 2017-09-13 20:48:33 +02:00
Bjørn Erik Pedersen 158cee1b5c Make the tags into keywords
See #32
2017-09-13 19:50:17 +02:00