Commit Graph

189 Commits

Author SHA1 Message Date
samudranb 46050042ab Corrected formatting 2018-04-17 12:10:49 -04:00
Regis Philibert 8ae3aadd73 use code-toggle shortcode when relevant
Content Management 
2018-04-06 21:47:25 +02:00
Stephen Brown II 4d47608191 Fix typo in code-toggle.md
Congig -> Config
2018-04-02 15:53:45 +02:00
Bjørn Erik Pedersen 2d52e2e4eb Merge commit 'ed8bf081fdbf336e026517b7e1b123c039014ab5' 2018-04-02 08:53:34 +02:00
Regis Philibert 2ef3918b2f Add code toggler
Closes #363
2018-03-30 22:46:25 +02:00
Minos Park ffcb262701 Fix broken link for configuration.md 2018-03-30 21:50:25 +02:00
James Rhea 72b2db77ca Change "on the form" to "of the form"
Typo fix: changed "on the form" to "of the form" in configuration.md
2018-03-29 14:39:10 -04:00
Bjørn Erik Pedersen 55cba056d0 Merge commit '3886fc1fef6ac19d58b9ba1bb642d0c6c9a54031' 2018-03-16 09:44:54 +01:00
Kaushal Modi dc26e0a5a6 Clarify the default for site config files and multiple config files
Add examples on how to set multiple site config files.

Fixes https://github.com/gohugoio/hugoDocs/issues/146
2018-03-15 12:20:05 -04:00
Kaushal Modi c87c9c62e1 Review and update the Site config documentation for consistency 2018-03-15 11:17:34 -04:00
Kaushal Modi a29edc50c0 Fix the default value of rssLimit site config
Fixes https://github.com/gohugoio/hugoDocs/issues/417
2018-03-15 11:15:47 -04:00
Nick-Rivera 4f860d1a25 Typo capitalization fixes 2018-03-14 17:33:57 -04:00
Bjørn Erik Pedersen 7e664f69eb Update configuration.md 2018-03-13 10:49:19 +01:00
Bjørn Erik Pedersen 6f301ebcc6 docs: Add docs on the new front matter configuration
See #4495
2018-03-11 22:51:11 +01:00
Bjørn Erik Pedersen 7ef44d262f Add some missing configuration entries 2018-03-01 18:06:27 +01:00
Bjørn Erik Pedersen f1c7aa5684 Sort config list 2018-03-01 18:00:13 +01:00
Bjørn Erik Pedersen 5cb8ceade5 Create a proper definition list for the configuration settings 2018-03-01 17:55:34 +01:00
Bjørn Erik Pedersen e07eda273b Add OS env to faq 2018-02-27 11:08:23 +01:00
Hugo Locurcio 84704aa84b Use GOPATH variable if defined in installation from source
This makes the command work on systems with a custom GOPATH environment
variable set. If not defined, it will fallback to `$HOME/.go`.
2018-02-17 19:11:20 +01:00
Bjørn Erik Pedersen 5f70e6ee2c Remove disableRSS etc. from the documentation
They was deprecated and then removed.

Fixes https://github.com/gohugoio/hugo/issues/4419
2018-02-17 13:40:37 +01:00
Bjørn Erik Pedersen c5963edaa0 Update installing
To reflect dep and mage.

Fixes https://github.com/gohugoio/hugo/issues/4390
2018-02-08 13:47:36 +01:00
Nick-Rivera 6d652458c4 Fixed typo in docs.
The words “with in” should be changed to “within.”
2018-02-01 02:27:05 -05:00
Bjørn Erik Pedersen 0d688633f8 Merge commit '337d0c5f516ee085205e8abefdb7f87e6d33ca05' 2018-01-31 11:08:08 +01:00
Robert Basic 8fc9e325b9 command: Remove undraft command
According to @bep, it is easier to undraft content by
editing manually the frontmatter of said content by
setting the draft flag to `false`, or removing it completely,
than to rely on the undraft command which is a source of
many bugs.

Fixes #4353
2018-01-29 16:56:35 +01:00
Pierre-Alain TORET 852188f855 Update installing.md with Fedora instructions 2018-01-19 14:20:44 +01:00
SatowTakeshi c3cc9cd492 configuration: Remove defaultExtension from docs 2018-01-19 14:19:04 +01:00
Bjørn Erik Pedersen 7960822895 Fix min Go version in installing
Closes https://github.com/gohugoio/hugo/issues/4223
2018-01-04 23:36:55 +01:00
Tails b8bcb2fb8b Include note to allow hugo write permissions outside home dir 2017-12-16 11:44:58 +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
Bjørn Erik Pedersen b3c98ba652 Add doc about the new static dir support 2017-11-18 12:54:25 +01:00
Pierre-Alain TORET a042b67b5b Update installation instructions for Fedora, CentOS, Red Hat
Cleaned the Fedora, CentOS, RH section :
- removed the outdated copr link to spf13 repo
- removed the version mentionned on my copr repo as I follow the releases
2017-11-15 20:52:21 +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
Giraffe Academy 2b27785915 Add tutorial videos to several docs pages
Credits go to @giraffeacademy
2017-09-11 22:06:09 +02:00
Frank Taillandier 44fe0285a0 Fix links to JSON spec 2017-09-07 16:26:06 +02:00
Terence Eden 4e1e43e9ca Fix broken Pygments url
Fixes #161
2017-08-31 18:55:37 +02:00
M Brennan 286985009b Remove HTML special chars from Windows install example 2017-08-19 08:23:07 +02:00
Leon Barnard 2e05043f16 Add upgrade instructions using homebrew 2017-08-18 22:38:44 +02:00
ManoHaran 8c2b8fb548 Fix explaination for uglyURLs config option 2017-08-07 21:05:01 +02:00
Jaroslav Lichtblau 378aded702 Use community repository for Arch Linux installation guide 2017-08-07 20:47:03 +02:00
Bjørn Erik Pedersen 033752f10f Merge commit 'e81208265bb3cdb7606d051a23d83aeebcb7d34d' 2017-08-06 17:24:51 +02:00
Abdullah Diab 8353177226 Replace http://example.{com,org}/ with https://example.{com,org}/
* Replace http://example.{com,org}/ with https://example.{com,org}/

To be consistent with gohugoio/hugo, @bep suggests changing all
instances of http://(www.)?example.{com,org} with
https://(www.)?example.{com,org}

See issue gohugoio/hugo#3728 with pull request gohugoio/hugo#3739
2017-08-01 22:54:32 +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
Farhan Attamimi fb7ae80aa3 Fix typo in usage.md
Changes "most command commands" to "most common commands".
2017-07-26 14:10:31 +02:00
Bjørn Erik Pedersen 4aef494434 Adjust titles 2017-07-24 08:30:02 +02:00