Skip to content

Commit

Permalink
Edit pages on Github link (#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Feb 16, 2018
1 parent 7de373e commit d4b78b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/_includes/css/sitespeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,12 @@ vertical-align: middle;
width: 32px;
}

.fastly {
vertical-align: middle;
height: 32px;
.edit {
float: right;
font-size: 0.8rem;
line-height: 1.0;
letter-spacing: 0;
padding: 5px;
}

.digitalocean {
Expand Down
5 changes: 5 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
<div class="col-1-1">
{{ content }}
</div>
<div class="col-1-1">
<div class="edit">
<a href="{{ page.path | prepend: "https://github.com/sitespeedio/sitespeed.io/edit/master/docs/" }}">Edit on Github</a>
</div>
</div>
</div>
</div>

Expand Down

0 comments on commit d4b78b5

Please sign in to comment.