From 3e04d066d8ff49aa13ce08ff54c9245e75f045fc Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Wed, 1 Feb 2017 13:01:37 -0600 Subject: [PATCH] Update theme.toml for first Netlify build --- config.toml | 7 ++---- content/about/introduction-to-hugo.md | 1 - content/functions/GetPage.md | 17 +++++++++++++ content/functions/SiteGetPage.md | 0 content/functions/absLangURL.md | 17 +++++++++++++ content/functions/absURL.md | 17 +++++++++++++ content/functions/add.md | 17 +++++++++++++ content/functions/after.md | 17 +++++++++++++ content/functions/apply.md | 17 +++++++++++++ content/functions/base64Decode.md | 17 +++++++++++++ content/functions/base64Encode.md | 17 +++++++++++++ content/functions/chomp.md | 17 +++++++++++++ content/functions/countrunes.md | 17 +++++++++++++ content/functions/countwords.md | 17 +++++++++++++ content/functions/dateformat.md | 8 +++--- content/functions/default-function.md | 17 +++++++++++++ content/functions/default.md | 0 content/functions/delimit.md | 17 +++++++++++++ content/functions/dict.md | 17 +++++++++++++ content/functions/div.md | 17 +++++++++++++ content/functions/echoparam.md | 17 +++++++++++++ content/functions/emojify.md | 17 +++++++++++++ content/functions/findRe.md | 17 +++++++++++++ content/functions/first.md | 17 +++++++++++++ content/functions/getenv.md | 17 +++++++++++++ content/functions/hasPrefix.md | 17 +++++++++++++ content/functions/highlight.md | 17 +++++++++++++ content/functions/htmlEscape.md | 17 +++++++++++++ content/functions/htmlUnescape.md | 17 +++++++++++++ content/functions/humanize.md | 17 +++++++++++++ content/functions/imageConfig.md | 17 +++++++++++++ content/functions/in.md | 17 +++++++++++++ content/functions/index-function.md | 17 +++++++++++++ content/functions/int.md | 18 +++++++++++++ content/functions/intersect.md | 17 +++++++++++++ content/functions/isset.md | 17 +++++++++++++ content/functions/jsonify.md | 17 +++++++++++++ content/functions/last.md | 17 +++++++++++++ content/functions/lower.md | 17 +++++++++++++ content/functions/markdownify.md | 17 +++++++++++++ content/functions/md5.md | 17 +++++++++++++ content/functions/mod.md | 17 +++++++++++++ content/functions/modBool.md | 17 +++++++++++++ content/functions/mul.md | 17 +++++++++++++ content/functions/partialCached.md | 17 +++++++++++++ content/functions/plainify.md | 17 +++++++++++++ content/functions/pluralize.md | 17 +++++++++++++ content/functions/printf.md | 17 +++++++++++++ content/functions/querify.md | 17 +++++++++++++ content/functions/range.md | 8 +++--- content/functions/readDir.md | 17 +++++++++++++ content/functions/readFile.md | 17 +++++++++++++ content/functions/rel.md | 17 +++++++++++++ content/functions/relLangURL.md | 17 +++++++++++++ content/functions/relURL.md | 17 +++++++++++++ content/functions/relref.md | 17 +++++++++++++ content/functions/render.md | 17 +++++++++++++ content/functions/replace.md | 17 +++++++++++++ content/functions/safeCSS.md | 17 +++++++++++++ content/functions/safeHTML.md | 17 +++++++++++++ content/functions/safeHTMLAttr.md | 17 +++++++++++++ content/functions/safeJS.md | 17 +++++++++++++ content/functions/safeURL.md | 17 +++++++++++++ content/functions/seq.md | 17 +++++++++++++ content/functions/sha1.md | 17 +++++++++++++ content/functions/sha256.md | 17 +++++++++++++ content/functions/shuffle.md | 17 +++++++++++++ content/functions/singularize.md | 17 +++++++++++++ content/functions/slice.md | 17 +++++++++++++ content/functions/slicestr.md | 17 +++++++++++++ content/functions/sort.md | 17 +++++++++++++ content/functions/split.md | 17 +++++++++++++ content/functions/string.md | 17 +++++++++++++ content/functions/sub.md | 17 +++++++++++++ content/functions/substr.md | 17 +++++++++++++ content/functions/time.md | 17 +++++++++++++ content/functions/title.md | 17 +++++++++++++ content/functions/trim.md | 17 +++++++++++++ content/functions/upper.md | 17 +++++++++++++ content/functions/urlize.md | 17 +++++++++++++ content/functions/where.md | 17 +++++++++++++ content/getting started/_index.md | 25 ++++++++----------- ...-from-source.md => install-from-source.md} | 2 +- ...alling-on-linux.md => install-on-linux.md} | 2 +- ...{installing-on-pc.md => install-on-mac.md} | 2 +- ...{installing-on-mac.md => install-on-pc.md} | 2 +- themes/hugodocs/pipeline/gulpfile.js | 2 +- themes/hugodocs/pipeline/js/globals.js | 11 -------- themes/hugodocs/static/js/script.min.js | 3 ++- themes/hugodocs/theme.toml | 2 +- 90 files changed, 1305 insertions(+), 46 deletions(-) create mode 100644 content/functions/GetPage.md delete mode 100644 content/functions/SiteGetPage.md create mode 100644 content/functions/default-function.md delete mode 100644 content/functions/default.md create mode 100644 content/functions/index-function.md rename content/getting started/{installing-from-source.md => install-from-source.md} (82%) rename content/getting started/{installing-on-linux.md => install-on-linux.md} (83%) rename content/getting started/{installing-on-pc.md => install-on-mac.md} (85%) rename content/getting started/{installing-on-mac.md => install-on-pc.md} (87%) delete mode 100644 themes/hugodocs/pipeline/js/globals.js diff --git a/config.toml b/config.toml index bc9003dee..243b4cbe8 100644 --- a/config.toml +++ b/config.toml @@ -71,9 +71,7 @@ watch = true ## Setting this to true will add a "noindex" to *every* page on the site removefromexternalsearch = true ## This is used when the BaseURL does not need to modified (eg, in share links) - siteaddress = "http://digital.cap.org" - ## Set to true to add Google Tag Manager to the Site - addgtm = false + siteaddress = "https://gohugo.io" gtmid = "" # Set to true to include a CDN call to FontAwesome usefontawesome = true @@ -86,5 +84,4 @@ watch = true latexDashes = true [taxonomies] - tag = "tags" - category = "categories" \ No newline at end of file + tag = "tags" \ No newline at end of file diff --git a/content/about/introduction-to-hugo.md b/content/about/introduction-to-hugo.md index 02966af5b..a91855615 100644 --- a/content/about/introduction-to-hugo.md +++ b/content/about/introduction-to-hugo.md @@ -67,7 +67,6 @@ links work properly with most hosting companies. ## How fast is Hugo? -{{% youtube CdiDYZ51a2o %}} ## What does Hugo do? diff --git a/content/functions/GetPage.md b/content/functions/GetPage.md new file mode 100644 index 000000000..9c550bc8f --- /dev/null +++ b/content/functions/GetPage.md @@ -0,0 +1,17 @@ +--- +title: GetPage +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/SiteGetPage.md b/content/functions/SiteGetPage.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/content/functions/absLangURL.md b/content/functions/absLangURL.md index e69de29bb..a55faf8c9 100644 --- a/content/functions/absLangURL.md +++ b/content/functions/absLangURL.md @@ -0,0 +1,17 @@ +--- +title: absLangURL +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/absURL.md b/content/functions/absURL.md index e69de29bb..06d260bb1 100644 --- a/content/functions/absURL.md +++ b/content/functions/absURL.md @@ -0,0 +1,17 @@ +--- +title: absURL +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/add.md b/content/functions/add.md index e69de29bb..0cabfba04 100644 --- a/content/functions/add.md +++ b/content/functions/add.md @@ -0,0 +1,17 @@ +--- +title: add +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/after.md b/content/functions/after.md index e69de29bb..ea2c056b5 100644 --- a/content/functions/after.md +++ b/content/functions/after.md @@ -0,0 +1,17 @@ +--- +title: after +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/apply.md b/content/functions/apply.md index e69de29bb..3a2c4a7af 100644 --- a/content/functions/apply.md +++ b/content/functions/apply.md @@ -0,0 +1,17 @@ +--- +title: apply +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/base64Decode.md b/content/functions/base64Decode.md index e69de29bb..82af828fd 100644 --- a/content/functions/base64Decode.md +++ b/content/functions/base64Decode.md @@ -0,0 +1,17 @@ +--- +title: base64Decode +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/base64Encode.md b/content/functions/base64Encode.md index e69de29bb..8a514167d 100644 --- a/content/functions/base64Encode.md +++ b/content/functions/base64Encode.md @@ -0,0 +1,17 @@ +--- +title: base64Encode +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/chomp.md b/content/functions/chomp.md index e69de29bb..7e8cdcc96 100644 --- a/content/functions/chomp.md +++ b/content/functions/chomp.md @@ -0,0 +1,17 @@ +--- +title: chomp +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/countrunes.md b/content/functions/countrunes.md index e69de29bb..5f8508af4 100644 --- a/content/functions/countrunes.md +++ b/content/functions/countrunes.md @@ -0,0 +1,17 @@ +--- +title: countrunes +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/countwords.md b/content/functions/countwords.md index e69de29bb..2bf07c9f6 100644 --- a/content/functions/countwords.md +++ b/content/functions/countwords.md @@ -0,0 +1,17 @@ +--- +title: countwords +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/dateformat.md b/content/functions/dateformat.md index fc236ceec..de7b14a59 100644 --- a/content/functions/dateformat.md +++ b/content/functions/dateformat.md @@ -4,9 +4,9 @@ linktitle: description: qr_description: qr_returns: -date: 2016-11-01 -publishdate: 2016-11-01 -lastmod: 2016-11-01 +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 weight: draft: false type: @@ -14,4 +14,4 @@ layout: slug: aliases: [] notes: ---- \ No newline at end of file +--- diff --git a/content/functions/default-function.md b/content/functions/default-function.md new file mode 100644 index 000000000..88e053ee0 --- /dev/null +++ b/content/functions/default-function.md @@ -0,0 +1,17 @@ +--- +title: default +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/default.md b/content/functions/default.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/content/functions/delimit.md b/content/functions/delimit.md index e69de29bb..1c9cbf629 100644 --- a/content/functions/delimit.md +++ b/content/functions/delimit.md @@ -0,0 +1,17 @@ +--- +title: delimit +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/dict.md b/content/functions/dict.md index e69de29bb..a427f48a5 100644 --- a/content/functions/dict.md +++ b/content/functions/dict.md @@ -0,0 +1,17 @@ +--- +title: dict +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/div.md b/content/functions/div.md index e69de29bb..f2bd900ef 100644 --- a/content/functions/div.md +++ b/content/functions/div.md @@ -0,0 +1,17 @@ +--- +title: div +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/echoparam.md b/content/functions/echoparam.md index e69de29bb..2ddb08c5b 100644 --- a/content/functions/echoparam.md +++ b/content/functions/echoparam.md @@ -0,0 +1,17 @@ +--- +title: echoParam +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/emojify.md b/content/functions/emojify.md index e69de29bb..6ea9f5127 100644 --- a/content/functions/emojify.md +++ b/content/functions/emojify.md @@ -0,0 +1,17 @@ +--- +title: emojify +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/findRe.md b/content/functions/findRe.md index e69de29bb..a15fe1493 100644 --- a/content/functions/findRe.md +++ b/content/functions/findRe.md @@ -0,0 +1,17 @@ +--- +title: findRe +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/first.md b/content/functions/first.md index e69de29bb..508b638a5 100644 --- a/content/functions/first.md +++ b/content/functions/first.md @@ -0,0 +1,17 @@ +--- +title: first +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/getenv.md b/content/functions/getenv.md index e69de29bb..ed493e97b 100644 --- a/content/functions/getenv.md +++ b/content/functions/getenv.md @@ -0,0 +1,17 @@ +--- +title: getenv +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/hasPrefix.md b/content/functions/hasPrefix.md index e69de29bb..3304f0fba 100644 --- a/content/functions/hasPrefix.md +++ b/content/functions/hasPrefix.md @@ -0,0 +1,17 @@ +--- +title: hasPrefix +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/highlight.md b/content/functions/highlight.md index e69de29bb..6567eae7f 100644 --- a/content/functions/highlight.md +++ b/content/functions/highlight.md @@ -0,0 +1,17 @@ +--- +title: highlight +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/htmlEscape.md b/content/functions/htmlEscape.md index e69de29bb..cefd82d14 100644 --- a/content/functions/htmlEscape.md +++ b/content/functions/htmlEscape.md @@ -0,0 +1,17 @@ +--- +title: htmlEscape +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/htmlUnescape.md b/content/functions/htmlUnescape.md index e69de29bb..29b9ad701 100644 --- a/content/functions/htmlUnescape.md +++ b/content/functions/htmlUnescape.md @@ -0,0 +1,17 @@ +--- +title: htmlUnescape +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/humanize.md b/content/functions/humanize.md index e69de29bb..cf42e2613 100644 --- a/content/functions/humanize.md +++ b/content/functions/humanize.md @@ -0,0 +1,17 @@ +--- +title: humanize +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/imageConfig.md b/content/functions/imageConfig.md index e69de29bb..2edf552b1 100644 --- a/content/functions/imageConfig.md +++ b/content/functions/imageConfig.md @@ -0,0 +1,17 @@ +--- +title: imageConfig +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/in.md b/content/functions/in.md index e69de29bb..cdf80bdff 100644 --- a/content/functions/in.md +++ b/content/functions/in.md @@ -0,0 +1,17 @@ +--- +title: in +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/index-function.md b/content/functions/index-function.md new file mode 100644 index 000000000..c2ffc1e93 --- /dev/null +++ b/content/functions/index-function.md @@ -0,0 +1,17 @@ +--- +title: index +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/int.md b/content/functions/int.md index e69de29bb..7f374cbba 100644 --- a/content/functions/int.md +++ b/content/functions/int.md @@ -0,0 +1,18 @@ +--- +title: int +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +tags: [] +notes: +--- diff --git a/content/functions/intersect.md b/content/functions/intersect.md index e69de29bb..1f07e8131 100644 --- a/content/functions/intersect.md +++ b/content/functions/intersect.md @@ -0,0 +1,17 @@ +--- +title: intersect +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/isset.md b/content/functions/isset.md index e69de29bb..ba6250e7d 100644 --- a/content/functions/isset.md +++ b/content/functions/isset.md @@ -0,0 +1,17 @@ +--- +title: isset +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/jsonify.md b/content/functions/jsonify.md index e69de29bb..a9aea0cac 100644 --- a/content/functions/jsonify.md +++ b/content/functions/jsonify.md @@ -0,0 +1,17 @@ +--- +title: jsonify +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/last.md b/content/functions/last.md index e69de29bb..ef594127a 100644 --- a/content/functions/last.md +++ b/content/functions/last.md @@ -0,0 +1,17 @@ +--- +title: last +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/lower.md b/content/functions/lower.md index e69de29bb..9777121bd 100644 --- a/content/functions/lower.md +++ b/content/functions/lower.md @@ -0,0 +1,17 @@ +--- +title: lower +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/markdownify.md b/content/functions/markdownify.md index e69de29bb..27cba30e9 100644 --- a/content/functions/markdownify.md +++ b/content/functions/markdownify.md @@ -0,0 +1,17 @@ +--- +title: markdownify +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/md5.md b/content/functions/md5.md index e69de29bb..b357690ee 100644 --- a/content/functions/md5.md +++ b/content/functions/md5.md @@ -0,0 +1,17 @@ +--- +title: md5 +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/mod.md b/content/functions/mod.md index e69de29bb..ccef5d869 100644 --- a/content/functions/mod.md +++ b/content/functions/mod.md @@ -0,0 +1,17 @@ +--- +title: mod +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/modBool.md b/content/functions/modBool.md index e69de29bb..eb9d7e4a6 100644 --- a/content/functions/modBool.md +++ b/content/functions/modBool.md @@ -0,0 +1,17 @@ +--- +title: modBool +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/mul.md b/content/functions/mul.md index e69de29bb..c80a73f98 100644 --- a/content/functions/mul.md +++ b/content/functions/mul.md @@ -0,0 +1,17 @@ +--- +title: mul +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/partialCached.md b/content/functions/partialCached.md index e69de29bb..635ce2a26 100644 --- a/content/functions/partialCached.md +++ b/content/functions/partialCached.md @@ -0,0 +1,17 @@ +--- +title: partialCached +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/plainify.md b/content/functions/plainify.md index e69de29bb..cf9a5ebe0 100644 --- a/content/functions/plainify.md +++ b/content/functions/plainify.md @@ -0,0 +1,17 @@ +--- +title: plainify +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/pluralize.md b/content/functions/pluralize.md index e69de29bb..ab5a17c74 100644 --- a/content/functions/pluralize.md +++ b/content/functions/pluralize.md @@ -0,0 +1,17 @@ +--- +title: pluralize +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/printf.md b/content/functions/printf.md index e69de29bb..9c6807024 100644 --- a/content/functions/printf.md +++ b/content/functions/printf.md @@ -0,0 +1,17 @@ +--- +title: printf +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/querify.md b/content/functions/querify.md index e69de29bb..e4aed3048 100644 --- a/content/functions/querify.md +++ b/content/functions/querify.md @@ -0,0 +1,17 @@ +--- +title: querify +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/range.md b/content/functions/range.md index 62c79d83e..293cd605f 100644 --- a/content/functions/range.md +++ b/content/functions/range.md @@ -4,9 +4,9 @@ linktitle: description: qr_description: qr_returns: -date: 2016-11-01 -publishdate: 2016-11-01 -lastmod: 2016-11-01 +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 weight: draft: false type: @@ -14,4 +14,4 @@ layout: slug: aliases: [] notes: ---- \ No newline at end of file +--- diff --git a/content/functions/readDir.md b/content/functions/readDir.md index e69de29bb..6fd67a9ee 100644 --- a/content/functions/readDir.md +++ b/content/functions/readDir.md @@ -0,0 +1,17 @@ +--- +title: readDir +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/readFile.md b/content/functions/readFile.md index e69de29bb..888ae6ea6 100644 --- a/content/functions/readFile.md +++ b/content/functions/readFile.md @@ -0,0 +1,17 @@ +--- +title: readFile +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/rel.md b/content/functions/rel.md index e69de29bb..82dcfff14 100644 --- a/content/functions/rel.md +++ b/content/functions/rel.md @@ -0,0 +1,17 @@ +--- +title: rel +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/relLangURL.md b/content/functions/relLangURL.md index e69de29bb..a2d50b933 100644 --- a/content/functions/relLangURL.md +++ b/content/functions/relLangURL.md @@ -0,0 +1,17 @@ +--- +title: relLangURL +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/relURL.md b/content/functions/relURL.md index e69de29bb..8744349f3 100644 --- a/content/functions/relURL.md +++ b/content/functions/relURL.md @@ -0,0 +1,17 @@ +--- +title: relURL +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/relref.md b/content/functions/relref.md index e69de29bb..08e474aa5 100644 --- a/content/functions/relref.md +++ b/content/functions/relref.md @@ -0,0 +1,17 @@ +--- +title: relref +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/render.md b/content/functions/render.md index e69de29bb..838269c6a 100644 --- a/content/functions/render.md +++ b/content/functions/render.md @@ -0,0 +1,17 @@ +--- +title: render +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/replace.md b/content/functions/replace.md index e69de29bb..c72a9d177 100644 --- a/content/functions/replace.md +++ b/content/functions/replace.md @@ -0,0 +1,17 @@ +--- +title: replace +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/safeCSS.md b/content/functions/safeCSS.md index e69de29bb..0fa8a4878 100644 --- a/content/functions/safeCSS.md +++ b/content/functions/safeCSS.md @@ -0,0 +1,17 @@ +--- +title: safeCSS +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/safeHTML.md b/content/functions/safeHTML.md index e69de29bb..1df292f0c 100644 --- a/content/functions/safeHTML.md +++ b/content/functions/safeHTML.md @@ -0,0 +1,17 @@ +--- +title: safeHTML +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/safeHTMLAttr.md b/content/functions/safeHTMLAttr.md index e69de29bb..a3c6a9dc2 100644 --- a/content/functions/safeHTMLAttr.md +++ b/content/functions/safeHTMLAttr.md @@ -0,0 +1,17 @@ +--- +title: safeHTMLAttr +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/safeJS.md b/content/functions/safeJS.md index e69de29bb..186f43dcd 100644 --- a/content/functions/safeJS.md +++ b/content/functions/safeJS.md @@ -0,0 +1,17 @@ +--- +title: safeJS +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/safeURL.md b/content/functions/safeURL.md index e69de29bb..a08c840b4 100644 --- a/content/functions/safeURL.md +++ b/content/functions/safeURL.md @@ -0,0 +1,17 @@ +--- +title: safeURL +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/seq.md b/content/functions/seq.md index e69de29bb..01a56d0b2 100644 --- a/content/functions/seq.md +++ b/content/functions/seq.md @@ -0,0 +1,17 @@ +--- +title: seq +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/sha1.md b/content/functions/sha1.md index e69de29bb..a5590169e 100644 --- a/content/functions/sha1.md +++ b/content/functions/sha1.md @@ -0,0 +1,17 @@ +--- +title: sha1 +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/sha256.md b/content/functions/sha256.md index e69de29bb..3eee69ebe 100644 --- a/content/functions/sha256.md +++ b/content/functions/sha256.md @@ -0,0 +1,17 @@ +--- +title: sha256 +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/shuffle.md b/content/functions/shuffle.md index e69de29bb..58eef45bb 100644 --- a/content/functions/shuffle.md +++ b/content/functions/shuffle.md @@ -0,0 +1,17 @@ +--- +title: shuffle +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/singularize.md b/content/functions/singularize.md index e69de29bb..206022f54 100644 --- a/content/functions/singularize.md +++ b/content/functions/singularize.md @@ -0,0 +1,17 @@ +--- +title: singularize +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/slice.md b/content/functions/slice.md index e69de29bb..342fb3dd9 100644 --- a/content/functions/slice.md +++ b/content/functions/slice.md @@ -0,0 +1,17 @@ +--- +title: slice +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/slicestr.md b/content/functions/slicestr.md index e69de29bb..e0621be29 100644 --- a/content/functions/slicestr.md +++ b/content/functions/slicestr.md @@ -0,0 +1,17 @@ +--- +title: slicestr +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/sort.md b/content/functions/sort.md index e69de29bb..91aae7257 100644 --- a/content/functions/sort.md +++ b/content/functions/sort.md @@ -0,0 +1,17 @@ +--- +title: sort +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/split.md b/content/functions/split.md index e69de29bb..2ff0e82a9 100644 --- a/content/functions/split.md +++ b/content/functions/split.md @@ -0,0 +1,17 @@ +--- +title: split +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/string.md b/content/functions/string.md index e69de29bb..ed7763ab4 100644 --- a/content/functions/string.md +++ b/content/functions/string.md @@ -0,0 +1,17 @@ +--- +title: string +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/sub.md b/content/functions/sub.md index e69de29bb..cb8bad04b 100644 --- a/content/functions/sub.md +++ b/content/functions/sub.md @@ -0,0 +1,17 @@ +--- +title: sub +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/substr.md b/content/functions/substr.md index e69de29bb..b9487e2da 100644 --- a/content/functions/substr.md +++ b/content/functions/substr.md @@ -0,0 +1,17 @@ +--- +title: substr +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/time.md b/content/functions/time.md index e69de29bb..6c077af2a 100644 --- a/content/functions/time.md +++ b/content/functions/time.md @@ -0,0 +1,17 @@ +--- +title: time +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/title.md b/content/functions/title.md index e69de29bb..c4260c880 100644 --- a/content/functions/title.md +++ b/content/functions/title.md @@ -0,0 +1,17 @@ +--- +title: title +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/trim.md b/content/functions/trim.md index e69de29bb..20da13a2c 100644 --- a/content/functions/trim.md +++ b/content/functions/trim.md @@ -0,0 +1,17 @@ +--- +title: trim +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/upper.md b/content/functions/upper.md index e69de29bb..ddc2973e7 100644 --- a/content/functions/upper.md +++ b/content/functions/upper.md @@ -0,0 +1,17 @@ +--- +title: upper +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/urlize.md b/content/functions/urlize.md index e69de29bb..2bb55def7 100644 --- a/content/functions/urlize.md +++ b/content/functions/urlize.md @@ -0,0 +1,17 @@ +--- +title: urlize +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/functions/where.md b/content/functions/where.md index e69de29bb..f99fc3816 100644 --- a/content/functions/where.md +++ b/content/functions/where.md @@ -0,0 +1,17 @@ +--- +title: where +linktitle: +description: +qr_description: +qr_returns: +date: 2017-02-01 +publishdate: 2017-02-01 +lastmod: 2017-02-01 +weight: +draft: false +type: +layout: +slug: +aliases: [] +notes: +--- diff --git a/content/getting started/_index.md b/content/getting started/_index.md index 1b593f593..14b8caa03 100644 --- a/content/getting started/_index.md +++ b/content/getting started/_index.md @@ -1,16 +1,13 @@ --- -aliases: [] -date: 2016-12-26T06:43:14-06:00 -description: null +title: Getting Started with Hugo +linktitle: +description: +date: 2017-03-01 +publishdate: 2017-03-01 +lastmod: 2017-03-01 +weight: draft: false -lastmod: 2017-01-01 -linktitle: null -notes: null -publishdate: 2017-01-01 -qr_description: null -qr_returns: null -slug: null -title: _index -weight: 1 ---- - +slug: +aliases: [] +notes: +--- \ No newline at end of file diff --git a/content/getting started/installing-from-source.md b/content/getting started/install-from-source.md similarity index 82% rename from content/getting started/installing-from-source.md rename to content/getting started/install-from-source.md index 925352796..2a682d3ce 100644 --- a/content/getting started/installing-from-source.md +++ b/content/getting started/install-from-source.md @@ -1,5 +1,5 @@ --- -title: Installing from Source +title: Install Hugo from Source linktitle: description: date: 2016-11-01 diff --git a/content/getting started/installing-on-linux.md b/content/getting started/install-on-linux.md similarity index 83% rename from content/getting started/installing-on-linux.md rename to content/getting started/install-on-linux.md index f3a8517fb..3dfed0ea0 100644 --- a/content/getting started/installing-on-linux.md +++ b/content/getting started/install-on-linux.md @@ -1,5 +1,5 @@ --- -title: +title: Install Hugo on Linux linktitle: description: date: 2016-11-01 diff --git a/content/getting started/installing-on-pc.md b/content/getting started/install-on-mac.md similarity index 85% rename from content/getting started/installing-on-pc.md rename to content/getting started/install-on-mac.md index 4b5a73563..c670e322f 100644 --- a/content/getting started/installing-on-pc.md +++ b/content/getting started/install-on-mac.md @@ -1,5 +1,5 @@ --- -title: +title: Install Hugo on Mac OSX linktitle: description: qr_description: diff --git a/content/getting started/installing-on-mac.md b/content/getting started/install-on-pc.md similarity index 87% rename from content/getting started/installing-on-mac.md rename to content/getting started/install-on-pc.md index 4b5a73563..fab66fad1 100644 --- a/content/getting started/installing-on-mac.md +++ b/content/getting started/install-on-pc.md @@ -1,5 +1,5 @@ --- -title: +title: Install Hugo on PC linktitle: description: qr_description: diff --git a/themes/hugodocs/pipeline/gulpfile.js b/themes/hugodocs/pipeline/gulpfile.js index 0057f4ba5..17e046ded 100644 --- a/themes/hugodocs/pipeline/gulpfile.js +++ b/themes/hugodocs/pipeline/gulpfile.js @@ -62,7 +62,7 @@ gulp.task("image-resize", () => { gulp.task('scripts', function(cb) { pump([ - gulp.src(['js/utils.js', 'js/scripts/*.js']), + gulp.src(['js/utils.js', 'js/_velocity.min.js', 'js/_velocity.ui.min.js', 'js/scripts/*.js']), // sourcemaps.init(), babel({ presets: ['es2015'] diff --git a/themes/hugodocs/pipeline/js/globals.js b/themes/hugodocs/pipeline/js/globals.js deleted file mode 100644 index 4019c621e..000000000 --- a/themes/hugodocs/pipeline/js/globals.js +++ /dev/null @@ -1,11 +0,0 @@ -//operating system constants and browser sniff -// var isMac = navigator.userAgent.indexOf('Mac OS X') != -1 ? true : false; -// var theOs = getMobileOperatingSystem(); -// var isMobile = (theOs == "Android" || theOs == "iOS" || theOs == "Windows Phone"); -// var allContentWrapper = byId('all-content-wrapper'); -// if (isMobile) { -// const mainEvent = 'click'; -// } else { -// const mainEvent = 'touchstart'; -// } -// const isDocs = document.querySelector('body.is-docs') ? true : false; \ No newline at end of file diff --git a/themes/hugodocs/static/js/script.min.js b/themes/hugodocs/static/js/script.min.js index ba1b3931b..97ca91433 100644 --- a/themes/hugodocs/static/js/script.min.js +++ b/themes/hugodocs/static/js/script.min.js @@ -1 +1,2 @@ -"use strict";function getMobileOperatingSystem(){var t=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(t)?"Windows Phone":/android/i.test(t)?"Android":/iPad|iPhone|iPod/.test(t)&&!window.MSStream?"iOS":void 0}function urlize(t){return"string"==typeof t?t.replace(/[^\w\s\-]/gi,"").toLowerCase().replace(" ","-"):t instanceof HTMLElement?t.textContent.replace(/[^\w\s\-]/gi,"").toLowerCase().replace(" ","-"):void 0}var byId=function(t){return document.getElementById(t)},qs=function(t){return document.querySelector(t)},qsa=function(t){return document.querySelectorAll(t)};!function(){function t(t){for(var e=0;e0){var n=t[e].alt.split("class=")[0],i=t[e].alt.split("class=")[1];t[e].setAttribute("alt",n),t[e].classList.add(i)}else if(t[e].alt.indexOf("id=")>0){var n=t[e].alt.split("id=")[0],r=t[e].alt.split("id=")[1];t[e].setAttribute("alt",n),t[e].id=r}}var e=document.querySelectorAll(".body-copy img");e.length<1||t(e)}(); \ No newline at end of file +"use strict";function getMobileOperatingSystem(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"Windows Phone":/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":void 0}function urlize(e){return"string"==typeof e?e.replace(/[^\w\s\-]/gi,"").toLowerCase().replace(" ","-"):e instanceof HTMLElement?e.textContent.replace(/[^\w\s\-]/gi,"").toLowerCase().replace(" ","-"):void 0}var byId=function(e){return document.getElementById(e)},qs=function(e){return document.querySelector(e)},qsa=function(e){return document.querySelectorAll(e)},_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){function t(e){var t=e.length,a=r.type(e);return"function"!==a&&!r.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===a||0===t||"number"==typeof t&&t>0&&t-1 in e)}if(!e.jQuery){var r=function u(e,t){return new u.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?n[o.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&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(a){return!1}for(t in e);return void 0===t||i.call(e,t)},r.each=function(e,r,a){var n,i=0,o=e.length,s=t(e);if(a){if(s)for(;i0?n=o:r=o;while(Math.abs(i)>v&&++s=m?c(t,s):0===l?s:p(t,r,r+x)}function g(){V=!0,e===r&&a===n||f()}var y=4,m=.001,v=1e-7,h=10,b=11,x=1/(b-1),S="Float32Array"in t;if(4!==arguments.length)return!1;for(var P=0;P<4;++P)if("number"!=typeof arguments[P]||isNaN(arguments[P])||!isFinite(arguments[P]))return!1;e=Math.min(e,1),a=Math.min(a,1),e=Math.max(e,0),a=Math.max(a,0);var w=S?new Float32Array(b):new Array(b),V=!1,O=function(t){return V||g(),e===r&&a===n?t:0===t?0:1===t?1:l(d(t),r,n)};O.getControlPoints=function(){return[{x:e,y:r},{x:a,y:n}]};var C="generateBezier("+[e,r,a,n]+")";return O.toString=function(){return C},O}function u(e,t){var r=e;return y.isString(e)?b.Easings[e]||(r=!1):r=y.isArray(e)&&1===e.length?s.apply(null,e):y.isArray(e)&&2===e.length?x.apply(null,e.concat([t])):!(!y.isArray(e)||4!==e.length)&&l.apply(null,e),r===!1&&(r=b.Easings[b.defaults.easing]?b.defaults.easing:h),r}function c(e){if(e){var t=(new Date).getTime(),r=b.State.calls.length;r>1e4&&(b.State.calls=n(b.State.calls),r=b.State.calls.length);for(var i=0;i4;e--){var t=r.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return a}(),g=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r,a=(new Date).getTime();return r=Math.max(0,16-(a-e)),e=a+r,setTimeout(function(){t(a+r)},r)}}(),y={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!==a&&(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}},m=!1;if(e.fn&&e.fn.jquery?(p=e,m=!0):p=t.Velocity.Utilities,d<=8&&!m)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 v=400,h="swing",b={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:p,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:v,easing:h,begin:a,complete:a,progress:a,display:a,visibility:a,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){p.data(e,"velocity",{isSVG:y.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!==a?(b.State.scrollAnchor=t,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var x=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,a){var n={x:t.x+a.dx*r,v:t.v+a.dv*r,tension:t.tension,friction:t.friction};return{dx:n.v,dv:e(n)}}function r(r,a){var n={dx:r.v,dv:e(r)},i=t(r,.5*a,n),o=t(r,.5*a,i),s=t(r,a,o),l=1/6*(n.dx+2*(i.dx+o.dx)+s.dx),u=1/6*(n.dv+2*(i.dv+o.dv)+s.dv);return r.x=r.x+l*a,r.v=r.v+u*a,r}return function a(e,t,n){var i,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,f=1e-4,p=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,n=n||null,l.tension=e,l.friction=t,i=null!==n,i?(c=a(e,t),o=c/n*p):o=p;s=r(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>f&&Math.abs(s.v)>f;);return i?function(e){return u[e*(u.length-1)|0]}:c}}();b.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)}},p.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){b.Easings[t[0]]=l.apply(null,t[1])});var S=b.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)||b.State.isGingerbread||(S.Lists.transformsBase=S.Lists.transformsBase.concat(S.Lists.transforms3D));for(var e=0;e8)&&3===i.split(" ").length&&(i+=" 1"),i;case"inject":return d<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(d<=8?"rgb":"rgba")+"("+n.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||b.State.isAndroid&&!b.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(b.State.prefixMatches[e])return[b.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,a=t.length;r=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,a,n,i){var s=r;if("scroll"===r)i.container?i.container["scroll"+i.direction]=a:"Left"===i.direction?t.scrollTo(a,i.alternateValue):t.scrollTo(i.alternateValue,a);else if(S.Normalizations.registered[r]&&"transform"===S.Normalizations.registered[r]("name",e))S.Normalizations.registered[r]("inject",e,a),s="transform",a=o(e).transformCache[r];else{if(S.Hooks.registered[r]){var l=r,u=S.Hooks.getRoot(r);n=n||S.getPropertyValue(e,u),a=S.Hooks.injectValue(l,a,n),r=u}if(S.Normalizations.registered[r]&&(a=S.Normalizations.registered[r]("inject",e,a),r=S.Normalizations.registered[r]("name",e)),s=S.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=a}catch(c){b.debug&&console.log("Browser does not support ["+a+"] for ["+s+"]")}else{var f=o(e);f&&f.isSVG&&S.Names.SVGAttribute(r)?e.setAttribute(r,a):e.style[s]=a}b.debug>=2&&console.log("Set "+r+" ("+s+"): "+a)}return[s,a]},flushTransformCache:function(e){var t="",r=o(e);if((d||b.State.isAndroid&&!b.State.isChrome)&&r&&r.isSVG){var a=function(t){return parseFloat(S.getPropertyValue(e,t))},n={translate:[a("translateX"),a("translateY")],skewX:[a("skewX")],skewY:[a("skewY")],scale:1!==a("scale")?[a("scale"),a("scale")]:[a("scaleX"),a("scaleY")],rotate:[a("rotateZ"),0,0]};p.each(o(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(t+=e+"("+n[e].join(" ")+") ",delete n[e])})}else{var i,s;p.each(o(e).transformCache,function(r){return i=o(e).transformCache[r],"transformPerspective"===r?(s=i,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+i+" "))}),s&&(t="perspective"+s+" "+t)}S.setPropertyValue(e,"transform",t)}};S.Hooks.register(),S.Normalizations.register(),b.hook=function(e,t,r){var n;return e=i(e),p.each(e,function(e,i){if(o(i)===a&&b.init(i),r===a)n===a&&(n=b.CSS.getPropertyValue(i,t));else{var s=b.CSS.setPropertyValue(i,t,r);"transform"===s[0]&&b.CSS.flushTransformCache(i),n=s}}),n};var P=function V(){function e(){return l?Y.promise||null:d}function n(e,n){function i(i){var d,g;if(l.begin&&0===O)try{l.begin.call(m,m)}catch(v){setTimeout(function(){throw v},1)}if("scroll"===T){var P,V,C,X=/^x$/i.test(l.axis)?"Left":"Top",k=parseFloat(l.offset)||0;l.container?y.isWrapped(l.container)||y.isNode(l.container)?(l.container=l.container[0]||l.container,P=l.container["scroll"+X],C=P+p(e).position()[X.toLowerCase()]+k):l.container=null:(P=b.State.scrollAnchor[b.State["scrollProperty"+X]],V=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===X?"Top":"Left")]],C=p(e).offset()[X.toLowerCase()]+k),f={scroll:{rootPropertyValue:!1,startValue:P,currentValue:P,endValue:C,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:X,alternateValue:V}},element:e},b.debug&&console.log("tweensContainer (scroll): ",f.scroll,e)}else if("reverse"===T){if(d=o(e),!d)return;if(!d.tweensContainer)return void p.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,x.easing||delete l.easing,x.duration||delete l.duration,l=p.extend({},d.opts,l),g=p.extend(!0,{},d?d.tweensContainer:null);for(var D in g)if("element"!==D){var A=g[D].startValue;g[D].startValue=g[D].currentValue=g[D].endValue,g[D].endValue=A,y.isEmptyObject(x)||(g[D].easing=l.easing),b.debug&&console.log("reverse tweensContainer ("+D+"): "+JSON.stringify(g[D]),e)}f=g}else if("start"===T){d=o(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var F=function(t,r){var i,o,s;return y.isArray(t)?(i=t[0],!y.isArray(t[1])&&/^[\d-]/.test(t[1])||y.isFunction(t[1])||S.RegEx.isHex.test(t[1])?s=t[1]:(y.isString(t[1])&&!S.RegEx.isHex.test(t[1])||y.isArray(t[1]))&&(o=r?t[1]:u(t[1],l.duration),t[2]!==a&&(s=t[2]))):i=t,r||(o=o||l.easing),y.isFunction(i)&&(i=i.call(e,n,w)),y.isFunction(s)&&(s=s.call(e,n,w)),[i||0,o,s]};p.each(h,function(e,t){if(RegExp("^"+S.Lists.colors.join("$|^")+"$").test(S.Names.camelCase(e))){var r=F(t,!0),n=r[0],i=r[1],o=r[2];if(S.RegEx.isHex.test(n)){for(var s=["Red","Green","Blue"],l=S.Values.hexToRgb(n),u=o?S.Values.hexToRgb(o):a,c=0;c=1&&console.log("Unit ratios: "+JSON.stringify(s),e),s};if(/[\/*]/.test(M))B=$;else if($!==B&&0!==N)if(0===j)B=$;else{s=s||W();var Q=/margin|padding|left|right|width|text|word|letter/i.test(R)||/X$/.test(R)||"x"===R?"x":"y";switch($){case"%":N*="x"===Q?s.percentToPxWidth:s.percentToPxHeight;break;case"px":break;default:N*=s[$+"ToPx"]}switch(B){case"%":N*=1/("x"===Q?s.percentToPxWidth:s.percentToPxHeight);break;case"px":break;default:N*=1/s[B+"ToPx"]}}switch(M){case"+":j=N+j;break;case"-":j=N-j;break;case"*":j=N*j;break;case"/":j=N/j}f[R]={rootPropertyValue:z,startValue:N,currentValue:N,endValue:j,unitType:B,easing:H},b.debug&&console.log("tweensContainer ("+R+"): "+JSON.stringify(f[R]),e)}else b.debug&&console.log("Skipping ["+q+"] due to a lack of browser support.")}f.element=e}f.element&&(S.Values.addClass(e,"velocity-animating"),E.push(f),d=o(e),d&&(""===l.queue&&(d.tweensContainer=f,d.opts=l),d.isAnimating=!0),O===w-1?(b.State.calls.push([E,m,l,null,Y.resolver]),b.State.isTicking===!1&&(b.State.isTicking=!0,c())):O++)}var s,l=p.extend({},b.defaults,x),f={};switch(o(e)===a&&b.init(e),parseFloat(l.delay)&&l.queue!==!1&&p.queue(e,l.queue,function(t){b.velocityQueueEntryFlag=!0,o(e).delayTimer={setTimeout:setTimeout(t,parseFloat(l.delay)),next:t}}),l.duration.toString().toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=v;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}b.mock!==!1&&(b.mock===!0?l.duration=l.delay=1:(l.duration*=parseFloat(b.mock)||1,l.delay*=parseFloat(b.mock)||1)),l.easing=u(l.easing,l.duration),l.begin&&!y.isFunction(l.begin)&&(l.begin=null),l.progress&&!y.isFunction(l.progress)&&(l.progress=null),l.complete&&!y.isFunction(l.complete)&&(l.complete=null),l.display!==a&&null!==l.display&&(l.display=l.display.toString().toLowerCase(),"auto"===l.display&&(l.display=b.CSS.Values.getDisplayType(e))),l.visibility!==a&&null!==l.visibility&&(l.visibility=l.visibility.toString().toLowerCase()),l.mobileHA=l.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,l.queue===!1?l.delay?setTimeout(i,l.delay):i():p.queue(e,l.queue,function(e,t){return t===!0?(Y.promise&&Y.resolver(m),!0):(b.velocityQueueEntryFlag=!0,void i(e))}),""!==l.queue&&"fx"!==l.queue||"inprogress"===p.queue(e)[0]||p.dequeue(e)}var s,l,d,g,m,h,x,P=arguments[0]&&(arguments[0].p||p.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||y.isString(arguments[0].properties));if(y.isWrapped(this)?(l=!1,g=0,m=this,d=this):(l=!0,g=1,m=P?arguments[0].elements||arguments[0].e:arguments[0]),m=i(m)){P?(h=arguments[0].properties||arguments[0].p,x=arguments[0].options||arguments[0].o):(h=arguments[g],x=arguments[g+1]);var w=m.length,O=0; +if(!/^(stop|finish|finishAll)$/i.test(h)&&!p.isPlainObject(x)){var C=g+1;x={};for(var X=C;XparseFloat(r[1]))}var i=e.Velocity;if(!i||!i.Utilities)return void(t.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var o=i.Utilities,s=i.version,l={major:1,minor:1,patch:0};if(n(l,s)){var u="Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(u),new Error(u)}i.RegisterEffect=i.RegisterUI=function(e,t){function r(e,t,r,a){var n,s=0;o.each(e.nodeType?[e]:e,function(e,t){a&&(r+=e*a),n=t.parentNode;var l=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===i.CSS.getPropertyValue(t,"boxSizing").toString().toLowerCase()&&(l=["height"]),o.each(l,function(e,r){s+=parseFloat(i.CSS.getPropertyValue(t,r))})}),i.animate(n,{height:("In"===t?"+":"-")+"="+s},{queue:!1,easing:"ease-in-out",duration:r*("In"===t?.6:1)})}return i.Redirects[e]=function(n,s,l,u,c,f,p){var d=l===u-1;p=p||t.loop,"function"==typeof t.defaultDuration?t.defaultDuration=t.defaultDuration.call(c,c):t.defaultDuration=parseFloat(t.defaultDuration);for(var g=0;g1&&(o.each(t.reverse(),function(e,r){var a=t[e+1];if(a){var n=r.o||r.options,s=a.o||a.options,l=n&&n.sequenceQueue===!1?"begin":"complete",u=s&&s[l],c={};c[l]=function(){var e=a.e||a.elements,t=e.nodeType?[e]:e;u&&u.call(t,t),i(r)},a.o?a.o=o.extend({},s,c):a.options=o.extend({},s,c)}}),t.reverse()),i(t[0])}}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}),function(){function e(e){for(var t=0;t0){var r=e[t].alt.split("class=")[0],a=e[t].alt.split("class=")[1];e[t].setAttribute("alt",r),e[t].classList.add(a)}else if(e[t].alt.indexOf("id=")>0){var r=e[t].alt.split("id=")[0],n=e[t].alt.split("id=")[1];e[t].setAttribute("alt",r),e[t].id=n}}var t=document.querySelectorAll(".body-copy img");t.length<1||e(t)}(); \ No newline at end of file diff --git a/themes/hugodocs/theme.toml b/themes/hugodocs/theme.toml index a6f812d86..493743b1c 100644 --- a/themes/hugodocs/theme.toml +++ b/themes/hugodocs/theme.toml @@ -5,7 +5,7 @@ description = "" homepage = "http://gohugo.io/" tags = ["", ""] features = ["", ""] -min_version = 0.18 +min_version = 0.17 [author] name = "Ryan Watters"