Commit Graph

47 Commits

Author SHA1 Message Date
SatowTakeshi c3cc9cd492 configuration: Remove defaultExtension from docs 2018-01-19 14:19:04 +01:00
Bjørn Erik Pedersen b36632b312 Remove non-existing source variable
Closes https://github.com/gohugoio/hugo/issues/4084
Closes https://github.com/gohugoio/hugo/pull/4085
2017-12-10 01:09:08 +01:00
digitalcraftsman 95a5d8b469 Fix format of summaryLength in TOML example config 2017-10-17 16:40:59 +02:00
Bjørn Erik Pedersen 88bf0e6637 Merge commit 'ecf5e081b5540e69f4af330233f39a07baf53846' 2017-10-15 10:20:55 +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
Bjørn Erik Pedersen 6c7191331d Merge commit 'dae5a7c61cceeb0de59f2d755f63e453f71dd9b2' 2017-10-04 09:27:30 +02:00
Cameron Moore 50e04593a7 Document templateMetrics usage
Fixes #213
2017-09-29 13:55:39 +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
Bjørn Erik Pedersen 158cee1b5c Make the tags into keywords
See #32
2017-09-13 19:50:17 +02:00
Frank Taillandier 44fe0285a0 Fix links to JSON spec 2017-09-07 16:26:06 +02:00
ManoHaran 8c2b8fb548 Fix explaination for uglyURLs config option 2017-08-07 21:05:01 +02:00
Bjørn Erik Pedersen bec2bd12c1 Make the title case style guide configurable
This works for the `title` func and the other places where Hugo makes title case.

* AP style (new default)
* Chicago style
* Go style (what we have today)

Fixes #989
2017-07-31 22:16:46 +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 092271c24c Use infinitive mood for main titles
Updates #46
2017-07-19 19:19:29 +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 61203de8cb Some minor edits of the getting started section 2017-07-16 22:11:34 +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
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 2677772044 Fix env var description in configuration.md 2017-04-10 23:06:17 -05:00
Ryan Watters 24ae7df130 Add mention of output format configuration to configuration.md 2017-04-10 23:01:22 -05:00
Ryan Watters 119182aa43 Add sections_weight to all content files 2017-04-05 18:48:10 -05:00
Ryan Watters af3230aa5b Fix typos and add explanation on configuration.md 2017-04-03 10:34:58 -05:00
Bud Parr 6896947058 Update content to use Hugo's built-in menu
* add generic menu declaration
* update about section
* commands
* update content management section
* update contribute section
* functions
* update getting started section
* update hosting and deployment section
* fix mailing list entry (no menu)
* update news section
* update Templates section
* update tools section
* update themes section
* troubleshooting
* update variables section

Fixes rdwatters/hugo-docs-concept#45
See PR rdwatters/hugo-docs-concept#62
2017-03-31 17:50:49 -05:00
Ryan Watters 1517384b9e Remove more extraneous config.toml values 2017-03-25 14:45:43 -05:00
Ryan Watters a479cb136b Update all uses of readfile SC to use root path 2017-03-25 14:19:15 -05:00
Ryan Watters e3f7988507 Update site.recent closes #46 2017-03-19 19:37:12 -05:00
Ryan Watters 68368bb020 Tweak env var config content 2017-03-19 13:54:26 -05:00
Ryan Watters d134b397fe Remove editor from config docs 2017-03-18 16:32:23 -05:00
Ryan Watters 60c2babf0e Attempt to fix scroll on focus issues in iOS 2017-03-09 18:06:29 -06:00
Ryan Watters 1a147b9b44 Shorten descriptions for getting started pages 2017-03-06 00:49:34 -06:00
Ryan Watters 90d7bfedd0 Make further improvements to content organization page 2017-03-05 00:05:53 -06:00
Ryan Watters c21fea827d Move pipeline to root 2017-03-01 01:15:23 -06:00
Ryan Watters 0366c01b34 Switch to new Typekit "Museo Sans" fonts 2017-02-28 23:26:34 -06:00
Ryan Watters 0ef29d31d1 Change code block styles, and start first round of fixes for bf config 2017-02-28 21:42:59 -06:00
Ryan Watters 4bd4374df8 Add updated command mds from bep's 2-25 commit to master 2017-02-26 23:59:22 -06:00
Ryan Watters 515426a17e Make final commit before submitting to Gitter channel 2017-02-26 23:26:11 -06:00
Ryan Watters b8a606f627 Update rss vars page 2017-02-26 02:40:53 -06:00
Ryan Watters c0a626b685 Add first round of functions 2017-02-25 21:40:13 -06:00
Ryan Watters ef3edffe45 Update all built-in shortcodes with output and display examples 2017-02-24 19:37:10 -06:00
Ryan Watters bfd6a131f6 Update with download button and new see-source icons in code blocks 2017-02-24 02:43:40 -06:00
Ryan Watters ee008f4b81 Update function front matter across all files 2017-02-24 00:52:40 -06:00
Ryan Watters d8c64b2d20 Make more copy edits to customizing themes tutorial 2017-02-23 17:26:20 -06:00
Ryan Watters 2414df120b Add all weights to template section and updated go template primer 2017-02-21 19:33:08 -06:00
Ryan Watters d04a24578e Add tree.txt 2017-02-21 02:22:06 -06:00
Ryan Watters fb1911e071 Consolidate all install pages into single page 2017-02-19 18:57:53 -06:00
Ryan Watters 2cb5ad8edd Update shortcode and shortcode templates, both of which need much more work 2017-02-19 01:21:23 -06:00