Commit Graph
10191 Commits
Author SHA1 Message Date
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
Bjørn Erik Pedersen 8cf55aff00 vendor: Update Chroma 2017-09-29 09:10:55 +02:00
Brendan Roy 0cf8dc046c Change SummaryLength to be configurable (#3924)
Move SummaryLength into the ContentSpec struct and refactor the
relevant summary functions to be methods of ContentSpec. The new
summaryLength struct member is configurable by the summaryLength config
value, and the default remains 70. Also updates hugolib/page to use the
refactored methods.

Resolves #3734
2017-09-29 09:04:55 +02:00
Brendan Roy ac3fb38080 Change SummaryLength to be configurable (#3924)
Move SummaryLength into the ContentSpec struct and refactor the
relevant summary functions to be methods of ContentSpec. The new
summaryLength struct member is configurable by the summaryLength config
value, and the default remains 70. Also updates hugolib/page to use the
refactored methods.

Resolves #3734
2017-09-29 09:04:55 +02:00
Brendan Roy 8717a60cc0 Change SummaryLength to be configurable (#3924)
Move SummaryLength into the ContentSpec struct and refactor the
relevant summary functions to be methods of ContentSpec. The new
summaryLength struct member is configurable by the summaryLength config
value, and the default remains 70. Also updates hugolib/page to use the
refactored methods.

Resolves #3734
2017-09-29 09:04:55 +02:00
digitalcraftsman 9e8c09652a tpl: Add os.fileExists template function
Fixes #3839
2017-09-28 19:52:34 +02:00
digitalcraftsman 3c0e4fa70e tpl: Add os.fileExists template function
Fixes #3839
2017-09-28 19:52:34 +02:00
digitalcraftsman 2818878994 tpl: Add os.fileExists template function
Fixes #3839
2017-09-28 19:52:34 +02:00
Bjørn Erik Pedersen e969cfcd79 Merge commit '9d68f695e782c6a83c77aff13317c7a22c694c98' 2017-09-28 17:22:55 +02:00
Bjørn Erik Pedersen 9290f39830 Merge commit '9d68f695e782c6a83c77aff13317c7a22c694c98' 2017-09-28 17:22:55 +02:00
Bjørn Erik Pedersen b6a30283f0 Merge commit '9d68f695e782c6a83c77aff13317c7a22c694c98' 2017-09-28 17:22:55 +02:00
Bjørn Erik Pedersen 9d68f695e7 Squashed 'docs/' changes from 20959c7b..36d7e22f
36d7e22f Document fmt.{print, println} template functions
79a72fce Fix link to page variables
00342ca9 Fix broken link on highlight page
15f44952 Fix link in v0.28 release notes
0100df73 Fix code examples for math.{Ceil, Floor, Round}
a354a69b Fix broken netlify.toml
4995e5df Merge branch 'master' of github.com:gohugoio/hugoDocs
9cdd990a Hugo 0.29
463558f9 Document math.Log template function
588499af Add nohup.out to .gitignore
db8ddcf7 Change name of post files in example to use post prefix
296ec01f Add ox-hugo Emacs package to the tools section
f060d6d1 Fix math.Ceil, Floor, and Round naming
a2262d24 Document strings.TrimPrefix and TrimSuffix template functions
80c1ce63 Document strings.TrimLeft and TrimRight template functions
2921088d Document urls.Parse template function
f0133079 Document math.{ceil, floor, round} template functions
82863808 Fix typo in migration tools section
d5215d61 Add link to syntax hl docs in release notes
541f0686 Update versions
275ce2b4 Update 0.28 release notes
886713a1 Add release notes for 0.28
bed02e5f Merge branch 'next'
8e3b1ac4 Add a note about branches
1662b9d0 Add missing Disqus links in templates/internal.md

git-subtree-dir: docs
git-subtree-split: 36d7e22f5c
2017-09-28 17:20:10 +02:00
Lucas Jenss 1a2d516a0c tpl: Add float template function
Add a template function that allows conversion to float. This is
useful, for example, when passing aspect ratios into templates,
which tend to not be integers.

Fixes #3307
2017-09-28 16:53:18 +02:00
Lucas Jenss 394e8b3f6e tpl: Add float template function
Add a template function that allows conversion to float. This is
useful, for example, when passing aspect ratios into templates,
which tend to not be integers.

Fixes #3307
2017-09-28 16:53:18 +02:00
Lucas Jenss 57adc539fc tpl: Add float template function
Add a template function that allows conversion to float. This is
useful, for example, when passing aspect ratios into templates,
which tend to not be integers.

Fixes #3307
2017-09-28 16:53:18 +02:00
Cameron Moore b277cb33e4 hugolib: Move metrics output to the end of the site build 2017-09-27 21:26:08 +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
Cameron Moore a354d130dc examples: Fix now usage in footer 2017-09-27 08:42:44 +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
hugoreleaser 5310162dc6 releaser: Prepare repository for 0.30-DEV
[ci skip]
2017-09-26 19:24:34 +00:00
hugoreleaser c0c48c2ea0 releaser: Prepare repository for 0.30-DEV
[ci skip]
2017-09-26 19:24:34 +00:00
hugoreleaser f806e951fd releaser: Prepare repository for 0.30-DEV
[ci skip]
2017-09-26 19:24:34 +00:00
hugoreleaser 648fdf2d0b releaser: Add release notes to /docs for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser 0806d910b8 releaser: Add release notes to /docs for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser 524c67107a releaser: Add release notes to /docs for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser b2f46992c7 releaser: Bump versions for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser 0d1101836b releaser: Bump versions for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser 396759a09b releaser: Bump versions for release of 0.29
[ci skip]
2017-09-26 19:23:15 +00:00
hugoreleaser e6079a9c04 releaser: Add release notes for 0.29 2017-09-26 21:12:49 +02:00
Bjørn Erik Pedersen 588499affc Add nohup.out to .gitignore 2017-09-26 21:02:13 +02:00
Bjørn Erik Pedersen b5e1dc5892 tpl: Set Metrics at creation time 2017-09-26 20:42:40 +02:00
Bjørn Erik Pedersen d3681f51c0 metrics: Fix sort order
Highest first.
2017-09-26 20:31:40 +02:00
Bjørn Erik Pedersen 4f576e1c08 Revert "vendor: Update Chroma"
This reverts commit cb8eb47260.
2017-09-26 20:06:58 +02:00
Cameron Moore b4a14c25fe metrics: Add simple template metrics feature 2017-09-26 20:03:04 +02:00
Bjørn Erik Pedersen cb8eb47260 vendor: Update Chroma 2017-09-26 20:00:39 +02:00
Bjørn Erik Pedersen e94d4f0177 commands: Make noHTTPCache default false
The other way was a mistake.
2017-09-26 19:59:15 +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
Cameron Moore 8a69d23567 tpl: Add math.Ceil, Floor, and Round to method mappings 2017-09-26 08:16:24 +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