summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/footer.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 44d60c1..2c57144 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -4,7 +4,22 @@
All the content of this site is copyright ©
2000-{{ 'now' | date: "%Y" }}
<a href="https://github.com/irssi">The Irssi project</a>. &emsp;
- <a 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>.
+ <a href="{% if site.github
+ %}{{ site.github.tar_url | replace_first: '/tarball/', '/tree/' }}{%
+ else
+ %}file://{{ site.source }}{%
+ endif
+ %}/{%
+ if page.relative_path and page.collection == "security_html"
+ %}{{ page.relative_path | replace_first: "_security_html", "_security" }}{%
+ elsif 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>.
<br/>
{% if page.licence and page.licence != "" %}
This page is licensed under a {{ page.licence | markdownify | strip | split:"</p>" | join:"" | split:"<p>" }}.