From f1f2779e57dbdf1d2ed3c396985550abebed350e Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 23 Jan 2023 08:00:45 +0100 Subject: [PATCH] add more source options --- _layouts/plugin.html | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/_layouts/plugin.html b/_layouts/plugin.html index 45578422..c1f0a232 100644 --- a/_layouts/plugin.html +++ b/_layouts/plugin.html @@ -16,12 +16,31 @@ fullwith: true

Link section

- + {% if page.github %} +
-

Github

+

Sourcecode on GitHub

{{ page.github | remove: "https://github.com/" }}

+ {% endif %} + {% if page.gitlab %} + +
+

Sourcecode on Gitlab

+

{{ page.gitlab | remove: "https://gitlab.com/" }}

+
+
+ {% endif %} + + {% if page.source %} + +
+

Sourcecode on SCM

+

{{ page.source }}

+
+
+ {% endif %}

Categories