From a9575d934d387e93cb5ff3ca1f5c51c4422f8875 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 31 Dec 2018 12:44:35 +0100 Subject: Implemented external links icon (wikipedia style) --- _includes/git-wiki/sections/content/content.html | 4 +- _layouts/git-wiki-blog.html | 2 +- _layouts/git-wiki-bs-lux.html | 6 +- _layouts/git-wiki-bs-united.html | 4 +- _sass/git-wiki-style.scss | 288 +++++++++++++---------- assets/images/external-link-ltr-icon.png | Bin 0 -> 151 bytes assets/images/external.svg | 1 + assets/js/red-links.js | 5 +- 8 files changed, 175 insertions(+), 135 deletions(-) create mode 100644 assets/images/external-link-ltr-icon.png create mode 100644 assets/images/external.svg diff --git a/_includes/git-wiki/sections/content/content.html b/_includes/git-wiki/sections/content/content.html index 58e4421..5d57689 100644 --- a/_includes/git-wiki/sections/content/content.html +++ b/_includes/git-wiki/sections/content/content.html @@ -1,4 +1,4 @@ -
+
{% include git-wiki/sections/tools/tools.html %} @@ -17,7 +17,7 @@ {% include {{ site.inc_before_content }} %} {% endif %} -
+
{{ content }}
diff --git a/_layouts/git-wiki-blog.html b/_layouts/git-wiki-blog.html index a934b72..ae6b994 100644 --- a/_layouts/git-wiki-blog.html +++ b/_layouts/git-wiki-blog.html @@ -9,7 +9,7 @@ layout: git-wiki-default

{{ post.date | date: "%-d %B %Y"}}

-
+
{{ post.excerpt }} ...Read all diff --git a/_layouts/git-wiki-bs-lux.html b/_layouts/git-wiki-bs-lux.html index 3de9169..1e5363a 100644 --- a/_layouts/git-wiki-bs-lux.html +++ b/_layouts/git-wiki-bs-lux.html @@ -22,7 +22,7 @@ {% comment %} Hacky-Fix for lux theme {% endcomment %}