brevno-suite/hugo
9 years agoAdd Param to release notes
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:07:57 +0000 (06:07 +0200)]
Add Param to release notes

See #1462

9 years agoAdd Param to the docs
Bjørn Erik Pedersen [Mon, 12 Oct 2015 04:00:58 +0000 (06:00 +0200)]
Add Param to the docs

See #1462

9 years agoAdd Param(key) to Node and Page
Bjørn Erik Pedersen [Mon, 12 Oct 2015 03:51:04 +0000 (05:51 +0200)]
Add Param(key) to Node and Page

This  is a convenience method to do lookups in Page's (Page only)  and Site's Params map (Page and Node), in that order.

Fixes #1462

9 years agoDocs: Add pointers to the new themes.gohugo.io site
Anthony Fok [Sat, 10 Oct 2015 16:52:23 +0000 (10:52 -0600)]
Docs: Add pointers to the new themes.gohugo.io site

in "Themes Overview" and "Installing Themes".

TODO: Should look at all other pages and see where else
      we should add pointers to the Hugo Themes site.

9 years agoExpose canonifyURLs as a command flag
Bjørn Erik Pedersen [Sat, 10 Oct 2015 08:50:55 +0000 (10:50 +0200)]
Expose canonifyURLs as a command flag

Needed by the theme site.

9 years agoAdd `dict` func to release notes
Bjørn Erik Pedersen [Fri, 9 Oct 2015 16:51:03 +0000 (18:51 +0200)]
Add `dict` func to release notes

9 years agoAdd dictionary function to be passed into a template
NotZippy [Fri, 2 Oct 2015 15:30:21 +0000 (08:30 -0700)]
Add dictionary function to be passed into a template

Allows templates to dynamically build maps.

Example usage: Creating and passing a map to a subtemplate while in a range on the parent.

9 years agoDocs: Added `hasCJKLanguage` global config flag and `isCJKLanguage` FrontMatter
coderzh [Thu, 8 Oct 2015 14:34:11 +0000 (22:34 +0800)]
Docs: Added `hasCJKLanguage` global config flag and `isCJKLanguage` FrontMatter

See #1399

9 years agoFix comment for NormalizeHugoFlags
Alexander Morozov [Tue, 6 Oct 2015 22:58:58 +0000 (15:58 -0700)]
Fix comment for NormalizeHugoFlags

9 years agoRemove Go 1.3 from README
Bjørn Erik Pedersen [Wed, 7 Oct 2015 19:09:50 +0000 (21:09 +0200)]
Remove Go 1.3 from README

9 years agoWordCount and Summary support CJK Language
coderzh [Thu, 3 Sep 2015 10:22:20 +0000 (18:22 +0800)]
WordCount and Summary support CJK Language

 * add global `hasCJKLanguage` flag, if true, turn on auto-detecting CJKLanguage
 * add `isCJKLanguage` frontmatter to force specify whether is CJKLanguage or not
 * For .Summary: If isCJKLanguage is true, use the runes as basis for truncation, else keep as today.
 * For WordCount: If isCJKLanguage is true, use the runes as basis for calculation, else keep as today.
 * Unexport RuneCount

Fixes #1377

9 years agoRemove RuneCount from doc
Bjørn Erik Pedersen [Tue, 6 Oct 2015 16:48:38 +0000 (18:48 +0200)]
Remove RuneCount from doc

9 years agoAdd Mmark GitHub-flavoured markdown to release notes
Bjørn Erik Pedersen [Tue, 6 Oct 2015 12:16:29 +0000 (14:16 +0200)]
Add Mmark GitHub-flavoured markdown to release notes

9 years agoAdd GitHub style code fence support to mmark
Andrew Brampton [Mon, 7 Sep 2015 18:41:02 +0000 (11:41 -0700)]
Add GitHub style code fence support to mmark

Fixes #1258.

9 years agoDocs: Added RIDING BYTES to Showcase Page
Ramon Bartl [Thu, 1 Oct 2015 09:49:47 +0000 (11:49 +0200)]
Docs: Added RIDING BYTES to Showcase Page

9 years agoAdding maximeguitare.com to showcase
Maxime Michel [Mon, 5 Oct 2015 15:18:21 +0000 (17:18 +0200)]
Adding maximeguitare.com to showcase

