Skip to content

Commit 584589b

Browse files
committed
added a headshot
1 parent 29e4846 commit 584589b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
1.24 MB
Loading
1.52 MB
Loading

themes/offby1/templates/base.html.j2

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@
5555
<body class="{% block body_class %}{% endblock %}">
5656
<header>
5757
<div class="header-content">
58-
<div class="avatar">
59-
{# TODO: Add actual headshot image #}
60-
👤
61-
</div>
58+
<a href="{{ SITEURL }}/" class="avatar">
59+
<picture>
60+
<source srcset="{{ SITEURL }}/theme/images/dark/headshot.png" media="(prefers-color-scheme: dark)">
61+
<img src="{{ SITEURL }}/theme/images/light/headshot.png" alt="{{ AUTHOR }}">
62+
</picture>
63+
</a>
6264
<div class="site-title">
6365
<a href="{{ SITEURL }}/" class="title-logo" role="img" aria-label="{{ SITENAME }}"></a>
6466
<p class="tagline">{{ DESCRIPTION }}</p>

0 commit comments

Comments
 (0)