mirror of
https://github.com/svemagie/indiekit-endpoint-youtube.git
synced 2026-04-02 15:54:59 +02:00
The Indiekit backend UI was broken when using channels array because the dashboard controller only checked for channelId/channelHandle. Now uses getPrimaryChannel() helper to extract the first channel from either single-channel or multi-channel configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
330 B
Plaintext
13 lines
330 B
Plaintext
{% call widget({
|
|
title: __("youtube.title")
|
|
}) %}
|
|
<p class="prose">{{ __("youtube.widget.description") }}</p>
|
|
<div class="button-grid">
|
|
{{ button({
|
|
classes: "button--secondary-on-offset",
|
|
href: application.youtubeEndpoint or "/youtube",
|
|
text: __("youtube.widget.view")
|
|
}) }}
|
|
</div>
|
|
{% endcall %}
|