Skip to content

Commit

Permalink
admin config
Browse files Browse the repository at this point in the history
  • Loading branch information
lkleuver committed Oct 21, 2023
1 parent accda46 commit 289aabc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 18 deletions.
6 changes: 6 additions & 0 deletions admin/config.local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
local_backend: true
publish_mode: editorial_workflow
site_url: http://localhost:3000
backend:
name: git-gateway
branch: main
6 changes: 6 additions & 0 deletions admin/config.prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
publish_mode: editorial_workflow
site_url: https://beta.divd.nl
backend:
name: github
repo: DIVD-NL/web-www-v2
branch: main
35 changes: 18 additions & 17 deletions admin/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
local_backend: true
publish_mode: editorial_workflow
site_url: http://localhost:1313
site_url: https://beta.divd.nl
backend:
name: git-gateway
name: github
repo: DIVD-NL/web-www-v2
branch: main

media_folder: /assets/images
Expand All @@ -19,7 +19,7 @@ collections:
slug: "_index"
i18n: true
folder: "content"
create: true
create: false
fields:
- {
label: "Title",
Expand Down Expand Up @@ -95,7 +95,7 @@ collections:
file: "content/faq/_index.md"
folder: "content/faq"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -145,7 +145,7 @@ collections:
name: "testimonials"
folder: "content/testimonials"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -174,7 +174,7 @@ collections:
label: "Contact"
folder: "content/contact"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -213,7 +213,7 @@ collections:
name: "newsroom"
folder: "content/newsroom"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -318,7 +318,7 @@ collections:
label: "Contribute"
folder: "content/contribute"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -441,7 +441,7 @@ collections:
label: "Partners"
folder: "content/contribute/partners"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "type"
Expand Down Expand Up @@ -516,7 +516,7 @@ collections:
folder: "content/contribute/volunteers"
slug: "_index"
i18n: true
create: true
create: false
fields:
- label: "type"
name: "type"
Expand Down Expand Up @@ -563,7 +563,7 @@ collections:
label: "What we do"
folder: "content/what-we-do"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -632,7 +632,7 @@ collections:
label: "Code of conduct"
folder: "content/what-we-do/code-of-conduct"
slug: "_index"
create: true
create: false
i18n: true
fields:
- {
Expand All @@ -654,7 +654,7 @@ collections:
label: "Who we are"
folder: "content/who-we-are"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -716,7 +716,7 @@ collections:
label: "Team"
folder: "content/who-we-are/team"
slug: "_index"
create: true
create: false
i18n: true
fields:
- label: "Title"
Expand Down Expand Up @@ -763,7 +763,8 @@ collections:
label: "Image",
name: "image",
widget: "image",
media_folder: "/public/static/people",
public_folder: "/images/people",
media_folder: "/assets/images/people",
required: false,
}
- { label: "Role", name: "role", widget: "string" }
Expand All @@ -783,7 +784,7 @@ collections:
label: "Blocks"
folder: "content/block"
slug: "_index"
create: true
create: false
i18n: true
fields:
# BLOCK: Ethics #####################################################
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build:
npm install
hugo
hugo --minify
npm run postbuild

admin:
Expand Down

0 comments on commit 289aabc

Please sign in to comment.