5907 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen
58adf5d0d8 Merge commit '325009c3fd4ac90021897b7e3e025c14e70ce162' 2017-10-19 07:59:48 +02:00
hugoreleaser
4ef5dcb9b7 releaser: Prepare repository for 0.31-DEV
[ci skip]
2017-10-19 05:43:34 +00:00
hugoreleaser
02938a788f releaser: Add release notes to /docs for release of 0.30.1
[ci skip]
2017-10-19 05:41:50 +00:00
hugoreleaser
7cfd01fc60 releaser: Bump versions for release of 0.30.1
[ci skip]
2017-10-19 05:41:50 +00:00
Bjørn Erik Pedersen
e65df10595
Bump to v0.30 v0.30 2017-10-16 10:57:03 +02:00
hugoreleaser
e9e118730a releaser: Prepare repository for 0.31-DEV
[ci skip]
2017-10-16 08:40:34 +00:00
hugoreleaser
e6f2508d4d releaser: Add release notes to /docs for release of 0.30
[ci skip]
2017-10-16 08:39:00 +00:00
hugoreleaser
9c5d6a65b6 releaser: Bump versions for release of 0.30
[ci skip]
2017-10-16 08:39:00 +00:00
Bjørn Erik Pedersen
88bf0e6637 Merge commit 'ecf5e081b5540e69f4af330233f39a07baf53846' 2017-10-15 10:20:55 +02:00
Bjørn Erik Pedersen
4628b9ec2c
commands: Regen CLI doc 2017-10-15 10:20:10 +02:00
Bjørn Erik Pedersen
2525f2ed02
data: Regenerate docs helper 2017-10-15 10:19:17 +02:00
Bjørn Erik Pedersen
6f5a0eb197
Add Hugo 0.30 poster image 2017-10-15 10:16:25 +02:00
Bjørn Erik Pedersen
72c3fac9e8
Merge branch 'chroma-next2' into next 2017-10-15 10:08:47 +02:00
PJB3005
364973d3ff Fix typo in syntax highlighting.
It said that PygmentsUseClassic was needed for style sheets, instead of PygmentsUseClasses.
2017-10-14 21:14:43 +02:00
Bjørn Erik Pedersen
ce10cc02e3
Update Chroma highlighting docs
To the upcoming Hugo v0.30.
2017-10-14 14:03:47 +02:00
Emir Ribić
9dcc4d4dd3 Update robots.md 2017-10-11 15:29:47 +02:00
Matthieu FAURE
1e64cb4830 Rename title of cross references' page 2017-10-11 13:48:36 +02:00
Luc Perkins
d6dfbbc511 Add warning about MMark and TOCs 2017-10-10 20:06:26 +02:00
lumbric
e8d259d327 Fix link to subsection in page 2017-10-07 21:06:22 +02:00
Bjørn Erik Pedersen
6adead19d6
Merge commit '040d8d2833c26c53cf9f0e035910821ed50e3863' 2017-10-07 18:38:16 +02:00
Bjørn Erik Pedersen
040d8d2833 Squashed 'themes/gohugoioTheme/' changes from cdaa89c8..6b632895
6b632895 Cache some partials

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: 6b632895abe6a8644f528c5da780ef6caf1d48ed
2017-10-07 18:38:16 +02:00
Christopher Geary
bde95d8903 Add Atlas starter kit 2017-10-07 13:29:09 +02:00
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
Bjørn Erik Pedersen
6c7191331d Merge commit 'dae5a7c61cceeb0de59f2d755f63e453f71dd9b2' 2017-10-04 09:27:30 +02:00
Brendan Roy
efd1821bd7 tpl: Add errorf template function
Add template function that will build a string from the given format
string and arguments, then log it to ERROR. This has an intended
side-effect of causing the build to fail, when executed.

Resolves #3817
2017-10-03 07:59:51 +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
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
digitalcraftsman
9e8c09652a 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
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
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 v0.29 2017-09-26 21:32:24 +02:00