9 years agoLet Cobra do the usage error logging
Bjørn Erik Pedersen [Mon, 5 Oct 2015 18:26:49 +0000 (20:26 +0200)]
Let Cobra do the usage error logging

Fixes #1472

9 years agoImprove command text for import command
Bjørn Erik Pedersen [Mon, 5 Oct 2015 09:25:42 +0000 (11:25 +0200)]
Improve command text for import command

9 years agoCapital J in Jekyll
Bjørn Erik Pedersen [Sun, 4 Oct 2015 21:26:18 +0000 (23:26 +0200)]
Capital J in Jekyll

9 years agoAdd Jekyll import to release notes
Bjørn Erik Pedersen [Sun, 4 Oct 2015 18:10:29 +0000 (20:10 +0200)]
Add Jekyll import to release notes

9 years agoHugo import from jekyll
coderzh [Thu, 1 Oct 2015 01:04:30 +0000 (09:04 +0800)]
Hugo import from jekyll

usage: hugo import jekyll jekyll_root_path target_path

Implemented:
 * Create new hugo site
 * Create config.yaml
 * Convert all markdown contents.
 * Copy all other files and folders to static

Fixes #101

9 years agoFix strange carousel width on http://gohugo.io/
Anthony Fok [Fri, 2 Oct 2015 09:27:38 +0000 (03:27 -0600)]
Fix strange carousel width on http://gohugo.io/

The solution is to add `table-layout:fixed` when `display:table` is used
as per the answer given at:

    http://stackoverflow.com/questions/21230184/owl-carousel-inside-a-table-cell-parent-makes-parent-to-expand-weird

Fixes #1465

9 years agoRename NormalizeHugoFlagsFunc to NormalizeHugoFlags
Bjørn Erik Pedersen [Fri, 2 Oct 2015 04:47:34 +0000 (06:47 +0200)]
Rename NormalizeHugoFlagsFunc to NormalizeHugoFlags

It IS a func.

9 years agois it .md instead of .ad?
vsopvsop [Sun, 27 Sep 2015 17:19:02 +0000 (22:49 +0530)]
is it .md instead of .ad?

9 years agoUsed leading slash more consistently
Michael Käufl [Mon, 28 Sep 2015 21:14:24 +0000 (23:14 +0200)]
Used leading slash more consistently

9 years agoMarked the whole path as code
Michael Käufl [Mon, 28 Sep 2015 21:12:57 +0000 (23:12 +0200)]
Marked the whole path as code

9 years agoUse filepath as the last default sort key for pages
Bjørn Erik Pedersen [Wed, 30 Sep 2015 03:43:11 +0000 (05:43 +0200)]
Use filepath as the last default sort key for pages

9 years agoAdd the base64 template funcs to release notes
Bjørn Erik Pedersen [Fri, 25 Sep 2015 19:34:32 +0000 (21:34 +0200)]
Add the base64 template funcs to release notes

9 years agoAdd base64Decode and base64Encode template functions
digitalcraftsman [Sat, 12 Sep 2015 19:45:12 +0000 (21:45 +0200)]
Add base64Decode and base64Encode template functions

Fixes #1416

9 years agoAllow for any (short) line begining or ending with html comment
Sven Dowideit [Wed, 23 Sep 2015 04:43:17 +0000 (14:43 +1000)]
Allow for any (short) line begining or ending with html comment

Fixes #1428

9 years agoChange port number from 1414 to 1313 (default)
Ben Turner [Tue, 22 Sep 2015 03:00:48 +0000 (20:00 -0700)]
Change port number from 1414 to 1313 (default)

Change the port number to access the site locally from 1414 to 1313 as per the default and the image.

9 years agoRemove superfluous `g` in docs
Bjørn Erik Pedersen [Wed, 23 Sep 2015 07:18:20 +0000 (09:18 +0200)]
Remove superfluous `g` in docs

9 years agoTools: Add more to tools to the list
digitalcraftsman [Tue, 22 Sep 2015 11:12:28 +0000 (13:12 +0200)]
Tools: Add more to tools to the list

9 years agoFix typo in docs
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:33:41 +0000 (22:33 +0200)]
Fix typo in docs

See #1438

9 years agoAdd singularize template func
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:31:02 +0000 (22:31 +0200)]
Add singularize template func

See #1438

9 years agoAdd pluralize template func
Bjørn Erik Pedersen [Tue, 22 Sep 2015 20:24:24 +0000 (22:24 +0200)]
Add pluralize template func

