Skip to content

Commit

Permalink
Use Hugo page bundles.
Browse files Browse the repository at this point in the history
  • Loading branch information
tech4him1 authored and erquhart committed Mar 29, 2018
1 parent 77a7c36 commit 5d94af8
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/boolean.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Boolean"
target: "boolean"
type: "widget"
---

### Boolean
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/date.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Date"
target: "date"
type: "widget"
---

### Date
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/datetime.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "DateTime"
target: "datetime"
type: "widget"
---

### DateTime
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/file.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "File"
target: "file"
type: "widget"
---

### File
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/hidden.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Hidden"
target: "hidden"
type: "widget"
---

### Hidden
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/image.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Image"
target: "image"
type: "widget"
---

### Image
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/list.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "List"
target: "list"
type: "widget"
---

### List
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/markdown.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Markdown"
target: "markdown"
type: "widget"
---

### Markdown
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/number.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Number"
target: "number"
type: "widget"
---

### Number
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/object.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Object"
target: "object"
type: "widget"
---

### Object
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/relation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Relation"
target: "relation"
type: "widget"
---

### Relation
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/select.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Select"
target: "select"
type: "widget"
---

### Select
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/string.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "String"
target: "string"
type: "widget"
---

### String
Expand Down
1 change: 0 additions & 1 deletion website/site/content/docs/widgets/text.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
label: "Text"
target: "text"
type: "widget"
---

### Text
Expand Down
4 changes: 2 additions & 2 deletions website/site/layouts/partials/widgets.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<section class="widgets">
<div class="widgets__cloud">
{{- range $index, $widget := where .Site.RegularPages "Type" "eq" "widget" -}}
{{- range $index, $widget := .Resources -}}
<span class="widgets__item {{if eq $index 0}}widgets__item_active{{end}}" data-widget-target="{{.Params.target}}">{{.Params.label}}</span>
{{- end -}}
</div>
<div class="widgets__container">
{{- range $index, $widget := where .Site.RegularPages "Type" "eq" "widget" -}}
{{- range $index, $widget := .Resources -}}
<div class="widget {{if eq $index 0}}widget_open{{end}}" id="{{.Params.target}}">
{{.Content}}
</div>
Expand Down
6 changes: 3 additions & 3 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2908,9 +2908,9 @@ [email protected]:
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"
Expand Down

0 comments on commit 5d94af8

Please sign in to comment.