From 84f4c21d4a0a86f4e82c5bdd7de6fc96997dcc30 Mon Sep 17 00:00:00 2001 From: Andre R Date: Sun, 10 May 2015 14:38:05 -0400 Subject: [PATCH] Fix datePublished to publishdate --- commands/hugo.go | 2 +- docs/content/overview/configuration.md | 2 +- docs/content/overview/usage.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/hugo.go b/commands/hugo.go index 067d82cce..47d3a9904 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -81,7 +81,7 @@ func AddCommands() { //Initializes flags func init() { HugoCmd.PersistentFlags().BoolVarP(&Draft, "buildDrafts", "D", false, "include content marked as draft") - HugoCmd.PersistentFlags().BoolVarP(&Future, "buildFuture", "F", false, "include content with datePublished in the future") + HugoCmd.PersistentFlags().BoolVarP(&Future, "buildFuture", "F", false, "include content with publishdate in the future") HugoCmd.PersistentFlags().BoolVar(&DisableRSS, "disableRSS", false, "Do not build RSS files") HugoCmd.PersistentFlags().BoolVar(&DisableSitemap, "disableSitemap", false, "Do not build Sitemap file") HugoCmd.PersistentFlags().StringVarP(&Source, "source", "s", "", "filesystem path to read files relative from") diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index 6e1be3bfa..d6e8b3a46 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -77,7 +77,7 @@ Following is a list of Hugo-defined variables that you can configure and their c baseURL: "" # include content marked as draft buildDrafts: false - # include content with datePublished in the future + # include content with publishdate in the future buildFuture: false canonifyURLs: false # config file (default is path/config.yaml|json|toml) diff --git a/docs/content/overview/usage.md b/docs/content/overview/usage.md index d7a3c4944..d830d2d77 100644 --- a/docs/content/overview/usage.md +++ b/docs/content/overview/usage.md @@ -39,7 +39,7 @@ Flags: Global Flags: -b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/ -D, --buildDrafts=false: include content marked as draft - -F, --buildFuture=false: include content with datePublished in the future + -F, --buildFuture=false: include content with publishdate in the future --cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --config="": config file (default is path/config.yaml|json|toml) -d, --destination="": filesystem path to write files to