63 lines
1.3 KiB
Plaintext
63 lines
1.3 KiB
Plaintext
{% code type Home struct {
|
|
*BaseOf
|
|
} %}
|
|
|
|
{% stripspace %}
|
|
{% func (p *Home) body() %}
|
|
<main class="[ body__main ][ stack center ]">
|
|
<div class="[ h-app h-x-app ][ text-align_center ]">
|
|
<picture>
|
|
<source srcset="/static/icon.svg"
|
|
{% space %}type="image/svg+xml">
|
|
<img class="u-icon u-logo u-photo"
|
|
{% space %}src="/static/apple-touch-icon.png"
|
|
{% space %}loading="lazy"
|
|
{% space %}alt="{%= p.t("%s logo", p.name) %}">
|
|
</picture>
|
|
|
|
<h1>
|
|
<a class="[ u-url ][ p-name ]"
|
|
{% space %}href="/">
|
|
|
|
{%s p.name %}
|
|
</a>
|
|
</h1>
|
|
<p class="p-summary">{%= p.t("Dead simple WebSub hub") %}</p>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<ul class="stack">
|
|
<li>
|
|
<span role="img"
|
|
{% space %}aria-label="ping pong">
|
|
|
|
🏓
|
|
</span>
|
|
{% space %}
|
|
<a rel="external help"
|
|
{% space %}hreflang="en"
|
|
{% space %}href="https://indieweb.org/how-to-push">
|
|
|
|
{%= p.t("How to publish and consume?") %}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<span role="img"
|
|
{% space %}aria-label="pages">
|
|
|
|
📑
|
|
</span>
|
|
{% space %}
|
|
<a rel="external help"
|
|
{% space %}hreflang="en"
|
|
{% space %}href="https://www.w3.org/TR/websub/">
|
|
|
|
{%= p.t("What the spec?") %}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</main>
|
|
{% endfunc %}
|
|
{% endstripspace %}
|