added edit button

This commit is contained in:
Tom Johnson 2015-09-18 11:22:12 -07:00
parent 7db665b395
commit d35f76b9d1
2 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,6 @@
--- ---
layout: default layout: default
--- ---
<div class="post-header"> <div class="post-header">
<h1 class="post-title-main">{% if page.homepage == true %} {{site.homepage_title}} {% else %}{{ page.title }}{% endif %}</h1> <h1 class="post-title-main">{% if page.homepage == true %} {{site.homepage_title}} {% else %}{{ page.title }}{% endif %}</h1>
</div> </div>
@ -11,11 +10,10 @@ layout: default
{% if page.summary %} {% if page.summary %}
<div class="summary">{{page.summary}}</div> <div class="summary">{{page.summary}}</div>
{% endif %} {% endif %}
{% include toc.html %}
{% include toc.html %}
{{content}} {{content}}
<a target="blank" href="http://prose.io/#tomjohnson1492/documentation-theme-jekyll/edit/gh-pages{{page.url | replace: '.html', '.md'}}"><button type="button" class="btn btn-default" aria-label="Left Align"><span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span> Edit me</button></a>
<div class="tags"> <div class="tags">
{% if page.tags != null %} {% if page.tags != null %}
<b>Tags: </b> <b>Tags: </b>

View File

@ -8,8 +8,6 @@ summary: "The top navigation provides either single links or a drop-down menu. T
published: true published: true
--- ---
## Changing the top navigation ## Changing the top navigation
The top navigation reads from the \_data/topnav_doc.yml file. There are two *separate* sections: The top navigation reads from the \_data/topnav_doc.yml file. There are two *separate* sections: