Improve header and config
Hide résumé link when blank in config. Move pronouns to config.
This commit is contained in:
parent
44162bf4c2
commit
ab8cac13d9
@ -1,15 +1,22 @@
|
||||
# Site settings
|
||||
title: Ian Adam Naval
|
||||
subtitle: Software engineer and sysadmin
|
||||
email: ianonavy@gmail.com
|
||||
keybase: ianonavy
|
||||
pronouns:
|
||||
display: "they/them"
|
||||
url: "https://pronoun.is/they/.../themself"
|
||||
description: >
|
||||
Software engineer and system administrator. Really big fan of potatoes.
|
||||
|
||||
## Nav
|
||||
baseurl: ""
|
||||
url: "https://ianonavy.com"
|
||||
gravatar_url: "//gravatar.com/avatar/2a59ffe419aca97636d74d0b4692dfcb"
|
||||
code_url: "https://git.ianonavy.com/explore"
|
||||
resume_url: ""
|
||||
resume_url:
|
||||
|
||||
## Footer
|
||||
email: ianonavy@gmail.com
|
||||
keybase: ianonavy
|
||||
twitter_username: ianonavy
|
||||
github_username: ianonavy
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<a href="{{ site.baseurl }}/"><img class="site-avatar" src="{{ site.gravatar_url }}" alt="Photo of {{ site.title }}"></a>
|
||||
<div class="site-title">
|
||||
<a class="name" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
||||
<a class="pronouns" href="https://pronoun.is/they/.../themself" target="_blank">pronoun.is/they/them</a>
|
||||
<a class="pronouns" href="{{ site.pronouns.url }}" target="_blank">pronoun.is/{{ site.pronouns.display }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
<a class="page-link" href="{{ site.code_url }}">Code</a>
|
||||
{% if site.resume_url %}<a class="page-link" href="{{ site.resume_url }}">Résumé</a>{% endif %}
|
||||
{% if site.resume_url and site.resume_url != "" %}<a class="page-link" href="{{ site.resume_url }}">Résumé</a>{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user