Add an edit link so users can contribute easily.

This commit is contained in:
Parker Moore
2015-03-27 13:02:02 -07:00
parent 1aeb8a3305
commit b899c61bbc
2 changed files with 11 additions and 2 deletions

View File

@@ -157,6 +157,10 @@ $on-laptop: 900px;
color: $color-white;
}
.right {
float: right;
}
/*============================================================================
Index
==============================================================================*/

View File

@@ -6,7 +6,12 @@ layout: page
{% for doc in site.filters %}
<h3 class="component-link" id="{{ doc.title }}">{{ doc.title }}</h3>
<p>
<div>
<span class="right">
<a href="https://github.com/Shopify/liquid/edit/gh-pages/{{ doc.relative_path }}">
Improve documentation for {{doc.title}}.
</a>
</span>
{{ doc.output }}
</p>
</div>
{% endfor %}