Fixes #1438

9 years agocorrect spelling for 'including' and 'counterpart'
vsopvsop [Mon, 21 Sep 2015 01:26:17 +0000 (06:56 +0530)]
correct spelling for 'including' and 'counterpart'

9 years agoPress: Update URL to Spencer Lyon’s “Hugo and GitHub Pages”
Anthony Fok [Sun, 20 Sep 2015 23:30:49 +0000 (17:30 -0600)]
Press: Update URL to Spencer Lyon’s “Hugo and GitHub Pages”

Spencer had moved his web site from http://sglyon.com/ to
http://spencerlyon.com/.  Special thanks to @vsopvsop
for noticing the dead link on the Press coverage page.

Resolves #1446

9 years agoPress: New URL to Kenny Woo’s blog about Hugo
Anthony Fok [Sun, 20 Sep 2015 23:25:04 +0000 (17:25 -0600)]
Press: New URL to Kenny Woo’s blog about Hugo

Kenny had moved his blog from http://kennywoo.com/ to http://kenwoo.io/

9 years agodead link
vsopvsop [Sat, 19 Sep 2015 17:31:01 +0000 (23:01 +0530)]
dead link

Hugo over Octopress
http://kennywoo.com/blog/hugo---golang-based-static-site-generator/

9 years agoLink no longer works - Dead link
vsopvsop [Sat, 19 Sep 2015 01:04:35 +0000 (06:34 +0530)]
Link no longer works - Dead link

http://commiechink.com/2014/08/hello-hugo/

9 years agoShow both baseURL and bind address in `hugo server` output
Anthony Fok [Wed, 16 Sep 2015 05:12:01 +0000 (23:12 -0600)]
Show both baseURL and bind address in `hugo server` output

Fixes #1426

9 years agoUpdate .travis.yml for Go 1.5.1
Anthony Fok [Wed, 16 Sep 2015 05:04:24 +0000 (23:04 -0600)]
Update .travis.yml for Go 1.5.1

Also replaced CRLF with LF in .travis.yml

9 years agoTest builds on OS X
Edward Vielmetti [Wed, 16 Sep 2015 03:57:17 +0000 (23:57 -0400)]
Test builds on OS X

Add an "os" target for OS X to test builds on Mac. No reason to believe it won't work, but always worth testing things.

9 years agoFix typo in terms.md
Ben Turner [Tue, 15 Sep 2015 18:31:11 +0000 (11:31 -0700)]
Fix typo in terms.md

9 years agoRevert "docs: Fix URL to yulinling.net (https → http) in Showcase"
Anthony Fok [Tue, 15 Sep 2015 12:12:25 +0000 (06:12 -0600)]
Revert "docs: Fix URL to yulinling.net (https → http) in Showcase"

This reverts commit ca74dd233df1bd15bcdad0204e79ae77a057ea94.

9 years agodocs: Fix typo in url extras
Samuel Prashker [Wed, 2 Sep 2015 19:22:21 +0000 (15:22 -0400)]
docs: Fix typo in url extras

9 years agodocs: Fix URL to yulinling.net (https → http) in Showcase
Anthony Fok [Mon, 14 Sep 2015 20:32:38 +0000 (14:32 -0600)]
docs: Fix URL to yulinling.net (https → http) in Showcase

9 years agoAdd yulinling.net to Showcase
lynxiayel [Fri, 11 Sep 2015 09:42:37 +0000 (05:42 -0400)]
Add yulinling.net to Showcase

9 years agodocs: Optimize recent thumbnail images in Showcase
Anthony Fok [Mon, 14 Sep 2015 20:02:17 +0000 (14:02 -0600)]
docs: Optimize recent thumbnail images in Showcase

9 years agodocs: Fix formatting in overview/usage.md
Anthony Fok [Mon, 14 Sep 2015 18:47:43 +0000 (12:47 -0600)]
docs: Fix formatting in overview/usage.md

9 years agodocs: Add a few more blog articles to Press
Anthony Fok [Mon, 14 Sep 2015 18:44:33 +0000 (12:44 -0600)]
docs: Add a few more blog articles to Press

Also add ` ` to one of the dates in the table
to prevent the Date column from wrapping

9 years agoAdd "control code" and "trailing space" to alias validation
Anthony Fok [Mon, 14 Sep 2015 18:18:54 +0000 (12:18 -0600)]
Add "control code" and "trailing space" to alias validation

