feat: add save-for-later buttons to frontend pages

Add shared save-later.js module and per-item save buttons to
blogroll, podroll, listening, and news pages. Buttons are hidden
by default and only visible when logged in. Posts to the readlater
plugin API at /readlater/save.
This commit is contained in:
Ricardo
2026-02-27 16:17:16 +01:00
parent 1e900fab16
commit 4c8c44a49e
7 changed files with 178 additions and 0 deletions

View File

@@ -144,6 +144,17 @@ permalink: /podroll/
</svg>
RSS
</a>
<button
class="save-later-btn"
:data-save-url="episode.url"
:data-save-title="episode.title"
data-save-source="podroll"
title="Save for later"
aria-label="Save for later"
>
<span class="save-later-icon">📑</span>
<span class="save-later-label">Save</span>
</button>
</div>
</article>
</template>