Skip to content

Commit

Permalink
modified netlify and forestry
Browse files Browse the repository at this point in the history
  • Loading branch information
somrat committed Dec 11, 2019
1 parent c32fa8d commit 8ea9fb7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 38 deletions.
16 changes: 8 additions & 8 deletions exampleSite/.forestry/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ sections:
- type: heading
label: Blog Post
- type: directory
path: content/english/blog
path: exampleSite/content/english/blog
label: Post (en)
create: documents
match: "**/*"
new_doc_ext: '20191203072044'
templates:
- post
- type: directory
path: content/french/blog
path: exampleSite/content/french/blog
label: Post (fr)
create: documents
match: "**/*"
Expand All @@ -24,14 +24,14 @@ sections:
- type: heading
label: Author
- type: directory
path: content/english/author
path: exampleSite/content/english/author
label: Author (en)
create: documents
match: "**/*"
templates:
- author
- type: directory
path: content/french/author
path: exampleSite/content/french/author
label: Author (fr)
create: documents
match: "**/*"
Expand All @@ -40,24 +40,24 @@ sections:
- type: heading
label: Data
- type: directory
path: data
path: exampleSite/data
label: Homepage
create: all
match: "**/*"
- type: directory
path: i18n
path: exampleSite/i18n
label: i18n
create: documents
match: "**/*"
- type: heading
label: Configuration
- type: directory
path: ''
path: exampleSite
label: Configuration
create: all
match: "*.toml"
new_doc_ext: toml
upload_dir: static/images
upload_dir: exampleSite/static/images
public_path: "/images"
front_matter_path: ''
use_front_matter_path: false
Expand Down
30 changes: 0 additions & 30 deletions exampleSite/netlify.toml

This file was deleted.

7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --themesDir ../.."

[build.environment]
HUGO_VERSION = "0.60.1"
HUGO_THEME = "repo"

0 comments on commit 8ea9fb7

Please sign in to comment.