From 94052b285d26c57683beda6e0ae6ee0847868f09 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Wed, 13 Sep 2023 23:21:55 +0200 Subject: [PATCH] Added icons partials --- src/_includes/about.liquid | 10 +++++++++- src/_includes/page.liquid | 4 +++- src/_includes/partials/icons/github.html | 13 +++++++++++++ src/_includes/partials/icons/rss.html | 12 ++++++++++++ src/_includes/partials/icons/website.html | 11 +++++++++++ src/_includes/partials/project.liquid | 4 ++-- 6 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 src/_includes/partials/icons/github.html create mode 100644 src/_includes/partials/icons/rss.html create mode 100644 src/_includes/partials/icons/website.html diff --git a/src/_includes/about.liquid b/src/_includes/about.liquid index 52560cf..4207ecc 100644 --- a/src/_includes/about.liquid +++ b/src/_includes/about.liquid @@ -11,7 +11,15 @@ {% endif %} {{ subpage.templateContent }} {% if subpage.data.socials %} - socials here + {% endif %} diff --git a/src/_includes/page.liquid b/src/_includes/page.liquid index e907582..1b3e837 100644 --- a/src/_includes/page.liquid +++ b/src/_includes/page.liquid @@ -7,6 +7,8 @@ {% endif %} {{ subpage.templateContent }} {% if subpage.data.socials %} - socials here + {% if subpage.data.socials.github %} + {% include "partials/icons/github.html" %} + {% endif %} {% endif %} \ No newline at end of file diff --git a/src/_includes/partials/icons/github.html b/src/_includes/partials/icons/github.html new file mode 100644 index 0000000..0bbc46c --- /dev/null +++ b/src/_includes/partials/icons/github.html @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/src/_includes/partials/icons/rss.html b/src/_includes/partials/icons/rss.html new file mode 100644 index 0000000..4c05125 --- /dev/null +++ b/src/_includes/partials/icons/rss.html @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/src/_includes/partials/icons/website.html b/src/_includes/partials/icons/website.html new file mode 100644 index 0000000..caac8c9 --- /dev/null +++ b/src/_includes/partials/icons/website.html @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/src/_includes/partials/project.liquid b/src/_includes/partials/project.liquid index 9b246b8..8c0a48b 100644 --- a/src/_includes/partials/project.liquid +++ b/src/_includes/partials/project.liquid @@ -6,10 +6,10 @@