From 4563010045849c5a6ffd05db0ba7df57a89b8b86 Mon Sep 17 00:00:00 2001 From: "ziyad@zbmed.de" Date: Fri, 15 Sep 2023 11:37:08 +0200 Subject: [PATCH] - Issue #82 resolved --- _layouts/default.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 89eb1523..0936412f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -157,10 +157,19 @@ {% include aside.html %}
+ + + {% if page.url != "/" %} + + {% assign git_url = page.url | replace_first:'/', '_' | prepend:'docs/' %} + {% else %} + + {% assign git_url = page.url | replace_first:'/', 'docs/_Getting-Started/01-introduction' %} + {% endif %}
View on GitHub @@ -209,6 +218,12 @@

{{ page.title }}

{{content}} + + {% if page.empty %} +

This page is currently empty. Please consider contributing!

+ {% endif %} + +