summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorAilin Nemui <ailin@z30a.localdomain>2017-05-24 16:09:59 +0200
committerAilin Nemui <ailin@z30a.localdomain>2017-05-24 17:31:24 +0200
commitf8991dd88cf1b6283127f5a240997a13b0f19073 (patch)
treef09ae12ef32573c31ba2dca8fdbe7cb291ac7c8b /_includes
parentfefc75e2c2e65605c173a05e696f88c04caa1e63 (diff)
downloadirssi.github.io-f8991dd88cf1b6283127f5a240997a13b0f19073.zip
add source link
Diffstat (limited to '_includes')
-rw-r--r--_includes/footer.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 9e1f23e..a950573 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,9 +1,11 @@
<footer class="container">
<div class="col-lg-12">
- <p class="text-center">
+ <p class="text-center hidden-edit">
+ <a class="hidden-edit" href="{% if site.github %}{{ site.github.tar_url | replace_first: '/tarball/', '/tree/' }}{% else %}file://{{ site.source }}{% endif %}/{% if page.relative_path %}{{ page.relative_path }}{% elsif paginator and paginator.page > 1 %}{% assign temp0 = "/" | append: paginator.page | append: "/" %}{{ page.path | replace_first: temp0, "/" }}{% else %}{{ page.path }}{% endif %}">Source file</a><span class="hidden-edit"> &ndash;</span>
All the content of this site is copyright ©
2000-{{ 'now' | date: "%Y" }}
<a href="https://github.com/irssi">The Irssi project</a>.
+ <span class="hidden-balance"></span>
<br/>
{% if page.licence and page.licence != "" %}
This page is licensed under a {{ page.licence | markdownify | strip | split:"</p>" | join:"" | split:"<p>" }}.