aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/icons.html32
-rw-r--r--_includes/sidebar.html64
2 files changed, 0 insertions, 96 deletions
diff --git a/_includes/icons.html b/_includes/icons.html
deleted file mode 100644
index d95b697..0000000
--- a/_includes/icons.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<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>
diff --git a/_includes/sidebar.html b/_includes/sidebar.html
deleted file mode 100644
index 97b5d4f..0000000
--- a/_includes/sidebar.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<div class="sidebar">
- <div class="container sidebar-sticky">
- <div class="sidebar-about">
- <!-- Header -->
- <a href="{{ site.baseurl | uri_escape }}">
- {% if page.id == "index" %}
- <h1>{{ site.title | smartify | strip_html | normalize_whitespace }}</h1>
- {% else %}
- <h1>{{ page.title | smartify | strip_html | normalize_whitespace }}</h1>
- {% endif %}
- </a>
-
- <!-- Description -->
- <p class="lead">
- {% if page.id == "index" %}
- {{ site.description | smartify | strip_html | normalize_whitespace }}
- {% else %}
- {{ page.description | smartify | strip_html | normalize_whitespace }}
- {% endif %}
- </p>
- </div>
-
- <!-- Navigation -->
- <nav class="sidebar-nav">
- {% for node in site.pages reversed %}
- {% if node.sidebar == true %}
- <a class="sidebar-nav-item {% if page.url == node.url %}active{% endif %}" href="{{ node.url | relative_url | uri_escape }}">
- {{ node.title | smartify | strip_html | normalize_whitespace }}
- </a>
- {% endif %}
- {% endfor %}
- </nav>
-
- <!-- Additional elements -->
- <nav class="sidebar-nav fa-sm">
- {% if site.rss %}
- <a class="sidebar-nav-icon" href="{{ site.rss | relative_url | uri_escape }}">
- <i class="fas fa-rss"></i>
- </a>
- {% endif %}
-
- {% if site.author.email %}
- <a class="sidebar-nav-icon" href="mailto:{{ site.author.email | uri_escape }}">
- <i class="fas fa-envelope-open"></i>
- </a>
- {% endif %}
-
- {% if site.links.twitter %}
- <a class="sidebar-nav-icon" href="{{ site.links.twitter | uri_escape }}">
- <i class="fab fa-twitter"></i>
- </a>
- {% endif %}
-
- {% if site.links.github %}
- <a class="sidebar-nav-icon" href="{{ site.links.github | uri_escape }}">
- <i class="fab fa-github"></i>
- </a>
- {% endif %}
- </nav>
-
- <!-- Copyright -->
- <p>&copy; {{ site.time | date: "%Y" }}. All rights reserved.</p>
- </div>
-</div>