From 22b944f715e2695e2d73d8b10ffbd843165c05a8 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Fri, 14 Apr 2017 10:14:20 +0200 Subject: fixed edit on index --- _layouts/default.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 1bb957e..ac17a8c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,6 +1,7 @@ + {% capture url %}{% if page.url == "/" %}/index.html{% else %}{{ page.url | default: 'index.html' }}{% endif %}{% endcapture %} {{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }} @@ -34,17 +35,17 @@
{{page.relative_path}} - {% if page.url contains "/wiki/" and site.use_github_wiki %} - Edit - History - Source + {% if site.use_github_wiki %} + Edit + History + Source {% else %} - Edit + Edit {% if site.use_prose_io %} - Edit with Prose.io + Edit with Prose.io {% endif %} - History - Source + History + Source {% endif %} {% if site.google_cse_token %} -- cgit