Skip to content

Commit

Permalink
Fixed Edit button
Browse files Browse the repository at this point in the history
  • Loading branch information
hhariri committed Jul 15, 2017
1 parent 2d886f6 commit f3df104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ company_name: JetBrains
company_url: https://jetbrains.com/
# this appears in the footer

github_editme_path: ktorio/ktorio.github.io/edit/master/pages/docs/
github_editme_path: ktorio/ktorio.github.io/edit/master/
# if you're using Github, provide the basepath to the branch you've created for reviews, following the sample here. if not, leave this value blank.

disqus_shortname: ktorio-github-io
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% else %}
<h1 class="post-title-main">{{ page.title }}
{% if site.github_editme_path %}
<a target="_blank" class="gh-btn" href="https://github.com/{{site.github_editme_path}}{% unless page.url contains " index.html" %}pages/{% endunless %}{{page.folder}}{{page.url | remove: ".html" | append: ".md"}}" role="button">
<a target="_blank" class="gh-btn" href="https://github.com/{{site.github_editme_path}}{{ page.path }}" role="button">
<i class="fa fa-github"></i> Edit</a>
{% endif %}
</h1>
Expand Down

0 comments on commit f3df104

Please sign in to comment.