Commit Graph
5719 Commits
Author SHA1 Message Date
Li-Wen Yip e975a07fb0 Update press.md
Add "Getting started with Hugo and the plain-blog theme, on NearlyFreeSpeech.Net"
2017-04-07 19:05:15 +02:00
digitalcraftsman 2329545aa7 Favor HTTPS and use ref.-style links more consistently
Fix a few small merging conflicts, but this is all good by me.
Thanks @digitalcraftsman!

See PR rdwatters/hugo-docs-concept#71
2017-04-07 12:01:52 -05:00
Bjørn Erik Pedersen 7ad721fd78 hugolib: Add .Site.Params.mainSections
Fixes #3206
2017-04-07 13:03:34 +02:00
Bjørn Erik Pedersen 5714531f34 hugolib: Only do link transforms etc. on HTML type of pages
See #2828
2017-04-07 11:02:23 +02:00
Bjørn Erik Pedersen 706b2f7fa5 all: Document the Output Formats feature
This commit also adds a new command, docshelper, with some utility funcs that adds a JSON datafiles to /docs/data that would be a pain to create and maintain by hand.

Fixes #3242
2017-04-07 10:52:16 +02:00
Bjørn Erik Pedersen 3c405f5172 all: Document the Output Formats feature
This commit also adds a new command, docshelper, with some utility funcs that adds a JSON datafiles to /docs/data that would be a pain to create and maintain by hand.

Fixes #3242
2017-04-07 10:52:16 +02:00
Bjørn Erik Pedersen 9580872459 hugolib: Update deprecation vs Hugo 0.20
Fixes #3271
2017-04-07 10:48:09 +02:00
Bjørn Erik Pedersen af99a59021 output: Add some sane defaults for output format
Fixes #3290
2017-04-07 10:43:48 +02:00
Ryan Watters 83dcf5f3c4 Add SiteGetPage example to taxonomy templates 2017-04-06 20:45:08 -05:00
Ryan Watters 45bf976bcf Add Li-Wen Yip press additions to articles data file 2017-04-06 20:27:00 -05:00
Ryan Watters 7ad5d51e67 Update lastmod for single page templates 2017-04-06 17:30:59 -05:00
Ryan Watters c7816c5b52 Update single page examples to use more recent Hugo features 2017-04-06 17:04:05 -05:00
Ryan Watters 7d60b1a55a Update mixed param type error for shortcodes 2017-04-06 15:46:23 -05:00
Ryan Watters abe58bf5a3 Remove more wordiness from shortcode parameter type intro text 2017-04-06 15:44:46 -05:00
Ryan Watters 7ad76bfa1b Make yet another typo fix in shortcode templates 2017-04-06 15:44:13 -05:00
Ryan Watters 2e9810485b Clean up shortcode templates
Closes rdwatters/hugo-docs-concept#67
2017-04-06 15:35:55 -05:00
Ryan Watters 74d331ba53 Change to Template Lookup Order for temp-lookup linktitle 2017-04-06 14:36:00 -05:00
Ryan Watters 78164269cf Fix heading typo in cm shortcodes 2017-04-06 14:32:41 -05:00
Ryan Watters 56d459d6fa Fix heading in cm-shortcodes 2017-04-06 14:31:27 -05:00
Ryan Watters 3375fc2b7b Fix heading in cm-shortcodes 2017-04-06 14:31:14 -05:00
Albert Nigmatzianov 260b55ea56 tpl: Set RenderingContext.Config in markdownify 2017-04-06 21:02:37 +02:00
Albert Nigmatzianov 8f09e5f6bc helpers: Add new properties to ContentSpec 2017-04-06 21:02:37 +02:00
Bjørn Erik Pedersen c4a1165587 all: Handle all errors
As reported by `errcheck`.
2017-04-06 20:35:26 +02:00
Albert Nigmatzianov 35fffad1e9 Update content-management/multilingual to reflect new TOML support
@bogem Thanks a lot for your help, sir!
And for the great work on implementing this feature.
I appreciate it! 😄

