Make 'Edit this Page' opt-in instead of opt-out
parent
8b62b8c823
commit
3f61eca72f
|
@ -22,4 +22,5 @@ defaults:
|
|||
values:
|
||||
version: "v1.1"
|
||||
versionfilesafe: "v1_1"
|
||||
showedit: true
|
||||
permalink: pretty
|
|
@ -28,7 +28,7 @@ layout: headerfooter
|
|||
{% include tree.html %}
|
||||
</div> <!-- /pi-accordion -->
|
||||
</div> <!-- /docsToc -->
|
||||
<div id="docsContent">{% if page.hideedit != true %}<a href="/{{ page.version }}/editdocs#{{ page.path }}" class="button" style="float:right;margin-top:20px;">Edit This Page</a>{% endif %}
|
||||
<div id="docsContent">{% if page.showedit == true %}<a href="/{{ page.version }}/editdocs#{{ page.path }}" class="button" style="float:right;margin-top:20px;">Edit This Page</a>{% endif %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ content }}
|
||||
<p><a href=""><img src="https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt="Analytics" /></a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Editing the Kubernetes Documentation
|
||||
section: support
|
||||
hideedit: true
|
||||
showedit: false
|
||||
---
|
||||
|
||||
<script language="JavaScript">
|
||||
|
|
Loading…
Reference in New Issue