summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-02-27 16:24:13 +0200
committerAhmed Abdelhalim <[email protected]>2024-02-27 16:24:13 +0200
commitf495cce74dcbb31d06610a687d64adcc3455cd58 (patch)
tree517c4ce7b78b229edcd7f01b5b5dc8ff53fc4102
parent32596202d78a0550abdaa41349d86bf44287c7b9 (diff)
Add link to blog w/styling
-rw-r--r--assets/scss/print/_header.scss1
-rw-r--r--assets/scss/web/_header.scss1
-rw-r--r--layouts/partials/home/header.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/assets/scss/print/_header.scss b/assets/scss/print/_header.scss
index d8c7bee..9f82e9e 100644
--- a/assets/scss/print/_header.scss
+++ b/assets/scss/print/_header.scss
@@ -14,6 +14,7 @@
font-size: 8pt;
}
+.header__blog,
.header__pgp {
display: none;
}
diff --git a/assets/scss/web/_header.scss b/assets/scss/web/_header.scss
index 5ebbd86..6cd2d93 100644
--- a/assets/scss/web/_header.scss
+++ b/assets/scss/web/_header.scss
@@ -40,6 +40,7 @@
.header__github,
.header__stackoverflow,
.header__pgp,
+.header__blog,
.header__linkedin {
display: inline-block;
margin: 8px;
diff --git a/layouts/partials/home/header.html b/layouts/partials/home/header.html
index e5cc6fe..1575c4f 100644
--- a/layouts/partials/home/header.html
+++ b/layouts/partials/home/header.html
@@ -10,5 +10,6 @@
<div class="header__stackoverflow"><a href="{{ .StackOverflow }}">StackOverflow</a></div>
<div class="header__linkedin"><a href="{{ .LinkedIn }}">LinkedIn</a></div>
<div class="header__pgp"><a href="{{ .PGP }}">PGP</a></div>
+ <div class="header__blog"><a href="/blog">Blog</a></div>
</address>
</header>