docs: fix improve this doc link positioning

This commit is contained in:
Drew Rygh
2015-12-29 15:17:49 -06:00
parent b1bdc31a76
commit 4d2a32a4ab

View File

@@ -79,15 +79,6 @@ angular_controller: APIDemoCtrl <@ endif @>
<@ block body @>
<div class="improve-docs">
<a href='http://github.com/driftyco/ionic2/tree/master/<$ doc.fileInfo.relativePath $>#L<$ doc.location.start.line $>'>
View Source
</a>
&nbsp;
<a href='http://github.com/driftyco/ionic2/edit/master/<$ doc.fileInfo.relativePath $>#L<$ doc.location.start.line $>'>
Improve this doc
</a>
</div>
<@ block content @>
@@ -117,6 +108,10 @@ Delegate: <$ doc.delegate $>
</h1>
<a class="improve-component-docs" href='http://github.com/driftyco/ionic2/edit/master/<$ doc.fileInfo.relativePath $>#L<$ doc.location.start.line $>'>
Improve this doc
</a>
<@ if doc.codepen @>
{% include codepen.html id="<$ doc.codepen $>" %}
<@ endif @>