RBLicht content fixes. Add about. Add CV using site segments
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f6f090ead6
commit
3c93a5ccdf
8 changed files with 199 additions and 126 deletions
31
content/includes/navbar.njk
Normal file
31
content/includes/navbar.njk
Normal file
|
@ -0,0 +1,31 @@
|
|||
{% macro navItem(title, url, hyphen=true, target='_self') %}
|
||||
<span>
|
||||
<a href="{{url}}" target="{{target}}">{{title}}</a>
|
||||
{% if hyphen %} - {% endif %}
|
||||
</span>
|
||||
{% endmacro %}
|
||||
|
||||
<div class="container">
|
||||
<div class="nav">
|
||||
<a class="d-inline-block main-logo" href="/">
|
||||
<img src="/img/RB-w.png" alt="RB logo" eleventy:widths="100" />
|
||||
Rik Berkelder
|
||||
</a>
|
||||
<div class="nav-links">
|
||||
<div class="d-inline-block">
|
||||
{{navItem("Home", "/")}}
|
||||
{%if site.site != "rblicht" %}
|
||||
{{navItem("Blog", "/blog")}}
|
||||
{%endif%}
|
||||
{{navItem("Portfolio", "/portfolio", false)}}
|
||||
</div>
|
||||
<div class="d-inline-block">
|
||||
<span> | </span>
|
||||
{% if site.site != "rblicht" %}
|
||||
{{navItem("Mastodon", "https://dook.business/@RikSolo")}}
|
||||
{% endif %}
|
||||
{{navItem("Instagram", "https://instagram.com/RikBerkelder", false)}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue