summaryrefslogtreecommitdiff
path: root/src/_includes/header.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-01-21 17:22:53 -0700
committerBrian Picciano <mediocregopher@gmail.com>2021-01-21 17:22:53 -0700
commitbcf9b230be6d74c71567fd0771b31d47d8dd39c7 (patch)
tree2d0fc16142d55bbd5876ac6b8174c2857883b40e /src/_includes/header.html
parentd57fd70640948cf20eeb41b56e8d4e23e616cec0 (diff)
build the blog with nix
Diffstat (limited to 'src/_includes/header.html')
-rw-r--r--src/_includes/header.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/_includes/header.html b/src/_includes/header.html
new file mode 100644
index 0000000..888a8dc
--- /dev/null
+++ b/src/_includes/header.html
@@ -0,0 +1,36 @@
+<header id="title-header" role="banner">
+ <div class="row">
+ <div class="seven columns">
+ <h1 class="title">
+ <a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
+ </h1>
+ <div class="light social">
+ <span>By {{ site.author | escape }}</span>
+ <span class="author-icons">
+ <a href="mailto:mediocregopher@gmail.com">
+ <i class="fas fa-envelope"></i>
+ </a>
+ <a href="https://github.com/{{ site.github_username }}">
+ <i class="fab fa-github"></i>
+ </a>
+ <a href="https://twitter.com/{{ site.twitter_username }}">
+ <i class="fab fa-twitter"></i>
+ </a>
+ </span>
+ </div>
+ </div>
+ {%- if!page.nofollow != true %}
+ <div class="five columns light" style="text-align: right">
+ <span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
+ <a href="{{ "/follow.html" | relative_url }}"><button class="button-primary">
+ <i class="fab fa-twitter"></i>
+ Follow
+ </button></a>
+ <a href="{{ "/feed.xml" | relative_url }}"><button class="button">
+ <i class="fas fa-rss"></i>
+ RSS
+ </button></a>
+ </div>
+ {% endif -%}
+ </div>
+</header>