mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
Restores complete implementation from feat/endpoint-microsub branch: - Reader UI with views (reader.njk, channel.njk, feeds.njk, etc.) - Feed polling, parsing, and normalization - WebSub subscriber - SSE realtime updates - Redis caching - Search indexing - Media proxy - Webmention processing
32 lines
813 B
Plaintext
32 lines
813 B
Plaintext
{% extends "layouts/reader.njk" %}
|
|
|
|
{% block reader %}
|
|
<div class="channel-new">
|
|
<a href="{{ baseUrl }}/channels" class="back-link">
|
|
{{ icon("previous") }} {{ __("microsub.channels.title") }}
|
|
</a>
|
|
|
|
<h2>{{ __("microsub.channels.new") }}</h2>
|
|
|
|
<form method="post" action="{{ baseUrl }}/channels/new">
|
|
{{ input({
|
|
id: "name",
|
|
name: "name",
|
|
label: __("microsub.channels.name"),
|
|
required: true,
|
|
autocomplete: "off",
|
|
attributes: { autofocus: true }
|
|
}) }}
|
|
|
|
<div class="button-group">
|
|
{{ button({
|
|
text: __("microsub.channels.create")
|
|
}) }}
|
|
<a href="{{ baseUrl }}/channels" class="button button--secondary">
|
|
{{ __("Cancel") }}
|
|
</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|