9 years agoMove isThemeVsHugoVersionMismatch to /commands
Bjørn Erik Pedersen [Mon, 14 Sep 2015 15:31:39 +0000 (17:31 +0200)]
Move isThemeVsHugoVersionMismatch to /commands

To prevent potential package cycles in /helpers.

9 years agoValidate aliases to prevent directory traversal etc.
Anthony Fok [Sun, 13 Sep 2015 12:36:08 +0000 (06:36 -0600)]
Validate aliases to prevent directory traversal etc.

Add validation before creating aliases:

 * Prevent creating aliases outside webroot (public/ dir)
 * Skip empty "" alias
 * Skip "/" → "/index.html", which gets overwritten anyway
 * Refuse to create Windows-invalid filenames on Windows;
   warn on other platforms
 * In case of invalid aliases, after skipping them,
   return `err = nil` to prevent the error passing up
   all the way to `hugolib.Render()` and causing Hugo to abort.
 * Update alias tests.

Fixes #701: Add support for alias with whitespace
Fixes #1418: Add validation for alias

9 years agoComplete the Url-to-URL transition in docs
Anthony Fok [Wed, 9 Sep 2015 05:29:04 +0000 (23:29 -0600)]
Complete the Url-to-URL transition in docs

See #959

9 years agoComplete the Url-to-URL transition in tests
Anthony Fok [Wed, 9 Sep 2015 05:27:55 +0000 (23:27 -0600)]
Complete the Url-to-URL transition in tests

See #959

9 years agoAdd helpers.NormalizeHugoFlagsFunc() to handle flag name changes
Anthony Fok [Wed, 9 Sep 2015 05:05:11 +0000 (23:05 -0600)]
Add helpers.NormalizeHugoFlagsFunc() to handle flag name changes

It currently handles --baseUrl to --baseURL, and --uglyUrls to --uglyURLs.

Special thanks to Eric Paris (@eparis) for writing the
"normalized name" support in Cobra, and for showing us
how it is used in Kubernetes.

See Issue #959

9 years agoDocs: extend the migration tool list and add a cross-reference in the start guide
digitalcraftsman [Sat, 12 Sep 2015 17:46:01 +0000 (19:46 +0200)]
Docs: extend the migration tool list and add a cross-reference in the start guide

9 years agoDocs: Add a section about tools around Hugo
digitalcraftsman [Sat, 12 Sep 2015 10:12:01 +0000 (12:12 +0200)]
Docs: Add a section about tools around Hugo

9 years agoWordCount Summary support UTF-8 string
coderzh [Thu, 3 Sep 2015 10:22:20 +0000 (18:22 +0800)]
WordCount Summary support UTF-8 string

9 years agodocs: Change redirect documentation to aliases
Anthony Fok [Thu, 10 Sep 2015 09:08:32 +0000 (03:08 -0600)]
docs: Change redirect documentation to aliases

Fixes #962

9 years agoConvert example/blog to use new syntax for Hugo v0.14+
Anthony Fok [Wed, 9 Sep 2015 04:51:57 +0000 (22:51 -0600)]
Convert example/blog to use new syntax for Hugo v0.14+

safeHtml → safeHTML, .Site.BaseUrl → .Site.BaseURL

(Hmm... How did we miss that earlier?)

9 years agodocs: Remove empty sourceLink from two sites in Showcase
Anthony Fok [Wed, 9 Sep 2015 04:35:26 +0000 (22:35 -0600)]
docs: Remove empty sourceLink from two sites in Showcase

The empty sourceLink created an empty HTML anchor
which got pointed back to http://gohugo.io/showcase/

9 years agoAdd FxSiteCompat.com to Showcase
Kohei Yoshino [Tue, 8 Sep 2015 23:50:22 +0000 (19:50 -0400)]
Add FxSiteCompat.com to Showcase

9 years agofix showcase to render properly
spf13 [Wed, 9 Sep 2015 02:52:24 +0000 (22:52 -0400)]
fix showcase to render properly

9 years agoAdding RichardSumilang.com to the showcases.
Richard Sumilang [Mon, 7 Sep 2015 07:17:45 +0000 (00:17 -0700)]
Adding RichardSumilang.com to the showcases.

9 years agoDocs: Add Humboldtux.net to Showcase page
Benoit Benedetti [Sun, 6 Sep 2015 18:30:34 +0000 (20:30 +0200)]
Docs: Add Humboldtux.net to Showcase page

