{{#if embedding.embeddable_hosts}} {{#each embedding.embeddable_hosts as |host|}} {{embeddable-host host=host deleteHost=(action "deleteHost")}} {{/each}}
{{i18n "admin.embedding.host"}} {{i18n "admin.embedding.class_name"}} {{i18n "admin.embedding.path_whitelist"}} {{i18n "admin.embedding.category"}}  
{{else}}

{{i18n "admin.embedding.get_started"}}

{{/if}} {{d-button label="admin.embedding.add_host" action=(action "addHost") icon="plus" class="btn-primary add-host"}}
{{#if showSecondary}}

{{{i18n "admin.embedding.sample"}}}

{{highlighted-code code=embeddingCode lang="html"}}

{{i18n "admin.embedding.settings"}}

{{embedding-setting field="embed_by_username" value=embedding.embed_by_username}} {{embedding-setting field="embed_post_limit" value=embedding.embed_post_limit}} {{embedding-setting field="embed_title_scrubber" value=embedding.embed_title_scrubber placeholder="- site.com$"}} {{embedding-setting field="embed_truncate" value=embedding.embed_truncate type="checkbox"}}

{{i18n "admin.embedding.feed_settings"}}

{{i18n "admin.embedding.feed_description"}}

{{embedding-setting field="feed_polling_enabled" value=embedding.feed_polling_enabled type="checkbox"}} {{embedding-setting field="feed_polling_url" value=embedding.feed_polling_url}} {{embedding-setting field="feed_polling_frequency_mins" value=embedding.feed_polling_frequency_mins}} {{embedding-setting field="embed_username_key_from_feed" value=embedding.embed_username_key_from_feed}}

{{i18n "admin.embedding.crawling_settings"}}

{{i18n "admin.embedding.crawling_description"}}

{{embedding-setting field="embed_whitelist_selector" value=embedding.embed_whitelist_selector placeholder="article, #story, .post"}} {{embedding-setting field="embed_blacklist_selector" value=embedding.embed_blacklist_selector placeholder=".ad-unit, header"}} {{embedding-setting field="embed_classname_whitelist" value=embedding.embed_classname_whitelist placeholder="emoji, classname"}}
{{d-button label="admin.embedding.save" action=(action "saveChanges") class="btn-primary embed-save" disabled=embedding.isSaving}} {{#if saved}}{{i18n "saved"}}{{/if}}
{{/if}}