Skip to content
Permalink
Browse files

dynamic header based on url

  • Loading branch information...
christian-fei committed Oct 31, 2019
1 parent ae533b1 commit 8bd569eec1250c33aa2d30c65cce100a149c9ec2
Showing with 2 additions and 1 deletion.
  1. +2 −1 _includes/layout.njk
@@ -63,7 +63,8 @@ title: Christian Fei's Blog
</a>
</p>
<p><strong>agile developer, clean code connoisseur && testing aficionado</strong></p>
<p><b>read more</b> <a href="/about">about me</a> or <b>what i am doing</b> <a href="/now">now</a></p>

<p><b>read</b>{% if page.url != '/about/' %}&nbsp;<b>more</b> <a href="/about">about me</a> {% if page.url != '/now/' %}or{% endif %}{% endif %} {% if page.url != '/now/' %}<b>what i am doing</b> <a href="/now">now</a>{% endif %}</p>
{% if page.url != '/posts/' %}
<p><b>scroll</b> through <a href="/posts">posts</a> that i wrote</p>
{% endif %}

0 comments on commit 8bd569e

Please sign in to comment.
You can’t perform that action at this time.