9 years agoDocs: Add new french mag article by @humboldtux to Press page
Benoit Benedetti [Sun, 6 Sep 2015 18:12:19 +0000 (20:12 +0200)]
Docs: Add new french mag article by @humboldtux to Press page

9 years agoAdded details about generated files and development flows
jlengstorf [Sat, 5 Sep 2015 13:38:55 +0000 (15:38 +0200)]
Added details about generated files and development flows

9 years agoAdd a 404.html file if a new theme is created
digitalcraftsman [Fri, 4 Sep 2015 11:43:09 +0000 (13:43 +0200)]
Add a 404.html file if a new theme is created

9 years agoUpdate organization.md
Isaac Gregson [Fri, 4 Sep 2015 09:37:30 +0000 (12:37 +0300)]
Update organization.md

Increases clarity on the different between `section` and `type`.

The current `section` information here is wrong (sections can *not* be specified in front matter). This caused quite the headache. This change fixes this and also adds `type`, since it *can* be specified in front matter.

9 years agoshowcase layout improved when thumbnails are different proportions
spf13 [Tue, 8 Sep 2015 15:23:14 +0000 (11:23 -0400)]
showcase layout improved when thumbnails are different proportions

9 years agoAdd NoDesk to Showcase
sergeant [Wed, 26 Aug 2015 21:01:12 +0000 (23:01 +0200)]
Add NoDesk to Showcase

9 years agoAdd NoDesk to Showcase
sergeant [Wed, 26 Aug 2015 20:37:29 +0000 (22:37 +0200)]
Add NoDesk to Showcase

9 years agoDescribe the use of custom archetypes in the docs
digitalcraftsman [Mon, 24 Aug 2015 11:29:45 +0000 (13:29 +0200)]
Describe the use of custom archetypes in the docs

9 years agoAdd GreenITGlobe website for showcases page
Karim Ali [Mon, 24 Aug 2015 19:10:49 +0000 (21:10 +0200)]
Add GreenITGlobe website for showcases page

9 years agoAdd Chinese Grammar to showcase
Hugh Grigg [Fri, 21 Aug 2015 14:46:30 +0000 (15:46 +0100)]
Add Chinese Grammar to showcase

9 years agoDocs: Add new blog post by @CoderZh to Press page
Anthony Fok [Tue, 1 Sep 2015 18:06:34 +0000 (12:06 -0600)]
Docs: Add new blog post by @CoderZh to Press page

9 years agoAdd config option "disablePathToLower"
chrongzhang [Tue, 1 Sep 2015 12:53:25 +0000 (20:53 +0800)]
Add config option "disablePathToLower"

Enabling this prevents lowercasing of the path/url.

Fixes #557

9 years agoCorrect check of published boolean
Jeff Hodges [Sun, 30 Aug 2015 22:51:25 +0000 (15:51 -0700)]
Correct check of published boolean

9 years agoAdd undocumented published setting to front matter
Jeff Hodges [Sun, 2 Aug 2015 06:02:20 +0000 (23:02 -0700)]
Add undocumented published setting to front matter

A new "published" setting that is the opposite of "draft" is added and
left intentionally undocumented.

This setting comes from jekyll and eases the transition to hugo
greatly. We leave it undocumented so that folks don't rely on it, but
also don't shoot themselves in the foot during a jekyll migration.

The foot-shooting occurs if they have only a few documents that were
drafts ("published: false") in the jekyll version of their site and
don't notice that they were published in the migration to hugo.

9 years agoUnexport FileAndExt
Bjørn Erik Pedersen [Wed, 26 Aug 2015 19:29:32 +0000 (21:29 +0200)]
Unexport FileAndExt

If needed outside helpers, create an exported file path (FilePathAndExt?)  and/or a url version.

9 years agoPolish 0.15 release notes
Bjørn Erik Pedersen [Sun, 23 Aug 2015 13:14:48 +0000 (15:14 +0200)]
Polish 0.15 release notes

9 years agoAdd first draft of Hugo 0.15 Release Notes
Bjørn Erik Pedersen [Sun, 23 Aug 2015 12:20:14 +0000 (14:20 +0200)]
Add first draft of Hugo 0.15 Release Notes

