Skip to content

Commit 13992d4

Browse files
committed
Remove source link (fixes #559)
1 parent ba1b098 commit 13992d4

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

_includes/footer.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
{%- capture edit_link -%}{% github_edit_link "source" %}{%- endcapture -%}
2-
{%- if page.paginated and paginator.page > 1 -%}
3-
{%- assign first_page = site.pages | where_exp: 'p','p.paginated == true' | sort: 'path' | first -%}
4-
{%- assign edit_link = edit_link | replace: page.path, first_page.path -%}
5-
{%- endif -%}
61
<footer>
72
<div class="container">
83
<p class="copy">
94
&copy; <a href="{{ site.github.owner_url }}/{{ site.github.owner_name }}.github.io#licence">{{ site.time | date: '%Y' }} {{ site.title }}</a>.
10-
<span class="powered">Powered by <a href="https://jekyllrb.com">Jekyll</a> / <a href="https://pages.github.com/">GitHub Pages</a>
11-
<span class="source-link">({{ edit_link | replace_first: '/edit/','/blob/' }})</span></span>
5+
<span class="powered">Powered by <a href="https://jekyllrb.com">Jekyll</a> / <a href="https://pages.github.com/">GitHub Pages</a></span>
126
</p>
137

148
<div class="footer-links">

0 commit comments

Comments
 (0)