mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
Update from Forestry.io - Updated Forestry configuration
This commit is contained in:
parent
f07d5dc515
commit
e65f321340
41
exampleSite/.forestry/settings.yml
Normal file
41
exampleSite/.forestry/settings.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
new_page_extension: md
|
||||||
|
auto_deploy: false
|
||||||
|
admin_path:
|
||||||
|
webhook_url:
|
||||||
|
sections:
|
||||||
|
- type: directory
|
||||||
|
path: exampleSite/content/categories
|
||||||
|
label: Categories
|
||||||
|
create: all
|
||||||
|
match: "**/*"
|
||||||
|
- type: directory
|
||||||
|
path: exampleSite/content/page
|
||||||
|
label: Page
|
||||||
|
create: all
|
||||||
|
match: "**/*"
|
||||||
|
- type: directory
|
||||||
|
path: exampleSite/content/post
|
||||||
|
label: Post
|
||||||
|
create: all
|
||||||
|
match: "**/*"
|
||||||
|
- type: directory
|
||||||
|
path: exampleSite/content
|
||||||
|
label: Pages
|
||||||
|
create: all
|
||||||
|
match: "*"
|
||||||
|
upload_dir: exampleSite/static/uploads
|
||||||
|
public_path: "/uploads"
|
||||||
|
front_matter_path: ''
|
||||||
|
use_front_matter_path: false
|
||||||
|
file_template: ":filename:"
|
||||||
|
build:
|
||||||
|
preview_env:
|
||||||
|
- HUGO_ENV=staging
|
||||||
|
- HUGO_VERSION=0.81.0
|
||||||
|
preview_output_directory: public
|
||||||
|
preview_docker_image: forestryio/hugo:latest
|
||||||
|
mount_path: "/srv"
|
||||||
|
working_dir: "/srv"
|
||||||
|
instant_preview_command: hugo server -D -E -F --renderToDisk -d public
|
||||||
|
version: 0.81.0
|
Loading…
Reference in New Issue
Block a user