Fixes rdwatters/hugo-docs-concept#64
See PR rdwatters/hugo-docs-concept#65 and PR gohugoio/hugo#3257
2017-04-06 11:50:14 -05:00
Anthony Fok bf2d2bbede Fix typo: "KaTex" → "KaTeX"
Thanks for the good catch and keen eye @anthonyfok.
Much appreciated!

See PR rdwatters/hugo-docs-concept#66
2017-04-06 11:49:11 -05:00
Bjørn Erik Pedersen e77bb13c20 media, output: Fix spelling 2017-04-06 15:28:56 +02:00
Bjørn Erik Pedersen e225c95f9e docs: Disable GitInfo by default
Use `--enableGitInfo` when publishing.

This gives a much better out-of-the-box editing experience.
2017-04-06 13:50:10 +02:00
Bjørn Erik Pedersen e6e1aca3f4 docs: Disable GitInfo by default
Use `--enableGitInfo` when publishing.

This gives a much better out-of-the-box editing experience.
2017-04-06 13:50:10 +02:00
Chris Hager 0f53dc24d1 docs: Add info about Pygments installation in installing.md
Additional information about the Pygments dependency in the "installing from source" chapter.
2017-04-06 13:48:22 +02:00
Chris Hager f3b4a0e99e docs: Add info about Pygments installation in installing.md
Additional information about the Pygments dependency in the "installing from source" chapter.
2017-04-06 13:48:22 +02:00
Li-Wen Yip 9d1480cf81 docs: Add article by Li-Wen Yip to press section 2017-04-06 13:38:32 +02:00
Li-Wen Yip 0dd6890ed5 docs: Add article by Li-Wen Yip to press section 2017-04-06 13:38:32 +02:00
Ryan Watters 119182aa43 Add sections_weight to all content files 2017-04-05 18:48:10 -05:00
Ryan Watters ce428a9cca Update trim description with note on whitespace 2017-04-05 18:31:18 -05:00
Ryan Watters fe78595c89 Add emphasis to trim function explanation 2017-04-05 18:24:40 -05:00
Bjørn Erik Pedersen 6650fae7ad tpl: Fix nil pointer in Tree()
Fixes #3285
2017-04-05 22:12:03 +02:00
Ryan Watters f4b1293510 Fix typos in syntax highlighting docs 2017-04-05 14:28:05 -05:00
Ryan Watters 6b7c849789 Update trim explanation per gohugoio/hugo#3279 2017-04-05 12:50:38 -05:00
Ricardo N Feliciano 28146cb354 docs: Properly capitalize GitHub 2017-04-05 18:41:23 +02:00
Ricardo N Feliciano b31da911b5 docs: Properly capitalize GitHub 2017-04-05 18:41:23 +02:00
Ryan Watters 4b1dfc1d52 Update govendor instructions in source install 2017-04-05 11:21:23 -05:00
Bjørn Erik Pedersen 1425587193 hugolib: Add optional outputFormat to Ref/RelRef
Fixes #3224
2017-04-04 23:09:01 +02:00
Bjørn Erik Pedersen a883948c4f Register all media types when in server mode
Fixes #3274
2017-04-04 18:05:19 +02:00
Bjørn Erik Pedersen bc36d468ab tplimpl: Reintroduce the double template lookup in Partial
So it works as before without the html suffix.

Fixes #3272
2017-04-04 17:21:04 +02:00
Bjørn Erik Pedersen 7da1b65968 all: Use the configured output types to resolve template type
Closes #320
2017-04-04 15:12:30 +02:00
Bjørn Erik Pedersen 868f89d5c6 hugolib: Improve render error handling
Catch and return the "template not found" error earlier.
2017-04-04 15:12:30 +02:00
Bjørn Erik Pedersen 04d80e6e87 commands, helpers: Add correct verbose log level to the global loggers
We still use those in some cases.
2017-04-04 15:12:30 +02:00
Bjørn Erik Pedersen 0802f79e66 output: Make template name lower cased 2017-04-04 15:12:30 +02:00
Bjørn Erik Pedersen 10ff2f31a6 hugolib: Read media types and output formats from site config
Closes #3222
Closes #3223
2017-04-04 15:12:30 +02:00
Bjørn Erik Pedersen f8d555cca5 media: Add DecodeTypes
And clean up the media package.
2017-04-04 15:12:30 +02:00