attempt at syndication backlinks

This commit is contained in:
sloane 2025-01-28 18:54:16 -05:00
parent 265bd8fd99
commit 361fb793e6
Signed by: sloanelybutsurely
SSH key fingerprint: SHA256:8SBnwhl+RY3oEyQxy1a9wByPzxWM0x+/Ejc+sIlY5qQ

View file

@ -3,7 +3,6 @@ layout: default
--- ---
<article class="h-entry"> <article class="h-entry">
{% if page.title || page.summary %}
<header> <header>
{% if page.title %} {% if page.title %}
<h1 class="p-name">{{ page.title | smartify }}</h1> <h1 class="p-name">{{ page.title | smartify }}</h1>
@ -12,7 +11,6 @@ layout: default
<p class="p-summary">{{ page.summary }}</p> <p class="p-summary">{{ page.summary }}</p>
{% endif %} {% endif %}
</header> </header>
{% endif %}
<div class="e-content"> <div class="e-content">
{{ content }} {{ content }}
@ -28,7 +26,7 @@ layout: default
</dd> </dd>
<dt>Published</dt> <dt>Published</dt>
<dd><time datetime="{{ page.date }}">{{ page.date | date: "%B %e, %Y" }}</time> <dd><time datetime="{{ page.date }}">{{ page.date | date: "%B %e, %Y" }}</time></dd>
<!-- <dt>Category</dt> --> <!-- <dt>Category</dt> -->
<!-- <dd> --> <!-- <dd> -->
@ -42,8 +40,16 @@ layout: default
<!-- {% endfor %} --> <!-- {% endfor %} -->
<!-- </ul> --> <!-- </ul> -->
<!-- </dd> --> <!-- </dd> -->
</dl> </dl>
<ul>
{% for url in page.syndication %}
<li><a class="u-syndication" href="{{ url }}">{{ url }}</a></li>
{% endfor %}
</ul>
{% webmentions page.url %} {% webmentions page.url %}
{% for target in page.syndicate_to %} {% for target in page.syndicate_to %}
<a href="{{ site.webmentions.syndication[target].endpoint }}"></a> <a href="{{ site.webmentions.syndication[target].endpoint }}"></a>
{% endfor %} {% endfor %}