diff --git a/content/content-management/_index.md b/content/content-management/_index.md index b7244638c..9a051eba0 100644 --- a/content/content-management/_index.md +++ b/content/content-management/_index.md @@ -1,7 +1,7 @@ --- title: "Content Management" linktitle: "Content Management" -description: An introduction to how Hugo expects you to organize your content. +description: An introduction to how Hugo helps you manage content. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 diff --git a/content/content-management/content-sections.md b/content/content-management/content-sections.md index 4e45aa570..316546fbf 100644 --- a/content/content-management/content-sections.md +++ b/content/content-management/content-sections.md @@ -1,7 +1,7 @@ --- title: Content Sections linktitle: Content Sections -description: +description: Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 diff --git a/content/content-management/content-types.md b/content/content-management/content-types.md index f1f24fc86..a99b70724 100644 --- a/content/content-management/content-types.md +++ b/content/content-management/content-types.md @@ -1,6 +1,6 @@ --- title: Content Types -linktitle: +linktitle: Content Types description: date: 2017-02-01 publishdate: 2017-02-01 @@ -29,8 +29,7 @@ Alternatively, you can set the content type in a content file's metadata (i.e., You can manually add files to your content directories, but Hugo has the ability to create and populate a new content file with preconfigured front matter via [archetypes][]. - -## Defining a content type +## Defining a Content Type Creating a new content type is easy in Hugo. You simply provide the templates and archetype that the new type will use. You only need to define the templates, archetypes and/or views unique to that content type. Hugo will fall back to using the general templates and default archetype whenever a specific file is not present. @@ -58,9 +57,10 @@ Many sites support rendering content in a few different ways, for instance, a si Create an archetype file for your type at `yourtype.md` in the `/archetypes` directory; e.g., `/archetypes/post.md`. -More details about archetypes can be found in the [archetypes][] documentation. +More details about archetypes can be found in the [archetypes documentation][]. [archetypes]: /content-management/archetypes/ +[archetypes documentation]: /content-management/archetypes/ [sections]: /content-sections/ [front matter]: /content-management/front-matter/ [list of contents on a single page]: /templates/list-and-section-templates/ diff --git a/content/content-management/cross-references.md b/content/content-management/cross-references.md index 632e73b36..db4e7d927 100644 --- a/content/content-management/cross-references.md +++ b/content/content-management/cross-references.md @@ -6,7 +6,7 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-01-09 categories: [content management] -tags: [cross references, anchors] +tags: [cross references, anchors, urls] weight: 80 draft: false slug: diff --git a/content/templates/menus.md b/content/content-management/menus.md similarity index 70% rename from content/templates/menus.md rename to content/content-management/menus.md index 58ebc22e0..fb14c7659 100644 --- a/content/templates/menus.md +++ b/content/content-management/menus.md @@ -6,11 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [templating,content management] -tags: [lists,sections] +categories: [templating] +tags: [lists,sections,menus] draft: false slug: aliases: [/extras/menus/] +toc: false notes: ---- - +--- \ No newline at end of file diff --git a/content/content-management/multilingual-mode.md b/content/content-management/multilingual-mode.md index 3d71fbbac..92a74823a 100644 --- a/content/content-management/multilingual-mode.md +++ b/content/content-management/multilingual-mode.md @@ -6,11 +6,11 @@ date: 2017-01-10 publishdate: 2017-01-10 lastmod: 2017-01-10 categories: [content management] -tags: [multilingual,i189,] +tags: [multilingual,i18n] weight: 120 draft: false slug: aliases: [] -toc: +toc: true notes: --- \ No newline at end of file diff --git a/content/content-management/shortcodes.md b/content/content-management/shortcodes.md new file mode 100644 index 000000000..cb0c6bdc0 --- /dev/null +++ b/content/content-management/shortcodes.md @@ -0,0 +1,470 @@ +--- +title: Shortcodes +linktitle: +description: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: 25 +tags: [markdown,content] +categories: [content management] +draft: false +slug: +aliases: [/extras/shortcodes/] +toc: true +notes: +--- + +Hugo uses Markdown for its simple content format. However, there are a lot of things that Markdown doesn’t support well. + +We are unwilling to accept being constrained by our simple format. Also unacceptable is writing raw HTML in our Markdown every time we want to include unsupported content such as a video. To do so is in complete opposition to the intent of using a bare-bones format for our content and utilizing templates to apply styling for display. + +To avoid both of these limitations, Hugo created **shortcodes**. + +A shortcode is a simple snippet inside a content file that Hugo will render using a predefined template. Note that shortcodes will not work in template files---if you need a functionality like that in a template, you most likely want a [partial template][] instead. + +Another benefit is, you can update your shortcode with any related new classes or techniques, and upon generation, Hugo will easily merge in your changes. You avoid a possibly complicated search and replace operation. + +## Using a shortcode + +In your content files, a shortcode can be called by using the `{{%/* name parameters*/%}}` form. Shortcode parameters are space delimited. Parameters with spaces can be quoted. + +The first word is always the name of the shortcode. Parameters follow the name. +Depending upon how the shortcode is defined, the parameters may be named, +positional or both (although you can't mixed parameter types in a single call). +The format for named parameters models that of HTML with the format +`name="value"`. + +Some shortcodes use or require closing shortcodes. Like HTML, the opening and closing shortcodes match (name only), the closing being prepended with a slash. + +Example of a paired shortcode: + +```golang +{{}} A bunch of code here {{}} +``` + +The examples above use two different delimiters, the difference being the `%` and the `<` character: + +### Shortcodes with Markdown + +The `%` characters indicates that the shortcode's inner content (`.Inner`) needs further processing by the page's rendering processor (i.e. Markdown), which would be needed to convert `**World**` to `World` in the following example: + +```golang +{{%/* myshortcode */%}}Hello **World!**{{%/* /myshortcode */%}} +``` + +### Shortcodes without Markdown + +The `<` character indicates that the shortcode's inner content doesn't need any further rendering, this will typically be pure HTML: + +```golang +{{}}

Hello World!

{{}} +``` + +## Built-in Shortcodes + +Hugo ships with a set of predefined shortcodes. + +### `highlight` + +This shortcode will convert the source code provided into syntax highlighted +HTML. Read more on [highlighting](/extras/highlighting/). `highlight` takes exactly one required parameter of _language_ and requires a closing shortcode. + +#### Example `highlight` Input + +{{% input "highlight-shortcode.md" %}} +```golang +{{}} +
+
+

{{ .Title }}

+ {{ range .Data.Pages }} + {{ .Render "summary"}} + {{ end }} +
+
+{{}} +``` +{{% /input %}} + +#### Example `highlight` Output + +{{% output "syntax-highlighted.html" %}} +```html +<section id="main"> + <div> + <h1 id="title">{{ .Title }}</h1> + {{ range .Data.Pages }} + {{ .Render "summary"}} + {{ end }} + </div> +</section> +``` +{{% /output %}} + +### `figure` + +`figure` is simply an extension of the image capabilities present with Markdown.`figure` provides the ability to add captions, CSS classes, alt text, links etc. + +`figure` can use the following named parameters: + + * src + * link + * title + * caption + * class + * attr (attribution) + * attrlink + * alt + +#### Example `figure` Input + +```markdown +{{}} +``` + +#### Example `figure` Output + +
+ +
+

Steve Francia

+
+
+ +### `ref` and `relref` + +These shortcodes will look up the pages by their relative path (e.g., `blog/post.md`) or their logical name (`post.md`) and return the permalink (`ref`) or relative permalink (`relref`) for the found page. + +`ref` and `relref` also make it possible to make fragmentary links that work for the header links generated by Hugo. + +{{% note "More on Cross References" %}} +Read a more extensive description of `ref` and `relref` in the [cross-references][] documentation. +{{% /note %}} + +`ref` and `relref` take exactly one required parameter of _reference_. + +#### Example `ref` and `relref` Input + +```markdown +[Neat]({{}}) +[Who]({{}}) +``` + +#### Example `ref` and `relref` Output + +Assuming that standard Hugo pretty URLs are turned on. + +```markdown +Neat +Who +``` + +### `tweet` (Twitter) + +You want to include a single tweet into your blog post? Everything you need is the URL of the tweet. For example, let's say you want to include the following tweet from `https://twitter.com/spf13/status/666616452582129664`. Pass the tweet's ID from the URL as parameter to the shortcode as shown below: + +#### Example `tweet` Input + +```markdown +{{}} +``` + +### `youtube` + +This shortcode embeds a responsive video player for [YouTube videos][]. Only the ID of the video is required, e.g.: + +* https://www.youtube.com/watch?v=w7Ft2ymGmfc + +Copy the YouTube video ID that follows `v=` in the video's URL and pass it to the `youtube` shortcode: + +```markdown +{{}} +``` + +Furthermore, you can autostart the embedded video by setting the `autostart` parameter to true. Remember that you can't mix named an unamed parameters. Assign the yet unamed video id to the parameter `id` like below too. + +```markdown +{{}} +``` + +### `vimeo` + +Adding a video from [Vimeo][] is equivalent to the YouTube shortcode above. Extract the ID from the URL, e.g.: + +* https://vimeo.com/channels/staffpicks/146022717 + +and pass it to the shortcode: + +```golang +{{}} +``` + +### `gist` (GitHub) + +Including code snippets with GitHub gists while writing a tutorial is common situation bloggers face. With a given URL of the gist, e.g.: + +* https://gist.github.com/spf13/7896402 + +pass the owner and the ID of the gist to the shortcode: + +``` +{{}} +``` + +If the gist contains several files and you want to quote just one of them, you can pass the filename (quoted) as an optional third argument: + +```golang +{{}} +``` + +### `speakerdeck` + +To embed slides from [Speaker Deck][], click on "< /> Embed" (under Share right next to the template on Speaker Deck) and copy the URL, e.g.: + + + +Extract the value from the field `data-id` and pass it to the shortcode: + + {{}} + +### Instagram + +If you'd like to embed photo from [Instagram](https://www.instagram.com/), all you need is photo ID from the URL, e. g.: + +* https://www.instagram.com/p/BMokmydjG-M/ + +Pass it to the shortcode: + +```golang +{{}} +``` + +Optionally, hide caption: + +```golang +{{}} +``` + +## Creating your own shortcodes + +To create a shortcode, place a template in the `layouts/shortcodes` directory of your [source organization][]. The template name will be the name of the shortcode. In creating a shortcode, you can choose if the shortcode will use _positional parameters_, or _named parameters_, or _both_. A good rule of thumb is that if a shortcode has a single required value in the case of the `youtube` example below, then positional works very well. For more complex layouts with optional parameters, named parameters work best. Allowing both types of parameters is useful for complex layouts where you want to set default values that can be overridden. + +### Accessing Parameters + +To access a parameter in any shortcode, use the `.Get` method. Whether you pass a key (string) or a number to the `.Get` method depends on whether you are accessing a named or positional parameter, respectively. + +To access a parameter by name, the `.Get` method followed by the named parameter as a quoted string. Named parameters are less terse but do not require that a content author be mindful of the order of parameters. + +```golang +{{ .Get "class" }} +``` + +To access a parameter by position, the `.Get` method can be used, keeping in mind that the first positional parameter within the shortcode declaration starts at `0`: + +```golang +{{ .Get 0 }} +``` + +`with` is great when the output depends on a parameter being set: + +```golang +{{ with .Get "class"}} class="{{.}}"{{ end }} +``` + +`.Get` can also be used to check if a parameter has been provided. This is +most helpful when the condition depends on either of the values, or both: + +```golang +{{ or .Get "title" | .Get "alt" | if }} alt="{{ with .Get "alt"}}{{.}}{{else}}{{.Get "title"}}{{end}}"{{ end }} +``` + +If a closing shortcode is used, the variable `.Inner` will be populated with all +of the content between the opening and closing shortcodes. If a closing +shortcode is required, you can check the length of `.Inner` and provide a warning +to the user. + +A shortcode with `.Inner` content can be used without the inline content, and without the closing shortcode, by using the self-closing syntax: + +```markdown +{{}} +``` + +The variable `.Params` contains the list of parameters in case you need to do more complicated things than `.Get`. It is sometimes useful to provide a flexible shortcode that can take named or positional parameters. To meet this need, Hugo shortcodes have `.IsNamedParams`, a boolean available that can be used such as `{{ if .IsNamedParams }}...{{ else }}...{{ end }}`. See the `Single Flexible Example` below for an example. + +You can also use the variable `.Page` to access all the normal [page variables][]. + +A shortcodes can be nested. In a nested shortcode you can access the parent shortcode context with `.Parent`. This can be very useful for inheritance of common shortcode parameters from the root. + +### Single Positional Example: `youtube` + +```html +{{}} +``` + +Would load the template at `/layouts/shortcodes/youtube.html`: + +{{% input "/layouts/shortcodes/youtube.html" %}} +```html +
+ +
+``` +{{% /input %}} + +This would be rendered as: + +{{% output "youtube-embed.html" %}} +```html +
+ +
+``` +{{% /output %}} + +### Single Named Example: `image` + +{{% input "content-image.md" %}} +```markdown +{{}} +``` +{{% /input %}} + +Would load the template at `/layouts/shortcodes/img.html`: + +{{% input "/layouts/shortcodes/img.html" %}} +```html + +
+ {{ with .Get "link"}}{{ end }} + + {{ if .Get "link"}}{{ end }} + {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}} +
{{ if isset .Params "title" }} +

{{ .Get "title" }}

{{ end }} + {{ if or (.Get "caption") (.Get "attr")}}

+ {{ .Get "caption" }} + {{ with .Get "attrlink"}} {{ end }} + {{ .Get "attr" }} + {{ if .Get "attrlink"}} {{ end }} +

{{ end }} +
+ {{ end }} +
+ +``` +{{% /input %}} + +Would be rendered as: + +{{% output "figure.html" %}} +```html +
+ +
+

Steve Francia

