diff --git a/website/package.json b/website/package.json index 83a9ca39..81971acb 100755 --- a/website/package.json +++ b/website/package.json @@ -35,7 +35,7 @@ "gulp-rename": "^1.2.2", "gulp-transform": "^3.0.5", "gulp-util": "^3.0.7", - "hugo-bin": "^0.18.0", + "hugo-bin": "^0.23.0", "imports-loader": "^0.6.5", "postcss-at2x": "^2.0.0", "postcss-colour-functions": "^1.5.1", diff --git a/website/site/content/docs/widgets/boolean.md b/website/site/content/docs/widgets/boolean.md index 7105a9bb..4aa65713 100644 --- a/website/site/content/docs/widgets/boolean.md +++ b/website/site/content/docs/widgets/boolean.md @@ -1,7 +1,6 @@ --- label: "Boolean" target: "boolean" -type: "widget" --- ### Boolean diff --git a/website/site/content/docs/widgets/date.md b/website/site/content/docs/widgets/date.md index 05f2e659..7eae7d4f 100644 --- a/website/site/content/docs/widgets/date.md +++ b/website/site/content/docs/widgets/date.md @@ -1,7 +1,6 @@ --- label: "Date" target: "date" -type: "widget" --- ### Date diff --git a/website/site/content/docs/widgets/datetime.md b/website/site/content/docs/widgets/datetime.md index b6e4d91c..8e892b74 100644 --- a/website/site/content/docs/widgets/datetime.md +++ b/website/site/content/docs/widgets/datetime.md @@ -1,7 +1,6 @@ --- label: "DateTime" target: "datetime" -type: "widget" --- ### DateTime diff --git a/website/site/content/docs/widgets/file.md b/website/site/content/docs/widgets/file.md index a332a1b4..4b0bdb77 100644 --- a/website/site/content/docs/widgets/file.md +++ b/website/site/content/docs/widgets/file.md @@ -1,7 +1,6 @@ --- label: "File" target: "file" -type: "widget" --- ### File diff --git a/website/site/content/docs/widgets/hidden.md b/website/site/content/docs/widgets/hidden.md index 6a17db73..8f18b566 100644 --- a/website/site/content/docs/widgets/hidden.md +++ b/website/site/content/docs/widgets/hidden.md @@ -1,7 +1,6 @@ --- label: "Hidden" target: "hidden" -type: "widget" --- ### Hidden diff --git a/website/site/content/docs/widgets/image.md b/website/site/content/docs/widgets/image.md index afaed0cd..534c3bcc 100644 --- a/website/site/content/docs/widgets/image.md +++ b/website/site/content/docs/widgets/image.md @@ -1,7 +1,6 @@ --- label: "Image" target: "image" -type: "widget" --- ### Image diff --git a/website/site/content/docs/widgets.md b/website/site/content/docs/widgets/index.md similarity index 100% rename from website/site/content/docs/widgets.md rename to website/site/content/docs/widgets/index.md diff --git a/website/site/content/docs/widgets/list.md b/website/site/content/docs/widgets/list.md index 9364a399..38125ba8 100644 --- a/website/site/content/docs/widgets/list.md +++ b/website/site/content/docs/widgets/list.md @@ -1,7 +1,6 @@ --- label: "List" target: "list" -type: "widget" --- ### List diff --git a/website/site/content/docs/widgets/markdown.md b/website/site/content/docs/widgets/markdown.md index 58034cb1..e2b0cc08 100644 --- a/website/site/content/docs/widgets/markdown.md +++ b/website/site/content/docs/widgets/markdown.md @@ -1,7 +1,6 @@ --- label: "Markdown" target: "markdown" -type: "widget" --- ### Markdown diff --git a/website/site/content/docs/widgets/number.md b/website/site/content/docs/widgets/number.md index 027705e5..f90014a2 100644 --- a/website/site/content/docs/widgets/number.md +++ b/website/site/content/docs/widgets/number.md @@ -1,7 +1,6 @@ --- label: "Number" target: "number" -type: "widget" --- ### Number diff --git a/website/site/content/docs/widgets/object.md b/website/site/content/docs/widgets/object.md index 83a1dcb3..38513415 100644 --- a/website/site/content/docs/widgets/object.md +++ b/website/site/content/docs/widgets/object.md @@ -1,7 +1,6 @@ --- label: "Object" target: "object" -type: "widget" --- ### Object diff --git a/website/site/content/docs/widgets/relation.md b/website/site/content/docs/widgets/relation.md index 97eb024e..c431884f 100644 --- a/website/site/content/docs/widgets/relation.md +++ b/website/site/content/docs/widgets/relation.md @@ -1,7 +1,6 @@ --- label: "Relation" target: "relation" -type: "widget" --- ### Relation diff --git a/website/site/content/docs/widgets/select.md b/website/site/content/docs/widgets/select.md index d5e7fda6..2c527169 100644 --- a/website/site/content/docs/widgets/select.md +++ b/website/site/content/docs/widgets/select.md @@ -1,7 +1,6 @@ --- label: "Select" target: "select" -type: "widget" --- ### Select diff --git a/website/site/content/docs/widgets/string.md b/website/site/content/docs/widgets/string.md index 8d62c7ed..c5b2c114 100644 --- a/website/site/content/docs/widgets/string.md +++ b/website/site/content/docs/widgets/string.md @@ -1,7 +1,6 @@ --- label: "String" target: "string" -type: "widget" --- ### String diff --git a/website/site/content/docs/widgets/text.md b/website/site/content/docs/widgets/text.md index 2898c897..d0ff72df 100644 --- a/website/site/content/docs/widgets/text.md +++ b/website/site/content/docs/widgets/text.md @@ -1,7 +1,6 @@ --- label: "Text" target: "text" -type: "widget" --- ### Text diff --git a/website/site/layouts/partials/widgets.html b/website/site/layouts/partials/widgets.html index 6327195b..dfa2ea95 100644 --- a/website/site/layouts/partials/widgets.html +++ b/website/site/layouts/partials/widgets.html @@ -1,11 +1,11 @@
- {{- range $index, $widget := where .Site.RegularPages "Type" "eq" "widget" -}} + {{- range $index, $widget := .Resources -}} {{.Params.label}} {{- end -}}
- {{- range $index, $widget := where .Site.RegularPages "Type" "eq" "widget" -}} + {{- range $index, $widget := .Resources -}}
{{.Content}}
diff --git a/website/yarn.lock b/website/yarn.lock index 18831883..de30b8e1 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -2908,9 +2908,9 @@ https-browserify@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" -hugo-bin@^0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/hugo-bin/-/hugo-bin-0.18.0.tgz#db59433ce60b7d756cce5afe53028c3968834fc5" +hugo-bin@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/hugo-bin/-/hugo-bin-0.23.0.tgz#d93101aff9809caecbb25271c7eef8c4442dfc61" dependencies: bin-wrapper "3.0.2" del-cli "1.1.0"