From 3f61eca72f6f2e3b3e91c43876b4688b06e2ef3f Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Thu, 11 Feb 2016 02:30:20 -0800 Subject: [PATCH] Make 'Edit this Page' opt-in instead of opt-out --- _config.yml | 1 + _layouts/docwithnav.html | 2 +- v1.1/editdocs.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 272bfc89ac..37696e9d15 100644 --- a/_config.yml +++ b/_config.yml @@ -22,4 +22,5 @@ defaults: values: version: "v1.1" versionfilesafe: "v1_1" + showedit: true permalink: pretty \ No newline at end of file diff --git a/_layouts/docwithnav.html b/_layouts/docwithnav.html index dd0dd0d0ca..8cede30dc0 100755 --- a/_layouts/docwithnav.html +++ b/_layouts/docwithnav.html @@ -28,7 +28,7 @@ layout: headerfooter {% include tree.html %} -
{% if page.hideedit != true %}Edit This Page{% endif %} +
{% if page.showedit == true %}Edit This Page{% endif %}

{{ page.title }}

{{ content }}

Analytics diff --git a/v1.1/editdocs.md b/v1.1/editdocs.md index 28a9f8e1e5..c72e297392 100644 --- a/v1.1/editdocs.md +++ b/v1.1/editdocs.md @@ -1,7 +1,7 @@ --- title: Editing the Kubernetes Documentation section: support -hideedit: true +showedit: false ---