{* SPDX-FileCopyrightText: © 2024 Olivier Meunier SPDX-License-Identifier: AGPL-3.0-only *} {{ extends "./base" }} {{ import "/_libs/forms"}} {{- block title() -}}{{ gettext("Import your Omnivore Articles") }}{{- end -}} {{- block mainContent() -}}

{{ yield title() }}

{{ gettext(` To import your articles from Omnivore, you must first create an API Key in your Omnivore's settings and enter it in the the form below. `)|raw }}

{{ yield formErrors(form=.Form) }} {{ yield textField( field=.Form.Get("url"), required=true, label=gettext("Omnivore URL"), class="field-h", help=gettext("URL of your Omnivore homepage") ) }} {{ yield textField( field=.Form.Get("token"), required=true, label=gettext("API Key"), class="field-h", ) }} {{ include "./options" }}

{{ gettext("Cancel") }}

{{- end -}}