mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-08-26 03:52:16 +00:00
Merge pull request #210 from lvuch/lv-0605
improve this page partial for docs contributors
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
<a href="{{.Site.Params.ghdocsrepo}}/edit/master/content/{{.File.Path}}" class="btn bg-link">Edit this page <i class="material-icons">
|
||||
edit</i></a>
|
||||
Reference in New Issue
Block a user