9 years agoUse LazyFileReader for reading file contents
Tatsushi Demachi [Sun, 16 Aug 2015 03:30:22 +0000 (12:30 +0900)]
Use LazyFileReader for reading file contents

Simple ioutil.ReadFile is used for reading file contents but it reads
all of the file contents and copies them into the memory and is run in a
single goroutine. It causes much memory consumption at copying media
files in content directory to publish directory and it is not good at
performance.

This improves the both issue by replacing ReadFile with LazyFileReader.

It postpones reading the file contents until it is really needed. As the
result, actual file read is run in parallelized goroutine. It improves
performance especially in a really big site.

In addition, if this reader is called from io.Copy, it does not copy the
file contents into the memory but just copies them into destination
file. It improves much memory consumption issue when the site has many
media files.

Fix #1181

9 years agoAdd LazyFileReader type to source library
Tatsushi Demachi [Sat, 15 Aug 2015 15:06:39 +0000 (00:06 +0900)]
Add LazyFileReader type to source library

LazyFileReader is an io.Reader implementation to postpone reading the
file contents until it is really needed. It is introduced for improving
performance and memory consumption at reading media files in content
directory.

9 years agoUpdate Travis for Go 1.5
Bjørn Erik Pedersen [Fri, 21 Aug 2015 07:17:53 +0000 (09:17 +0200)]
Update Travis for Go 1.5

9 years agoFix -ldflags for Go 1.5
Andrew Carter [Thu, 20 Aug 2015 20:48:42 +0000 (13:48 -0700)]
Fix -ldflags for Go 1.5

Use correct form -X <name>=<value> for Go 1.5

9 years agoFix typo, "delemiters" -> "delimiters"
Icaro Seara [Wed, 19 Aug 2015 01:59:34 +0000 (22:59 -0300)]
Fix typo, "delemiters" -> "delimiters"

9 years agoUpdate press.md
Francois Lanthier Nadeau [Thu, 13 Aug 2015 18:00:33 +0000 (14:00 -0400)]
Update press.md

New article about Hugo on the Snipcart blog.

9 years agoSearch current directory for config file by default
Anthony Fok [Wed, 19 Aug 2015 06:36:22 +0000 (00:36 -0600)]
Search current directory for config file by default

As of 2015-08-16, Viper no longer searches the CWD
for config file by default to avoid unintended surprises,
but Hugo relies on the original behaviour.

Fixed by calling

    viper.AddConfigPath(".")

at the appropriate place.

See https://github.com/spf13/viper/issues/73 for more information.

Fixes #1363

9 years agoUse cast.ToIntE for int conversions in substr and slicestr
Bjørn Erik Pedersen [Sat, 15 Aug 2015 13:47:16 +0000 (15:47 +0200)]
Use cast.ToIntE for int conversions in substr and slicestr

It is less restrictive, and it is what is used in other template funcs.

9 years agoSlicestr fix for other int type param
Benny Wu [Fri, 14 Aug 2015 08:36:56 +0000 (15:36 +0700)]
Slicestr fix for other int type param

Fixes #1347

9 years agoDocumentation update on Template Where Function for nil
Benny Wu [Tue, 11 Aug 2015 02:33:13 +0000 (09:33 +0700)]
Documentation update on Template Where Function for nil

9 years agoImplement `hugo --theme=[Tab][Tab]` bash completion
Anthony Fok [Mon, 10 Aug 2015 00:49:54 +0000 (18:49 -0600)]
Implement `hugo --theme=[Tab][Tab]` bash completion

using the new BashCompSubdirsInDir annotation in spf13/cobra.

9 years agoPrint feedback for `hugo genautocomplete`
Anthony Fok [Thu, 6 Aug 2015 21:38:25 +0000 (15:38 -0600)]
Print feedback for `hugo genautocomplete`

9 years agoPrint feedback for `hugo gendoc`
Anthony Fok [Sat, 8 Aug 2015 04:26:28 +0000 (22:26 -0600)]
Print feedback for `hugo gendoc`

9 years agoUse spf13/pflag's new SetAnnotation helper
Anthony Fok [Sat, 8 Aug 2015 04:50:36 +0000 (22:50 -0600)]
Use spf13/pflag's new SetAnnotation helper

And make our bash completion code more compact.

9 years agoAdded sitemap configuration documentation.
Michael Diamond [Thu, 6 Aug 2015 05:39:49 +0000 (01:39 -0400)]
Added sitemap configuration documentation.