aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <valentineus@gmail.com>2018-04-07 03:00:10 +0300
committerValentin Popov <valentineus@gmail.com>2018-04-07 03:00:10 +0300
commit5dda7f33bbdbcb1cc3434a8f14be0e572d6cbef5 (patch)
tree9135a173723bf8c21eca0bc53280e5ad0563b1cc /_includes
parent8082a0b4a35eff333e329d94150ccd98cf136736 (diff)
downloadpopov.link-5dda7f33bbdbcb1cc3434a8f14be0e572d6cbef5.tar.xz
popov.link-5dda7f33bbdbcb1cc3434a8f14be0e572d6cbef5.zip
File with icons
Signed-off-by: Valentin Popov <valentineus@gmail.com>
Diffstat (limited to '_includes')
-rw-r--r--_includes/icons.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/_includes/icons.html b/_includes/icons.html
new file mode 100644
index 0000000..d95b697
--- /dev/null
+++ b/_includes/icons.html
@@ -0,0 +1,32 @@
+<section class="icons">
+ <div class="container">
+ <div class="content">
+ <div class="fa-sm">
+ <!-- RSS -->
+ {% if site.rss %}
+ <a href="{{ site.rss | relative_url | uri_escape }}" target="_blank" rel="nofollow">
+ <i class="fas fa-rss"></i>
+ </a>
+ {% endif %}
+ <!-- E-Mail -->
+ {% if site.author.email %}
+ <a href="mailto:{{ site.author.email | uri_escape }}" target="_blank" rel="nofollow">
+ <i class="fas fa-envelope-open"></i>
+ </a>
+ {% endif %}
+ <!-- Twitter -->
+ {% if site.links.twitter %}
+ <a href="{{ site.links.twitter | uri_escape }}" target="_blank" rel="nofollow">
+ <i class="fab fa-twitter"></i>
+ </a>
+ {% endif %}
+ <!-- GitHub -->
+ {% if site.links.github %}
+ <a href="{{ site.links.github | uri_escape }}" target="_blank" rel="nofollow">
+ <i class="fab fa-github"></i>
+ </a>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+</section>