Skip to content

Commit

Permalink
added page decorators for git, linkedin, masto
Browse files Browse the repository at this point in the history
  • Loading branch information
bmann committed Jan 2, 2025
1 parent f330930 commit 600e193
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
13 changes: 7 additions & 6 deletions _layouts/note.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ <h1 style="text-transform:capitalize;">{{ page.title }}</h1>
{% endunless %}

<ul>
{% if page.github %}
<li><strong>github:</strong>&nbsp;<a href="{{ page.github }}">@{{ page.github | remove: "https://github.com/" }}</a></li>
{% endif %}
{% if page.ATProtocol %}
<li><strong>:</strong>🦋<a href="{{ page.ATProtocol }}">{{ page.ATProtocol | remove: "https://bsky.app/profile/" | prepend: "@" }}</a></li>
{% endif %}
{% if page.github %}<li><strong>github:</strong>&nbsp;<a href="{{ page.github }}">@{{ page.github | remove: "https://github.com/" }}</a></li>{% endif %}
{% if page.git %}<li><strong>git:</strong>&nbsp;<a href="{{ page.git }}">{{ page.git | remove: "https://" }}</a></li>{% endif %}
{% if page.ATProtocol %}<li><strong>🦋</strong><a href="{{ page.ATProtocol }}">{{ page.ATProtocol | remove: "https://bsky.app/profile/" | prepend: "@" }}</a></li>{% endif %}
{% if page.ActivityPub %}<li><strong>🐘</strong><a href="{{ page.ActivityPub }}">{{ page.ActivityPub | remove: "https://" }}</a></li>{% endif %}
{% if page.twitter %}<li><strong>𝕏</strong>&nbsp;<a href="{{ page.twitter }}">{{ page.twitter | remove: "https://twitter.com/" | prepend: "@" }}</a></li>{% endif %}
{% if page.linkedin %}<li><strong>👤</strong><a href="{{ page.linkedin }}">{{ page.linkedin | remove: "https://" }}</a></li>{% endif %}

</ul>

</div>
Expand Down
8 changes: 8 additions & 0 deletions _notes/Dietrich Ayala.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ tags:
- person
- Amsterdam
- IPFS
- developer
ATProtocol: https://bsky.app/profile/burrito.space
ActivityPub: https://mastodon.social/@dietrich
twitter: https://twitter.com/dietrich
---
<script type="module" src="https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js" async></script>
<bsky-embed
username="burrito.space"
limit="5"
>
</bsky-embed>
2 changes: 1 addition & 1 deletion _notes/Ente.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
- saas
- e2ee
- organization
ActivityPub: "@ente@mstdn.social"
ActivityPub: https://mstdn.social/@ente
link: https://ente.io
github: https://github.com/ente-io/ente
---
Expand Down

0 comments on commit 600e193

Please sign in to comment.