Commit Graph

20 Commits

Author SHA1 Message Date
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 bb178a6539 Bump version to 0.20-DEV 2017-02-27 13:58:50 +01:00
Bjørn Erik Pedersen d9f900c0c0 Update versions to 0.19 release 2017-02-27 10:49:35 +01:00
Cameron Moore 47d20d7800 docs: Don't use binary version in docs site
Adds a "release" Site param that will be need to be updated for each
release.

Fixes #2857
2017-01-02 14:08:36 +01:00
Bjørn Erik Pedersen cf6198aa19 Add GitInfo
This commit adds a `GitInfo` object to `Page` if `EnableGitInfo` is set.

It then also sets `Lastmod` for the given `Page` to the author date provided by Git.

The Git integrations should be fairly performant, but it adds "some time" to the build, somewhat depending on the Git history size.

If you want, you can run without during development and turn it on when deploying to the live server: `hugo --enableGitInfo`.

Fixes #2102
2016-11-01 23:04:12 +01:00
Bjørn Erik Pedersen a18faed649 Docs: Enable plain id anchors
Making it possible to post permanent anchored links to StackExchange etc.
2016-01-15 12:55:35 +01:00
spf13 026a405559 Add hugo theme site to the sidebar
Also reorder the menu a bit and clarify a couple items.
2015-11-09 23:23:39 -05:00
digitalcraftsman 2b9239ca29 Docs: Add a section about tools around Hugo 2015-09-12 15:41:56 +02:00
Anthony Fok fbe7041962 docs: Add site title; set pluralizeListTitles = false
To prevent "Showcase" from becoming "Showcases",
also to have the RSS feed display correct titles,
i.e. "Showcase on gohugo.io" rather than "Showcase on ".
2015-08-08 01:41:18 -06:00
spf13 51e686e159 Move press page to top level menu 2015-05-25 11:54:22 -04:00
bep 28d3fcdefe Add gendoc command
Using the new, great auto-doc in Cobra.

This commit also contains a current result of that command added to a commands section in docs.

Fixes #1136
2015-05-19 10:57:21 -04:00
Anthony Fok 2cb3279660 [Docs] Complete the transition from "indexes" to "taxonomies" (almost)
Also mention `.Site.Indexes` → `.Site.Taxonomies` as well as
the upcoming `.Site.Recent` → `.Site.Pages` transitions.
2015-01-29 12:48:14 -07:00
Anthony Fok 5def25889b [Docs] Copyediting
* Add meta author, description and generator tags
 * Add Hugo version beside the logo and in the footer
 * Suggest the user to run `go get -u -v` to update dependencies
 * Requires Go 1.3+ rather than Go 1.1+
 * Improve rendering/formatting in some places
 * Add trailing slash to URLs where appropriate
 * GitHub redirects all http requests to https, update accordingly
2015-01-28 18:02:40 -07:00
Anthony Fok c96ba38442 [Docs] Adjust sidebar menu width and capitalization
Make the sidebar menu slightly wider so the arrow
does not get pushed to the next line.

Also remove `text-transform: capitalize;` so we can have,
e.g., "Table of Contents" rather than "Table Of Contents".
2015-01-17 00:11:17 -07:00
Anthony Fok 57995fbb14 [Docs] New Troubleshooting section
With two entries of frequently encountered or obscured troubles so far:

- "Categories with accented characters" Unicode NFC/NFD mismatch
   on Mac OS X (See #739)
- `hugo new` aborts with cryptic EOF error (See #776)
2015-01-08 18:29:05 -07:00
spf13 538bd1ae0f switching website to gohugo.io & adding links to discuss 2014-09-18 21:22:04 -04:00
spf13 7d49ecb559 Bringing back the showcase 2014-08-19 21:47:38 -04:00
spf13 7be1411681 More doc site improvements. Added documentation's new layout 2014-05-28 01:37:33 -04:00
spf13 acf48b814d Updating / Rewriting / Adding all of the documentation in preparation for the next release 2014-05-27 18:32:57 -04:00
spf13 cf468d5a0d Creating site menu configuration and have the docs site use it 2014-04-24 16:11:08 -06:00