mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
42 lines
891 B
YAML
42 lines
891 B
YAML
---
|
|
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
|