improve this page partial for docs contributors

This commit is contained in:
lvuch
2018-06-05 15:05:25 -07:00
parent 8e98c80e9c
commit 2d37c5c238
4 changed files with 10 additions and 0 deletions
+2
View File
@@ -14,6 +14,8 @@ pygmentsCodeFencesGuessSyntax=true
[params]
addThis = "ra-5af1cc6793d86bfb"
### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
ghdocsrepo = "https://github.com/rancher/docs"
[outputFormats.Search]
baseName = "search"
+2
View File
@@ -88,6 +88,8 @@
</div>
{{ template "_internal/pagination.html" . }}
{{ partial "breadcrumbs.html" . }}
<div class="p-v-xs">{{ partial "page-edit.html" . }}</div>
</article>
<div class="offset-watch invisible"></div>
<aside class="col-sm-3 col-xs-12 unstyled toc-container hidden-md">
+5
View File
@@ -40,6 +40,8 @@
</div>
{{ partial "breadcrumbs.html" . }}
<div class="p-v-sm">{{ partial "page-edit.html" . }}</div>
</article>
<div class="offset-watch invisible"></div>
<aside class="col-sm-3 col-xs-12 unstyled toc-container">
@@ -47,5 +49,8 @@
{{ .TableOfContents }}
</aside>
</div>
</div>
{{ end }}
+1
View File
@@ -0,0 +1 @@
<a href="{{.Site.Params.ghrepo}}edit/master/content/{{ .Lang }}/{{.File.Path}}" class="btn bg-link">Improve this page</a>