aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/head.html1
-rw-r--r--_includes/icon/home-round.svg1
-rw-r--r--_includes/icon/search-round.svg1
-rw-r--r--_includes/navbar.html14
-rw-r--r--_includes/tags.html4
5 files changed, 19 insertions, 2 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 09ade8d..a3f2a9a 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -11,3 +11,4 @@
<link rel="stylesheet" href="/css/search.css">
<link rel="stylesheet" href="/css/tags.css">
<link rel="stylesheet" href="/css/theme.css">
+<link rel="stylesheet" href="/css/separator.css">
diff --git a/_includes/icon/home-round.svg b/_includes/icon/home-round.svg
new file mode 100644
index 0000000..57039b4
--- /dev/null
+++ b/_includes/icon/home-round.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z"></path></svg>
diff --git a/_includes/icon/search-round.svg b/_includes/icon/search-round.svg
new file mode 100644
index 0000000..e79a75c
--- /dev/null
+++ b/_includes/icon/search-round.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></svg>
diff --git a/_includes/navbar.html b/_includes/navbar.html
new file mode 100644
index 0000000..88092e7
--- /dev/null
+++ b/_includes/navbar.html
@@ -0,0 +1,14 @@
+<div class="globalLinks">
+ <a href="/" class="indentLevel0 link navbarItem {% if include.page == "index" %}active{% endif %}">
+ <div class="inner">
+ <div class="icon">{% include icon/home-round.svg %}</div>
+ <span class="title">Home</span>
+ </div>
+ </a>
+ <a href="/search" class="indentLevel0 link navbarItem {% if include.page == "search" %}active{% endif %}">
+ <div class="inner">
+ <div class="icon">{% include icon/search-round.svg %}</div>
+ <span class="title">Search for posts</span>
+ </div>
+ </a>
+</div>
diff --git a/_includes/tags.html b/_includes/tags.html
index c392d3a..8fc9383 100644
--- a/_includes/tags.html
+++ b/_includes/tags.html
@@ -1,6 +1,6 @@
<div class="tags">
<span>Tags:</span>
- {% for tag in include.tags %}
+ {%- for tag in include.tags -%}
<a class="tag" href="/search?q={{ tag }}" style="--tag-hue: {{ tag | to_tag_color }};">{{ tag }}</a>
- {% endfor %}
+ {%- endfor -%}
</div>