Skip to content

Commit

Permalink
Allow to edit publications
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrosser committed Jan 8, 2017
1 parent 0a6a115 commit 814f126
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,13 @@ <h1>
</div>
<div class="col-xs-12 col-sm-6 col-md-9">


{% if page.title == "Publications" %}
<a style="float: right" href="https://github.com/tobig/polyhedral.info/blob/gh-pages/Publications.bib" class="btn btn-primary" role="button">Edit Publications</a>
{% else %}
<a style="float: right" href="{{site.github.repository_url}}/blob/gh-pages/{{page.path}}" class="btn btn-primary" role="button">Edit this page</a>
{% endif %}

<!-- We format the header of a blog post -->
{% if page.author %}
<div class="post">
Expand Down

0 comments on commit 814f126

Please sign in to comment.