mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Add future details to documentation
This commit is contained in:
		@@ -75,13 +75,15 @@ any variable they want to. These will be placed into the `.Params` variable avai
 | 
			
		||||
* **title** The title for the content
 | 
			
		||||
* **description** The description for the content
 | 
			
		||||
* **date** The date the content will be sorted by
 | 
			
		||||
* **indexes** These will use the field name of the plural form of the index (see tags and categories above)
 | 
			
		||||
* **taxonomies** These will use the field name of the plural form of the index (see tags and categories above)
 | 
			
		||||
 | 
			
		||||
### Optional
 | 
			
		||||
 | 
			
		||||
* **redirect** Mark the post as a redirect post
 | 
			
		||||
* **draft** If true the content will not be rendered unless hugo is called with --build-drafts
 | 
			
		||||
* **draft** If true the content will not be rendered unless hugo is called with --buildDrafts
 | 
			
		||||
* **publishdate** If in the future, content will not be rendered unless hugo is called with --buildFuture
 | 
			
		||||
* **type** The type of the content (will be derived from the directory automatically if unset)
 | 
			
		||||
* **weight** Used for sorting
 | 
			
		||||
* **markup** (Experimental) Specify "rst" for reStructuredText (requires
 | 
			
		||||
            `rst2html`,) or "md" (default) for the Markdown
 | 
			
		||||
* **slug** The token to appear in the tail of the url
 | 
			
		||||
 
 | 
			
		||||
@@ -18,6 +18,7 @@ menu:
 | 
			
		||||
  * [Integrated Disqus](/extras/comments) support
 | 
			
		||||
  * Streamlined [template organization](/templates/overview)
 | 
			
		||||
  * [Brand new docs site](http://hugo.spf13.com)
 | 
			
		||||
  * Support for publishDate which allows for posts to be dated in the future
 | 
			
		||||
  * More [sort](/content/ordering) options
 | 
			
		||||
  * Logging support
 | 
			
		||||
  * Much better error handling
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,8 @@ Make sure either hugo is in your path or provide a path to it.
 | 
			
		||||
 | 
			
		||||
     Available Flags:
 | 
			
		||||
      -b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
 | 
			
		||||
      -D, --buildDrafts=false: include content marked as draft
 | 
			
		||||
      -D, --buildDrafts=false: build content marked as draft
 | 
			
		||||
      -F, --buildFuture=false: build content with PublishDate in the future
 | 
			
		||||
          --config="": config file (default is path/config.yaml|json|toml)
 | 
			
		||||
      -d, --destination="": filesystem path to write files to
 | 
			
		||||
          --disableRSS=false: Do not build RSS files
 | 
			
		||||
@@ -74,7 +75,7 @@ is saved.
 | 
			
		||||
       Press ctrl+c to stop
 | 
			
		||||
 | 
			
		||||
Hugo can even run a server and create your site at the same time! Hugo
 | 
			
		||||
implements live reload technology to automatically reload any open pages in
 | 
			
		||||
implements [live reload](/extras/livereload) technology to automatically reload any open pages in
 | 
			
		||||
all browsers (including mobile).
 | 
			
		||||
 | 
			
		||||
    $ hugo server -ws ~/mysite
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,8 @@ matter, content or derived from file location.
 | 
			
		||||
**.Summary** A generated summary of the content for easily showing a snippet in a summary view.<br>
 | 
			
		||||
**.Description** The description for the content.<br>
 | 
			
		||||
**.Keywords** The meta keywords for this content.<br>
 | 
			
		||||
**.Date** The date the content is published on.<br>
 | 
			
		||||
**.Date** The date the content is associated with.<br>
 | 
			
		||||
**.PublishDate** The date the content is published on.<br>
 | 
			
		||||
**.Type** The content [type](/content/types/) (eg. post)<br>
 | 
			
		||||
**.Section** The [section](/content/sections/) this content belongs to<br>
 | 
			
		||||
**.Permalink** The Permanent link for this page.<br>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user