From 0cb9553a13e5fa90cd3a6423b36f42cd7540ab19 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Thu, 16 Jun 2016 21:00:05 -0400 Subject: [PATCH] Add link to edit content --- _config.yml | 2 ++ _layouts/article.html | 8 ++++++++ stylesheets/main.scss | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/_config.yml b/_config.yml index 582809370db..725f27a1104 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,6 @@ baseurl: "/open-source-handbook" +branch: gh-pages + google_tracking_id: UA-3769691-29 exclude: - config.ru diff --git a/_layouts/article.html b/_layouts/article.html index 271b5c0a144..a3b2df1b887 100644 --- a/_layouts/article.html +++ b/_layouts/article.html @@ -28,6 +28,14 @@

{{ page.title }}

{% endif %} +
+ + + Suggest edits + +
+ +
{{ content }} diff --git a/stylesheets/main.scss b/stylesheets/main.scss index 16fd5c47d07..4862c6a0a35 100644 --- a/stylesheets/main.scss +++ b/stylesheets/main.scss @@ -498,3 +498,21 @@ ol.toc>li a.active { padding: 0; } } + +.light-button { + color: #bbb; + font-size: 13px; + padding: 5px 10px; + border-radius: 4px; + border: 1px solid #eee; + + &:hover { + color: #999; + background: #fafafa; + } + + .octicon { + font-size: inherit; + margin-right: 2px; + } +}