ausglamr/blogs/templates/subscribe.html

52 lines
2.2 KiB
HTML
Raw Normal View History

2024-01-04 11:54:56 +11:00
{% extends "layout.html" %}
{% block container %}
<main class="container pop-boxes">
{% block intro %}{% endblock %}
{% block title %}
<h2 class="page-title">{{ title }}</h2>
{% endblock %}
<section>
{% block content %}
<section class="subscribe">
<section class="pop">
<hgroup>
<h3>Subscribe via email</h3>
</hgroup>
2024-01-07 16:58:56 +11:00
<p>Get a weekly update listing the latest blog posts, open calls for papers, and upcoming events.</p>
2024-01-04 11:54:56 +11:00
<div>
2024-01-26 11:00:26 +11:00
<a class="button button-primary" href="{% url 'subscribe-email' %}">Subscribe</a>
2024-01-04 11:54:56 +11:00
</div>
</section>
<section class="pop">
<hgroup>
<h3>Subscribe via ActivityPub</h3>
</hgroup>
2024-01-26 11:00:26 +11:00
<p>Follow <code class="code">@ausglamr@ausglam.space</code> to see an announcement every time something is added.</p>
2024-01-04 11:54:56 +11:00
<form method="post" action="{% url 'subscribe' %}">
{% csrf_token %}
<label for="username">Enter address you want to follow from</label>
{{ form.errors.username }}
<input type="text" name="username" placeholder="@user@example.social">
2024-01-26 11:00:26 +11:00
<button class="button button-primary u-pull-right" type="submit">Follow</button>
2024-01-04 11:54:56 +11:00
</form>
</section>
<section class="pop">
<hgroup>
<h3>Subscribe via RSS</h3>
</hgroup>
2024-01-26 11:00:26 +11:00
<p>Ok technically it's Atom. Subscribe to the feed to stay up to date using your favourite feed reader.</p>
2024-01-04 11:54:56 +11:00
<div>
2024-01-26 11:00:26 +11:00
<a class="button" href="{% url 'article-feed' %}">blog posts</a><br/>
<a class="button" href="{% url 'event-feed' %}">events & cfps</a><br/>
<a class="button" href="{% url 'edition-feed' %}">newsletter editions</a><br/>
<a class="button button-primary" href="{% url 'feed' %}">everything</a>
2024-01-04 11:54:56 +11:00
</div>
</section>
</section>
{% endblock %}
</section>
{% endblock %}