From 2d37c5c238f3a2bd9ceb0a1db727f84b0ced994a Mon Sep 17 00:00:00 2001 From: lvuch Date: Tue, 5 Jun 2018 15:05:25 -0700 Subject: [PATCH 1/3] improve this page partial for docs contributors --- config.toml | 2 ++ layouts/_default/list.html | 2 ++ layouts/_default/single.html | 5 +++++ layouts/partials/page-edit.html | 1 + 4 files changed, 10 insertions(+) create mode 100755 layouts/partials/page-edit.html diff --git a/config.toml b/config.toml index c612e96938f..51d2eb5db80 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0c7b4d198ae..5b252d9b413 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -88,6 +88,8 @@ {{ template "_internal/pagination.html" . }} {{ partial "breadcrumbs.html" . }} + +
{{ partial "page-edit.html" . }}