浏览代码

demo: disable editing and commenting on Terms & Privacy pages

Julian Pawlowski 6 年之前
父节点
当前提交
8688f1d4af
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      exampleSite/content/privacy.md
  2. 2 0
      exampleSite/content/terms.md

+ 2 - 0
exampleSite/content/privacy.md

@@ -3,6 +3,8 @@ title: Privacy Policy
 date: "2018-06-28T00:00:00+01:00"
 draft: true
 share: false
+commentable: false
+editable: false
 
 # Optional header image (relative to `static/img/` folder).
 header:

+ 2 - 0
exampleSite/content/terms.md

@@ -3,6 +3,8 @@ title: Terms
 date: "2018-06-28T00:00:00+01:00"
 draft: true
 share: false
+commentable: false
+editable: false
 
 # Optional header image (relative to `static/img/` folder).
 header: