Browse Source

Update from Forestry.io - Updated Forestry configuration

pengliabc@live.cn 6 years ago
parent
commit
291f551bcc

+ 1 - 0
.forestry/front_matter/templates/default.yml

@@ -1,4 +1,5 @@
 ---
+label: default
 hide_body: false
 is_partial: false
 fields:

+ 17 - 0
.forestry/front_matter/templates/posts.yml

@@ -1,4 +1,5 @@
 ---
+label: posts
 hide_body: false
 is_partial: false
 fields:
@@ -34,3 +35,19 @@ fields:
   type: boolean
   hidden: false
   default: true
+pages:
+- content/posts/2017/3-years-of-win10.md
+- content/posts/2017/stories-behind-amd.md
+- content/posts/2017/decided-to-buy-cuphead.md
+- content/posts/2018/hugo-deployment-webhook.md
+- content/posts/2018
+- content/posts/2018/whats-next-about-this-site.md
+- content/posts/2017
+- content/posts/2017/wp-sites-nginx-conf.md
+- content/posts/2018/hello-hugo.md
+- content/posts/2018/my-wp-theme-alchemist.md
+- content/posts/2017/what-i-learned-from-removing-seafile.md
+- content/posts/2017/my-personal-landing-page.md
+- content/posts/2017/raspberrypi-lede-setup.md
+- content/posts/2017/goodbye-my-windows-phone.md
+- content/posts/2018/lets-encrypt-wildcard-cert.md

+ 7 - 3
.forestry/settings.yml

@@ -4,11 +4,15 @@ auto_deploy: false
 admin_path: "/control"
 webhook_url: 
 sections:
-  posts:
-    default_front_matter_template: posts
+- path: content
+  label: Pages
+  create: all
+- path: content/posts
+  label: Posts
+  create: all
 upload_dir: static/uploads
 public_path: "/uploads"
 front_matter_path: ''
 use_front_matter_path: false
 file_template: ":year:/:month:/:day:/:filename:"
-version: 0.38.1
+version: '0.44'