Merge bp/theme-design branch containing Bud Parr's new design

It's a beautiful thing. A thousand thanks, Bud.

See PR rdwatters/hugo-docs-concept#118
This commit is contained in:
Bud Parr authored and Ryan Watters committed 2017-05-26 14:25:22 -05:00
1 parent ccf1fcb05b
commit 7fd64f19c8
218 files changed
+1135 -274

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
pipeline/node_modules pipeline/node_modules
ryans-notes.md ryans-notes.md
themes/hugo-docs-concept/pipeline/node_modules themes/hugo-docs-concept/pipeline/node_modules
public
.DS_Store .DS_Store
.netlify
+3
View File
@@ -0,0 +1,3 @@
[submodule "themes/gohugo-theme"]
path = themes/gohugo-theme
url = https://github.com/budparr/gohugo-theme.git
+166 -3
View File
@@ -2,6 +2,8 @@ baseurl = "https://hugodocs.info"
canonifyurls = true canonifyurls = true
# Pointing to this file # Pointing to this file
config = "config.toml" config = "config.toml"
enableGitInfo = true
paginate= 100
copyright = "" copyright = ""
defaultContentLanguage = "en" defaultContentLanguage = "en"
# Set to true to keep url path preserve casing (eg, for sections) # Set to true to keep url path preserve casing (eg, for sections)
@@ -28,8 +30,10 @@ relativeURLs = true
stepAnalysis = true stepAnalysis = true
# This is the top-level, global site title # This is the top-level, global site title
title = "Hugo" title = "Hugo"
# Change this to your preferred theme
theme = "hugo-docs-concept" # Change this once you've created your theme
theme = "gohugo-theme"
# Set to true to convert mysite/section/ to mysite/section.html # Set to true to convert mysite/section/ to mysite/section.html
uglyURLs = false uglyURLs = false
verbose = false verbose = false
@@ -56,7 +60,7 @@ googleAnalytics = "UA-76549364-1"
## Gh repo for site footer (include trailing slash) ## Gh repo for site footer (include trailing slash)
ghrepo = "https://github.com/spf13/hugo/" ghrepo = "https://github.com/spf13/hugo/"
### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links) ### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
ghdocsrepo = "https://github.com/rdwatters/hugo-docs-concept/tree/master" ghdocsrepo = "https://github.com/spf13/hugo/tree/master/docs"
## Gitter URL ## Gitter URL
gitter = "https://gitter.im/spf13/hugo" gitter = "https://gitter.im/spf13/hugo"
## Discuss Forum URL ## Discuss Forum URL
@@ -64,6 +68,8 @@ googleAnalytics = "UA-76549364-1"
## Google Tag Manager ## Google Tag Manager
gtmid = "" gtmid = ""
#sidebar_direction = "sidebar_left"
# MARKDOWN # MARKDOWN
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday ## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday] [blackfriday]
@@ -75,3 +81,160 @@ googleAnalytics = "UA-76549364-1"
## As of v0.20, all content files include a default "categories" value that's the same as the section. This was a cheap future-proofing method and should/could be changed accordingly. ## As of v0.20, all content files include a default "categories" value that's the same as the section. This was a cheap future-proofing method and should/could be changed accordingly.
[taxonomies] [taxonomies]
tag = "tags" tag = "tags"
category = "categories"
# High level items
[[menu.docs]]
name = "About Hugo"
weight = 1
identifier = "about"
url = "/about/"
[[menu.docs]]
name = "Getting Started"
weight = 5
identifier = "getting-started"
url = "/getting-started/"
[[menu.docs]]
name = "Themes"
weight = 15
identifier = "themes"
post = "break"
url = "/themes/"
# Core Menus
[[menu.docs]]
name = "Content Management"
weight = 20
identifier = "content-management"
post = "expanded"
url = "/content-management/"
[[menu.docs]]
name = "Templates"
weight = 25
identifier = "templates"
url = "/templates/"
[[menu.docs]]
name = "Functions"
weight = 30
identifier = "functions"
url = "/functions/"
[[menu.docs]]
name = "Variables"
weight = 35
identifier = "variables"
url = "/variables/"
[[menu.docs]]
name = "CLI"
weight = 40
post = "break"
identifier = "commands"
url = "/commands/"
# LOW LEVEL ITEMS
[[menu.docs]]
name = "Troubleshooting"
weight = 60
identifier = "troubleshooting"
url = "/troubleshooting/"
[[menu.docs]]
name = "Tools"
weight = 70
identifier = "tools"
url = "/tools/"
[[menu.docs]]
name = "Hosting & Deployment"
weight = 80
identifier = "hosting-and-deployment"
url = "/hosting-and-deployment/"
# [[menu.docs]]
# name = "Showcase"
# weight = 90
# identifier = "showcase"
# url = "/showcase/"
#
[[menu.docs]]
name = "Contribute"
weight = 100
post = "break"
identifier = "contribute"
url = "/contribute/"
[[menu.docs]]
name = "Tags"
weight = 120
identifier = "tags"
url = "/tags/"
# [[menu.docs]]
# name = "Categories"
# weight = 140
# identifier = "categories"
# url = "/categories/"
######## QUICKLINKS
[[menu.quicklinks]]
name = "Fundamentals"
weight = 1
identifier = "fundamentals"
url = "/tags/fundamentals/"
######## GLOBAL ITEMS TO BE SHARED WITH THE HUGO siteaddress
[[menu.global]]
name = "News"
weight = 1
identifier = "news"
url = "https://hugodocs.info/news/"
[[menu.global]]
name = "Docs"
weight = 5
identifier = "docs"
url = "/"
[[menu.global]]
name = "Themes"
weight = 10
identifier = "themes"
url = "http://themes.gohugo.io/"
# Anything with a weight > 100 gets an external icon
[[menu.global]]
name = "Community"
weight = 150
icon = true
identifier = "community"
post = "external"
url = "https://discuss.gohugo.io/"
[[menu.global]]
name = "Github"
weight = 200
identifier = "github"
post = "external"
url = "https://github.com/spf13/hugo"
+1
View File
@@ -15,3 +15,4 @@ slug:
aliases: [] aliases: []
toc: false toc: false
--- ---
Hugo is the world's fastest static website engine. It's written in Golang and developed by spf13 and friends. Below you will find some of the most common and helpful pages from our documentation.
+4 -5
View File
@@ -1,6 +1,5 @@
--- ---
title: About Hugo title: About Hugo
linktitle: Overview
description: Hugo's features, roadmap, license, and motivation. description: Hugo's features, roadmap, license, and motivation.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
@@ -8,10 +7,10 @@ lastmod: 2017-02-01
categories: [] categories: []
tags: [] tags: []
menu: menu:
main: docs:
parent: "About Hugo" parent: "about"
weight: 01 weight: 1
weight: 01 #rem weight: 1
draft: false draft: false
aliases: [/about-hugo/,/docs/] aliases: [/about-hugo/,/docs/]
toc: false toc: false
+2 -2
View File
@@ -7,8 +7,8 @@ publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [ssg,static,performance,security] tags: [ssg,static,performance,security]
menu: menu:
main: docs:
parent: "About Hugo" parent: "about"
weight: 30 weight: 30
weight: 30 weight: 30
sections_weight: 30 sections_weight: 30
+2 -2
View File
@@ -6,8 +6,8 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
menu: menu:
main: docs:
parent: "About Hugo" parent: "about"
weight: 20 weight: 20
weight: 20 weight: 20
sections_weight: 20 sections_weight: 20
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2016-03-02
categories: ["about hugo"] categories: ["about hugo"]
tags: ["License","apache"] tags: ["License","apache"]
menu: menu:
main: docs:
parent: "About Hugo" parent: "about"
weight: 60 weight: 60
weight: 60 weight: 60
sections_weight: 60 sections_weight: 60
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [about hugo] categories: [about hugo]
tags: [about,contribute,roadmap] tags: [about,contribute,roadmap]
menu: menu:
main: docs:
parent: "About Hugo" parent: "about"
weight: 50 weight: 50
weight: 50 weight: 50
sections_weight: 50 sections_weight: 50
+4 -4
View File
@@ -1,6 +1,6 @@
--- ---
title: Command Line Reference title: Command Line Reference
linktitle: Command Line Reference linktitle: CLI
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples. description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
@@ -8,9 +8,9 @@ lastmod: 2017-02-01
categories: [commands] categories: [commands]
tags: [cli,command line] tags: [cli,command line]
menu: menu:
main: docs:
parent: "Commands" parent: "commands"
weight: 01 weight: 1
weight: 01 #rem weight: 01 #rem
draft: false draft: false
aliases: [/cli/] aliases: [/cli/]
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo" title: "hugo"
menu:
docs:
parent: "commands"
slug: hugo slug: hugo
url: /commands/hugo/ url: /commands/hugo/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo benchmark" title: "hugo benchmark"
menu:
docs:
parent: "commands"
slug: hugo_benchmark slug: hugo_benchmark
url: /commands/hugo_benchmark/ url: /commands/hugo_benchmark/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo check" title: "hugo check"
menu:
docs:
parent: "commands"
slug: hugo_check slug: hugo_check
url: /commands/hugo_check/ url: /commands/hugo_check/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo check ulimit" title: "hugo check ulimit"
menu:
docs:
parent: "commands"
slug: hugo_check_ulimit slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/ url: /commands/hugo_check_ulimit/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo config" title: "hugo config"
menu:
docs:
parent: "commands"
slug: hugo_config slug: hugo_config
url: /commands/hugo_config/ url: /commands/hugo_config/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert" title: "hugo convert"
menu:
docs:
parent: "commands"
slug: hugo_convert slug: hugo_convert
url: /commands/hugo_convert/ url: /commands/hugo_convert/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toJSON" title: "hugo convert toJSON"
menu:
docs:
parent: "commands"
slug: hugo_convert_toJSON slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/ url: /commands/hugo_convert_tojson/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toTOML" title: "hugo convert toTOML"
menu:
docs:
parent: "commands"
slug: hugo_convert_toTOML slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/ url: /commands/hugo_convert_totoml/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toYAML" title: "hugo convert toYAML"
menu:
docs:
parent: "commands"
slug: hugo_convert_toYAML slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/ url: /commands/hugo_convert_toyaml/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo env" title: "hugo env"
menu:
docs:
parent: "commands"
slug: hugo_env slug: hugo_env
url: /commands/hugo_env/ url: /commands/hugo_env/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen" title: "hugo gen"
menu:
docs:
parent: "commands"
slug: hugo_gen slug: hugo_gen
url: /commands/hugo_gen/ url: /commands/hugo_gen/
--- ---
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen autocomplete" title: "hugo gen autocomplete"
menu:
docs:
parent: "commands"
slug: hugo_gen_autocomplete slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/ url: /commands/hugo_gen_autocomplete/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen doc" title: "hugo gen doc"
menu:
docs:
parent: "commands"
slug: hugo_gen_doc slug: hugo_gen_doc
url: /commands/hugo_gen_doc/ url: /commands/hugo_gen_doc/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen man" title: "hugo gen man"
menu:
docs:
parent: "commands"
slug: hugo_gen_man slug: hugo_gen_man
url: /commands/hugo_gen_man/ url: /commands/hugo_gen_man/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo import" title: "hugo import"
menu:
docs:
parent: "commands"
slug: hugo_import slug: hugo_import
url: /commands/hugo_import/ url: /commands/hugo_import/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo import jekyll" title: "hugo import jekyll"
menu:
docs:
parent: "commands"
slug: hugo_import_jekyll slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/ url: /commands/hugo_import_jekyll/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list" title: "hugo list"
menu:
docs:
parent: "commands"
slug: hugo_list slug: hugo_list
url: /commands/hugo_list/ url: /commands/hugo_list/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list drafts" title: "hugo list drafts"
menu:
docs:
parent: "commands"
slug: hugo_list_drafts slug: hugo_list_drafts
url: /commands/hugo_list_drafts/ url: /commands/hugo_list_drafts/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list expired" title: "hugo list expired"
menu:
docs:
parent: "commands"
slug: hugo_list_expired slug: hugo_list_expired
url: /commands/hugo_list_expired/ url: /commands/hugo_list_expired/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list future" title: "hugo list future"
menu:
docs:
parent: "commands"
slug: hugo_list_future slug: hugo_list_future
url: /commands/hugo_list_future/ url: /commands/hugo_list_future/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new" title: "hugo new"
menu:
docs:
parent: "commands"
slug: hugo_new slug: hugo_new
url: /commands/hugo_new/ url: /commands/hugo_new/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new site" title: "hugo new site"
menu:
docs:
parent: "commands"
slug: hugo_new_site slug: hugo_new_site
url: /commands/hugo_new_site/ url: /commands/hugo_new_site/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new theme" title: "hugo new theme"
menu:
docs:
parent: "commands"
slug: hugo_new_theme slug: hugo_new_theme
url: /commands/hugo_new_theme/ url: /commands/hugo_new_theme/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo server" title: "hugo server"
menu:
docs:
parent: "commands"
slug: hugo_server slug: hugo_server
url: /commands/hugo_server/ url: /commands/hugo_server/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo undraft" title: "hugo undraft"
menu:
docs:
parent: "commands"
slug: hugo_undraft slug: hugo_undraft
url: /commands/hugo_undraft/ url: /commands/hugo_undraft/
--- ---
+3
View File
@@ -1,6 +1,9 @@
--- ---
date: 2017-02-25T10:01:37+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo version" title: "hugo version"
menu:
docs:
parent: "commands"
slug: hugo_version slug: hugo_version
url: /commands/hugo_version/ url: /commands/hugo_version/
--- ---
+5 -5
View File
@@ -1,16 +1,16 @@
--- ---
title: Content Management title: Content Management
linktitle: Overview linktitle: Content Mgmt.
description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more. description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
menu:
docs:
parent: "content-management"
weight: 1
tags: [source, organization] tags: [source, organization]
categories: [content management] categories: [content management]
menu:
main:
parent: "Content Management"
weight: 01
weight: 01 #rem weight: 01 #rem
draft: false draft: false
aliases: [/content/] aliases: [/content/]
+3 -2
View File
@@ -8,9 +8,10 @@ lastmod: 2017-02-01
tags: [archetypes,generators,metadata,front matter] tags: [archetypes,generators,metadata,front matter]
categories: ["content management"] categories: ["content management"]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 70 weight: 70
quicklinks:
weight: 70 #rem weight: 70 #rem
draft: false draft: false
aliases: [/content/archetypes/] aliases: [/content/archetypes/]
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-03-12
tags: [authors] tags: [authors]
categories: ["content management"] categories: ["content management"]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 55 weight: 55
weight: 55 #rem weight: 55 #rem
draft: true draft: true
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-03-09
tags: [sections,content,organization, fundamentals] tags: [sections,content,organization, fundamentals]
categories: [project organization] categories: [project organization]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 140 weight: 140
weight: 140 #rem weight: 140 #rem
draft: false draft: false
@@ -8,8 +8,8 @@ lastmod: 2017-03-31
categories: [content management] categories: [content management]
tags: ["cross references","references", "anchors", "urls"] tags: ["cross references","references", "anchors", "urls"]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 100 weight: 100
weight: 100 #rem weight: 100 #rem
draft: false draft: false
@@ -0,0 +1,147 @@
---
title: Custom Outputs
linktitle: Custom Outputs
description: Hugo can output content in multiple formats to make quick work of
date: 2017-03-22
publishdate: 2017-03-22
lastmod: 2017-03-22
categories: [content management]
tags: ["amp","outputs"]
menu:
docs:
parent: "content-management"
weight: 100
quicklinks:
weight: 100 #rem
draft: false
aliases: [/extras/custom-output-types/]
toc: true
wip: true
---
{{% warning %}}
Custom output formats is a major feature being released with v20. The following copy is taken from the original proposal and spec and is therefore far from complete.
{{% /warning %}}
## Media Type
We add a media type (also known as MIME type and content type). This is a two-part identifier for file formats and format contents transmitted on the Internet.
For Hugo's use cases, we use the top-level type name/subtype name + suffix. An example would be `application/json+json`.
Users can define their own media types by using them in an `Output Format` definition (see below).
The full set of media types will be registered in Go's `mime` package, so they will be recognised by Hugo's development server.
## Output Format
A `Page` in Hugo can be rendered to multiple representations on the file system: All will get an HTML page and some of them will get an RSS page (home page, sections etc.).
When we now create a more formal definition for these output representations, the built-ins mentioned above will be the standard set that can be extended.
So an `OutputFormat`:
```
OutputFormat:
Name
MediaType
Path
IsPlainText (default false)
Protocol
# And then some optional options
NoUglyURLs
URI # Turn index.x into somevalue.x (similar to `RSSUri` in Hugo `0.19`)
```
So:
* `Name`: The key.
* `Path` - defaults to "", which is the root. Multiple outputs to the same suffix must be separated with a path, ie. "amp" for AMP output.
* `IsPlainText`: Whether to parse the templates with `text/template` or `html/template`.
* `Protocol`: I.e. `webcal://` for calendar files. Defaults to the `baseURL` protocol.
## Standard Output Formats
So, according to the above, the current Hugo will look like this:
| Name | MediaType | Path | IsPlainText
| -------------:|-------------| -----|-----|
| HTML | text/html+html | "" | false |
| RSS | application/rss+xml | "" | false |
## Layouts
The current situation (slightly simplified):
| Kind | Layouts
| ----------------:|:-------------|
| home | index.html, _default/list.html |
| section | section/SECTION.html, SECTION/list.html, _default/section.html, _default/list.html |
| taxonomy | taxonomy/SINGULAR.html,_default/taxonomy.html, _default/list.html |
| taxonomyTerm |taxonomy/SINGULAR.terms.html, _default/terms.html|
| page | TYPE/LAYOUT.html, _default/LAYOUT.html, _default/single.html|
The above is what the Output Format `HTML` must resolve to.
So, let us make up some other Output Formats and see how that will have to look:
| Name | MediaType | Path | IsPlainText
| -------------:|-------------| -----|-----|
| JSON | application/json+json | "" | true |
| AMP | text/html+html | amp | false |
Both of the above can be handled if we add both `Name` and the `Suffix` to the mix. Let us use the home page as an example:
| Type | Layouts
| -----------:|:-------------|
| JSON | index.json.json, index.json, _default/list.json.json, _default/list.json
| AMP | index.amp.html, index.html, _default/list.amp.html, _default/list.html
* The above adds the lower-case `Name` as a prefix to the lookup path.
* The above also assumes that it makes sense to edit the templates with the same suffix as the end result (.html, .json etc.).
TODO: RSS, 404 etc.
## Examples
`config.toml`:
```
# Add some custom output type definitions:
[[outputFormats]]
name = "Calendar"
mediaType = "text/calendar+ics"
protocol = "webcal://"
isPlainText = true
[[outputFormats]]
name = "JSON"
mediaType = "application/json" # Will get its file suffix from the sub-type, i.e. "json"
isPlainText = true
[[outputFormats]]
name = "AMP"
mediaType = "text/html"
path = "amp"
```
Note that Hugo well hard code a predefined list of the most common output types (not sure what that would be, suggestions welcome) with the obvious identifiers and sensible defaults: So whenever you want them, you can just say "json, yaml, amp ..." etc.
Page front matter:
```
title = "My Home Page"
outputs = ["html", "rss", "json", "calendar", "amp" ]
```
About the `outputs` in the page front matter:
* If none is provided, it defaults to the current behaviour (i.e. HTML for all pages and RSS for the list pages)
* If some are provided, no defaults will be added. So, if you want the plain HTML representation, you must be explicit. This way you can have the home page as JSON only if you want.
* The names used are case-insensitive and must match either a definition in `config.toml` or the standard set.
{{% note %}}
It should also be possible to set a list of default output formats in `config.toml`, avoiding the need to repeat the `outputs` list in thousands of pages, with a way to restrict each type to a set of pages (using `Kind`, probably).
{{% /note %}}
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-04-06
categories: [content management] categories: [content management]
tags: [markdown,asciidoc,mmark,content format] tags: [markdown,asciidoc,mmark,content format]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 20 weight: 20
weight: 20 #rem weight: 20 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-24
categories: [content management] categories: [content management]
tags: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"] tags: ["front matter", "yaml", "toml", "json", "metadata", "archetypes"]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 30 weight: 30
weight: 30 #rem weight: 30 #rem
draft: false draft: false
+4 -4
View File
@@ -9,8 +9,8 @@ categories: [content management]
tags: [menus] tags: [menus]
draft: false draft: false
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 120 weight: 120
weight: 120 #rem weight: 120 #rem
aliases: [/extras/menus/] aliases: [/extras/menus/]
@@ -111,7 +111,7 @@ Take the advanced approach if more control is required. All of the menu entry pr
```yaml ```yaml
--- ---
menu: menu:
main: docs:
parent: 'extras' parent: 'extras'
weight: 20 weight: 20
--- ---
@@ -145,7 +145,7 @@ Here's the equivalent snippet in a `config.yaml`:
```yaml ```yaml
--- ---
menu: menu:
main: docs:
- Name: "about hugo" - Name: "about hugo"
Pre: "<i class='fa fa-heart'></i>" Pre: "<i class='fa fa-heart'></i>"
Weight: -110 Weight: -110
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-01-10
categories: [content management] categories: [content management]
tags: [multilingual,i18n, internationalization] tags: [multilingual,i18n, internationalization]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 150 weight: 150
weight: 150 #rem weight: 150 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [content management] categories: [content management]
tags: [sections,content,organization,fundamentals] tags: [sections,content,organization,fundamentals]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 10 weight: 10
weight: 10 #rem weight: 10 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [content management] categories: [content management]
tags: [lists,sections,content types,organization] tags: [lists,sections,content types,organization]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 50 weight: 50
weight: 50 #rem weight: 50 #rem
draft: false draft: false
+2 -2
View File
@@ -7,8 +7,8 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-03-31 lastmod: 2017-03-31
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 25 weight: 25
weight: 25 #rem weight: 25 #rem
categories: [content management] categories: [content management]
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-01-10
categories: [content management] categories: [content management]
tags: [summaries,abstracts,read more] tags: [summaries,abstracts,read more]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 90 weight: 90
weight: 90 #rem weight: 90 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
tags: [taxonomies,metadata,front matter,terms] tags: [taxonomies,metadata,front matter,terms]
categories: [content management] categories: [content management]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 80 weight: 80
weight: 80 #rem weight: 80 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [content management] categories: [content management]
tags: [table of contents, toc] tags: [table of contents, toc]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 130 weight: 130
weight: 130 #rem weight: 130 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [content management] categories: [content management]
tags: [lists,sections,content types,types,organization] tags: [lists,sections,content types,types,organization]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 60 weight: 60
weight: 60 #rem weight: 60 #rem
draft: false draft: false
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-03-09
tags: [aliases,redirects,permalinks,urls] tags: [aliases,redirects,permalinks,urls]
categories: [content management] categories: [content management]
menu: menu:
main: docs:
parent: "Content Management" parent: "content-management"
weight: 110 weight: 110
weight: 110 #rem weight: 110 #rem
draft: false draft: false
+3 -3
View File
@@ -1,6 +1,6 @@
--- ---
title: Contributing to the Hugo Project title: Contributing to the Hugo Project
linktitle: Overview linktitle: Contributing
description: Contribute to Hugo development and documentation. description: Contribute to Hugo development and documentation.
date: 2017-02-01 date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [contribute] categories: [contribute]
tags: [] tags: []
menu: menu:
main: docs:
parent: "Contribute" parent: "contribute"
weight: 01 weight: 01
weight: 01 #rem weight: 01 #rem
draft: false draft: false
+2 -2
View File
@@ -9,8 +9,8 @@ categories: [contribute]
tags: [dev,open source] tags: [dev,open source]
authors: [digitalcraftsman] authors: [digitalcraftsman]
menu: menu:
main: docs:
parent: "Contribute" parent: "contribute"
weight: 10 weight: 10
weight: 10 weight: 10
sections_weight: 10 sections_weight: 10
+2 -2
View File
@@ -8,8 +8,8 @@ lastmod: 2017-02-01
categories: [contribute] categories: [contribute]
tags: [docs,documentation,community, contribute] tags: [docs,documentation,community, contribute]
menu: menu:
main: docs:
parent: "Contribute" parent: "contribute"
weight: 20 weight: 20
weight: 20 weight: 20
sections_weight: 20 sections_weight: 20
+2 -2
View File
@@ -9,8 +9,8 @@ categories: [contribute]
tags: [contribute,themes,design] tags: [contribute,themes,design]
authors: [digitalcraftsman] authors: [digitalcraftsman]
menu: menu:
main: docs:
parent: "Contribute" parent: "contribute"
weight: 30 weight: 30
weight: 30 weight: 30
sections_weight: 30 sections_weight: 30
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [sections,lists,indexes] tags: [sections,lists,indexes]
ns: ns:
signature: ["GetPage TYPE PATH"] signature: ["GetPage TYPE PATH"]
+3 -5
View File
@@ -1,6 +1,5 @@
--- ---
title: Functions Quick Reference title: Functions
linktitle: Quick Reference
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples. description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
godocref: godocref:
date: 2017-02-01 date: 2017-02-01
@@ -8,9 +7,8 @@ publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [] tags: []
menu: menu:
main: docs:
parent: "Functions" parent: "functions"
weight: 01
weight: 01 #rem weight: 01 #rem
draft: false draft: false
aliases: [/layout/functions/] aliases: [/layout/functions/]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [multilingual,i18n,urls] tags: [multilingual,i18n,urls]
ns: ns:
signature: ["absLangURL INPUT"] signature: ["absLangURL INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [urls] tags: [urls]
ns: ns:
signature: ["absURL INPUT"] signature: ["absURL INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [dates,time] tags: [dates,time]
ns: ns:
signature: ["AddDate YEARS MONTHS DAYS"] signature: ["AddDate YEARS MONTHS DAYS"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [iteration] tags: [iteration]
ns: ns:
signature: ["after INDEX COLLECTION"] signature: ["after INDEX COLLECTION"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [advanced] tags: [advanced]
ns: ns:
signature: ["apply COLLETION FUNCTION [PARAM...]"] signature: ["apply COLLETION FUNCTION [PARAM...]"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
relatedfuncs: [] relatedfuncs: []
ns: ns:
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [trim] tags: [trim]
ns: ns:
signature: ["chomp INPUT"] signature: ["chomp INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [counting, word count] tags: [counting, word count]
ns: ns:
signature: ["countrunes INPUT"] signature: ["countrunes INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [counting, word count] tags: [counting, word count]
ns: ns:
signature: ["countwords INPUT"] signature: ["countwords INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [dates,time,strings] tags: [dates,time,strings]
ns: ns:
signature: ["dateFormat LAYOUT INPUT"] signature: ["dateFormat LAYOUT INPUT"]
+3 -5
View File
@@ -9,6 +9,9 @@ publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [defaults] tags: [defaults]
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
toc: toc:
ns: ns:
signature: ["default DEFAULT INPUT"] signature: ["default DEFAULT INPUT"]
@@ -102,8 +105,3 @@ Using `with`:
=> Sane Defaults => Sane Defaults
``` ```
{{% /code %}} {{% /code %}}
+3
View File
@@ -8,6 +8,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [iteration] tags: [iteration]
toc: false toc: false
ns: ns:
+3
View File
@@ -8,6 +8,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-26 lastmod: 2017-02-26
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [dictionary] tags: [dictionary]
ns: ns:
signature: ["dict KEY VALUE [KEY VALUE]..."] signature: ["dict KEY VALUE [KEY VALUE]..."]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["echoParam DICTIONARY KEY"] signature: ["echoParam DICTIONARY KEY"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings,emojis] tags: [strings,emojis]
ns: ns:
signature: ["emojify INPUT"] signature: ["emojify INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [operators,logic] tags: [operators,logic]
ns: ns:
signature: ["eq ARG1 ARG2"] signature: ["eq ARG1 ARG2"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [regex] tags: [regex]
ns: ns:
signature: ["findRE PATTERN INPUT [LIMIT]"] signature: ["findRE PATTERN INPUT [LIMIT]"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [iteration] tags: [iteration]
ns: ns:
signature: ["first LIMIT COLLECTION"] signature: ["first LIMIT COLLECTION"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [dates,time] tags: [dates,time]
ns: ns:
signature: ["Format FORMAT"] signature: ["Format FORMAT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [shortcodes] tags: [shortcodes]
ns: ns:
signature: ["Get INDEX", "Get KEY"] signature: ["Get INDEX", "Get KEY"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["getenv VARIABLE"] signature: ["getenv VARIABLE"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["hasPrefix STRING PREFIX"] signature: ["hasPrefix STRING PREFIX"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [menus] tags: [menus]
toc: toc:
ns: ns:
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [menus] tags: [menus]
ns: ns:
signature: ["HasMenuCurrent"] signature: ["HasMenuCurrent"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [highlighting,pygments,code blocks,syntax] tags: [highlighting,pygments,code blocks,syntax]
ns: ns:
signature: ["highlight INPUT"] signature: ["highlight INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings, html] tags: [strings, html]
ns: ns:
signature: ["htmlEscape INPUT"] signature: ["htmlEscape INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["htmlUnescape INPUT"] signature: ["htmlUnescape INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings,casing] tags: [strings,casing]
ns: ns:
signature: ["humanize INPUT"] signature: ["humanize INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [internationalization,i18n,multilingual] tags: [internationalization,i18n,multilingual]
ns: ns:
signature: ["i18n KEY", "T KEY"] signature: ["i18n KEY", "T KEY"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [images] tags: [images]
ns: ns:
signature: ["imageConfig PATH"] signature: ["imageConfig PATH"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings] tags: [strings]
ns: ns:
signature: ["in SET ITEM"] signature: ["in SET ITEM"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["index COLLECTION INDEX", "index COLLECTION KEY"] signature: ["index COLLECTION INDEX", "index COLLECTION KEY"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings,integers] tags: [strings,integers]
ns: ns:
signature: ["int INPUT"] signature: ["int INPUT"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["intersect SET1 SET2"] signature: ["intersect SET1 SET2"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [menus] tags: [menus]
ns: ns:
signature: ["IsMenuCurrent"] signature: ["IsMenuCurrent"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [] tags: []
ns: ns:
signature: ["isset COLLECTION INDEX", "isset COLLECTION KEY"] signature: ["isset COLLECTION INDEX", "isset COLLECTION KEY"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings,json] tags: [strings,json]
ns: ns:
signature: ["jsonify INPUT"] signature: ["jsonify INPUT"]
+3
View File
@@ -8,6 +8,9 @@ publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [] tags: []
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
toc: toc:
ns: ns:
signature: ["last INDEX COLLECTION"] signature: ["last INDEX COLLECTION"]
+3
View File
@@ -7,6 +7,9 @@ date: 2017-02-01
publishdate: 2017-02-01 publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
tags: [strings,casing] tags: [strings,casing]
ns: ns:
signature: ["lower INPUT"] signature: ["lower INPUT"]
+3
View File
@@ -8,6 +8,9 @@ publishdate: 2017-02-01
lastmod: 2017-02-01 lastmod: 2017-02-01
tags: [markdown,content] tags: [markdown,content]
categories: [functions] categories: [functions]
menu:
docs:
parent: "functions"
ns: ns:
signature: ["markdownify INPUT"] signature: ["markdownify INPUT"]
workson: [] workson: []
Loaded 100 of 218 files, more files were not shown because too many files have changed in this diff. Show more