Commit Graph

175 Commits

Author SHA1 Message Date
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
Michael Henderson 362acdb26b Fix typo in quickstart
Change "relase" to "release"

See #80
2017-07-23 18:17:17 -06:00
Ryan Watters c24405600d Remove inline icons from installation guide
Fixes #78
2017-07-24 01:00:19 +02:00
Bjørn Erik Pedersen 622f49cf8e Add a full commands section at the quick start end 2017-07-23 23:52:28 +02:00
Bjørn Erik Pedersen 5e0cfaa92b Adjust Linux install 2017-07-23 21:24:55 +02:00
Bjørn Erik Pedersen d51397c2fe Fix broken link in Quick Start
Fixes #3729
2017-07-23 20:20:12 +02:00
Bjørn Erik Pedersen 1fb39846c8 Add /quickstart alias to quickstart 2017-07-23 18:45:48 +02:00
Bjørn Erik Pedersen 7440616b1b Add new and simpler quickstart
Fixes #75
2017-07-23 18:43:20 +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 4ac6e82810 Update content references to new gohugoio org 2017-07-16 14:38:15 +02:00
Bjørn Erik Pedersen 2d75e09066 Content fix 2017-07-16 00:24:03 +02:00