+
+
+``` +{{% /output %}} + +### Single Flexible Example: `vimeo` + +```markdown +{{}} +{{}} +``` + +Would load the template found at `/layouts/shortcodes/vimeo.html`: + +{{% input "/layouts/shortcodes/vimeo.html" %}} +```html +{{ if .IsNamedParams }} +
+ +
+{{ else }} +
+ +
+{{ end }} +``` +{{% /input %}} + +Would be rendered as: + +{{% output "vimeo-iframes.html" %}} +```html +
+ +
+
+ +
+``` +{{% /output %}} + +### Paired Example: `highlight` + +*Hugo already ships with the `highlight` shortcode* + +{{% input "highlight-example.md" %}} +```markdown +{{}} + + This HTML + +{{}} +``` +{{% /input %}} + +The template for this utilizes the following code (already included in Hugo) + +```golang +{{ .Get 0 | highlight .Inner }} +``` + +And will be rendered as: + +{{% output "syntax-highlighted.html" %}} +```html +
<html>
+    <body> This HTML </body>
+</html>
+
+``` +{{% /output %}} + +{{% note %}} +The preceding template makes use of a Hugo-specific template function +called `highlight`, which uses [Pygments](http://pygments.org/) to add the highlighting code. +{{% /note %}} + +### Simple Single-word Example: `year` + +Let's assume you would like to have a shortcode to be replaced by the current year in your Markdown content files, for a license or copyright statement. Your goal is to be able to call the following shortcode in a content file: + +```markdown +{{}} +``` + +{{% input "/layouts/shortcodes/year.html" %}} +```golang +{{ .Page.Now.Year }} +``` +{{% /input %}} + +More shortcode examples can be found in the [shortcodes directory for spf13.com][]. + +[cross-references]: /content-management/cross-references/ +[page variables]: /variables-and-params/page-variables/ +[shortcodes directory for spf13.com]: https://github.com/spf13/spf13.com/tree/master/layouts/shortcodes +[source organization]: /project-organization/directory-structure/ +[Speaker Deck]: https://speakerdeck.com/ +[Vimeo]: https://vimeo.com/ +[YouTube Videos]: https://www.youtube.com/ \ No newline at end of file diff --git a/content/content-management/table-of-contents.md b/content/content-management/table-of-contents.md index 603ab457b..522b02f34 100644 --- a/content/content-management/table-of-contents.md +++ b/content/content-management/table-of-contents.md @@ -9,8 +9,7 @@ tags: [table of contents, toc] categories: [content management] weight: 100 draft: false -slug: aliases: [/extras/toc/] -toc: +toc: false notes: --- \ No newline at end of file diff --git a/content/content-management/url-management.md b/content/content-management/url-management.md index d46240341..e149a5525 100644 --- a/content/content-management/url-management.md +++ b/content/content-management/url-management.md @@ -9,7 +9,6 @@ tags: [aliases,redirects,permalinks,url management,urls] categories: [content management] weight: 90 draft: false -slug: aliases: [/extras/permalinks/,/extras/aliases/,/content-management/permalinks-and-redirects/,/extras/urls/] toc: true notes: diff --git a/content/developer-tools/_index.md b/content/developer-tools/_index.md index 04258b3d5..d2a80b1a6 100644 --- a/content/developer-tools/_index.md +++ b/content/developer-tools/_index.md @@ -5,9 +5,12 @@ description: Description for the developer tools section. date: 2016-11-01 publishdate: 2016-11-01 lastmod: 2016-11-01 +tags: [] +categories: [] weight: 01 draft: false slug: -aliases: +aliases: [] +toc: notes: --- \ No newline at end of file diff --git a/content/developer-tools/hugo-command-line-reference.md b/content/developer-tools/hugo-command-line-reference.md index 097571543..724006488 100644 --- a/content/developer-tools/hugo-command-line-reference.md +++ b/content/developer-tools/hugo-command-line-reference.md @@ -6,11 +6,12 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 tags: [usage] +categories: [developer tools] weight: 40 draft: false slug: aliases: [] -toc: +toc: true notes: --- diff --git a/content/developer-tools/migrate-to-hugo.md b/content/developer-tools/migrate-to-hugo.md index 620d360ff..f69ecc7ca 100644 --- a/content/developer-tools/migrate-to-hugo.md +++ b/content/developer-tools/migrate-to-hugo.md @@ -14,7 +14,11 @@ toc: notes: --- -If you are using a different static site generator or CMS (e.g, Jeklly or Wordpress), the following tools were developed by the Hugo community to facilitate automated exports from your current system to a Hugo-friendly format. +If you are using a different static site generator or CMS (e.g, Jeklly or Wordpress, respectively), the following tools were developed by the Hugo community to facilitate automated exports from your current system to a Hugo-friendly format. ## Jekyll +## WordPress + +## Contentful + diff --git a/content/developer-tools/syntax-highlighting.md b/content/developer-tools/syntax-highlighting.md index 5b1002d34..337c4cd5c 100644 --- a/content/developer-tools/syntax-highlighting.md +++ b/content/developer-tools/syntax-highlighting.md @@ -5,12 +5,23 @@ description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -tags: [] -categories: [] -weight: 110 +tags: [highlighting,pygments,code blocks] +categories: [developer tools] +weight: draft: false slug: -aliases: [] -toc: +aliases: [/extras/highlighting/] +toc: true notes: ---- \ No newline at end of file +--- + +## Code Blocks in Markdown + +## Using Pygments with Hugo + +## JavaScript Syntax Highlighters + +### Highlight.js + +### Prism.js + diff --git a/content/functions/GetPage.md b/content/functions/GetPage.md index 2a017f3dd..c71b9a6df 100644 --- a/content/functions/GetPage.md +++ b/content/functions/GetPage.md @@ -2,16 +2,14 @@ title: getpage linktitle: GetPage description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/absLangURL.md b/content/functions/absLangURL.md index 5925a3ee7..453da9bcd 100644 --- a/content/functions/absLangURL.md +++ b/content/functions/absLangURL.md @@ -2,16 +2,14 @@ title: abslangurl linktitle: absLangURL description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [multilingual,i18n,urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/absURL.md b/content/functions/absURL.md index aefcea723..fa6529b1a 100644 --- a/content/functions/absURL.md +++ b/content/functions/absURL.md @@ -2,16 +2,14 @@ title: absurl linktitle: absURL description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/after.md b/content/functions/after.md index 47cbe53c2..e6763d0cb 100644 --- a/content/functions/after.md +++ b/content/functions/after.md @@ -2,16 +2,14 @@ title: after linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/apply.md b/content/functions/apply.md index e440c9adb..9e91a9b80 100644 --- a/content/functions/apply.md +++ b/content/functions/apply.md @@ -1,17 +1,15 @@ --- title: apply -linktitle: +linktitle: apply description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/base64Decode.md b/content/functions/base64Decode.md index d82a1b9b6..5b9d589e0 100644 --- a/content/functions/base64Decode.md +++ b/content/functions/base64Decode.md @@ -2,16 +2,14 @@ title: base64decode linktitle: base64Decode description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/base64Encode.md b/content/functions/base64Encode.md index dab55cf00..79a96f950 100644 --- a/content/functions/base64Encode.md +++ b/content/functions/base64Encode.md @@ -2,16 +2,14 @@ title: base64encode linktitle: base64Encode description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/chomp.md b/content/functions/chomp.md index 3396fae01..45931dac7 100644 --- a/content/functions/chomp.md +++ b/content/functions/chomp.md @@ -1,17 +1,15 @@ --- title: chomp -linktitle: +linktitle: chomp description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/context.md b/content/functions/context.md new file mode 100644 index 000000000..166f1e988 --- /dev/null +++ b/content/functions/context.md @@ -0,0 +1,16 @@ +--- +title: The Dot (.) +linktitle: The Dot (.) +description: +godocref: https://golang.org/pkg/text/template/#hdr-Variables +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +tags: [fundamentals] +categories: [functions] +weight: 02 +toc: false +draft: false +aliases: [] +notes: +--- \ No newline at end of file diff --git a/content/functions/countrunes.md b/content/functions/countrunes.md index 823f76e18..60b88df46 100644 --- a/content/functions/countrunes.md +++ b/content/functions/countrunes.md @@ -1,17 +1,15 @@ --- title: countrunes -linktitle: +linktitle: countrunes description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/countwords.md b/content/functions/countwords.md index bd55dd637..8e320a42d 100644 --- a/content/functions/countwords.md +++ b/content/functions/countwords.md @@ -2,16 +2,14 @@ title: countwords linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/dateformat.md b/content/functions/dateformat.md index 10a5f3b90..81d71a5c0 100644 --- a/content/functions/dateformat.md +++ b/content/functions/dateformat.md @@ -2,15 +2,14 @@ title: dateFormat linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -tags: [dates] -weight: +tags: [dates,time] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/default-function.md b/content/functions/default-function.md index 75c0352f5..d8c2a8438 100644 --- a/content/functions/default-function.md +++ b/content/functions/default-function.md @@ -2,15 +2,15 @@ title: default linktitle: default description: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: -aliases: [] +aliases: [/functions/default/] notes: --- diff --git a/content/functions/delimit.md b/content/functions/delimit.md index 822a30361..d75cff533 100644 --- a/content/functions/delimit.md +++ b/content/functions/delimit.md @@ -2,16 +2,14 @@ title: delimit linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/dict.md b/content/functions/dict.md index 6f094ce5a..75e45d092 100644 --- a/content/functions/dict.md +++ b/content/functions/dict.md @@ -2,16 +2,14 @@ title: dict linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/echoparam.md b/content/functions/echoparam.md index 7511b00de..6705d5a34 100644 --- a/content/functions/echoparam.md +++ b/content/functions/echoparam.md @@ -2,16 +2,14 @@ title: echoParam linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/emojify.md b/content/functions/emojify.md index fb3f68581..8238ed33f 100644 --- a/content/functions/emojify.md +++ b/content/functions/emojify.md @@ -2,16 +2,14 @@ title: emojify linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/findRe.md b/content/functions/findRe.md index c0249f389..117fca1d1 100644 --- a/content/functions/findRe.md +++ b/content/functions/findRe.md @@ -2,16 +2,14 @@ title: findRe linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/first.md b/content/functions/first.md index 1086ca08f..16481fa97 100644 --- a/content/functions/first.md +++ b/content/functions/first.md @@ -1,17 +1,15 @@ --- title: first -linktitle: +linktitle: first description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] categories: [functions] -tags: [filtering content, limiting content] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/getenv.md b/content/functions/getenv.md index 3c5dbb9c2..8a0d6917a 100644 --- a/content/functions/getenv.md +++ b/content/functions/getenv.md @@ -2,16 +2,14 @@ title: getenv linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/hasPrefix.md b/content/functions/hasPrefix.md index 93708f6e2..c788ce8f2 100644 --- a/content/functions/hasPrefix.md +++ b/content/functions/hasPrefix.md @@ -2,16 +2,14 @@ title: hasPrefix linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/highlight.md b/content/functions/highlight.md index 0d256dd89..f83852e8e 100644 --- a/content/functions/highlight.md +++ b/content/functions/highlight.md @@ -2,16 +2,14 @@ title: highlight linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/htmlEscape.md b/content/functions/htmlEscape.md index 216e947ed..5256b4e39 100644 --- a/content/functions/htmlEscape.md +++ b/content/functions/htmlEscape.md @@ -2,16 +2,14 @@ title: htmlEscape linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/htmlUnescape.md b/content/functions/htmlUnescape.md index 1e2fef638..4c568dc58 100644 --- a/content/functions/htmlUnescape.md +++ b/content/functions/htmlUnescape.md @@ -2,16 +2,14 @@ title: htmlUnescape linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/humanize.md b/content/functions/humanize.md index 142ca03fa..d569d6494 100644 --- a/content/functions/humanize.md +++ b/content/functions/humanize.md @@ -2,16 +2,14 @@ title: humanize linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/imageConfig.md b/content/functions/imageConfig.md index e285709b9..a440c3dce 100644 --- a/content/functions/imageConfig.md +++ b/content/functions/imageConfig.md @@ -2,16 +2,14 @@ title: imageConfig linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/in.md b/content/functions/in.md index 6883f7ab1..10f074851 100644 --- a/content/functions/in.md +++ b/content/functions/in.md @@ -2,16 +2,14 @@ title: in linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/index-function.md b/content/functions/index-function.md index f7c8c81f3..92e1d12e3 100644 --- a/content/functions/index-function.md +++ b/content/functions/index-function.md @@ -2,16 +2,14 @@ title: index linktitle: index description: -workson: [map,slice,array] -godocref: https://golang.org/pkg/text/template/#hdr-Functions -tags: [iteration] -categories: [functions] +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/int.md b/content/functions/int.md index 64c45a7ec..b9c630907 100644 --- a/content/functions/int.md +++ b/content/functions/int.md @@ -2,18 +2,15 @@ title: int linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: -draft: false -type: -layout: -slug: -aliases: [] tags: [] +categories: [functions] +toc: false +draft: false +aliases: [] notes: --- diff --git a/content/functions/intersect.md b/content/functions/intersect.md index d66428351..ef05f9cf8 100644 --- a/content/functions/intersect.md +++ b/content/functions/intersect.md @@ -1,17 +1,15 @@ --- title: intersect -linktitle: +linktitle: intersect description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/isset.md b/content/functions/isset.md index 02d2a7521..5e688552a 100644 --- a/content/functions/isset.md +++ b/content/functions/isset.md @@ -1,17 +1,15 @@ --- title: isset -linktitle: +linktitle: isset description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/jsonify.md b/content/functions/jsonify.md index a77029cbb..5e965a886 100644 --- a/content/functions/jsonify.md +++ b/content/functions/jsonify.md @@ -2,16 +2,14 @@ title: jsonify linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/last.md b/content/functions/last.md index 951f538b7..47ec5a1c4 100644 --- a/content/functions/last.md +++ b/content/functions/last.md @@ -1,17 +1,15 @@ --- title: last -linktitle: +linktitle: last description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/lower.md b/content/functions/lower.md index 6ce38dc97..1e78e2e8b 100644 --- a/content/functions/lower.md +++ b/content/functions/lower.md @@ -1,17 +1,15 @@ --- title: lower -linktitle: +linktitle: lower description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/markdownify.md b/content/functions/markdownify.md index b3af65d59..206ff3062 100644 --- a/content/functions/markdownify.md +++ b/content/functions/markdownify.md @@ -1,17 +1,15 @@ --- title: markdownify -linktitle: +linktitle: markdownify description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [markdown,content] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/math.md b/content/functions/math.md index ccec65e1e..28a577326 100644 --- a/content/functions/math.md +++ b/content/functions/math.md @@ -2,14 +2,14 @@ title: math linktitle: Math description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [math, operators] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/md5.md b/content/functions/md5.md index 55865b0c6..496bc8291 100644 --- a/content/functions/md5.md +++ b/content/functions/md5.md @@ -2,16 +2,14 @@ title: md5 linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/partialCached.md b/content/functions/partialCached.md index b55378f5e..9297017ee 100644 --- a/content/functions/partialCached.md +++ b/content/functions/partialCached.md @@ -2,16 +2,14 @@ title: partialCached linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/plainify.md b/content/functions/plainify.md index 632d21cb9..f367a825f 100644 --- a/content/functions/plainify.md +++ b/content/functions/plainify.md @@ -2,16 +2,14 @@ title: plainify linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/pluralize.md b/content/functions/pluralize.md index d41ff8086..656cc76cc 100644 --- a/content/functions/pluralize.md +++ b/content/functions/pluralize.md @@ -2,16 +2,14 @@ title: pluralize linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/printf.md b/content/functions/printf.md index 12c89c6c2..684281ef7 100644 --- a/content/functions/printf.md +++ b/content/functions/printf.md @@ -1,17 +1,15 @@ --- title: printf -linktitle: +linktitle: printf description: -qr_description: -qr_returns: +godocref: https://golang.org/pkg/fmt/ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/querify.md b/content/functions/querify.md index 7731c3f0b..e4c392e2b 100644 --- a/content/functions/querify.md +++ b/content/functions/querify.md @@ -2,16 +2,14 @@ title: querify linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/range.md b/content/functions/range.md index 188737f2d..b7ac328c2 100644 --- a/content/functions/range.md +++ b/content/functions/range.md @@ -2,16 +2,14 @@ title: range linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -categories: [fundamentals] -tags: [iteration] -weight: +tags: [iteration,fundamentals] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/readDir.md b/content/functions/readDir.md index 35d41a502..a0d70f65b 100644 --- a/content/functions/readDir.md +++ b/content/functions/readDir.md @@ -2,16 +2,14 @@ title: readDir linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [files] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/readFile.md b/content/functions/readFile.md index 5b67827bd..ebfb5bc3b 100644 --- a/content/functions/readFile.md +++ b/content/functions/readFile.md @@ -2,16 +2,14 @@ title: readFile linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [files] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/rel.md b/content/functions/rel.md index 344dd8cca..7fa8d9c6c 100644 --- a/content/functions/rel.md +++ b/content/functions/rel.md @@ -2,16 +2,14 @@ title: rel linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/relLangURL.md b/content/functions/relLangURL.md index 47c3401f8..ce622c987 100644 --- a/content/functions/relLangURL.md +++ b/content/functions/relLangURL.md @@ -2,16 +2,14 @@ title: relLangURL linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [multilingual,i18n,urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/relURL.md b/content/functions/relURL.md index 41192edcc..17f6ab59d 100644 --- a/content/functions/relURL.md +++ b/content/functions/relURL.md @@ -1,17 +1,15 @@ --- title: relURL -linktitle: +linktitle: relURL description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/relref.md b/content/functions/relref.md index bae21cb47..d4befd34d 100644 --- a/content/functions/relref.md +++ b/content/functions/relref.md @@ -2,16 +2,14 @@ title: relref linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/render.md b/content/functions/render.md index 7bf222301..740af80a8 100644 --- a/content/functions/render.md +++ b/content/functions/render.md @@ -1,17 +1,15 @@ --- title: render -linktitle: +linktitle: Render description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [views] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/replace.md b/content/functions/replace.md index dc4104b91..6f2a79a69 100644 --- a/content/functions/replace.md +++ b/content/functions/replace.md @@ -2,16 +2,14 @@ title: replace linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/safeCSS.md b/content/functions/safeCSS.md index 7f534cf1e..d2acafba3 100644 --- a/content/functions/safeCSS.md +++ b/content/functions/safeCSS.md @@ -2,14 +2,14 @@ title: safeCSS linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [style,css,strings] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/safeHTML.md b/content/functions/safeHTML.md index 8b53161a0..a52f74819 100644 --- a/content/functions/safeHTML.md +++ b/content/functions/safeHTML.md @@ -2,14 +2,14 @@ title: safeHTML linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [strings] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/safeHTMLAttr.md b/content/functions/safeHTMLAttr.md index 2ccc27794..f7912a76f 100644 --- a/content/functions/safeHTMLAttr.md +++ b/content/functions/safeHTMLAttr.md @@ -1,15 +1,15 @@ --- title: safeHTMLAttr -linktitle: +linktitle: safeHTMLAttr description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [strings] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/safeJS.md b/content/functions/safeJS.md index c5bfa5b50..68327c793 100644 --- a/content/functions/safeJS.md +++ b/content/functions/safeJS.md @@ -2,14 +2,14 @@ title: safeJS linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [strings] +categories: [functions] +toc: false draft: false -slug: aliases: [] notes: --- diff --git a/content/functions/safeURL.md b/content/functions/safeURL.md index b2e409614..76e1f86b9 100644 --- a/content/functions/safeURL.md +++ b/content/functions/safeURL.md @@ -2,16 +2,14 @@ title: safeURL linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [strings,urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/scratch.md b/content/functions/scratch.md index ecdb1fa32..c862e0cb7 100644 --- a/content/functions/scratch.md +++ b/content/functions/scratch.md @@ -2,16 +2,14 @@ title: scratch linktitle: Scratch description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [iteration] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/seq.md b/content/functions/seq.md index 91eb521b2..2bb66891b 100644 --- a/content/functions/seq.md +++ b/content/functions/seq.md @@ -2,16 +2,14 @@ title: seq linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/sha1.md b/content/functions/sha1.md index 37b96f2b4..bfbd63c61 100644 --- a/content/functions/sha1.md +++ b/content/functions/sha1.md @@ -1,17 +1,16 @@ --- title: sha1 -linktitle: +linktitle: sha1 description: -qr_description: -qr_returns: +description: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/sha256.md b/content/functions/sha256.md index ba0aba44d..624bc191f 100644 --- a/content/functions/sha256.md +++ b/content/functions/sha256.md @@ -1,17 +1,15 @@ --- title: sha256 -linktitle: +linktitle: sha256 description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/shuffle.md b/content/functions/shuffle.md index 3c501aa93..049c042ed 100644 --- a/content/functions/shuffle.md +++ b/content/functions/shuffle.md @@ -2,16 +2,15 @@ title: shuffle linktitle: description: -qr_description: -qr_returns: +description: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [ordering] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/singularize.md b/content/functions/singularize.md index a778a3e43..caeb12a86 100644 --- a/content/functions/singularize.md +++ b/content/functions/singularize.md @@ -2,16 +2,14 @@ title: singularize linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/slice.md b/content/functions/slice.md index 3894094ca..f2d4917b3 100644 --- a/content/functions/slice.md +++ b/content/functions/slice.md @@ -1,17 +1,15 @@ --- title: slice -linktitle: +linktitle: slice description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/slicestr.md b/content/functions/slicestr.md index 475575242..8dc60da05 100644 --- a/content/functions/slicestr.md +++ b/content/functions/slicestr.md @@ -2,16 +2,14 @@ title: slicestr linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/sort.md b/content/functions/sort.md index 054272306..691d54947 100644 --- a/content/functions/sort.md +++ b/content/functions/sort.md @@ -1,17 +1,15 @@ --- title: sort -linktitle: +linktitle: sort description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [ordering] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/split.md b/content/functions/split.md index a6ea4c79e..0843a2db4 100644 --- a/content/functions/split.md +++ b/content/functions/split.md @@ -2,16 +2,14 @@ title: split linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/string.md b/content/functions/string.md index c18ee1ff1..957b90f50 100644 --- a/content/functions/string.md +++ b/content/functions/string.md @@ -2,16 +2,14 @@ title: string linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/substr.md b/content/functions/substr.md index 9be57edd2..269b3b149 100644 --- a/content/functions/substr.md +++ b/content/functions/substr.md @@ -2,16 +2,14 @@ title: substr linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/time.md b/content/functions/time.md index 6836b45a4..36f752367 100644 --- a/content/functions/time.md +++ b/content/functions/time.md @@ -2,21 +2,21 @@ title: time linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [dates,time] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- ## Example +refer to http://gohugo.io/templates/go-templates/#template-example-show-only-upcoming-events + ## Advanced Example diff --git a/content/functions/title.md b/content/functions/title.md index 9f9766fa7..928277183 100644 --- a/content/functions/title.md +++ b/content/functions/title.md @@ -2,16 +2,14 @@ title: title linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [fundamentals,strings] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/trim.md b/content/functions/trim.md index 6f58090c5..1db36e9ef 100644 --- a/content/functions/trim.md +++ b/content/functions/trim.md @@ -2,16 +2,14 @@ title: trim linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/unix.md b/content/functions/unix.md new file mode 100644 index 000000000..62e5e7449 --- /dev/null +++ b/content/functions/unix.md @@ -0,0 +1,22 @@ +--- +title: unix +linktitle: Unix +description: +godocref: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +tags: [dates,time] +categories: [functions] +toc: false +draft: false +aliases: [] +notes: +--- + +## Example + +refer to http://gohugo.io/templates/go-templates/#template-example-show-only-upcoming-events + +## Advanced Example + diff --git a/content/functions/upper.md b/content/functions/upper.md index 26ab84094..e58bd3a39 100644 --- a/content/functions/upper.md +++ b/content/functions/upper.md @@ -2,16 +2,14 @@ title: upper linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/urlize.md b/content/functions/urlize.md index d59ed7d66..dd613be42 100644 --- a/content/functions/urlize.md +++ b/content/functions/urlize.md @@ -2,16 +2,14 @@ title: urlize linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [strings,urls] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- diff --git a/content/functions/where.md b/content/functions/where.md index dc9bb6455..39dfd2114 100644 --- a/content/functions/where.md +++ b/content/functions/where.md @@ -2,16 +2,14 @@ title: where linktitle: description: -qr_description: -qr_returns: +godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: +tags: [] +categories: [functions] +toc: false draft: false -type: -layout: -slug: aliases: [] notes: --- @@ -20,5 +18,3 @@ notes: ## Advanced Example - -Here is just some content testing for the where function. diff --git a/content/functions/with.md b/content/functions/with.md new file mode 100644 index 000000000..2a6744130 --- /dev/null +++ b/content/functions/with.md @@ -0,0 +1,19 @@ +--- +title: with +linktitle: with +description: +godocref: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +tags: [fundamentals] +categories: [functions] +toc: false +draft: false +aliases: [] +notes: +--- + +## Example + +## Advanced Example \ No newline at end of file diff --git a/content/hosting-and-deployment/_index.md b/content/hosting-and-deployment/_index.md index 6a0f12c00..e0b9e624b 100644 --- a/content/hosting-and-deployment/_index.md +++ b/content/hosting-and-deployment/_index.md @@ -1,14 +1,15 @@ --- title: Hosting and Deployment -linktitle: +linktitle: Hosting and Deployment description: Site builds, automated deployments, and popular hosting solutions. date: 2016-11-01 publishdate: 2016-11-01 lastmod: 2016-11-01 +tags: [hosting] +categories: [hosting and deployment] weight: 01 draft: false -slug: aliases: +toc: false notes: ---- - +--- \ No newline at end of file diff --git a/content/hosting-and-deployment/deployment-with-rsync.md b/content/hosting-and-deployment/deployment-with-rsync.md index 59360c7f1..50066ea42 100644 --- a/content/hosting-and-deployment/deployment-with-rsync.md +++ b/content/hosting-and-deployment/deployment-with-rsync.md @@ -5,8 +5,8 @@ description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -tags: [] -categories: [] +tags: [rysnc] +categories: [hosting and deployment] toc: false weight: draft: false diff --git a/content/hosting-and-deployment/deployment-with-wercker.md b/content/hosting-and-deployment/deployment-with-wercker.md index 2c5d5c6bd..62c1c935f 100644 --- a/content/hosting-and-deployment/deployment-with-wercker.md +++ b/content/hosting-and-deployment/deployment-with-wercker.md @@ -1,12 +1,12 @@ --- title: Deployment with Wercker -linktitle: +linktitle: Deployment with Wercker description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -tags: [] -categories: [] +tags: [wercker] +categories: [hosting and deployment] toc: false draft: false slug: diff --git a/content/hosting-and-deployment/hosting-on-bitbucket.md b/content/hosting-and-deployment/hosting-on-bitbucket.md index c67dab519..3ee816102 100644 --- a/content/hosting-and-deployment/hosting-on-bitbucket.md +++ b/content/hosting-and-deployment/hosting-on-bitbucket.md @@ -1,14 +1,14 @@ --- title: Hosting on Bitbucket -linktitle: +linktitle: Hosting on Bitbucket description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: draft: false -tags: [] -categories: [] +tags: [bitbucket] +categories: [hosting and deployment] toc: false aliases: [] notes: diff --git a/content/hosting-and-deployment/hosting-on-github.md b/content/hosting-and-deployment/hosting-on-github.md index 2bff1aaee..13cde8f89 100644 --- a/content/hosting-and-deployment/hosting-on-github.md +++ b/content/hosting-and-deployment/hosting-on-github.md @@ -1,14 +1,14 @@ --- title: Hosting on GitHub -linktitle: +linktitle: Hosting on GitHub description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: draft: false -tags: [] -categories: [] +tags: [github,git] +categories: [hosting and deployment] toc: false aliases: [] notes: diff --git a/content/news-and-articles/_index.md b/content/news-and-articles/_index.md index defbea016..693c0c179 100644 --- a/content/news-and-articles/_index.md +++ b/content/news-and-articles/_index.md @@ -7,11 +7,11 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 tags: [] categories: [] -hidesectioncontents: false weight: 01 draft: false -slug: aliases: [] +toc: false +hidesectioncontents: false notes: --- diff --git a/content/news-and-articles/release-notes.md b/content/news-and-articles/release-notes.md index c59283799..3702888df 100644 --- a/content/news-and-articles/release-notes.md +++ b/content/news-and-articles/release-notes.md @@ -5,12 +5,11 @@ description: Information on the Hugo license. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 +tags: [releases,improvements] +categories: [news and articles] weight: 30 draft: false -type: -layout: -slug: aliases: [/meta/release-notes] +toc: true notes: ---- - +--- \ No newline at end of file diff --git a/content/project-organization/_index.md b/content/project-organization/_index.md index b56f10b35..7e231de7a 100644 --- a/content/project-organization/_index.md +++ b/content/project-organization/_index.md @@ -11,7 +11,8 @@ categories: [] draft: false hidesectioncontents: false slug: -aliases: +aliases: [] +toc: false notes: --- diff --git a/content/project-organization/configuration.md b/content/project-organization/configuration.md index 905aadd03..cb5b10f55 100644 --- a/content/project-organization/configuration.md +++ b/content/project-organization/configuration.md @@ -3,13 +3,15 @@ title: Configuration linktitle: description: Scaffolding new projects, configuration, and source organization. date: 2017-01-02 -tags: [configuration,fundamentals,toml,yaml,json] publishdate: 2017-01-02 lastmod: 2017-01-02 +tags: [configuration,fundamentals,toml,yaml,json] +categories: [project organization] weight: 10 draft: false slug: aliases: [/overview/source-directory/] +toc: true notes: --- diff --git a/content/templates/_index.md b/content/templates/_index.md index 71d907fba..1f5b58285 100644 --- a/content/templates/_index.md +++ b/content/templates/_index.md @@ -11,5 +11,6 @@ tags: [templating,functions] draft: false slug: aliases: +toc: false notes: --- diff --git a/content/templates/ace-templating.md b/content/templates/ace-templating.md index 83032915a..725c4943b 100644 --- a/content/templates/ace-templating.md +++ b/content/templates/ace-templating.md @@ -7,9 +7,11 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [] +categories: [templates] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- diff --git a/content/templates/amber-templating.md b/content/templates/amber-templating.md index 11cc27da5..a893503ac 100644 --- a/content/templates/amber-templating.md +++ b/content/templates/amber-templating.md @@ -7,8 +7,10 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [amber,layout] +categories: [templates] draft: false slug: aliases: +toc: false notes: --- \ No newline at end of file diff --git a/content/templates/base-templates-and-blocks.md b/content/templates/base-templates-and-blocks.md index ee074cc9a..f003c6e2d 100644 --- a/content/templates/base-templates-and-blocks.md +++ b/content/templates/base-templates-and-blocks.md @@ -7,9 +7,11 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [blocks,base] +categories: [templates] draft: false slug: aliases: +toc: false notes: --- diff --git a/content/templates/content-view-templates.md b/content/templates/content-view-templates.md index 3f614f16b..6a35b099a 100644 --- a/content/templates/content-view-templates.md +++ b/content/templates/content-view-templates.md @@ -6,10 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [] +categories: [templates] tags: [views] draft: false slug: aliases: [/templates/views/] +toc: false notes: --- diff --git a/content/templates/custom-404-page.md b/content/templates/custom-404-page.md index 154fae100..b3013961e 100644 --- a/content/templates/custom-404-page.md +++ b/content/templates/custom-404-page.md @@ -1,14 +1,16 @@ --- title: Custom 404 Page -linktitle: Custom 404 Page +linktitle: description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [404, page not found] +categories: [templates] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- diff --git a/content/templates/data-templates.md b/content/templates/data-templates.md index 38ae12516..00fb880fc 100644 --- a/content/templates/data-templates.md +++ b/content/templates/data-templates.md @@ -6,9 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [data] +categories: [templates] draft: false slug: aliases: +toc: false notes: --- diff --git a/content/templates/go-template-primer.md b/content/templates/go-template-primer.md index 500a4781b..336ecbafc 100644 --- a/content/templates/go-template-primer.md +++ b/content/templates/go-template-primer.md @@ -7,8 +7,10 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [] +categories: [templates] draft: false slug: aliases: +toc: false notes: --- \ No newline at end of file diff --git a/content/templates/homepage-template.md b/content/templates/homepage-template.md index 51467836f..202240cc3 100644 --- a/content/templates/homepage-template.md +++ b/content/templates/homepage-template.md @@ -6,9 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [homepage] +categories: [templates] draft: false slug: aliases: [/layout/homepage/,/templates/homepage/] +toc: false notes: --- \ No newline at end of file diff --git a/content/templates/list-and-section-templates.md b/content/templates/list-and-section-templates.md index fedbd9720..53e94ce18 100644 --- a/content/templates/list-and-section-templates.md +++ b/content/templates/list-and-section-templates.md @@ -7,9 +7,11 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [lists,sections] +categories: [templates] draft: false slug: aliases: [/templates/list/] +toc: false notes: --- diff --git a/content/templates/menu-templates.md b/content/templates/menu-templates.md new file mode 100644 index 000000000..4650de13f --- /dev/null +++ b/content/templates/menu-templates.md @@ -0,0 +1,17 @@ +--- +title: Menu Templates +linktitle: Menu Templates +description: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +categories: [templates] +tags: [lists,sections,menus] +draft: false +slug: +aliases: [/extras/menus/] +toc: false +notes: +--- + diff --git a/content/templates/pagination.md b/content/templates/pagination.md index 8ad689eeb..5664ea634 100644 --- a/content/templates/pagination.md +++ b/content/templates/pagination.md @@ -6,10 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [templating,content management] +categories: [templates] tags: [lists,sections,pagination] draft: false slug: aliases: [/extras/pagination] +toc: false notes: --- diff --git a/content/templates/partial-templates.md b/content/templates/partial-templates.md new file mode 100644 index 000000000..ca18bb6b3 --- /dev/null +++ b/content/templates/partial-templates.md @@ -0,0 +1,16 @@ +--- +title: Partial Templates +linktitle: Partial Templates +description: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +categories: [templates] +tags: [lists,sections,partials] +draft: false +slug: +aliases: [/templates/partials/] +toc: false +notes: +--- diff --git a/content/templates/rss-templates.md b/content/templates/rss-templates.md index 8332a98ed..f91c046ad 100644 --- a/content/templates/rss-templates.md +++ b/content/templates/rss-templates.md @@ -6,9 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [rss, xml] +categories: [templates] draft: false slug: aliases: [/templates/rss/] +toc: false notes: --- \ No newline at end of file diff --git a/content/templates/single-page-templates.md b/content/templates/single-page-templates.md index 4cf67a990..06abc8be0 100644 --- a/content/templates/single-page-templates.md +++ b/content/templates/single-page-templates.md @@ -7,9 +7,11 @@ publishdate: 2017-02-01 lastmod: 2017-02-01 weight: tags: [] +categories: [templates] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- diff --git a/content/templates/sitemap-template.md b/content/templates/sitemap-template.md index b1c64abab..31bb77f98 100644 --- a/content/templates/sitemap-template.md +++ b/content/templates/sitemap-template.md @@ -6,9 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [sitemap, xml] +categories: [templates] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- \ No newline at end of file diff --git a/content/templates/taxonomy-templates.md b/content/templates/taxonomy-templates.md index 48d187723..a73c7ef3b 100644 --- a/content/templates/taxonomy-templates.md +++ b/content/templates/taxonomy-templates.md @@ -5,18 +5,16 @@ description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 -weight: -categories: [] tags: [taxonomies,metadata,front matter,terms] +categories: [templates] +weight: draft: false slug: aliases: [] +toc: true notes: --- -## Configuring Taxonomies - ## Taxonomy Templates -## Terms Templates - +## Terms Templates \ No newline at end of file diff --git a/content/templates/template-debugging.md b/content/templates/template-debugging.md index 499d2278d..4066cb92a 100644 --- a/content/templates/template-debugging.md +++ b/content/templates/template-debugging.md @@ -6,9 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +tags: [debugging,troubleshooting] +categories: [templates] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- \ No newline at end of file diff --git a/content/themes/_index.md b/content/themes/_index.md index 4b39c5a06..8afc0fd83 100644 --- a/content/themes/_index.md +++ b/content/themes/_index.md @@ -11,5 +11,6 @@ tags: [] draft: false slug: aliases: +toc: false notes: --- \ No newline at end of file diff --git a/content/troubleshooting/_index.md b/content/troubleshooting/_index.md index ba3951e7e..5c2d598ed 100644 --- a/content/troubleshooting/_index.md +++ b/content/troubleshooting/_index.md @@ -10,6 +10,7 @@ draft: false hidesectioncontents: false slug: aliases: [/troubleshooting/faqs/,/faqs/] +toc: false notes: --- diff --git a/content/troubleshooting/eof-error.md b/content/troubleshooting/eof-error.md index 6835f8f79..1db8ad77a 100644 --- a/content/troubleshooting/eof-error.md +++ b/content/troubleshooting/eof-error.md @@ -11,5 +11,6 @@ weight: draft: false slug: aliases: [] +toc: false notes: --- \ No newline at end of file diff --git a/content/tutorials/_index.md b/content/tutorials/_index.md index e1d0fd32a..bf617cb8a 100644 --- a/content/tutorials/_index.md +++ b/content/tutorials/_index.md @@ -1,12 +1,12 @@ --- -title: Overview of Tutorials -linktitle: Overview of Tutorials +title: Tutorials +linktitle: Tutorials description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 tags: [tutorials,learning] -weight: +weight: 01 draft: false hidesectioncontents: false slug: diff --git a/content/tutorials/migrate-from-jekyll-to-hugo.md b/content/tutorials/migrate-from-jekyll-to-hugo.md index 246adb6a3..b411cce65 100644 --- a/content/tutorials/migrate-from-jekyll-to-hugo.md +++ b/content/tutorials/migrate-from-jekyll-to-hugo.md @@ -1,10 +1,11 @@ --- -title: Migrate to Hugo -linktitle: Migrate to Hugo -description: A tutorial that demonstrates how to use the hugo import jekyll command that was added to v.15. +title: Migrate from Jekyll Hugo +linktitle: Migrate from Jekyll to Hugo +description: A tutorial that demonstrates how to use the `hugo import jekyll` command added to v0.15 of Hugo. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 +categories: [tutorials] tags: [migrations,jekyll] weight: draft: false diff --git a/content/variables-and-params/_index.md b/content/variables-and-params/_index.md index 751850a23..dd4a94d2c 100644 --- a/content/variables-and-params/_index.md +++ b/content/variables-and-params/_index.md @@ -1,14 +1,17 @@ --- -title: Variables vs Parameters +title: Variables and Params linktitle: description: Page-, file-, taxonomy-, and site-level variables and parameters available in templates. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: 01 +categories: [variables and params] +tags: [files] draft: false slug: -aliases: [] +aliases: [/templates/variables/] +toc: false hidesectioncontents: false notes: --- diff --git a/content/variables-and-params/file-variables.md b/content/variables-and-params/file-variables.md index ad4233d42..562c17e14 100644 --- a/content/variables-and-params/file-variables.md +++ b/content/variables-and-params/file-variables.md @@ -6,10 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [] -tags: [] +categories: [variables and params] +tags: [files] draft: false slug: aliases: [] +toc: false notes: --- diff --git a/content/templates/shortcodes.md b/content/variables-and-params/git-variables.md similarity index 58% rename from content/templates/shortcodes.md rename to content/variables-and-params/git-variables.md index e3d9108b5..5f7d03d18 100644 --- a/content/templates/shortcodes.md +++ b/content/variables-and-params/git-variables.md @@ -1,14 +1,16 @@ --- -title: Shortcodes +title: Git Variables linktitle: description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -tags: [] +categories: [variables and params] +tags: [git] draft: false slug: -aliases: +aliases: [] +toc: false notes: --- \ No newline at end of file diff --git a/content/variables-and-params/hugo-variables.md b/content/variables-and-params/hugo-variables.md new file mode 100644 index 000000000..436fec1c0 --- /dev/null +++ b/content/variables-and-params/hugo-variables.md @@ -0,0 +1,16 @@ +--- +title: Hugo Variables +linktitle: +description: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +categories: [variables and params] +tags: [hugo] +draft: false +slug: +aliases: [] +toc: false +notes: +--- \ No newline at end of file diff --git a/content/variables-and-params/page-variables.md b/content/variables-and-params/page-variables.md index 0d823ebaf..e844f98d7 100644 --- a/content/variables-and-params/page-variables.md +++ b/content/variables-and-params/page-variables.md @@ -6,11 +6,12 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [] -tags: [] +categories: [variables and params] +tags: [pages] draft: false slug: aliases: [] +toc: false notes: --- diff --git a/content/variables-and-params/site-variables.md b/content/variables-and-params/site-variables.md index 000b8d9b1..2c36636d0 100644 --- a/content/variables-and-params/site-variables.md +++ b/content/variables-and-params/site-variables.md @@ -1,15 +1,16 @@ --- title: Site Variables -linktitle: +linktitle: Site Variables description: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [] -tags: [] +categories: [variables and params] +tags: [global,site] draft: false slug: aliases: [] +toc: false notes: --- diff --git a/content/variables-and-params/taxonomy-variables.md b/content/variables-and-params/taxonomy-variables.md index a747151ab..4c6f9d82d 100644 --- a/content/variables-and-params/taxonomy-variables.md +++ b/content/variables-and-params/taxonomy-variables.md @@ -6,10 +6,11 @@ date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 weight: -categories: [] -tags: [] +categories: [variables and params] +tags: [taxonomies,terms] draft: false slug: aliases: [] +toc: false notes: --- diff --git a/data/sitenavigation.yml b/data/sitenavigation.yml index ddb060836..cd0a144ea 100644 --- a/data/sitenavigation.yml +++ b/data/sitenavigation.yml @@ -25,14 +25,14 @@ contentmanagement: url: "content-management" haschildren: true sortsubpagesby: "weight" - desc: "Content summaries, archetypes, pagination, permalinks, front matter, and supported content formats" + desc: "Summaries, shortcodes, archetypes, permalinks, front matter, and supported content formats" templates: order: 5 title: "Templates" url: "templates" haschildren: true sortsubpagesby: "weight" - desc: "Golang templating, template types and lookup order, shortcodes, and data" + desc: "Pagination, homepage, rss/sitemap, template types and lookup order, and data" functions: order: 6 title: "Functions" diff --git a/themes/hugodocs/pipeline/js/scripts/highlight.pack.js b/themes/hugodocs/pipeline/js/scripts/highlight.pack.js index 82c51ddc1..bc347b757 100644 --- a/themes/hugodocs/pipeline/js/scripts/highlight.pack.js +++ b/themes/hugodocs/pipeline/js/scripts/highlight.pack.js @@ -289,7 +289,7 @@ hljs.registerLanguage("css", function(e) { return { cI: !0, i: /[=\/|'\$]/, c: [e.CBCM, { cN: "selector-id", b: /#[A-Za-z0-9_-]+/ }, { cN: "selector-class", b: /\.[A-Za-z0-9_-]+/ }, { cN: "selector-attr", b: /\[/, e: /\]/, i: "$" }, { cN: "selector-pseudo", b: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/ }, { b: "@(font-face|page)", l: "[a-z-]+", k: "font-face page" }, { b: "@", e: "[{;]", i: /:/, c: [{ cN: "keyword", b: /\w+/ }, { b: /\s/, eW: !0, eE: !0, r: 0, c: [e.ASM, e.QSM, e.CSSNM] }] }, { cN: "selector-tag", b: c, r: 0 }, { b: "{", e: "}", i: /\S/, c: [e.CBCM, t] }] } }); hljs.registerLanguage("go", function(e) { - var t = { keyword: "break default func interface select case map struct chan else goto package switch const fallthrough if range end type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune", literal: "true false iota nil Pages", built_in: "append cap close complex copy imag len make new panic print println real recover delete Site Data" }; + var t = { keyword: "break default func interface select case map struct chan else goto package switch const fallthrough if range end type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune", literal: "Get true false iota nil Pages", built_in: "append cap close complex copy imag len make new panic print println real recover delete Site Data" }; return { aliases: ["golang"], k: t, i: " pre { @@ -24,32 +24,45 @@ pre { } .body-copy { - p code, - td code { - font-size: .85em; - display:inline-block; - color: $inline-code-text-color; - font-family: $code-font-family; - padding-left: .25em; - padding-right: .25em; - padding-bottom:.1em; - line-height:1.2; - margin-bottom:.15em; - margin-top:0px; - padding-top:0px; - // line-height:1; - vertical-align:middle; - //darken code background color for non-retina screens - background-color: darken($inline-code-background-color,5%); - border: none; - outline: none; - z-index:-1; - @include MQ(retina){ - background-color: $inline-code-background-color; + p, + td, + li { + code { + font-size: .85em; + display: inline-block; + color: $inline-code-text-color; + font-family: $code-font-family; + padding-left: .25em; + padding-right: .25em; + padding-bottom: .1em; + text-transform: none; + line-height: 1.2; + margin-bottom: .15em; + margin-top: 0px; + padding-top: 0px; + // line-height:1; + vertical-align: middle; + //darken code background color for non-retina screens + background-color: darken($inline-code-background-color, 5%); + border: none; + outline: none; + z-index: -1; + @include MQ(retina) { + background-color: $inline-code-background-color; + } } } - p > a code, li > a code, td > a code { - color:$hugo-pink; + h3 > code { + font-size:1.1em; + font-weight:normal; + } + h4 code { + text-transform:none; + } + p > a code, + li > a code, + td > a code { + color: $hugo-pink; } } diff --git a/themes/hugodocs/pipeline/scss/components/_table-of-contents.scss b/themes/hugodocs/pipeline/scss/components/_table-of-contents.scss index eb13ecd90..16847dddd 100644 --- a/themes/hugodocs/pipeline/scss/components/_table-of-contents.scss +++ b/themes/hugodocs/pipeline/scss/components/_table-of-contents.scss @@ -2,7 +2,7 @@ aside#toc { position: fixed; max-width: 280px; min-width: 200px; - overflow-y: scroll; + overflow-y: auto; padding: .5em; bottom: 20px; right: 20px; @@ -40,6 +40,7 @@ nav#TableOfContents { float: left; position:relative; overflow-y: scroll; + margin-bottom:20px; > ul:first-child { padding-left: 0px; margin-left: 0px; @@ -117,6 +118,9 @@ nav#TableOfContents { } } } + ul { + display:none; + } } } } diff --git a/themes/hugodocs/static/css/style.min.css b/themes/hugodocs/static/css/style.min.css index d734b1be6..28814daa3 100644 --- a/themes/hugodocs/static/css/style.min.css +++ b/themes/hugodocs/static/css/style.min.css @@ -1 +1 @@ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80a'}.icon-sass:before{content:'\e803'}.icon-search:before{content:'\e80b'}.icon-share:before{content:'\f1e0'}.icon-tag:before{content:'\e806'}.icon-tags:before{content:'\e805'}.icon-sh:before{content:'\e804'}.icon-terminal:before{content:'\e804'}.icon-bash:before{content:'\e804'}.icon-thumbs-up:before{content:'\e81a'}.icon-twitter:before{content:'\e807'}.icon-warn:before{content:'\e810'}.icon-warning:before{content:'\e810'}.icon-website:before{content:'\e818'}.icon-yaml:before,.icon-yml:before,.icon-toml:before{font-family:"sourcecodepro",courier,monospace;left:-1em;margin-right:1em}.icon-yaml:before,.icon-yml:before{content:'YAML'}.icon-toml:before{content:'TOML'}@font-face{font-family:"muli";src:url("/fonts/muli/muli-100-webfont.woff2") format("woff2"),url("/fonts/muli/muli-100-webfont.woff") format("woff"),url("/fonts/muli/muli-100-webfont.ttf") format("truetype");font-weight:100;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-100-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-100-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-100-italic-webfont.ttf") format("truetype");font-weight:100;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-300-webfont.woff2") format("woff2"),url("/fonts/muli/muli-300-webfont.woff") format("woff"),url("/fonts/muli/muli-300-webfont.ttf") format("truetype");font-weight:300;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-300-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-300-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-300-italic-webfont.ttf") format("truetype");font-weight:300;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-400-webfont.woff2") format("woff2"),url("/fonts/muli/muli-400-webfont.woff") format("woff"),url("/fonts/muli/muli-400-webfont.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-400-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-400-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-400-italic-webfont.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-600-webfont.woff2") format("woff2"),url("/fonts/muli/muli-600-webfont.woff") format("woff"),url("/fonts/muli/muli-600-webfont.ttf") format("truetype");font-weight:600;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-600-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-600-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-600-italic-webfont.ttf") format("truetype");font-weight:600;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-700-webfont.woff2") format("woff2"),url("/fonts/muli/muli-700-webfont.woff") format("woff"),url("/fonts/muli/muli-700-webfont.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-700-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-700-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-700-italic-webfont.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-400-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-400-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-400-webfont.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-700-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-700-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-700-webfont.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.ttf") format("truetype");font-weight:700;font-style:italic}h1,h2,h3,h4{font-weight:700;margin:0px;line-height:1.4;position:relative}h1.page-title{font-size:1.8em;letter-spacing:-.021em;padding-bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:8px}@media only screen and (min-width: 760px){h1.page-title{padding-top:0px}}h1.page-title img{display:inline;height:1em;width:1em;margin-right:.15em}h1.page-title i[class^="icon-"]{margin-left:-.15em;margin-right:.15em}h2,h3{padding-bottom:24px;padding-right:1.5em}h2{font-size:1.3em}h3{font-size:1.1em}h4{font-size:1em;padding-top:50px;color:#737373;text-transform:uppercase}.functions{font-family:"sourcecodepro",courier,monospace;font-weight:300}.submenu-item:first-child a.submenu-item-link.functions{font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif}button,a[role="button"]{background-color:#0083C0;color:#fff;border:none;outline:none;border-radius:.25em;padding:.25em .5em;box-shadow:none;text-align:center;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}button:hover,a[role="button"]:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}button[class^="icon-"]:before,a[role="button"][class^="icon-"]:before{display:inline-block;font-family:'FontAwesome';margin-right:.3em}button.icon-forum:before,a[role="button"].icon-forum:before{content:'\f086'}button.icon-mailing-list:before,a[role="button"].icon-mailing-list:before{content:'\f0e0'}nav ul,nav ol,aside ul,aside ol{margin-left:0px;padding-left:0px;list-style:none;text-indent:0px}nav ul li,nav ol li,aside ul li,aside ol li{position:relative;margin-left:0px;padding-left:0px;list-style:none}.body-copy ul,.body-copy ol{padding-left:.75em;margin-left:.5em;margin-top:0px;padding-top:0px;margin-bottom:1.5em}.body-copy ul li,.body-copy ol li{position:relative;margin-top:.25em}.body-copy ul li ul,.body-copy ul li ol,.body-copy ol li ul,.body-copy ol li ol{margin-bottom:0px}.body-copy ul{list-style:disc outside none}.body-copy ul li ul{list-style-type:circle}.body-copy ul li ul li ul{list-style-type:square}.body-copy ol li ol{list-style-type:lower-roman}.body-copy ol li ol li ol{list-style-type:lower-alpha}a{color:#C9177E;font-weight:300}a,a:hover,a:active,a:focus{text-decoration:none;cursor:pointer}a:hover{text-decoration:none}.body-copy li a,.body-copy p a{z-index:1;color:#C9177E}.body-copy li a:hover,.body-copy p a:hover{border-bottom:1px solid #C9177E}a.tooltip{position:relative;overflow:visible}a.tooltip:hover::before{display:inline-block;position:absolute;line-height:1;bottom:-1.4em;right:0px;font-size:12px;color:white;font-family:'fontello';width:auto;padding:.25em .33em;background-color:#222;content:attr(data-tooltip);white-space:nowrap;text-transform:none;font-weight:normal;border-radius:.25em}a.tooltip.tooltip-right:hover::before{left:0px;right:auto}a.tooltip.edit-link:hover::after{content:'\f09b';font-family:'fontello';color:white;font-size:13px;display:inline-block;position:absolute;line-height:1;bottom:-1.1em;right:3px}a.tooltip.edit-link:hover::before{padding-right:1.5em}.icon-github:before{content:'\f09b'}a.heading-link{color:#a2a2a2;font-size:.8em;position:relative;display:inline;top:-.1em;right:0px}a.heading-link:before,a.heading-link:after{display:none}a.heading-link:hover{color:#C9177E}.note,.caution,.warning{display:block;margin-bottom:20px;width:100%;border-left-width:2px;border-left-style:solid;border-left-color:#555;position:relative;padding-top:4px;padding-bottom:4px}.note:before,.caution:before,.warning:before{font-family:'fontello';display:block;position:absolute;top:40%;left:-.5em;z-index:10;background-color:#fff}.note h2,.caution h2,.warning h2{font-size:1.1em;color:#555;width:100%;display:block;margin:0px;padding:0px;margin-left:0px;padding:0px 12px;border:none;outline:none;border-bottom-width:2px;border-bottom-style:solid;display:inline-block;width:auto;z-index:20}.note h2 code,.note h2 pre,.caution h2 code,.caution h2 pre,.warning h2 code,.warning h2 pre{color:#555}.note .shortcode-content,.caution .shortcode-content,.warning .shortcode-content{display:block;margin:0px;font-size:1em;padding:8px 0px 8px;margin-left:12px;color:#555}.note .shortcode-content p:last-child,.caution .shortcode-content p:last-child,.warning .shortcode-content p:last-child{margin-bottom:0px}.note{border-color:#0083C0}.note:before{content:'\e80d';color:#0083C0}.note h2{border-bottom-color:#0083C0;color:#0083C0}.caution{border-color:#EBB951}.caution:before{content:'\e80f';color:#EBB951}.caution h2{border-bottom-color:#EBB951;color:#EBB951}.warning{border-color:#C9177E}.warning:before{content:'\e810';color:#C9177E}.warning h2{border-bottom-color:#C9177E;color:#C9177E}.warning h2 pre,.warning h2 code{color:#C9177E}.hljs{display:block;overflow-x:auto;padding:0.5em;background:#000;font-size:.9em}.hljs,.hljs-tag,.hljs-subst{color:#fff}.hljs-strong,.hljs-emphasis{color:silver}.hljs-bullet,.hljs-quote,.hljs-number,.hljs-regexp,.hljs-literal,.hljs-link{color:#0083C0}.hljs-code,.hljs-title,.hljs-section,.hljs-selector-class{color:#33BA91}.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-name,.hljs-attr{color:#ff4088}.hljs-symbol,.hljs-attribute{color:#0594CB}.hljs-params,.hljs-class .hljs-title{color:#fff}.hljs-string,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-selector-id,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-addition,.hljs-variable,.hljs-template-variable{color:#FCD804}.hljs-comment,.hljs-deletion,.hljs-meta{color:silver}code,pre{font-family:"sourcecodepro",courier,monospace;margin:0px;color:#ff4088}.body-copy>pre{transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);text-shadow:none;padding:0px;margin:.5em 0px 32px 0px;overflow:auto}.body-copy p code{display:inline-block;padding-top:.15em}.body-copy p code,.body-copy td code{font-size:.85em;display:inline-block;color:#222;font-family:"sourcecodepro",courier,monospace;padding-left:.25em;padding-right:.25em;padding-bottom:.1em;line-height:1.2;margin-bottom:.15em;margin-top:0px;padding-top:0px;vertical-align:middle;background-color:#e8e8e8;border:none;outline:none;z-index:-1}@media only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi){.body-copy p code,.body-copy td code{background-color:#f5f5f5}}.body-copy p>a code,.body-copy li>a code,.body-copy td>a code{color:#C9177E}div.code-copy{position:relative;margin-top:1em;margin-bottom:32px;background-color:#000}div.code-copy:hover button.copy-button{transition:all .2s ease-in-out;opacity:1}p+.code-copy{margin-top:0em}button.copy-button{display:none}@media only screen and (min-width: 760px){button.copy-button{display:block;padding:0px;transition:all .2s ease-in-out;opacity:1;background-color:#fff;box-sizing:border-box;position:absolute;bottom:0px;right:0px;z-index:4;width:80px;height:1.5em;border-width:0px;border-radius:0px;color:#222;font-weight:bold}button.copy-button:hover{background-color:#0083C0}button.copy-button:active,button.copy-button:focus{outline:none;position:absolute}}.copy-text{color:#222;font-size:12px;display:block;width:80px;line-height:1.5em;height:1.5em;vertical-align:middle;text-align:center}.copy-text i.icon-clipboard{display:inline}@media only screen and (min-device-width: 375px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2){button.copy-button{display:none}}@media only screen and (min-device-width: 375px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2){button.copy-button{display:none}}div.code-copy{position:relative;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);border-radius:0px}div.code-copy-header{position:relative;height:1.5em;line-height:1.5em;background-color:#5a5a5a;border-radius:0px;position:relative}div.code-copy-header.output{background-color:#0083C0}div.code-copy-header span.filename{display:block;margin-right:auto;margin-left:auto;text-align:center;max-width:70%;color:#fff;font-weight:100;font-size:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbols"}div.code-copy-header [class^="icon-"]{float:right;position:relative;top:-1.45em;right:.5em;color:#fff}.action-buttons{position:absolute;left:10px;margin-top:.35em;width:12px;height:12px;background:Crimson;border-radius:50%;box-shadow:18px 0 0 Orange, 36px 0 0 LimeGreen}.tooltipped{position:relative;background-color:#C9177E;padding-right:2em}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:2px 4px;font-size:.8em;font-weight:700;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#fff;text-align:center;text-transform:uppercase;text-decoration:none;text-shadow:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background-color:#C9177E;border-color:#C9177E;border-radius:0px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#C9177E;pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;text-align:center}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#C9177E;text-align:center}.tooltipped-se:after{right:auto;left:50%;margin-left:-15px;text-align:center}.tooltipped-sw:after{margin-right:-15px}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#C9177E}.tooltipped-ne:after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw:after{margin-right:-15px}.tooltipped-s:after,.tooltipped-n:after{-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#C9177E}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#C9177E}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}svg.svg-icon{max-width:60px}ul.tags{list-style:none;margin:0;padding:0;margin-top:28px;margin-bottom:8px;margin-right:4px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;float:right}ul.tags li{height:20px;line-height:20px;margin-left:4px;display:-ms-flexbox;display:flex}ul.tags li:not(.icon){transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}ul.tags li:not(.icon):hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}ul.tags li a{line-height:20px;-ms-flex-align:center;align-items:center;height:20px;font-size:14px;color:#222;padding-left:.3em;padding-right:.3em}.searchbox{display:inline-block;position:relative;width:300px;height:32px !important;white-space:nowrap;box-sizing:border-box;visibility:visible !important}.searchbox .algolia-autocomplete{display:block;width:100%;height:100%}.searchbox__wrapper{width:100%;height:100%;z-index:999;position:relative}.searchbox__input{display:inline-block;box-sizing:border-box;transition:box-shadow .4s ease, background .4s ease;border:0;border-radius:16px;box-shadow:inset 0 0 0 0px #ccc;background:#fff !important;padding:0;padding-right:26px;padding-left:32px;width:100%;height:100%;vertical-align:middle;white-space:normal;font-size:1em;appearance:none}.searchbox__input::-webkit-search-decoration,.searchbox__input::-webkit-search-cancel-button,.searchbox__input::-webkit-search-results-button,.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 0px #b3b3b3}.searchbox__input:focus,.searchbox__input:active{outline:0;box-shadow:inset 0 0 0 0px #aaa;background:#fff}.searchbox__input::-webkit-input-placeholder{color:#aaa}.searchbox__input::-moz-placeholder{color:#aaa}.searchbox__input:-ms-input-placeholder{color:#aaa}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{position:absolute;top:0;margin:0;border:0;border-radius:16px 0 0 16px;background-color:rgba(69,142,225,0);padding:0;width:32px;height:100%;vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;right:inherit;left:0}.searchbox__submit::before{display:inline-block;margin-right:-4px;height:100%;vertical-align:middle;content:''}.searchbox__submit:hover,.searchbox__submit:active{cursor:pointer}.searchbox__submit:focus{outline:0}.searchbox__submit svg{width:14px;height:14px;vertical-align:middle;fill:#6D7E96}.searchbox__reset{display:block;position:absolute;top:8px;right:8px;margin:0;border:0;background:none;cursor:pointer;padding:0;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:rgba(0,0,0,0.5)}.searchbox__reset.hide{display:none}.searchbox__reset:focus{outline:0}.searchbox__reset svg{display:block;margin:4px;width:8px;height:8px}.searchbox__input:valid ~ .searchbox__reset{display:block;-webkit-animation-name:sbx-reset-in;animation-name:sbx-reset-in;-webkit-animation-duration:.15s;animation-duration:.15s}@-webkit-keyframes sbx-reset-in{0%{-webkit-transform:translate3d(-20%, 0, 0);transform:translate3d(-20%, 0, 0);opacity:0}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes sbx-reset-in{0%{-webkit-transform:translate3d(-20%, 0, 0);transform:translate3d(-20%, 0, 0);opacity:0}100%{-webkit-transform:none;transform:none;opacity:1}}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{right:0 !important;left:inherit !important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu{left:0 !important;right:inherit !important}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu:before{left:48px}.algolia-autocomplete .ds-dropdown-menu{position:relative;top:-6px;border-radius:4px;margin:6px 0 0;padding:0;text-align:left;height:auto;position:relative;background:transparent;border:none;z-index:999;max-width:500px;min-width:400px;box-shadow:0 1px 0 0 rgba(0,0,0,0.2),0 2px 3px 0 rgba(0,0,0,0.1)}.algolia-autocomplete .ds-dropdown-menu:before{display:block;position:absolute;content:'';width:14px;height:14px;background:#fff;z-index:1000;top:-7px;border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);border-radius:2px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000;margin-top:8px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion{cursor:pointer}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion.suggestion-layout-simple{background-color:rgba(69,142,225,0.05)}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion:not(.suggestion-layout-simple) .algolia-docsearch-suggestion--content{background-color:rgba(69,142,225,0.05)}.algolia-autocomplete .ds-dropdown-menu [class^="ds-dataset-"]{position:relative;border:solid 1px #d9d9d9;background:#fff;border-radius:4px;overflow:auto;padding:0 8px 8px}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{position:relative;padding:0 8px;background:#fff;color:#02060C;overflow:hidden}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{color:#174d8c;background:rgba(143,187,237,0.1);padding:0.1em 0.05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{color:inherit;background:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{padding:0 0 1px;background:inherit;box-shadow:inset 0 -2px 0 0 rgba(69,142,225,0.8);color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--content{display:block;float:right;width:70%;position:relative;padding:5.33333px 0 5.33333px 10.66667px;cursor:pointer}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:'';position:absolute;display:block;top:0;height:100%;width:1px;background:#ddd;left:-1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{position:relative;border-bottom:1px solid #ddd;display:none;margin-top:8px;padding:4px 0;font-size:1em;color:#33363D}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{width:100%;float:left;padding:8px 0 0 0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;width:30%;display:none;padding-left:0;text-align:right;position:relative;padding:5.33333px 10.66667px;color:#A4A7AE;font-size:.9em;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{content:'';position:absolute;display:block;top:0;height:100%;width:1px;background:#ddd;right:0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{margin-bottom:4px;color:#02060C;font-size:.9em;font-weight:bold}.algolia-autocomplete .algolia-docsearch-suggestion--text{display:block;line-height:1.2em;font-size:.85em;color:#63676D}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{width:100%;padding:8px 0;text-align:center;font-size:1.2em}.algolia-autocomplete .algolia-docsearch-suggestion--no-results::before{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{padding:1px 5px;font-size:90%;border:none;color:#222222;background-color:#EBEBEB;border-radius:3px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:none}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column{display:block}.algolia-autocomplete .suggestion-layout-simple.algolia-docsearch-suggestion{border-bottom:solid 1px #eee;padding:8px;margin:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--content{width:100%;padding:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--content::before{display:none}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header{margin:0;padding:0;display:block;width:100%;border:none}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl0{opacity:.6;font-size:.85em}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl1{opacity:.6;font-size:.85em}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl1::before{background-image:url('data:image/svg+xml;utf8,');content:'';width:10px;height:10px;display:inline-block}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--wrapper{width:100%;float:left;margin:0;padding:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--subcategory-column,.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--duplicate-content,.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--subcategory-inline{display:none !important}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--title{margin:0;color:#458EE1;font-size:.9em;font-weight:normal}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--title::before{content:"#";font-weight:bold;color:#458EE1;display:inline-block}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--text{margin:4px 0 0;display:block;line-height:1.4em;padding:5.33333px 8px;background:#f8f8f8;font-size:.85em;opacity:.8}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{color:#3f4145;font-weight:bold;box-shadow:none}.algolia-autocomplete .algolia-docsearch-footer{width:110px;height:20px;z-index:2000;margin-top:10.66667px;float:right;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;utf8,");background-repeat:no-repeat;background-position:center;background-size:100%;overflow:hidden;text-indent:-9000px;padding:0 !important;width:100%;height:100%;display:block}#toggle-search{display:block;position:fixed;top:.5em;right:.3em;float:right;margin-right:20px;font-size:1.2em;z-index:60}@media only screen and (min-width: 960px){#toggle-search{top:.3em}}form#site-search-form{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;width:100vw;position:fixed;top:50px;height:45px;-webkit-transform:translateY(-50px);transform:translateY(-50px);background-color:#fff;z-index:19;box-shadow:0 3px 6px rgba(201,23,126,0.15),0 3px 6px rgba(201,23,126,0.3)}form#site-search-form.search-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateY(0);transform:translateY(0);border-bottom:1px solid #C9177E}form#site-search-form #search-input{max-height:45px;padding-left:20px;font-size:24px}@media only screen and (min-width: 960px){form#site-search-form{display:block;position:fixed;top:8px;right:0px;z-index:50;width:300px;-webkit-transform:translateX(290px);transform:translateX(290px);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;box-shadow:none;max-height:40px}form#site-search-form.search-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;border-bottom-width:0px;-webkit-transform:translateX(0px);transform:translateX(0px)}form#site-search-form.search-open #search-input{transition:opacity .3 ease-in-out;opacity:1;border-bottom:3px solid #C9177E}form#site-search-form.search-open #search-input::after{display:inline-block;content:'';width:1em;border-bottom:3px solid #C9177E}form#site-search-form #search-input{transition:opacity .3s ease-in-out;max-height:40px;padding-left:0px;font-size:20px;opacity:0}}#search-input{width:260px;outline:none;border:0px;border-radius:0px}#search-input,#search-input:hover,#search-input:active,#search-input:focus{outline:none}.algolia-docsearch-suggestion{border-bottom-color:#3A3DD1}.algolia-docsearch-suggestion--highlight{color:#3A33D1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4D47D5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#EBEBFB}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{box-shadow:inset 0 -2px 0 0 #C9177E}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{color:#C9177E;background:#f7e8f1;padding:0.1em 0.05em}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{background-color:#fff}.algolia-autocomplete .ds-dropdown-menu{font-size:.8em;min-width:340px;max-width:340px}@media only screen and (min-width: 760px){.algolia-autocomplete .ds-dropdown-menu{font-size:1em;min-width:400px;max-width:500px}}@media only screen and (min-width: 960px){.algolia-autocomplete .ds-dropdown-menu{min-width:500px;max-width:600px}}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column-text .algolia-docsearch-suggestion--highlight{color:#0083C0;font-weight:bold;background:#c9e8f6}@media (min-width: 768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{border-right-color:#7671df;background-color:#F2F2FF;color:#4E4726}}kbd{background-color:inherit;border:1px solid #222;display:inline-block;font-size:.9em;padding:.1em .3em;border-radius:5px;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}aside#toc{position:fixed;max-width:280px;min-width:200px;overflow-y:scroll;padding:.5em;bottom:20px;right:20px;height:auto;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);z-index:30;background-color:#fff;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom right;transform-origin:bottom right;opacity:0;border-radius:5px}aside#toc.toc-open{-webkit-transform:scale(1);transform:scale(1);opacity:1}aside#toc h3{margin-bottom:0px;margin-left:8px;padding-bottom:0px;border-bottom:1px solid #222;color:#222;font-size:17px}@media only screen and (min-width: 1240px){aside#toc{box-shadow:none;top:70px;left:calc(280px + 35em + 48px);bottom:auto;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}nav#TableOfContents{float:left;position:relative;overflow-y:scroll}nav#TableOfContents>ul:first-child{padding-left:0px;margin-left:0px;margin-top:.5em;margin-bottom:.5em}nav#TableOfContents>ul:first-child>li{padding-left:0px;margin-left:0px;font-size:18px}nav#TableOfContents ul>li>ul li{line-height:1.2;font-size:.85em;padding-left:8px;position:relative;margin-top:.5em;margin-bottom:.5em}nav#TableOfContents ul>li>ul li a{color:#222;position:relative}nav#TableOfContents ul>li>ul li a:hover{color:#C9177E}nav#TableOfContents ul>li>ul li a:hover::before{content:'';display:inline-block;height:100%;border-left:1px solid #C9177E;position:absolute;left:-8px}nav#TableOfContents ul>li>ul li.active>a{position:relative;color:#C9177E;font-weight:400}nav#TableOfContents ul>li>ul li.active>a::before{content:'';display:inline-block;height:100%;border-left:2px solid #C9177E;position:absolute;left:-8px}nav#TableOfContents ul>li>ul li>ul{display:block;margin-top:8px;margin-bottom:0px}nav#TableOfContents ul>li>ul li>ul>li a:hover{color:#0083C0}nav#TableOfContents ul>li>ul li>ul>li a:hover::before{content:'';display:inline-block;height:100%;border-left:1px solid #0083C0;position:absolute;left:-16px}nav#TableOfContents ul>li>ul li>ul>li.active>a{color:#0083C0;font-weight:400}nav#TableOfContents ul>li>ul li>ul>li.active>a::before{border-left:2px solid #0083C0;left:-16px}a#toc-toggle{display:none}aside#toc+a#toc-toggle{display:block;position:fixed;bottom:20px;right:20px;background-color:#fff;color:#fff;background-color:#C9177E;height:40px;width:40px;z-index:99;line-height:50px;text-align:center;border-radius:5px;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23)}aside#toc+a#toc-toggle:after{content:'\2026';display:block;position:relative;width:40px;height:40px;font-size:2em;line-height:40px;bottom:10px}aside#toc+a#toc-toggle.toc-open{box-shadow:none;background-color:#fff;color:#222}aside#toc+a#toc-toggle.toc-open::after{content:"\00D7";font-size:2em;bottom:0px}aside#toc+a#toc-toggle.toc-open:hover{box-shadow:none}aside#toc+a#toc-toggle:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 19px 38px rgba(0,0,0,0.3),0 15px 12px rgba(0,0,0,0.22)}@media only screen and (min-width: 1240px){aside#toc+a#toc-toggle{display:none}}.contents-list{box-shadow:none;background-color:transparent;color:#222;margin-bottom:1em;position:relative}.contents-list a{width:100%;color:#222}.contents-list a:before,.contents-list a:after,.contents-list a:hover{background-color:transparent;border:none;color:#222}.contents-list h3{padding-bottom:2px;border-bottom:2px solid #222;padding-left:1.5em}.contents-list p{margin-bottom:0px}.taxonomy-term{font-size:1.3em;display:inline-block;width:auto;clear:both}.contents-list-image-wrapper{max-width:30px;position:absolute;top:0px;left:0px}.contents-list-image-wrapper img{max-width:1.5em;min-width:1.5em;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block}.contents-list-image-wrapper span{font-size:.7em;display:block;margin-top:0px;text-align:center;line-height:1.2}#content-footer{height:40px;line-height:40px;vertical-align:middle;display:block;border-top:2px solid silver;margin-bottom:3em;width:100%}#content-footer .prev-and-next-link{display:inline-block;text-align:center;margin-bottom:1em}#content-footer .prev-and-next-link span{display:block;font-size:.8em}@media only screen and (min-width: 760px){#content-footer .prev-and-next-link{max-width:calc(48% - 100px);margin-bottom:1.5em}#content-footer .prev-and-next-link.next-page{float:right}}#content-footer .prev-and-next-link.prev-page{text-align:left;float:left}#content-footer .prev-and-next-link.next-page{text-align:right;float:right;margin-right:0px}.last-modified{color:#737373;display:inline-block;width:200px;max-width:200px;font-size:.8em;position:absolute;left:calc(50% - 100px);font-weight:normal;text-align:center}.body-copy blockquote{position:relative;display:block;margin:0px;font-style:italic;background-color:#fafafa;padding:16px}.body-copy blockquote p{margin-bottom:0px;margin-top:16px}.body-copy blockquote p:first-child{margin-top:8px}.body-copy blockquote:before{font-family:'fontello';display:block;height:1em;width:1em;position:absolute;content:'\e809';color:silver;top:-3px;left:4px;font-size:1.2em;font-style:normal}.body-copy blockquote cite.blockquote-citation{position:absolute;bottom:.3em;right:.3em;float:right;font-size:14px;font-style:normal}.breadcrumbs{list-style:none;display:inline-block}.breadcrumbs li{float:left}.breadcrumbs li a{color:#222;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background:#D1F1FE;text-decoration:none;position:relative;height:30px;line-height:30px;padding:0 10px 0 5px;text-align:center;margin-right:23px;font-size:14px}.breadcrumbs li a img{height:20px;width:20px}.breadcrumbs li a span{margin-left:4px}.breadcrumbs li:nth-child(even){margin-left:-8px}.breadcrumbs li:nth-child(even) a{background-color:#D1F1FE}.breadcrumbs li:nth-child(even) a:before{border-color:#D1F1FE;border-left-color:transparent;height:30px;line-height:30px}.breadcrumbs li:nth-child(even) a:after{border-left-color:#D1F1FE}.breadcrumbs li:first-child a{padding-left:10px;border-radius:4px 0 0 4px}.breadcrumbs li:first-child a:before{border:none}.breadcrumbs li:last-child a{padding-right:15px;border-radius:0 4px 4px 0}.breadcrumbs li:last-child a:after{border:none}.breadcrumbs li a:before,.breadcrumbs li a:after{content:"";position:absolute;top:0;border:0 solid #D1F1FE;border-width:15px 6.666px;width:0;height:0}.breadcrumbs li a:before{left:-12px;border-left-color:transparent}.breadcrumbs li a:after{left:100%;border-color:transparent;border-left-color:#D1F1FE}.breadcrumbs li a:hover{background-color:#0083C0;color:#fff}.breadcrumbs li a:hover img{-webkit-filter:grayscale(0%);filter:grayscale(0%)}.breadcrumbs li a:hover:before{border-color:#0083C0;border-left-color:transparent}.breadcrumbs li a:hover:after{border-left-color:#0083C0}table{text-align:left;overflow-x:scroll;max-width:100%;display:block;border-left:2px solid #737373;border-right:2px solid #737373}table tr{border-top:2px solid #737373}table tr th,table tr td{padding-left:4px;padding-right:6px}table thead tr th{padding-left:4px;padding-right:6px}@media only screen and (min-width: 760px){table thead tr th:last-child{min-width:220px}}table tbody tr{background-color:#fff}table tbody tr:nth-child(even){background-color:silver}table tbody tr:last-child{border-bottom:2px solid #737373}.site-header{width:100%;height:50px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0px;background-color:#fff;color:#000;position:fixed;top:0px;left:0px;z-index:20;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}@media only screen and (min-width: 960px){.site-header{-ms-flex-pack:justify;justify-content:space-between}}.site-header .hugo-meta{display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}@media only screen and (min-width: 960px){.site-header .hugo-meta{float:left;width:auto;-ms-flex-pack:start;justify-content:flex-start}}.site-header #home-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:.8em;margin-left:1.5em}.site-header #home-link img{height:35px;margin-right:.25em}.site-header #home-link .hugo-v{-ms-flex-item-align:end;align-self:flex-end;font-size:.9em}.site-header a.github-button{display:none}@media only screen and (min-width: 760px){.site-header a.github-button{display:inline}}.site-header iframe[src^="https://buttons.github.io"]{display:none;margin-left:1em}@media only screen and (min-width: 760px){.site-header iframe[src^="https://buttons.github.io"]{display:inline}}.site-navigation{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;position:fixed;left:0px;top:0px;width:280px;bottom:0px;overflow-y:scroll;background-color:#fafafa;-webkit-transform:translateX(-280px);transform:translateX(-280px);padding:1em;z-index:9}.site-navigation.navigation-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateX(0px);transform:translateX(0px)}@media only screen and (min-width: 960px){.site-navigation{-webkit-transform:translateX(0px);transform:translateX(0px)}}.site-navigation ul.top-menu{margin-top:80px;display:inline-block;margin-left:auto;margin-right:auto}@media only screen and (min-width: 960px){.site-navigation ul.top-menu{margin-top:60px}}.site-navigation ul.top-menu a{color:#222;font-weight:300}.site-navigation ul.top-menu a:hover{color:#C9177E}.site-navigation ul.top-menu li{padding-left:1em;line-height:1;margin-top:.66em;margin-bottom:.66em}.site-navigation ul.top-menu li ul li{padding-left:.5em}.site-navigation ul.top-menu a.top-menu-item-link{font-size:16px}.site-navigation ul.top-menu a.top-menu-item-link.active-section{color:#C9177E;font-weight:700}.site-navigation ul.top-menu a.top-menu-item-link.active-section+ul.submenu{display:block;border-left:1px solid #C9177E}.site-navigation ul.top-menu ul.submenu{display:none}.site-navigation ul.top-menu ul.submenu a.submenu-item-link{font-size:14px}.site-navigation ul.top-menu ul.submenu a.submenu-item-link:hover{color:#0083C0}.site-navigation ul.top-menu ul.submenu a.submenu-item-link.active-page{font-weight:700;color:#0083C0}.nav-buttons a{margin-left:1em;margin-bottom:.5em;display:inline-block;width:200px;font-size:.9em}.navigation-toggle-wrapper{width:50px;height:50px;position:fixed;top:2px;left:0px;z-index:20}.navigation-toggle-wrapper h4.menu{display:inline-block;position:absolute;bottom:-1em;left:.8em;color:#0083C0;display:none}@media only screen and (min-width: 960px){.navigation-toggle-wrapper{display:none}}.navigation-toggle-wrapper.navigation-open .top{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:40%;border-radius:5px;background-color:#C9177E;border-color:#C9177E}.navigation-toggle-wrapper.navigation-open .middle{width:40px;height:40px;top:4%;border-radius:50%;background-color:#C9177E;border-color:#C9177E;opacity:0.3}.navigation-toggle-wrapper.navigation-open .bottom{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:40%;border-radius:5px;background-color:#C9177E;border-color:#C9177E}.bar{width:40px;height:2px;border:2px solid #0083C0;background-color:#0083C0;position:absolute;border-radius:10px}.bar.navigation-open{background-color:#C9177E;border:2px solid #C9177E}.top{left:15%;top:20%;transition:all 0.5s}.middle{left:15%;top:40%;transition:all 0.5s}.bottom{left:15%;top:60%;transition:all 0.5s}#all-content-wrapper{margin-top:50px;z-index:5;transition:all .3s ease-in-out;opacity:1;overflow-x:hidden}@media only screen and (min-width: 960px){#all-content-wrapper{margin-left:280px}}#all-content-wrapper.navigation-open{transition:all .3s ease-in-out;-webkit-transform:translateX(280px);transform:translateX(280px);opacity:.4;overflow-x:hidden}@media only screen and (min-width: 960px){#all-content-wrapper.navigation-open{opacity:1;-webkit-transform:translateX(0px);transform:translateX(0px);overflow-x:hidden}}main.main{width:90%;display:block;margin-left:auto;margin-right:auto;max-width:35em;position:relative;min-height:calc(100vh - 100px)}@media only screen and (min-width: 1240px){main.main{margin-left:2em}}header.content-header{display:block;clear:both;width:100%;position:relative;margin-top:3em;overflow-x:hidden}@media only screen and (min-width: 760px){header.content-header{margin-top:2em}}.content-section-image-wrapper{margin-bottom:1em}.content-section-image-wrapper a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:#222}.content-section-image-wrapper a img{width:20px}.content-section-image-wrapper a span{font-size:.8em;margin-left:.25em}.content-header-links{display:none;position:absolute;right:0px;top:0px;text-transform:uppercase;width:auto;overflow:visible}@media only screen and (min-width: 760px){.content-header-links{display:block}}.content-header-links a{position:relative;border:1px solid silver;display:inline-block;color:#222;padding:4px 6px;vertical-align:middle;height:36px;width:36px;line-height:36px;text-align:center;border-radius:.25em;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}.content-header-links a:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}.content-header-links a:hover{color:#222}.content-header-links a i.icon-pencil{font-size:20px;position:relative;bottom:4px;right:2px}.content-header-links a svg{height:24px;width:24px;display:inline}.content-header-links a.godoc-link{border-right-width:0px}.body-copy{margin-top:20px;margin-bottom:2.5em;display:block;overflow:visible}.body-copy div+h2{margin-top:1em}.body-copy em{font-weight:bolder}#site-footer{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;background-color:#000;min-height:100px;width:100%;color:#fff;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}#site-footer div{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}#site-footer div img{max-width:200px}#site-footer.navigation-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateX(280px);transform:translateX(280px)}@media only screen and (min-width: 960px){#site-footer.navigation-open{-webkit-transform:translateX(0);transform:translateX(0)}}#site-footer i.icon-heart:before{color:#C9177E}@media only screen and (min-width: 960px){#site-footer{width:calc(100% - 280px);margin-left:280px}}ul.footer-list{color:#fff;list-style:none;margin-left:0px;padding-left:0px}ul.footer-list li a{color:#fff;font-size:.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ul.footer-list li a:not(i){font-size:14px}ul.footer-list li a i{font-size:16px;margin-right:.25em}ul.footer-list li a i.icon-github:before{font-size:22px;margin-left:0px}ul.footer-list li a:hover{color:#C9177E}.all-content-wrapper.home{background-color:#d1f1fe;overflow-x:hidden}main#homepage{width:90%;margin-bottom:2.5em;overflow-x:hidden}@media only screen and (min-width: 760px){main#homepage{max-width:684px}}@media only screen and (min-width: 960px){main#homepage{margin-left:auto;margin-right:auto;max-width:774px}}.homepage-image{display:block;margin:1em auto;max-width:200px}.homepage-image img{max-width:200px;margin-left:auto;margin-right:auto}.homepage-cards{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-negative:0;flex-shrink:0;list-style:none;padding-left:0px;margin-left:0px}.homepage-cards .homepage-card{transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);color:inherit;width:100%;background-color:#fff;margin-bottom:.5em;padding:16px 10px;-ms-flex-negative:0;flex-shrink:0}.homepage-cards .homepage-card:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}.homepage-cards .homepage-card a{display:-ms-flexbox;display:flex;min-height:100%}@media only screen and (min-width: 760px){.homepage-cards .homepage-card{-ms-flex:1 0 304px;flex:1 0 304px;max-width:48%;margin-bottom:1em}}.homepage-cards .homepage-card section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.homepage-cards .homepage-card .homepage-card-image-wrapper{max-width:60px;min-width:60px;margin-right:10px}.homepage-cards .homepage-card .homepage-card-image-wrapper img{max-width:60px;margin-left:auto;margin-right:auto}@media only screen and (min-width: 760px){.homepage-cards .homepage-card .homepage-card-image-wrapper{max-width:70px;min-width:70px}.homepage-cards .homepage-card .homepage-card-image-wrapper img{max-width:70px}}.homepage-cards .homepage-card h2{font-size:1em;margin:0px;line-height:1.1;margin-bottom:.5em;padding-bottom:0px;padding-top:0px;color:#222}.homepage-cards .homepage-card p{font-size:.8em;line-height:1.3;margin-bottom:0px;color:#555} +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px !important;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80a'}.icon-sass:before{content:'\e803'}.icon-search:before{content:'\e80b'}.icon-share:before{content:'\f1e0'}.icon-tag:before{content:'\e806'}.icon-tags:before{content:'\e805'}.icon-sh:before{content:'\e804'}.icon-terminal:before{content:'\e804'}.icon-bash:before{content:'\e804'}.icon-thumbs-up:before{content:'\e81a'}.icon-twitter:before{content:'\e807'}.icon-warn:before{content:'\e810'}.icon-warning:before{content:'\e810'}.icon-website:before{content:'\e818'}.icon-yaml:before,.icon-yml:before,.icon-toml:before{font-family:"sourcecodepro",courier,monospace;left:-1em;margin-right:1em}.icon-yaml:before,.icon-yml:before{content:'YAML'}.icon-toml:before{content:'TOML'}@font-face{font-family:"muli";src:url("/fonts/muli/muli-100-webfont.woff2") format("woff2"),url("/fonts/muli/muli-100-webfont.woff") format("woff"),url("/fonts/muli/muli-100-webfont.ttf") format("truetype");font-weight:100;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-100-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-100-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-100-italic-webfont.ttf") format("truetype");font-weight:100;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-300-webfont.woff2") format("woff2"),url("/fonts/muli/muli-300-webfont.woff") format("woff"),url("/fonts/muli/muli-300-webfont.ttf") format("truetype");font-weight:300;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-300-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-300-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-300-italic-webfont.ttf") format("truetype");font-weight:300;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-400-webfont.woff2") format("woff2"),url("/fonts/muli/muli-400-webfont.woff") format("woff"),url("/fonts/muli/muli-400-webfont.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-400-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-400-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-400-italic-webfont.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-600-webfont.woff2") format("woff2"),url("/fonts/muli/muli-600-webfont.woff") format("woff"),url("/fonts/muli/muli-600-webfont.ttf") format("truetype");font-weight:600;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-600-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-600-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-600-italic-webfont.ttf") format("truetype");font-weight:600;font-style:italic}@font-face{font-family:"muli";src:url("/fonts/muli/muli-700-webfont.woff2") format("woff2"),url("/fonts/muli/muli-700-webfont.woff") format("woff"),url("/fonts/muli/muli-700-webfont.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"muli";src:url("/fonts/muli/muli-700-italic-webfont.woff2") format("woff2"),url("/fonts/muli/muli-700-italic-webfont.woff") format("woff"),url("/fonts/muli/muli-700-italic-webfont.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-400-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-400-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-400-webfont.ttf") format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-400-italic-webfont.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-700-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-700-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-700-webfont.ttf") format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"sourcecodepro";src:url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.woff2") format("woff2"),url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.woff") format("woff"),url("/fonts/sourcecodepro/sourcecodepro-700-italic-webfont.ttf") format("truetype");font-weight:700;font-style:italic}h1,h2,h3,h4{font-weight:700;margin:0px;line-height:1.4;position:relative}h1.page-title{font-size:1.8em;letter-spacing:-.021em;padding-bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:8px}@media only screen and (min-width: 760px){h1.page-title{padding-top:0px}}h1.page-title img{display:inline;height:1em;width:1em;margin-right:.15em}h1.page-title i[class^="icon-"]{margin-left:-.15em;margin-right:.15em}h2,h3{padding-bottom:24px;padding-right:1.5em}h2{font-size:1.3em}h3{font-size:1.1em}h4{font-size:1em;margin-top:1em;margin-bottom:1em;color:#737373;text-transform:uppercase}.functions{font-family:"sourcecodepro",courier,monospace;font-weight:300}.submenu-item:first-child a.submenu-item-link.functions{font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif}button,a[role="button"]{background-color:#0083C0;color:#fff;border:none;outline:none;border-radius:.25em;padding:.25em .5em;box-shadow:none;text-align:center;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}button:hover,a[role="button"]:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}button[class^="icon-"]:before,a[role="button"][class^="icon-"]:before{display:inline-block;font-family:'FontAwesome';margin-right:.3em}button.icon-forum:before,a[role="button"].icon-forum:before{content:'\f086'}button.icon-mailing-list:before,a[role="button"].icon-mailing-list:before{content:'\f0e0'}nav ul,nav ol,aside ul,aside ol{margin-left:0px;padding-left:0px;list-style:none;text-indent:0px}nav ul li,nav ol li,aside ul li,aside ol li{position:relative;margin-left:0px;padding-left:0px;list-style:none}.body-copy ul,.body-copy ol{padding-left:.75em;margin-left:.5em;margin-top:0px;padding-top:0px;margin-bottom:1.5em}.body-copy ul li,.body-copy ol li{position:relative;margin-top:.25em}.body-copy ul li ul,.body-copy ul li ol,.body-copy ol li ul,.body-copy ol li ol{margin-bottom:0px}.body-copy ul{list-style:disc outside none}.body-copy ul li ul{list-style-type:circle}.body-copy ul li ul li ul{list-style-type:square}.body-copy ol li ol{list-style-type:lower-roman}.body-copy ol li ol li ol{list-style-type:lower-alpha}a{color:#C9177E;font-weight:300}a,a:hover,a:active,a:focus{text-decoration:none;cursor:pointer}a:hover{text-decoration:none}.body-copy li a,.body-copy p a{z-index:1;color:#C9177E}.body-copy li a:hover,.body-copy p a:hover{border-bottom:1px solid #C9177E}a.tooltip{position:relative;overflow:visible}a.tooltip:hover::before{display:inline-block;position:absolute;line-height:1;bottom:-1.4em;right:0px;font-size:12px;color:white;font-family:'fontello';width:auto;padding:.25em .33em;background-color:#222;content:attr(data-tooltip);white-space:nowrap;text-transform:none;font-weight:normal;border-radius:.25em}a.tooltip.tooltip-right:hover::before{left:0px;right:auto}a.tooltip.edit-link:hover::after{content:'\f09b';font-family:'fontello';color:white;font-size:13px;display:inline-block;position:absolute;line-height:1;bottom:-1.1em;right:3px}a.tooltip.edit-link:hover::before{padding-right:1.5em}.icon-github:before{content:'\f09b'}a.heading-link{color:#a2a2a2;font-size:.8em;position:relative;display:inline;top:-.1em;right:0px}a.heading-link:before,a.heading-link:after{display:none}a.heading-link:hover{color:#C9177E}.note,.caution,.warning{display:block;margin-bottom:20px;width:100%;border-left-width:2px;border-left-style:solid;border-left-color:#555;position:relative;padding-top:4px;padding-bottom:4px}.note:before,.caution:before,.warning:before{font-family:'fontello';display:block;position:absolute;top:40%;left:-.5em;z-index:10;background-color:#fff}.note h2,.caution h2,.warning h2{font-size:1.1em;color:#555;width:100%;display:block;margin:0px;padding:0px;margin-left:0px;padding:0px 12px;border:none;outline:none;border-bottom-width:2px;border-bottom-style:solid;display:inline-block;width:auto;z-index:20}.note h2 code,.note h2 pre,.caution h2 code,.caution h2 pre,.warning h2 code,.warning h2 pre{color:#555}.note .shortcode-content,.caution .shortcode-content,.warning .shortcode-content{display:block;margin:0px;font-size:1em;padding:8px 0px 8px;margin-left:12px;color:#555}.note .shortcode-content p:last-child,.caution .shortcode-content p:last-child,.warning .shortcode-content p:last-child{margin-bottom:0px}.note{border-color:#0083C0}.note:before{content:'\e80d';color:#0083C0}.note h2{border-bottom-color:#0083C0;color:#0083C0}.caution{border-color:#EBB951}.caution:before{content:'\e80f';color:#EBB951}.caution h2{border-bottom-color:#EBB951;color:#EBB951}.warning{border-color:#C9177E}.warning:before{content:'\e810';color:#C9177E}.warning h2{border-bottom-color:#C9177E;color:#C9177E}.warning h2 pre,.warning h2 code{color:#C9177E}.hljs{display:block;overflow-x:auto;padding:0.5em;background:#000;font-size:.9em}.hljs,.hljs-tag,.hljs-subst{color:#fff}.hljs-strong,.hljs-emphasis{color:silver}.hljs-bullet,.hljs-quote,.hljs-number,.hljs-regexp,.hljs-literal,.hljs-link{color:#0083C0}.hljs-code,.hljs-title,.hljs-section,.hljs-selector-class{color:#33BA91}.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-name,.hljs-attr{color:#ff4088}.hljs-symbol,.hljs-attribute{color:#0594CB}.hljs-params,.hljs-class .hljs-title{color:#fff}.hljs-string,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-selector-id,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-addition,.hljs-variable,.hljs-template-variable{color:#FCD804}.hljs-comment,.hljs-deletion,.hljs-meta{color:silver}code,pre{font-family:"sourcecodepro",courier,monospace;margin:0px;color:#222}.body-copy>pre{transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);text-shadow:none;padding:0px;margin:.5em 0px 32px 0px;overflow:auto}.body-copy p code{display:inline-block;padding-top:.15em}.body-copy p code,.body-copy td code,.body-copy li code{font-size:.85em;display:inline-block;color:#222;font-family:"sourcecodepro",courier,monospace;padding-left:.25em;padding-right:.25em;padding-bottom:.1em;text-transform:none;line-height:1.2;margin-bottom:.15em;margin-top:0px;padding-top:0px;vertical-align:middle;background-color:#e8e8e8;border:none;outline:none;z-index:-1}@media only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi){.body-copy p code,.body-copy td code,.body-copy li code{background-color:#f5f5f5}}.body-copy h3>code{font-size:1.1em;font-weight:normal}.body-copy h4 code{text-transform:none}.body-copy p>a code,.body-copy li>a code,.body-copy td>a code{color:#C9177E}div.code-copy{position:relative;margin-top:1em;margin-bottom:32px;background-color:#000}div.code-copy:hover button.copy-button{transition:all .2s ease-in-out;opacity:1}p+.code-copy{margin-top:0em}button.copy-button{display:none}@media only screen and (min-width: 760px){button.copy-button{display:block;padding:0px;transition:all .2s ease-in-out;opacity:1;background-color:#fff;box-sizing:border-box;position:absolute;bottom:0px;right:0px;z-index:4;width:80px;height:1.5em;border-width:0px;border-radius:0px;color:#222;font-weight:bold}button.copy-button:hover{background-color:#0083C0}button.copy-button:active,button.copy-button:focus{outline:none;position:absolute}}.copy-text{color:#222;font-size:12px;display:block;width:80px;line-height:1.5em;height:1.5em;vertical-align:middle;text-align:center}.copy-text i.icon-clipboard{display:inline}@media only screen and (min-device-width: 375px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2){button.copy-button{display:none}}@media only screen and (min-device-width: 375px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2){button.copy-button{display:none}}div.code-copy{position:relative;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);border-radius:0px}div.code-copy-header{position:relative;height:1.5em;line-height:1.5em;background-color:#5a5a5a;border-radius:0px;position:relative}div.code-copy-header.output{background-color:#0083C0}div.code-copy-header span.filename{display:block;margin-right:auto;margin-left:auto;text-align:center;max-width:70%;color:#fff;font-weight:100;font-size:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbols"}div.code-copy-header [class^="icon-"]{float:right;position:relative;top:-1.45em;right:.5em;color:#fff}.action-buttons{position:absolute;left:10px;margin-top:.35em;width:12px;height:12px;background:Crimson;border-radius:50%;box-shadow:18px 0 0 Orange, 36px 0 0 LimeGreen}.tooltipped{position:relative;background-color:#C9177E;padding-right:2em}.tooltipped:after{position:absolute;z-index:1000000;display:none;padding:2px 4px;font-size:.8em;font-weight:700;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#fff;text-align:center;text-transform:uppercase;text-decoration:none;text-shadow:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background-color:#C9177E;border-color:#C9177E;border-radius:0px;-webkit-font-smoothing:subpixel-antialiased}.tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#C9177E;pointer-events:none;content:"";border:5px solid transparent}.tooltipped:hover:before,.tooltipped:hover:after,.tooltipped:active:before,.tooltipped:active:after,.tooltipped:focus:before,.tooltipped:focus:after{display:inline-block;text-decoration:none}.tooltipped-multiline:hover:after,.tooltipped-multiline:active:after,.tooltipped-multiline:focus:after{display:table-cell}.tooltipped-s:after,.tooltipped-se:after,.tooltipped-sw:after{top:100%;right:50%;margin-top:5px;text-align:center}.tooltipped-s:before,.tooltipped-se:before,.tooltipped-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#C9177E;text-align:center}.tooltipped-se:after{right:auto;left:50%;margin-left:-15px;text-align:center}.tooltipped-sw:after{margin-right:-15px}.tooltipped-n:after,.tooltipped-ne:after,.tooltipped-nw:after{right:50%;bottom:100%;margin-bottom:5px}.tooltipped-n:before,.tooltipped-ne:before,.tooltipped-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#C9177E}.tooltipped-ne:after{right:auto;left:50%;margin-left:-15px}.tooltipped-nw:after{margin-right:-15px}.tooltipped-s:after,.tooltipped-n:after{-webkit-transform:translateX(50%);transform:translateX(50%)}.tooltipped-w:after{right:100%;bottom:50%;margin-right:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#C9177E}.tooltipped-e:after{bottom:50%;left:100%;margin-left:5px;-webkit-transform:translateY(50%);transform:translateY(50%)}.tooltipped-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#C9177E}.tooltipped-multiline:after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate}.tooltipped-multiline.tooltipped-s:after,.tooltipped-multiline.tooltipped-n:after{right:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tooltipped-multiline.tooltipped-w:after,.tooltipped-multiline.tooltipped-e:after{right:100%}svg.svg-icon{max-width:60px}ul.tags{list-style:none;margin:0;padding:0;margin-top:28px;margin-bottom:8px;margin-right:4px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;float:right}ul.tags li{height:20px;line-height:20px;margin-left:4px;display:-ms-flexbox;display:flex}ul.tags li:not(.icon){transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}ul.tags li:not(.icon):hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}ul.tags li a{line-height:20px;-ms-flex-align:center;align-items:center;height:20px;font-size:14px;color:#222;padding-left:.3em;padding-right:.3em}.searchbox{display:inline-block;position:relative;width:300px;height:32px !important;white-space:nowrap;box-sizing:border-box;visibility:visible !important}.searchbox .algolia-autocomplete{display:block;width:100%;height:100%}.searchbox__wrapper{width:100%;height:100%;z-index:999;position:relative}.searchbox__input{display:inline-block;box-sizing:border-box;transition:box-shadow .4s ease, background .4s ease;border:0;border-radius:16px;box-shadow:inset 0 0 0 0px #ccc;background:#fff !important;padding:0;padding-right:26px;padding-left:32px;width:100%;height:100%;vertical-align:middle;white-space:normal;font-size:1em;appearance:none}.searchbox__input::-webkit-search-decoration,.searchbox__input::-webkit-search-cancel-button,.searchbox__input::-webkit-search-results-button,.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 0px #b3b3b3}.searchbox__input:focus,.searchbox__input:active{outline:0;box-shadow:inset 0 0 0 0px #aaa;background:#fff}.searchbox__input::-webkit-input-placeholder{color:#aaa}.searchbox__input::-moz-placeholder{color:#aaa}.searchbox__input:-ms-input-placeholder{color:#aaa}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{position:absolute;top:0;margin:0;border:0;border-radius:16px 0 0 16px;background-color:rgba(69,142,225,0);padding:0;width:32px;height:100%;vertical-align:middle;text-align:center;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;right:inherit;left:0}.searchbox__submit::before{display:inline-block;margin-right:-4px;height:100%;vertical-align:middle;content:''}.searchbox__submit:hover,.searchbox__submit:active{cursor:pointer}.searchbox__submit:focus{outline:0}.searchbox__submit svg{width:14px;height:14px;vertical-align:middle;fill:#6D7E96}.searchbox__reset{display:block;position:absolute;top:8px;right:8px;margin:0;border:0;background:none;cursor:pointer;padding:0;font-size:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:rgba(0,0,0,0.5)}.searchbox__reset.hide{display:none}.searchbox__reset:focus{outline:0}.searchbox__reset svg{display:block;margin:4px;width:8px;height:8px}.searchbox__input:valid ~ .searchbox__reset{display:block;-webkit-animation-name:sbx-reset-in;animation-name:sbx-reset-in;-webkit-animation-duration:.15s;animation-duration:.15s}@-webkit-keyframes sbx-reset-in{0%{-webkit-transform:translate3d(-20%, 0, 0);transform:translate3d(-20%, 0, 0);opacity:0}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes sbx-reset-in{0%{-webkit-transform:translate3d(-20%, 0, 0);transform:translate3d(-20%, 0, 0);opacity:0}100%{-webkit-transform:none;transform:none;opacity:1}}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{right:0 !important;left:inherit !important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu{left:0 !important;right:inherit !important}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu:before{left:48px}.algolia-autocomplete .ds-dropdown-menu{position:relative;top:-6px;border-radius:4px;margin:6px 0 0;padding:0;text-align:left;height:auto;position:relative;background:transparent;border:none;z-index:999;max-width:500px;min-width:400px;box-shadow:0 1px 0 0 rgba(0,0,0,0.2),0 2px 3px 0 rgba(0,0,0,0.1)}.algolia-autocomplete .ds-dropdown-menu:before{display:block;position:absolute;content:'';width:14px;height:14px;background:#fff;z-index:1000;top:-7px;border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);border-radius:2px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000;margin-top:8px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion{cursor:pointer}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion.suggestion-layout-simple{background-color:rgba(69,142,225,0.05)}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion:not(.suggestion-layout-simple) .algolia-docsearch-suggestion--content{background-color:rgba(69,142,225,0.05)}.algolia-autocomplete .ds-dropdown-menu [class^="ds-dataset-"]{position:relative;border:solid 1px #d9d9d9;background:#fff;border-radius:4px;overflow:auto;padding:0 8px 8px}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{position:relative;padding:0 8px;background:#fff;color:#02060C;overflow:hidden}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{color:#174d8c;background:rgba(143,187,237,0.1);padding:0.1em 0.05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{color:inherit;background:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{padding:0 0 1px;background:inherit;box-shadow:inset 0 -2px 0 0 rgba(69,142,225,0.8);color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--content{display:block;float:right;width:70%;position:relative;padding:5.33333px 0 5.33333px 10.66667px;cursor:pointer}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:'';position:absolute;display:block;top:0;height:100%;width:1px;background:#ddd;left:-1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{position:relative;border-bottom:1px solid #ddd;display:none;margin-top:8px;padding:4px 0;font-size:1em;color:#33363D}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{width:100%;float:left;padding:8px 0 0 0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;width:30%;display:none;padding-left:0;text-align:right;position:relative;padding:5.33333px 10.66667px;color:#A4A7AE;font-size:.9em;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{content:'';position:absolute;display:block;top:0;height:100%;width:1px;background:#ddd;right:0}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{margin-bottom:4px;color:#02060C;font-size:.9em;font-weight:bold}.algolia-autocomplete .algolia-docsearch-suggestion--text{display:block;line-height:1.2em;font-size:.85em;color:#63676D}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{width:100%;padding:8px 0;text-align:center;font-size:1.2em}.algolia-autocomplete .algolia-docsearch-suggestion--no-results::before{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{padding:1px 5px;font-size:90%;border:none;color:#222222;background-color:#EBEBEB;border-radius:3px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:none}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column{display:block}.algolia-autocomplete .suggestion-layout-simple.algolia-docsearch-suggestion{border-bottom:solid 1px #eee;padding:8px;margin:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--content{width:100%;padding:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--content::before{display:none}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header{margin:0;padding:0;display:block;width:100%;border:none}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl0{opacity:.6;font-size:.85em}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl1{opacity:.6;font-size:.85em}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--category-header-lvl1::before{background-image:url('data:image/svg+xml;utf8,');content:'';width:10px;height:10px;display:inline-block}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--wrapper{width:100%;float:left;margin:0;padding:0}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--subcategory-column,.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--duplicate-content,.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--subcategory-inline{display:none !important}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--title{margin:0;color:#458EE1;font-size:.9em;font-weight:normal}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--title::before{content:"#";font-weight:bold;color:#458EE1;display:inline-block}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--text{margin:4px 0 0;display:block;line-height:1.4em;padding:5.33333px 8px;background:#f8f8f8;font-size:.85em;opacity:.8}.algolia-autocomplete .suggestion-layout-simple .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{color:#3f4145;font-weight:bold;box-shadow:none}.algolia-autocomplete .algolia-docsearch-footer{width:110px;height:20px;z-index:2000;margin-top:10.66667px;float:right;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;utf8,");background-repeat:no-repeat;background-position:center;background-size:100%;overflow:hidden;text-indent:-9000px;padding:0 !important;width:100%;height:100%;display:block}#toggle-search{display:block;position:fixed;top:.5em;right:.3em;float:right;margin-right:20px;font-size:1.2em;z-index:60}@media only screen and (min-width: 960px){#toggle-search{top:.3em}}form#site-search-form{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;width:100vw;position:fixed;top:50px;height:45px;-webkit-transform:translateY(-50px);transform:translateY(-50px);background-color:#fff;z-index:19;box-shadow:0 3px 6px rgba(201,23,126,0.15),0 3px 6px rgba(201,23,126,0.3)}form#site-search-form.search-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateY(0);transform:translateY(0);border-bottom:1px solid #C9177E}form#site-search-form #search-input{max-height:45px;padding-left:20px;font-size:24px}@media only screen and (min-width: 960px){form#site-search-form{display:block;position:fixed;top:8px;right:0px;z-index:50;width:300px;-webkit-transform:translateX(290px);transform:translateX(290px);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;box-shadow:none;max-height:40px}form#site-search-form.search-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;border-bottom-width:0px;-webkit-transform:translateX(0px);transform:translateX(0px)}form#site-search-form.search-open #search-input{transition:opacity .3 ease-in-out;opacity:1;border-bottom:3px solid #C9177E}form#site-search-form.search-open #search-input::after{display:inline-block;content:'';width:1em;border-bottom:3px solid #C9177E}form#site-search-form #search-input{transition:opacity .3s ease-in-out;max-height:40px;padding-left:0px;font-size:20px;opacity:0}}#search-input{width:260px;outline:none;border:0px;border-radius:0px}#search-input,#search-input:hover,#search-input:active,#search-input:focus{outline:none}.algolia-docsearch-suggestion{border-bottom-color:#3A3DD1}.algolia-docsearch-suggestion--highlight{color:#3A33D1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4D47D5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#EBEBFB}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{box-shadow:inset 0 -2px 0 0 #C9177E}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{color:#C9177E;background:#f7e8f1;padding:0.1em 0.05em}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{background-color:#fff}.algolia-autocomplete .ds-dropdown-menu{font-size:.8em;min-width:340px;max-width:340px}@media only screen and (min-width: 760px){.algolia-autocomplete .ds-dropdown-menu{font-size:1em;min-width:400px;max-width:500px}}@media only screen and (min-width: 960px){.algolia-autocomplete .ds-dropdown-menu{min-width:500px;max-width:600px}}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column-text .algolia-docsearch-suggestion--highlight{color:#0083C0;font-weight:bold;background:#c9e8f6}@media (min-width: 768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{border-right-color:#7671df;background-color:#F2F2FF;color:#4E4726}}kbd{background-color:inherit;border:1px solid #222;display:inline-block;font-size:.9em;padding:.1em .3em;border-radius:5px;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}aside#toc{position:fixed;max-width:280px;min-width:200px;overflow-y:auto;padding:.5em;bottom:20px;right:20px;height:auto;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);z-index:30;background-color:#fff;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom right;transform-origin:bottom right;opacity:0;border-radius:5px}aside#toc.toc-open{-webkit-transform:scale(1);transform:scale(1);opacity:1}aside#toc h3{margin-bottom:0px;margin-left:8px;padding-bottom:0px;border-bottom:1px solid #222;color:#222;font-size:17px}@media only screen and (min-width: 1240px){aside#toc{box-shadow:none;top:70px;left:calc(280px + 35em + 48px);bottom:auto;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}nav#TableOfContents{float:left;position:relative;overflow-y:scroll;margin-bottom:20px}nav#TableOfContents>ul:first-child{padding-left:0px;margin-left:0px;margin-top:.5em;margin-bottom:.5em}nav#TableOfContents>ul:first-child>li{padding-left:0px;margin-left:0px;font-size:18px}nav#TableOfContents ul>li>ul li{line-height:1.2;font-size:.85em;padding-left:8px;position:relative;margin-top:.5em;margin-bottom:.5em}nav#TableOfContents ul>li>ul li a{color:#222;position:relative}nav#TableOfContents ul>li>ul li a:hover{color:#C9177E}nav#TableOfContents ul>li>ul li a:hover::before{content:'';display:inline-block;height:100%;border-left:1px solid #C9177E;position:absolute;left:-8px}nav#TableOfContents ul>li>ul li.active>a{position:relative;color:#C9177E;font-weight:400}nav#TableOfContents ul>li>ul li.active>a::before{content:'';display:inline-block;height:100%;border-left:2px solid #C9177E;position:absolute;left:-8px}nav#TableOfContents ul>li>ul li>ul{display:block;margin-top:8px;margin-bottom:0px}nav#TableOfContents ul>li>ul li>ul>li a:hover{color:#0083C0}nav#TableOfContents ul>li>ul li>ul>li a:hover::before{content:'';display:inline-block;height:100%;border-left:1px solid #0083C0;position:absolute;left:-16px}nav#TableOfContents ul>li>ul li>ul>li.active>a{color:#0083C0;font-weight:400}nav#TableOfContents ul>li>ul li>ul>li.active>a::before{border-left:2px solid #0083C0;left:-16px}nav#TableOfContents ul>li>ul li>ul>li ul{display:none}a#toc-toggle{display:none}aside#toc+a#toc-toggle{display:block;position:fixed;bottom:20px;right:20px;background-color:#fff;color:#fff;background-color:#C9177E;height:40px;width:40px;z-index:99;line-height:50px;text-align:center;border-radius:5px;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23)}aside#toc+a#toc-toggle:after{content:'\2026';display:block;position:relative;width:40px;height:40px;font-size:2em;line-height:40px;bottom:10px}aside#toc+a#toc-toggle.toc-open{box-shadow:none;background-color:#fff;color:#222}aside#toc+a#toc-toggle.toc-open::after{content:"\00D7";font-size:2em;bottom:0px}aside#toc+a#toc-toggle.toc-open:hover{box-shadow:none}aside#toc+a#toc-toggle:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 19px 38px rgba(0,0,0,0.3),0 15px 12px rgba(0,0,0,0.22)}@media only screen and (min-width: 1240px){aside#toc+a#toc-toggle{display:none}}.contents-list{box-shadow:none;background-color:transparent;color:#222;margin-bottom:1em;position:relative}.contents-list a{width:100%;color:#222}.contents-list a:before,.contents-list a:after,.contents-list a:hover{background-color:transparent;border:none;color:#222}.contents-list h3{padding-bottom:2px;border-bottom:2px solid #222;padding-left:1.5em}.contents-list p{margin-bottom:0px}.taxonomy-term{font-size:1.3em;display:inline-block;width:auto;clear:both}.contents-list-image-wrapper{max-width:30px;position:absolute;top:0px;left:0px}.contents-list-image-wrapper img{max-width:1.5em;min-width:1.5em;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block}.contents-list-image-wrapper span{font-size:.7em;display:block;margin-top:0px;text-align:center;line-height:1.2}#content-footer{height:40px;line-height:40px;vertical-align:middle;display:block;border-top:2px solid silver;margin-bottom:3em;width:100%}#content-footer .prev-and-next-link{display:inline-block;text-align:center;margin-bottom:1em}#content-footer .prev-and-next-link span{display:block;font-size:.8em}@media only screen and (min-width: 760px){#content-footer .prev-and-next-link{max-width:calc(48% - 100px);margin-bottom:1.5em}#content-footer .prev-and-next-link.next-page{float:right}}#content-footer .prev-and-next-link.prev-page{text-align:left;float:left}#content-footer .prev-and-next-link.next-page{text-align:right;float:right;margin-right:0px}.last-modified{color:#737373;display:inline-block;width:200px;max-width:200px;font-size:.8em;position:absolute;left:calc(50% - 100px);font-weight:normal;text-align:center}.body-copy blockquote{position:relative;display:block;margin:0px;font-style:italic;background-color:#fafafa;padding:16px}.body-copy blockquote p{margin-bottom:0px;margin-top:16px}.body-copy blockquote p:first-child{margin-top:8px}.body-copy blockquote:before{font-family:'fontello';display:block;height:1em;width:1em;position:absolute;content:'\e809';color:silver;top:-3px;left:4px;font-size:1.2em;font-style:normal}.body-copy blockquote cite.blockquote-citation{position:absolute;bottom:.3em;right:.3em;float:right;font-size:14px;font-style:normal}.breadcrumbs{list-style:none;display:inline-block}.breadcrumbs li{float:left}.breadcrumbs li a{color:#222;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background:#D1F1FE;text-decoration:none;position:relative;height:30px;line-height:30px;padding:0 10px 0 5px;text-align:center;margin-right:23px;font-size:14px}.breadcrumbs li a img{height:20px;width:20px}.breadcrumbs li a span{margin-left:4px}.breadcrumbs li:nth-child(even){margin-left:-8px}.breadcrumbs li:nth-child(even) a{background-color:#D1F1FE}.breadcrumbs li:nth-child(even) a:before{border-color:#D1F1FE;border-left-color:transparent;height:30px;line-height:30px}.breadcrumbs li:nth-child(even) a:after{border-left-color:#D1F1FE}.breadcrumbs li:first-child a{padding-left:10px;border-radius:4px 0 0 4px}.breadcrumbs li:first-child a:before{border:none}.breadcrumbs li:last-child a{padding-right:15px;border-radius:0 4px 4px 0}.breadcrumbs li:last-child a:after{border:none}.breadcrumbs li a:before,.breadcrumbs li a:after{content:"";position:absolute;top:0;border:0 solid #D1F1FE;border-width:15px 6.666px;width:0;height:0}.breadcrumbs li a:before{left:-12px;border-left-color:transparent}.breadcrumbs li a:after{left:100%;border-color:transparent;border-left-color:#D1F1FE}.breadcrumbs li a:hover{background-color:#0083C0;color:#fff}.breadcrumbs li a:hover img{-webkit-filter:grayscale(0%);filter:grayscale(0%)}.breadcrumbs li a:hover:before{border-color:#0083C0;border-left-color:transparent}.breadcrumbs li a:hover:after{border-left-color:#0083C0}table{text-align:left;overflow-x:scroll;max-width:100%;display:block;border-left:2px solid #737373;border-right:2px solid #737373}table tr{border-top:2px solid #737373}table tr th,table tr td{padding-left:4px;padding-right:6px}table thead tr th{padding-left:4px;padding-right:6px}@media only screen and (min-width: 760px){table thead tr th:last-child{min-width:220px}}table tbody tr{background-color:#fff}table tbody tr:nth-child(even){background-color:silver}table tbody tr:last-child{border-bottom:2px solid #737373}.site-header{width:100%;height:50px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0px;background-color:#fff;color:#000;position:fixed;top:0px;left:0px;z-index:20;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}@media only screen and (min-width: 960px){.site-header{-ms-flex-pack:justify;justify-content:space-between}}.site-header .hugo-meta{display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}@media only screen and (min-width: 960px){.site-header .hugo-meta{float:left;width:auto;-ms-flex-pack:start;justify-content:flex-start}}.site-header #home-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:.8em;margin-left:1.5em}.site-header #home-link img{height:35px;margin-right:.25em}.site-header #home-link .hugo-v{-ms-flex-item-align:end;align-self:flex-end;font-size:.9em}.site-header a.github-button{display:none}@media only screen and (min-width: 760px){.site-header a.github-button{display:inline}}.site-header iframe[src^="https://buttons.github.io"]{display:none;margin-left:1em}@media only screen and (min-width: 760px){.site-header iframe[src^="https://buttons.github.io"]{display:inline}}.site-navigation{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;position:fixed;left:0px;top:0px;width:280px;bottom:0px;overflow-y:scroll;background-color:#fafafa;-webkit-transform:translateX(-280px);transform:translateX(-280px);padding:1em;z-index:9}.site-navigation.navigation-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateX(0px);transform:translateX(0px)}@media only screen and (min-width: 960px){.site-navigation{-webkit-transform:translateX(0px);transform:translateX(0px)}}.site-navigation ul.top-menu{margin-top:80px;display:inline-block;margin-left:auto;margin-right:auto}@media only screen and (min-width: 960px){.site-navigation ul.top-menu{margin-top:60px}}.site-navigation ul.top-menu a{color:#222;font-weight:300}.site-navigation ul.top-menu a:hover{color:#C9177E}.site-navigation ul.top-menu li{padding-left:1em;line-height:1;margin-top:.66em;margin-bottom:.66em}.site-navigation ul.top-menu li ul li{padding-left:.5em}.site-navigation ul.top-menu a.top-menu-item-link{font-size:16px}.site-navigation ul.top-menu a.top-menu-item-link.active-section{color:#C9177E;font-weight:700}.site-navigation ul.top-menu a.top-menu-item-link.active-section+ul.submenu{display:block;border-left:1px solid #C9177E}.site-navigation ul.top-menu ul.submenu{display:none}.site-navigation ul.top-menu ul.submenu a.submenu-item-link{font-size:14px}.site-navigation ul.top-menu ul.submenu a.submenu-item-link:hover{color:#0083C0}.site-navigation ul.top-menu ul.submenu a.submenu-item-link.active-page{font-weight:700;color:#0083C0}.nav-buttons a{margin-left:1em;margin-bottom:.5em;display:inline-block;width:200px;font-size:.9em}.navigation-toggle-wrapper{width:50px;height:50px;position:fixed;top:2px;left:0px;z-index:20}.navigation-toggle-wrapper h4.menu{display:inline-block;position:absolute;bottom:-1em;left:.8em;color:#0083C0;display:none}@media only screen and (min-width: 960px){.navigation-toggle-wrapper{display:none}}.navigation-toggle-wrapper.navigation-open .top{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:40%;border-radius:5px;background-color:#C9177E;border-color:#C9177E}.navigation-toggle-wrapper.navigation-open .middle{width:40px;height:40px;top:4%;border-radius:50%;background-color:#C9177E;border-color:#C9177E;opacity:0.3}.navigation-toggle-wrapper.navigation-open .bottom{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:40%;border-radius:5px;background-color:#C9177E;border-color:#C9177E}.bar{width:40px;height:2px;border:2px solid #0083C0;background-color:#0083C0;position:absolute;border-radius:10px}.bar.navigation-open{background-color:#C9177E;border:2px solid #C9177E}.top{left:15%;top:20%;transition:all 0.5s}.middle{left:15%;top:40%;transition:all 0.5s}.bottom{left:15%;top:60%;transition:all 0.5s}#all-content-wrapper{margin-top:50px;z-index:5;transition:all .3s ease-in-out;opacity:1;overflow-x:hidden}@media only screen and (min-width: 960px){#all-content-wrapper{margin-left:280px}}#all-content-wrapper.navigation-open{transition:all .3s ease-in-out;-webkit-transform:translateX(280px);transform:translateX(280px);opacity:.4;overflow-x:hidden}@media only screen and (min-width: 960px){#all-content-wrapper.navigation-open{opacity:1;-webkit-transform:translateX(0px);transform:translateX(0px);overflow-x:hidden}}main.main{width:90%;display:block;margin-left:auto;margin-right:auto;max-width:35em;position:relative;min-height:calc(100vh - 100px)}@media only screen and (min-width: 1240px){main.main{margin-left:2em}}header.content-header{display:block;clear:both;width:100%;position:relative;margin-top:3em;overflow-x:hidden}@media only screen and (min-width: 760px){header.content-header{margin-top:2em}}.content-section-image-wrapper{margin-bottom:1em}.content-section-image-wrapper a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:#222}.content-section-image-wrapper a img{width:20px}.content-section-image-wrapper a span{font-size:.8em;margin-left:.25em}.content-header-links{display:none;position:absolute;right:0px;top:0px;text-transform:uppercase;width:auto;overflow:visible}@media only screen and (min-width: 760px){.content-header-links{display:block}}.content-header-links a{position:relative;border:1px solid silver;display:inline-block;color:#222;padding:4px 6px;vertical-align:middle;height:36px;width:36px;line-height:36px;text-align:center;border-radius:.25em;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24)}.content-header-links a:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}.content-header-links a:hover{color:#222}.content-header-links a i.icon-pencil{font-size:20px;position:relative;bottom:4px;right:2px}.content-header-links a svg{height:24px;width:24px;display:inline}.content-header-links a.godoc-link{border-right-width:0px}.body-copy{margin-top:20px;margin-bottom:2.5em;display:block;overflow:visible}.body-copy div+h2{margin-top:1em}.body-copy em{font-weight:bolder}#site-footer{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;background-color:#000;min-height:100px;width:100%;color:#fff;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}#site-footer div{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}#site-footer div img{max-width:200px}#site-footer.navigation-open{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-webkit-transform:translateX(280px);transform:translateX(280px)}@media only screen and (min-width: 960px){#site-footer.navigation-open{-webkit-transform:translateX(0);transform:translateX(0)}}#site-footer i.icon-heart:before{color:#C9177E}@media only screen and (min-width: 960px){#site-footer{width:calc(100% - 280px);margin-left:280px}}ul.footer-list{color:#fff;list-style:none;margin-left:0px;padding-left:0px}ul.footer-list li a{color:#fff;font-size:.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ul.footer-list li a:not(i){font-size:14px}ul.footer-list li a i{font-size:16px;margin-right:.25em}ul.footer-list li a i.icon-github:before{font-size:22px;margin-left:0px}ul.footer-list li a:hover{color:#C9177E}.all-content-wrapper.home{background-color:#d1f1fe;overflow-x:hidden}main#homepage{width:90%;margin-bottom:2.5em;overflow-x:hidden}@media only screen and (min-width: 760px){main#homepage{max-width:684px}}@media only screen and (min-width: 960px){main#homepage{margin-left:auto;margin-right:auto;max-width:774px}}.homepage-image{display:block;margin:1em auto;max-width:200px}.homepage-image img{max-width:200px;margin-left:auto;margin-right:auto}.homepage-cards{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-negative:0;flex-shrink:0;list-style:none;padding-left:0px;margin-left:0px}.homepage-cards .homepage-card{transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 1px 3px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);color:inherit;width:100%;background-color:#fff;margin-bottom:.5em;padding:16px 10px;-ms-flex-negative:0;flex-shrink:0}.homepage-cards .homepage-card:hover{transition:box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);box-shadow:0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23)}.homepage-cards .homepage-card a{display:-ms-flexbox;display:flex;min-height:100%}@media only screen and (min-width: 760px){.homepage-cards .homepage-card{-ms-flex:1 0 304px;flex:1 0 304px;max-width:48%;margin-bottom:1em}}.homepage-cards .homepage-card section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.homepage-cards .homepage-card .homepage-card-image-wrapper{max-width:60px;min-width:60px;margin-right:10px}.homepage-cards .homepage-card .homepage-card-image-wrapper img{max-width:60px;margin-left:auto;margin-right:auto}@media only screen and (min-width: 760px){.homepage-cards .homepage-card .homepage-card-image-wrapper{max-width:70px;min-width:70px}.homepage-cards .homepage-card .homepage-card-image-wrapper img{max-width:70px}}.homepage-cards .homepage-card h2{font-size:1em;margin:0px;line-height:1.1;margin-bottom:.5em;padding-bottom:0px;padding-top:0px;color:#222}.homepage-cards .homepage-card p{font-size:.8em;line-height:1.3;margin-bottom:0px;color:#555} diff --git a/themes/hugodocs/static/js/script.min.js b/themes/hugodocs/static/js/script.min.js index 9ab7fc97a..b2f154a42 100644 --- a/themes/hugodocs/static/js/script.min.js +++ b/themes/hugodocs/static/js/script.min.js @@ -1,3 +1,3 @@ "use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}function toggleToc(e){e.preventDefault(),e.stopPropagation(),console.log("hello"),document.getElementById("toc").classList.toggle("toc-open"),document.getElementById("toc-toggle").classList.toggle("toc-open")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function a(i,s){if(!r[i]){if(!e[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[i]={exports:{}};e[i][0].call(u.exports,function(t){var r=e[i][1][t];return a(r?r:t)},u,u.exports,t,e,r,n)}return r[i].exports}for(var o="function"==typeof require&&require,i=0;in;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],a=[];if(n&&t)for(var o=0,i=n.length;i>o;o++)n[o].fn!==t&&n[o].fn._!==t&&a.push(n[o]);return a.length?r[e]=a:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(a,o){if("function"==typeof e&&e.amd)e(["module","select"],o);else if("undefined"!=typeof n)o(r,t("select"));else{var i={exports:{}};o(i,a.select),a.clipboardAction=i.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(t),o="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":"undefined"==typeof e?"undefined":_typeof(e)},i=function(){function e(e,t){for(var r=0;r0&&t-1 in e)}if(!e.jQuery){var r=function c(e,t){return new c.fn.init(e,t)};r.isWindow=function(e){return e&&e===e.window},r.type=function(e){return e?"object"==("undefined"==typeof e?"undefined":_typeof(e))||"function"==typeof e?a[i.call(e)]||"object":"undefined"==typeof e?"undefined":_typeof(e):e+""},r.isArray=Array.isArray||function(e){return"array"===r.type(e)},r.isPlainObject=function(e){var t;if(!e||"object"!==r.type(e)||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(t in e);return void 0===t||o.call(e,t)},r.each=function(e,r,n){var a,o=0,i=e.length,s=t(e);if(n){if(s)for(;o0?a=i:r=i;while(Math.abs(o)>h&&++s=b?u(t,s):0===l?s:f(t,r,r+S)}function g(){k=!0,e===r&&n===a||p()}var m=4,b=.001,h=1e-7,y=10,v=11,S=1/(v-1),w="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;x<4;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var C=w?new Float32Array(v):new Array(v),k=!1,P=function(t){return k||g(),e===r&&n===a?t:0===t?0:1===t?1:l(d(t),r,a)};P.getControlPoints=function(){return[{x:e,y:r},{x:n,y:a}]};var N="generateBezier("+[e,r,n,a]+")";return P.toString=function(){return N},P}function c(e,t){var r=e;return m.isString(e)?v.Easings[e]||(r=!1):r=m.isArray(e)&&1===e.length?s.apply(null,e):m.isArray(e)&&2===e.length?S.apply(null,e.concat([t])):!(!m.isArray(e)||4!==e.length)&&l.apply(null,e),r===!1&&(r=v.Easings[v.defaults.easing]?v.defaults.easing:y),r}function u(e){if(e){var t=(new Date).getTime(),r=v.State.calls.length;r>1e4&&(v.State.calls=a(v.State.calls),r=v.State.calls.length);for(var o=0;o4;e--){var t=r.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return n}(),g=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r,n=(new Date).getTime();return r=Math.max(0,16-(n-e)),e=n+r,setTimeout(function(){t(n+r)},r)}}(),m={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==("undefined"==typeof e?"undefined":_typeof(e))&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==n&&(0===e.length||"object"==_typeof(e[0])&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},b=!1;if(e.fn&&e.fn.jquery?(f=e,b=!0):f=t.Velocity.Utilities,d<=8&&!b)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(d<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var h=400,y="swing",v={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:r.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:h,easing:y,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){f.data(e,"velocity",{isSVG:m.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:3,patch:0},debug:!1};t.pageYOffset!==n?(v.State.scrollAnchor=t,v.State.scrollPropertyLeft="pageXOffset",v.State.scrollPropertyTop="pageYOffset"):(v.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,v.State.scrollPropertyLeft="scrollLeft",v.State.scrollPropertyTop="scrollTop");var S=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,n){var a={x:t.x+n.dx*r,v:t.v+n.dv*r,tension:t.tension,friction:t.friction};return{dx:a.v,dv:e(a)}}function r(r,n){var a={dx:r.v,dv:e(r)},o=t(r,.5*n,a),i=t(r,.5*n,o),s=t(r,n,i),l=1/6*(a.dx+2*(o.dx+i.dx)+s.dx),c=1/6*(a.dv+2*(o.dv+i.dv)+s.dv);return r.x=r.x+l*n,r.v=r.v+c*n,r}return function n(e,t,a){var o,i,s,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,p=1e-4,f=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,a=a||null,l.tension=e,l.friction=t,o=null!==a,o?(u=n(e,t),i=u/a*f):i=f;s=r(s||l,i),c.push(1+s.x),u+=16,Math.abs(s.x)>p&&Math.abs(s.v)>p;);return o?function(e){return c[e*(c.length-1)|0]}:u}}();v.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){v.Easings[t[0]]=l.apply(null,t[1])});var w=v.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":return r;case"inject":return r}}},register:function(){d&&!(d>9)||v.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var e=0;e8)&&3===o.split(" ").length&&(o+=" 1"),o;case"inject":return d<=8?4===a.split(" ").length&&(a=a.split(/\s+/).slice(0,3).join(" ")):3===a.split(" ").length&&(a+=" 1"),(d<=8?"rgb":"rgba")+"("+a.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(d||v.State.isAndroid&&!v.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(v.State.prefixMatches[e])return[v.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,n=t.length;r=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,a,o){var s=r;if("scroll"===r)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?t.scrollTo(n,o.alternateValue):t.scrollTo(o.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=i(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);a=a||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,a),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var p=i(e);p&&p.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=i(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},a={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};f.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(t+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var o,s;f.each(i(e).transformCache,function(r){return o=i(e).transformCache[r],"transformPerspective"===r?(s=o,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+o+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var a;return e=o(e),f.each(e,function(e,o){if(i(o)===n&&v.init(o),r===n)a===n&&(a=v.CSS.getPropertyValue(o,t));else{var s=v.CSS.setPropertyValue(o,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(o),a=s}}),a};var x=function k(){function e(){return l?T.promise||null:d}function a(e,a){function o(o){var d,g;if(l.begin&&0===P)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,N,E=/^x$/i.test(l.axis)?"Left":"Top",M=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],N=x+f(e).position()[E.toLowerCase()]+M):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],N=f(e).offset()[E.toLowerCase()]+M),p={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:N,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===O){if(d=i(e),!d)return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null);for(var I in g)if("element"!==I){var A=g[I].startValue;g[I].startValue=g[I].currentValue=g[I].endValue,g[I].endValue=A,m.isEmptyObject(S)||(g[I].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+I+"): "+JSON.stringify(g[I]),e)}p=g}else if("start"===O){d=i(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var o,i,s;return m.isArray(t)?(o=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(i=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):o=t,r||(i=i||l.easing),m.isFunction(o)&&(o=o.call(e,a,C)),m.isFunction(s)&&(s=s.call(e,a,C)),[o||0,i,s]};f.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),a=r[0],o=r[1],i=r[2];if(w.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=i?w.Values.hexToRgb(i):n,u=0;u=1&&console.log("Unit ratios: "+JSON.stringify(s),e),s};if(/[\/*]/.test(W))_=H;else if(H!==_&&0!==Y)if(0===X)_=H;else{s=s||q();var U=/margin|padding|left|right|width|text|word|letter/i.test(L)||/X$/.test(L)||"x"===L?"x":"y";switch(H){case"%":Y*="x"===U?s.percentToPxWidth:s.percentToPxHeight;break;case"px":break;default:Y*=s[H+"ToPx"]}switch(_){case"%":Y*=1/("x"===U?s.percentToPxWidth:s.percentToPxHeight);break;case"px":break;default:Y*=1/s[_+"ToPx"]}}switch(W){case"+":X=Y+X;break;case"-":X=Y-X;break;case"*":X=Y*X;break;case"/":X=Y/X}p[L]={rootPropertyValue:F,startValue:Y,currentValue:Y,endValue:X,unitType:_,easing:$},v.debug&&console.log("tweensContainer ("+L+"): "+JSON.stringify(p[L]),e)}else v.debug&&console.log("Skipping ["+B+"] due to a lack of browser support.")}p.element=e}p.element&&(w.Values.addClass(e,"velocity-animating"),V.push(p),d=i(e),d&&(""===l.queue&&(d.tweensContainer=p,d.opts=l),d.isAnimating=!0),P===C-1?(v.State.calls.push([V,b,l,null,T.resolver]),v.State.isTicking===!1&&(v.State.isTicking=!0,u())):P++)}var s,l=f.extend({},v.defaults,S),p={};switch(i(e)===n&&v.init(e),parseFloat(l.delay)&&l.queue!==!1&&f.queue(e,l.queue,function(t){v.velocityQueueEntryFlag=!0,i(e).delayTimer={setTimeout:setTimeout(t,parseFloat(l.delay)),next:t}}),l.duration.toString().toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=h;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}v.mock!==!1&&(v.mock===!0?l.duration=l.delay=1:(l.duration*=parseFloat(v.mock)||1,l.delay*=parseFloat(v.mock)||1)),l.easing=c(l.easing,l.duration),l.begin&&!m.isFunction(l.begin)&&(l.begin=null),l.progress&&!m.isFunction(l.progress)&&(l.progress=null),l.complete&&!m.isFunction(l.complete)&&(l.complete=null),l.display!==n&&null!==l.display&&(l.display=l.display.toString().toLowerCase(),"auto"===l.display&&(l.display=v.CSS.Values.getDisplayType(e))),l.visibility!==n&&null!==l.visibility&&(l.visibility=l.visibility.toString().toLowerCase()),l.mobileHA=l.mobileHA&&v.State.isMobile&&!v.State.isGingerbread,l.queue===!1?l.delay?setTimeout(o,l.delay):o():f.queue(e,l.queue,function(e,t){return t===!0?(T.promise&&T.resolver(b),!0):(v.velocityQueueEntryFlag=!0,void o(e))}),""!==l.queue&&"fx"!==l.queue||"inprogress"===f.queue(e)[0]||f.dequeue(e)}var s,l,d,g,b,y,S,x=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(l=!1,g=0,b=this,d=this):(l=!0,g=1,b=x?arguments[0].elements||arguments[0].e:arguments[0]),b=o(b)){x?(y=arguments[0].properties||arguments[0].p,S=arguments[0].options||arguments[0].o):(y=arguments[g],S=arguments[g+1]);var C=b.length,P=0;if(!/^(stop|finish|finishAll)$/i.test(y)&&!f.isPlainObject(S)){var N=g+1;S={};for(var E=N;EparseFloat(r[1]))}var o=e.Velocity;if(!o||!o.Utilities)return void(t.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var i=o.Utilities,s=o.version,l={major:1,minor:1,patch:0};if(a(l,s)){var c="Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(c),new Error(c)}o.RegisterEffect=o.RegisterUI=function(e,t){function r(e,t,r,n){var a,s=0;i.each(e.nodeType?[e]:e,function(e,t){n&&(r+=e*n),a=t.parentNode;var l=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===o.CSS.getPropertyValue(t,"boxSizing").toString().toLowerCase()&&(l=["height"]),i.each(l,function(e,r){s+=parseFloat(o.CSS.getPropertyValue(t,r))})}),o.animate(a,{height:("In"===t?"+":"-")+"="+s},{queue:!1,easing:"ease-in-out",duration:r*("In"===t?.6:1)})}return o.Redirects[e]=function(a,s,l,c,u,p,f){var d=l===c-1;f=f||t.loop,"function"==typeof t.defaultDuration?t.defaultDuration=t.defaultDuration.call(u,u):t.defaultDuration=parseFloat(t.defaultDuration);for(var g=0;g1&&(i.each(t.reverse(),function(e,r){var n=t[e+1];if(n){var a=r.o||r.options,s=n.o||n.options,l=a&&a.sequenceQueue===!1?"begin":"complete",c=s&&s[l],u={};u[l]=function(){var e=n.e||n.elements,t=e.nodeType?[e]:e;c&&c.call(t,t),o(r)},n.o?n.o=i.extend({},s,u):n.options=i.extend({},s,u)}}),t.reverse()),o(t[0])}}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}),$("document").ready(function(){$('.body-copy a[href$=".pdf"]').append(''),$(".body-copy > h2:not(.section-heading),.body-copy > h3").each(function(){var e=$(this).attr("id"),t=window.location.origin,r=window.location.pathname,n=""+t+r+"#"+e;$(this).append('')})}),function(){for(var e=document.querySelectorAll("blockquote > p"),t=new RegExp(/\s\-\s/),r=0;r― '+a+""}}();var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){var t="object"==("undefined"==typeof window?"undefined":_typeof(window))&&window||"object"==("undefined"==typeof self?"undefined":_typeof(self))&&self;"undefined"!=typeof exports?e(exports):t&&(t.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return t.hljs}))}(function(e){function t(e){return e.replace(/[&<>]/gm,function(e){return M[e]})}function r(e){return e.nodeName.toLowerCase()}function n(e,t){var r=e&&e.exec(t);return r&&0===r.index}function a(e){return P.test(e)}function o(e){var t,r,n,o,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",r=N.exec(i))return S(r[1])?r[1]:"no-highlight";for(i=i.split(/\s+/),t=0,n=i.length;n>t;t++)if(o=i[t],a(o)||S(o))return o}function i(e,t){var r,n={};for(r in e)n[r]=e[r];if(t)for(r in t)n[r]=t[r];return n}function s(e){var t=[];return function n(e,a){for(var o=e.firstChild;o;o=o.nextSibling)3===o.nodeType?a+=o.nodeValue.length:1===o.nodeType&&(t.push({event:"start",offset:a,node:o}),a=n(o,a),r(o).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:o}));return a}(e,0),t}function l(e,n,a){function o(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function s(e){u+=""}function l(e){("start"===e.event?i:s)(e.node)}for(var c=0,u="",p=[];e.length||n.length;){var f=o();if(u+=t(a.substring(c,f[0].offset)),c=f[0].offset,f===e){p.reverse().forEach(s);do l(f.splice(0,1)[0]),f=o();while(f===e&&f.length&&f[0].offset===c);p.reverse().forEach(i)}else"start"===f[0].event?p.push(f[0].node):p.pop(),l(f.splice(0,1)[0])}return u+t(a.substr(c))}function c(e){function t(e){return e&&e.source||e}function r(r,n){return new RegExp(t(r),"m"+(e.cI?"i":"")+(n?"g":""))}function n(a,o){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var s={},l=function(t,r){e.cI&&(r=r.toLowerCase()),r.split(" ").forEach(function(e){var r=e.split("|");s[r[0]]=[t,r[1]?Number(r[1]):1]})};"string"==typeof a.k?l("keyword",a.k):x(a.k).forEach(function(e){l(e,a.k[e])}),a.k=s}a.lR=r(a.l||/\w+/,!0),o&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=r(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=r(a.e)),a.tE=t(a.e)||"",a.eW&&o.tE&&(a.tE+=(a.e?"|":"")+o.tE)),a.i&&(a.iR=r(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]);var c=[];a.c.forEach(function(e){e.v?e.v.forEach(function(t){c.push(i(e,t))}):c.push("self"===e?a:e)}),a.c=c,a.c.forEach(function(e){n(e,a)}),a.starts&&n(a.starts,o);var u=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(t).filter(Boolean);a.t=u.length?r(u.join("|"),!0):{exec:function(){return null}}}}n(e)}function u(e,r,a,o){function i(e,t){var r,a;for(r=0,a=t.c.length;a>r;r++)if(n(t.c[r].bR,e))return t.c[r]}function s(e,t){if(n(e.eR,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?s(e.parent,t):void 0}function l(e,t){return!a&&n(t.iR,e)}function f(e,t){var r=v.cI?t[0].toLowerCase():t[0];return e.k.hasOwnProperty(r)&&e.k[r]; -}function d(e,t,r,n){var a=n?"":O.classPrefix,o='',o+t+i}function g(){var e,r,n,a;if(!x.k)return t(N);for(a="",r=0,x.lR.lastIndex=0,n=x.lR.exec(N);n;)a+=t(N.substring(r,n.index)),e=f(x,n),e?(E+=e[1],a+=d(e[0],t(n[0]))):a+=t(n[0]),r=x.lR.lastIndex,n=x.lR.exec(N);return a+t(N.substr(r))}function m(){var e="string"==typeof x.sL;if(e&&!C[x.sL])return t(N);var r=e?u(x.sL,N,!0,k[x.sL]):p(N,x.sL.length?x.sL:void 0);return x.r>0&&(E+=r.r),e&&(k[x.sL]=r.top),d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=i(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=o||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,I,A=0;x.t.lastIndex=A,M=x.t.exec(r),M;)I=y(r.substring(A,M.index),M[0]),A=M.index+I;for(y(r.substr(A)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"
":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,i,c,g=o(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),i.innerHTML=n.value,n.value=l(r,s(i),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=i(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="
",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&","<":"<",">":">"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=i,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[r],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[r],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}}),hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}}),hljs.registerLanguage("handlebars",function(e){var t={"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield"};return{aliases:["hbs","html.hbs","html.handlebars"],cI:!0,sL:"xml",c:[e.C("{{!(--)?","(--)?}}"),{cN:"template-tag",b:/\{\{[#\/]/,e:/\}\}/,c:[{cN:"name",b:/[a-zA-Z\.-]+/,k:t,starts:{eW:!0,r:0,c:[e.QSM]}}]},{cN:"template-variable",b:/\{\{/,e:/\}\}/,k:t}]}}),hljs.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:""},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),hljs.registerLanguage("ini",function(e){var t={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},t,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}}),hljs.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:t,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,r]}]}}),hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range end type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil Pages",built_in:"append cap close complex copy imag len make new panic print println real recover delete Site Data"};return{aliases:["golang"],k:t,i:"",sL:"xml",r:0}],r:10},{cN:"bullet",b:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{cN:"symbol",b:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",r:10},{cN:"strong",b:"\\B\\*(?![\\*\\s])",e:"(\\n{2}|\\*)",c:[{b:"\\\\*\\w",r:0}]},{cN:"emphasis",b:"\\B'(?!['\\s])",e:"(\\n{2}|')",c:[{b:"\\\\'\\w",r:0}],r:0},{cN:"emphasis",b:"_(?![_\\s])",e:"(\\n{2}|_)",r:0},{cN:"string",v:[{b:"``.+?''"},{b:"`.+?'"}]},{cN:"code",b:"(`.+?`|\\+.+?\\+)",r:0},{cN:"code",b:"^[ \\t]",e:"$",r:0},{b:"^'{3,}[ \\t]*$",r:10},{b:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",rB:!0,c:[{b:"(link|image:?):",r:0},{cN:"link",b:"\\w",e:"[^\\[]+",r:0},{cN:"string",b:"\\[",e:"\\]",eB:!0,eE:!0,r:0}],r:10}]}}),hljs.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},n={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},o=[e.C("#","$",{c:[n]}),e.C("^\\=begin","^\\=end",{c:[n],r:10}),e.C("^__END__","\\n$")],i={cN:"subst",b:"#\\{",e:"}",k:r},s={cN:"string",c:[e.BE,i],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},l={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},c=[s,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(o)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:t}),l].concat(o)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[s,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",c:[a,{cN:"regexp",c:[e.BE,i],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(o),r:0}].concat(o);i.c=c,l.c=c;var u="[>?]>",p="[\\w#]+\\(\\w+\\):\\d+:\\d+>",f="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",d=[{b:/^\s*=>/,starts:{e:"$",c:c}},{cN:"meta",b:"^("+u+"|"+p+"|"+f+")",starts:{e:"$",c:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:o.concat(d).concat(c)}}),hljs.registerLanguage("yaml",function(e){var t={literal:"{ } true false yes no Yes No True False null"},r="^[ \\-]*",n="[a-zA-Z_][\\w\\-]*",a={cN:"attr",v:[{b:r+n+":"},{b:r+'"'+n+'":'},{b:r+"'"+n+"':"}]},o={cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]},i={cN:"string",r:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/}],c:[e.BE,o]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[a,{cN:"meta",b:"^---s*$",r:10},{cN:"string",b:"[\\|>] *$",rE:!0,c:i.c,e:a.v[0].b},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,r:0},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"^ *-",r:0},i,e.HCM,e.CNM],k:t}}),hljs.registerLanguage("powershell",function(e){var t={b:"`[\\s\\S]",r:0},r={cN:"variable",v:[{b:/\$[\w\d][\w\d_:]*/}]},n={cN:"literal",b:/\$(null|true|false)\b/},a={cN:"string",v:[{b:/"/,e:/"/},{b:/@"/,e:/^"@/}],c:[t,r,{cN:"variable",b:/\$[A-z]/,e:/[^A-z]/}]},o={cN:"string",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},i={cN:"doctag",v:[{b:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},s=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[i]});return{aliases:["ps"],l:/-?[A-z\.\-]+/,cI:!0,k:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",nomarkup:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},c:[t,e.NM,a,o,n,r,s]}}),hljs.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={cN:"variable",b:"(\\$"+t+")\\b"},n={cN:"number",b:"#[0-9A-Fa-f]+"};return{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:!0,i:"[^\\s]",starts:{eW:!0,eE:!0,c:[n,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"meta",b:"!important"}]}},{cI:!0,i:"[=/|']",c:[e.CLCM,e.CBCM,{cN:"selector-id",b:"\\#[A-Za-z0-9_-]+",r:0},{cN:"selector-class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"selector-attr",b:"\\[",e:"\\]",i:"$"},{cN:"selector-tag",b:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",r:0},{b:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{b:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},r,{cN:"attribute",b:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",i:"[^\\s]"},{b:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{b:":",e:";",c:[r,n,e.CSSNM,e.QSM,e.ASM,{cN:"meta",b:"!important"}]},{b:"@",e:"[{;]",k:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",c:[r,e.QSM,e.ASM,n,e.CSSNM,{b:"\\s[A-Za-z0-9_.-]+",r:0}]}]}}),hljs.registerLanguage("json",function(e){var t={literal:"true false null"},r=[e.QSM,e.CNM],n={e:",",eW:!0,eE:!0,c:r,k:t},a={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(n,{b:/:/})],i:"\\S"},o={b:"\\[",e:"\\]",c:[e.inherit(n)],i:"\\S"};return r.splice(r.length,0,a,o),{c:r,k:t,i:"\\S"}}),hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},n={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh","git"],l:/-?[a-z\._]+/,k:{keyword:"hugo if | then else elif fi for while in do done case esac function yoursite.com",literal:"true -b branch false posts events authors",built_in:"break cd checkout continue eval exec exit export getopts hash pwd readonly new return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which yoursite zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,r,n,t]}}),hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}}),hljs.registerLanguage("javascript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},n={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},a={cN:"subst",b:"\\$\\{",e:"\\}",k:r,c:[]},o={cN:"string",b:"`",e:"`",c:[e.BE,a]};a.c=[e.ASM,e.QSM,o,n,e.RM];var i=a.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:r,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,o,e.CLCM,e.CBCM,n,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:i}]}]},{b://,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:i}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}),hljs.initHighlightingOnLoad(),function(){function e(e){for(var t=0;t0){var r=e[t].alt.split("class=")[0],n=e[t].alt.split("class=")[1];e[t].setAttribute("alt",r),e[t].classList.add(n)}else if(e[t].alt.indexOf("id=")>0){var r=e[t].alt.split("id=")[0],a=e[t].alt.split("id=")[1];e[t].setAttribute("alt",r),e[t].id=a}}var t=document.querySelectorAll(".body-copy img");t.length<1||e(t)}(),$(".top-menu-item-link.true").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).next("ul"),r=t.is(":visible"),n=r?"slideUp":"slideDown",a=r?200:400;t.velocity(n,{easing:"easeOutQuart",duration:a})}),$("#navigation-toggle").on("click",function(e){e.preventDefault(),e.stopPropagation(),$("#site-navigation,.all-content-wrapper,#navigation-toggle,#site-footer").toggleClass("navigation-open")}),$("#all-content-wrapper").on("click",function(){$(".site-navigation.navigation-open")&&$(".site-navigation.navigation-open,.all-content-wrapper.navigation-open,#navigation-toggle,#site-footer").removeClass("navigation-open")}),$(".body-copy").on("click",function(){$(".toc-toggle.toc-open")&&(document.getElementById("toc").classList.remove("toc-open"),document.getElementById("toc-toggle").classList.remove("toc-open"))}),$(document).ready(function(){$("a.heading-link,#toc a").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).attr("href"),r=t.split("#")[1];$(t).velocity("scroll",{duration:500,offset:-50,easing:"ease-in-out"}),location.hash=r})}),$("#toggle-search").on("click",function(e){e.preventDefault(),e.stopPropagation(),$("#site-search-form").toggleClass("search-open"),window.setTimeout(function(){var e=document.getElementById("search-input");e.focus()},800)}),function(){var e=document.querySelectorAll("#TableOfContents > ul a"),t=document.getElementById("toc");console.log(e),t&&e.length<2?t.remove():e.length>1&&document.getElementById("toc-toggle").addEventListener("click",toggleToc,!1)}(); \ No newline at end of file +}function d(e,t,r,n){var a=n?"":O.classPrefix,o='',o+t+i}function g(){var e,r,n,a;if(!x.k)return t(N);for(a="",r=0,x.lR.lastIndex=0,n=x.lR.exec(N);n;)a+=t(N.substring(r,n.index)),e=f(x,n),e?(E+=e[1],a+=d(e[0],t(n[0]))):a+=t(n[0]),r=x.lR.lastIndex,n=x.lR.exec(N);return a+t(N.substr(r))}function m(){var e="string"==typeof x.sL;if(e&&!C[x.sL])return t(N);var r=e?u(x.sL,N,!0,k[x.sL]):p(N,x.sL.length?x.sL:void 0);return x.r>0&&(E+=r.r),e&&(k[x.sL]=r.top),d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=i(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=o||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,I,A=0;x.t.lastIndex=A,M=x.t.exec(r),M;)I=y(r.substring(A,M.index),M[0]),A=M.index+I;for(y(r.substr(A)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"
":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,i,c,g=o(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),i.innerHTML=n.value,n.value=l(r,s(i),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=i(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="
",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&","<":"<",">":">"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=i,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[r],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[r],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}}),hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}}),hljs.registerLanguage("handlebars",function(e){var t={"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield"};return{aliases:["hbs","html.hbs","html.handlebars"],cI:!0,sL:"xml",c:[e.C("{{!(--)?","(--)?}}"),{cN:"template-tag",b:/\{\{[#\/]/,e:/\}\}/,c:[{cN:"name",b:/[a-zA-Z\.-]+/,k:t,starts:{eW:!0,r:0,c:[e.QSM]}}]},{cN:"template-variable",b:/\{\{/,e:/\}\}/,k:t}]}}),hljs.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:""},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),hljs.registerLanguage("ini",function(e){var t={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},t,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}}),hljs.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:t,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,r]}]}}),hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range end type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"Get true false iota nil Pages",built_in:"append cap close complex copy imag len make new panic print println real recover delete Site Data"};return{aliases:["golang"],k:t,i:"",sL:"xml",r:0}],r:10},{cN:"bullet",b:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{cN:"symbol",b:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",r:10},{cN:"strong",b:"\\B\\*(?![\\*\\s])",e:"(\\n{2}|\\*)",c:[{b:"\\\\*\\w",r:0}]},{cN:"emphasis",b:"\\B'(?!['\\s])",e:"(\\n{2}|')",c:[{b:"\\\\'\\w",r:0}],r:0},{cN:"emphasis",b:"_(?![_\\s])",e:"(\\n{2}|_)",r:0},{cN:"string",v:[{b:"``.+?''"},{b:"`.+?'"}]},{cN:"code",b:"(`.+?`|\\+.+?\\+)",r:0},{cN:"code",b:"^[ \\t]",e:"$",r:0},{b:"^'{3,}[ \\t]*$",r:10},{b:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",rB:!0,c:[{b:"(link|image:?):",r:0},{cN:"link",b:"\\w",e:"[^\\[]+",r:0},{cN:"string",b:"\\[",e:"\\]",eB:!0,eE:!0,r:0}],r:10}]}}),hljs.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},n={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},o=[e.C("#","$",{c:[n]}),e.C("^\\=begin","^\\=end",{c:[n],r:10}),e.C("^__END__","\\n$")],i={cN:"subst",b:"#\\{",e:"}",k:r},s={cN:"string",c:[e.BE,i],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},l={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},c=[s,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(o)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:t}),l].concat(o)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[s,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",c:[a,{cN:"regexp",c:[e.BE,i],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(o),r:0}].concat(o);i.c=c,l.c=c;var u="[>?]>",p="[\\w#]+\\(\\w+\\):\\d+:\\d+>",f="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",d=[{b:/^\s*=>/,starts:{e:"$",c:c}},{cN:"meta",b:"^("+u+"|"+p+"|"+f+")",starts:{e:"$",c:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:o.concat(d).concat(c)}}),hljs.registerLanguage("yaml",function(e){var t={literal:"{ } true false yes no Yes No True False null"},r="^[ \\-]*",n="[a-zA-Z_][\\w\\-]*",a={cN:"attr",v:[{b:r+n+":"},{b:r+'"'+n+'":'},{b:r+"'"+n+"':"}]},o={cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]},i={cN:"string",r:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/}],c:[e.BE,o]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[a,{cN:"meta",b:"^---s*$",r:10},{cN:"string",b:"[\\|>] *$",rE:!0,c:i.c,e:a.v[0].b},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,r:0},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"^ *-",r:0},i,e.HCM,e.CNM],k:t}}),hljs.registerLanguage("powershell",function(e){var t={b:"`[\\s\\S]",r:0},r={cN:"variable",v:[{b:/\$[\w\d][\w\d_:]*/}]},n={cN:"literal",b:/\$(null|true|false)\b/},a={cN:"string",v:[{b:/"/,e:/"/},{b:/@"/,e:/^"@/}],c:[t,r,{cN:"variable",b:/\$[A-z]/,e:/[^A-z]/}]},o={cN:"string",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},i={cN:"doctag",v:[{b:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},s=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[i]});return{aliases:["ps"],l:/-?[A-z\.\-]+/,cI:!0,k:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",nomarkup:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},c:[t,e.NM,a,o,n,r,s]}}),hljs.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={cN:"variable",b:"(\\$"+t+")\\b"},n={cN:"number",b:"#[0-9A-Fa-f]+"};return{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:!0,i:"[^\\s]",starts:{eW:!0,eE:!0,c:[n,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"meta",b:"!important"}]}},{cI:!0,i:"[=/|']",c:[e.CLCM,e.CBCM,{cN:"selector-id",b:"\\#[A-Za-z0-9_-]+",r:0},{cN:"selector-class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"selector-attr",b:"\\[",e:"\\]",i:"$"},{cN:"selector-tag",b:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",r:0},{b:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{b:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},r,{cN:"attribute",b:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",i:"[^\\s]"},{b:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{b:":",e:";",c:[r,n,e.CSSNM,e.QSM,e.ASM,{cN:"meta",b:"!important"}]},{b:"@",e:"[{;]",k:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",c:[r,e.QSM,e.ASM,n,e.CSSNM,{b:"\\s[A-Za-z0-9_.-]+",r:0}]}]}}),hljs.registerLanguage("json",function(e){var t={literal:"true false null"},r=[e.QSM,e.CNM],n={e:",",eW:!0,eE:!0,c:r,k:t},a={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(n,{b:/:/})],i:"\\S"},o={b:"\\[",e:"\\]",c:[e.inherit(n)],i:"\\S"};return r.splice(r.length,0,a,o),{c:r,k:t,i:"\\S"}}),hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},n={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh","git"],l:/-?[a-z\._]+/,k:{keyword:"hugo if | then else elif fi for while in do done case esac function yoursite.com",literal:"true -b branch false posts events authors",built_in:"break cd checkout continue eval exec exit export getopts hash pwd readonly new return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which yoursite zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,r,n,t]}}),hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}}),hljs.registerLanguage("javascript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},n={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},a={cN:"subst",b:"\\$\\{",e:"\\}",k:r,c:[]},o={cN:"string",b:"`",e:"`",c:[e.BE,a]};a.c=[e.ASM,e.QSM,o,n,e.RM];var i=a.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:r,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,o,e.CLCM,e.CBCM,n,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:i}]}]},{b://,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:i}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}),hljs.initHighlightingOnLoad(),function(){function e(e){for(var t=0;t0){var r=e[t].alt.split("class=")[0],n=e[t].alt.split("class=")[1];e[t].setAttribute("alt",r),e[t].classList.add(n)}else if(e[t].alt.indexOf("id=")>0){var r=e[t].alt.split("id=")[0],a=e[t].alt.split("id=")[1];e[t].setAttribute("alt",r),e[t].id=a}}var t=document.querySelectorAll(".body-copy img");t.length<1||e(t)}(),$(".top-menu-item-link.true").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).next("ul"),r=t.is(":visible"),n=r?"slideUp":"slideDown",a=r?200:400;t.velocity(n,{easing:"easeOutQuart",duration:a})}),$("#navigation-toggle").on("click",function(e){e.preventDefault(),e.stopPropagation(),$("#site-navigation,.all-content-wrapper,#navigation-toggle,#site-footer").toggleClass("navigation-open")}),$("#all-content-wrapper").on("click",function(){$(".site-navigation.navigation-open")&&$(".site-navigation.navigation-open,.all-content-wrapper.navigation-open,#navigation-toggle,#site-footer").removeClass("navigation-open")}),$(".body-copy").on("click",function(){$(".toc-toggle.toc-open")&&(document.getElementById("toc").classList.remove("toc-open"),document.getElementById("toc-toggle").classList.remove("toc-open"))}),$(document).ready(function(){$("a.heading-link,#toc a").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).attr("href"),r=t.split("#")[1];$(t).velocity("scroll",{duration:500,offset:-50,easing:"ease-in-out"}),location.hash=r})}),$("#toggle-search").on("click",function(e){e.preventDefault(),e.stopPropagation(),$("#site-search-form").toggleClass("search-open"),window.setTimeout(function(){var e=document.getElementById("search-input");e.focus()},800)}),function(){var e=document.querySelectorAll("#TableOfContents > ul a"),t=document.getElementById("toc");console.log(e),t&&e.length<2?t.remove():e.length>1&&document.getElementById("toc-toggle").addEventListener("click",toggleToc,!1)}(); \ No newline at end of file diff --git a/themes/hugodocs/static/js/table-of-contents.js b/themes/hugodocs/static/js/table-of-contents.js index 2985fed66..83416009f 100644 --- a/themes/hugodocs/static/js/table-of-contents.js +++ b/themes/hugodocs/static/js/table-of-contents.js @@ -18,7 +18,7 @@ $(document).ready(function() { // Bind to scroll $(window).scroll(function() { // Get container scroll position - var fromTop = $(this).scrollTop() + headerHeight + 30; + var fromTop = $(this).scrollTop() + headerHeight + 100; console.log("fromTop = " + fromTop); // Get id of current scroll item