2023-09-27 07:06:56 +00:00
|
|
|
---
|
|
|
|
layout: layout-main.njk
|
|
|
|
eleventyExcludeFromCollections: true
|
|
|
|
---
|
|
|
|
<!-- Reference for representative h-card properties: https://microformats.org/wiki/h-card -->
|
|
|
|
<div class="h-card" rel="author">
|
2023-09-28 02:23:25 +00:00
|
|
|
<img class="u-featured" src="{{ ACTOR.image.url }}" alt="{{ ACTOR.image.name}}" />
|
|
|
|
<img class="u-photo" alt="{{ ACTOR.icon.name}}" src="{{ ACTOR.icon.url }}" />
|
2023-09-27 07:06:56 +00:00
|
|
|
<h1>
|
2023-09-28 02:23:25 +00:00
|
|
|
I'm <span class="p-name">{{ ACTOR.name }}</span>
|
|
|
|
{% if ACTOR.name != ACTOR.preferredUsername %}
|
|
|
|
(a.k.a <span class="p-nickname">{{ ACTOR.preferredUsername }}</span>)
|
|
|
|
{% endif %}
|
2023-09-27 07:06:56 +00:00
|
|
|
</h1>
|
|
|
|
<p class="p-note">
|
2023-09-28 02:23:25 +00:00
|
|
|
{% if ACTOR.summary %}
|
|
|
|
{{ ACTOR.summary }}
|
|
|
|
{% else %}
|
|
|
|
...and I am a human on the Internet.
|
|
|
|
{% endif %}
|
2023-09-27 07:06:56 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Go check out some <a href="/posts">stuff I wrote</a><br>
|
|
|
|
Or stay up-to-date by following me
|
|
|
|
<ul>
|
|
|
|
<li><button class="icon-button button-input"
|
|
|
|
data-instruction="Please enter your fediverse / mastodon handle (e.g. '@user@domain.social')"
|
|
|
|
data-placeholder="@user@domain.social"
|
|
|
|
data-success="Thanks for the follow!"
|
|
|
|
onsubmit="handleFollow(event.value)">
|
|
|
|
<img src="/assets/img/Fediverse_logo_proposal.svg" alt="Fediverse logo">
|
2023-09-28 02:23:25 +00:00
|
|
|
Follow @{{ ACTOR.preferredUsername }}@{{ ACTOR.hostname }}
|
2023-09-27 07:06:56 +00:00
|
|
|
</button></li>
|
|
|
|
<li><i class="fa fa-rss"></i> <a class="u-url" href="/rss.xml">RSS Feed</a></li>
|
|
|
|
<li><i class="fa fa-feed"></i> <a class="u-url" href="/atom.xml">Atom Feed</a></li>
|
|
|
|
<li><i class="fa fa-feed"></i> <a class="u-url" href="/feed.json">JSON Feed</a></li>
|
|
|
|
</ul>
|
|
|
|
</p>
|
2023-09-28 02:23:25 +00:00
|
|
|
<p>
|
|
|
|
...or elsewhere on the Internet:
|
|
|
|
<ul>
|
|
|
|
<li><i><img class="tiny-avatar" src="/assets/img/avatar-tt-trans.svg"></i> <a class="u-uid u-url" href="https://death.id.au">Mon Repos (you are here)</a><a class="u-url" href="acct:death.au@death.id.au"></a></li>
|
|
|
|
<li><i><img class="tiny-avatar" src="/assets/img/Obsidian.svg"></i> <a class="u-url" href="https://notes.death.id.au" rel="me">My published notes</a></li>
|
|
|
|
<li><i class="fa-brands fa-mastodon"></i> <a class="u-url" href="https://pkm.social/@death_au" rel="me">@death_au@pkm.social</a></li>
|
|
|
|
<li><i class="fa-brands fa-github"></i> <a class="u-url" href="https://github.com/deathau" rel="me">@deathau</a></li>
|
|
|
|
<li><i class="fa-brands fa-twitter"></i> <a class="u-url" href="https://twitter.com/death_au" rel="me">@death_au</a></li>
|
|
|
|
<li><i class="fa-brands fa-linkedin"></i> <a class="u-url" href="https://www.linkedin.com/in/gordon-pedersen/">Gordon Pedersen</a></li>
|
|
|
|
</ul>
|
|
|
|
</p>
|
2023-09-27 07:06:56 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% layoutblock 'foot' %}
|
|
|
|
<script src="/assets/js/follow.js"></script>
|
|
|
|
<script src="/assets/js/button-input.js"></script>
|
|
|
|
<script>
|
|
|
|
window.addEventListener('unhandledrejection', function(event) {
|
|
|
|
alert(event.reason)
|
|
|
|
})
|
|
|
|
function handleFollow(handle) {
|
|
|
|
try{
|
2023-09-28 02:23:25 +00:00
|
|
|
follow(`@${ACTOR.preferredUsername}@${ACTOR.hostname}`, handle)
|
2023-09-27 07:06:56 +00:00
|
|
|
}
|
|
|
|
catch(e){
|
|
|
|
alert(e)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function tryFollow(user) {
|
|
|
|
try{
|
|
|
|
follow(user)
|
|
|
|
}
|
|
|
|
catch(e){
|
|
|
|
alert(e)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endlayoutblock %}
|