From 5d92a90bded649f69457f1e589717f861583e49c Mon Sep 17 00:00:00 2001 From: BigBlueHat Date: Tue, 20 Oct 2015 08:52:20 -0400 Subject: [PATCH] Make HTML includes for GitHub & Twitter icons Made one for each to avoid over paramaterizing the includes. Also allows for various icon formats. --- lib/site_template/_includes/footer.html | 16 ++-------------- lib/site_template/_includes/icon-github.html | 7 +++++++ lib/site_template/_includes/icon-twitter.html | 7 +++++++ 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 lib/site_template/_includes/icon-github.html create mode 100644 lib/site_template/_includes/icon-twitter.html diff --git a/lib/site_template/_includes/footer.html b/lib/site_template/_includes/footer.html index 9fbc29e3..72239f1c 100644 --- a/lib/site_template/_includes/footer.html +++ b/lib/site_template/_includes/footer.html @@ -16,25 +16,13 @@ diff --git a/lib/site_template/_includes/icon-github.html b/lib/site_template/_includes/icon-github.html new file mode 100644 index 00000000..604b6d31 --- /dev/null +++ b/lib/site_template/_includes/icon-github.html @@ -0,0 +1,7 @@ + + + {% include icon-github.svg %} + + + {{ include.username }} + diff --git a/lib/site_template/_includes/icon-twitter.html b/lib/site_template/_includes/icon-twitter.html new file mode 100644 index 00000000..25c242ec --- /dev/null +++ b/lib/site_template/_includes/icon-twitter.html @@ -0,0 +1,7 @@ + + + + {{ include.username }} +