1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 21:44:51 +02:00

Fix edit links. Oops!

This commit is contained in:
Rico Sta. Cruz
2017-10-11 08:50:33 +08:00
parent 9fae72451d
commit eb423cabc5
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ Params:
{% unless include.noedit %}
<ul class='page-actions'>
<li class='link github -button hint--bottom' data-hint='{{ site.data.content.top_nav.edit_on_github }}'>
<a href='{{ site.github.repository_url }}/blob/gh-pages/{{ page.path | remove: '.html' }}'>
<a href='{{ site.github.repository_url }}/blob/master/{{ page.path | remove: '.html' }}'>
<span class='text -visible'>{{ site.data.content.top_nav.edit }}</span>
</a>
</li>

View File

@@ -29,7 +29,7 @@
{% if page.tags contains 'WIP' %}
<aside class='notice-box'>
This page is a work in progress. You can help by <a href='{{ site.github.repository_url }}/blob/gh-pages/{{ page.path | remove: '.html' }}'>suggesting edits</a>!
This page is a work in progress. You can help by <a href='{{ site.github.repository_url }}/blob/master/{{ page.path | remove: '.html' }}'>suggesting edits</a>!
</aside>
{% endif %}