Compare commits
2 Commits
2a49b92643
...
9f8b81435f
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f8b81435f | |||
| 41b8d4bc13 |
@@ -4,7 +4,7 @@ layout: layouts/linksPage.njk
|
||||
<div class="links-container h-card">
|
||||
<img class="profilePic u-photo" src="{{ metadata.author.profilePic }}">
|
||||
<h1 class="socialTitle p-name">Nathan Upchurch</h1>
|
||||
<p class="page-block nodropcap">Here's where you can find me on the internet:</p>
|
||||
<p class="page-block nodropcap">Beside what I do to earn a crust, among other things, I’m an incense maker and enthusiast, a classical trombonist, vegan cook, writer, mediocre photographer, and a fan of, advocate for, and occasional contributor to free and open source software. Here’s where you can find me on the internet:</p>
|
||||
<div class="socialLinks">
|
||||
{% for link in metadata.socialLinks %}
|
||||
<a class="link-button u-url" {% if link.customAttribute %} {{ link.customAttribute | safe }} {% endif %} href="{{ link.linkURL }}">
|
||||
|
||||
@@ -4,22 +4,22 @@ layout: layouts/base.njk
|
||||
<article class="post">
|
||||
<h1>{{ title | safe }}</h1>
|
||||
{% if not hideMetadata %}
|
||||
<div class="post-metadata h-card">
|
||||
<div class="post-metadata">
|
||||
{% if author %}
|
||||
{% if author.profilePic %}
|
||||
<img class="profilePic u-photo" src="{{ author.profilePic }}">
|
||||
<img class="profilePic" src="{{ author.profilePic }}">
|
||||
{% endif %}
|
||||
<div class="post-metadata-copy">
|
||||
<p>{% if author.url %}<a class="u-url" href="{{ author.url }}">{% endif %}
|
||||
{% if author.name %}By <span class="p-name">{{ author.name }}</span>{% endif %}{% if author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||
<p>{% if author.url %}<a href="{{ author.url }}">{% endif %}
|
||||
{% if author.name %}By {{ author.name }}{% endif %}{% if author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||
|
||||
{% else %}
|
||||
{% if metadata.author.profilePic %}
|
||||
<img class="profilePic u-photo" src="{{ metadata.author.profilePic }}">
|
||||
<img class="profilePic" src="{{ metadata.author.profilePic }}">
|
||||
{% endif %}
|
||||
<div class="post-metadata-copy">
|
||||
<p>{% if metadata.author.url %}<a hclass="u-url" ref="{{ metadata.author.url }}">{% endif %}
|
||||
{% if metadata.author.name %}By <span class="p-name">{{ metadata.author.name }}</span>{% endif %}{% if metadata.author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||
<p>{% if metadata.author.url %}<a href="{{ metadata.author.url }}">{% endif %}
|
||||
{% if metadata.author.name %}By {{ metadata.author.name }}{% endif %}{% if metadata.author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -9,8 +9,16 @@
|
||||
}
|
||||
|
||||
.socialLinks a button {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
height: var(--space-xl);
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
margin: 0 0 var(--space-s) 0;
|
||||
& > img {
|
||||
max-width: var(--space-s);
|
||||
}
|
||||
}
|
||||
|
||||
h1.socialTitle {
|
||||
@@ -27,7 +35,7 @@ h1.socialTitle {
|
||||
}
|
||||
|
||||
img.profilePic {
|
||||
max-width: var(--space-3xl);
|
||||
max-width: var(--space-6xl);
|
||||
border-radius: 50%;
|
||||
border: solid 2px var(--text-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user