mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
fix: correct invalid icon names and date filter issue
- Replace invalid icons (edit→updatePost, discover→syndicate, refresh→repost)
- Remove date("relative") filter that fails on Date objects
- Bump to 1.0.25
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@rmdes/indiekit-endpoint-microsub",
|
||||
"version": "1.0.24",
|
||||
"version": "1.0.25",
|
||||
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
|
||||
"keywords": [
|
||||
"indiekit",
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="feeds__error-count">{{ feed.consecutiveErrors }} consecutive errors</span>
|
||||
{% endif %}
|
||||
{% if feed.lastSuccessAt %}
|
||||
<span class="feeds__meta">Last success: {{ feed.lastSuccessAt | date("relative") }}</span>
|
||||
<span class="feeds__meta">Last success: {{ feed.lastSuccessAt }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -51,16 +51,16 @@
|
||||
<a href="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/edit"
|
||||
class="button button--secondary button--small"
|
||||
title="Edit feed URL">
|
||||
{{ icon("edit") }}
|
||||
{{ icon("updatePost") }}
|
||||
</a>
|
||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/rediscover" style="display:inline;">
|
||||
<button type="submit" class="button button--secondary button--small" title="Rediscover feed">
|
||||
{{ icon("discover") }}
|
||||
{{ icon("syndicate") }}
|
||||
</button>
|
||||
</form>
|
||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/refresh" style="display:inline;">
|
||||
<button type="submit" class="button button--secondary button--small" title="Refresh now">
|
||||
{{ icon("refresh") }}
|
||||
{{ icon("repost") }}
|
||||
</button>
|
||||
</form>
|
||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/remove" style="display:inline;">
|
||||
|
||||
Reference in New Issue
Block a user