diff --git a/javascripts/discourse/templates/components/search-banner.hbs b/javascripts/discourse/templates/components/search-banner.hbs index a6890f7..9bbf291 100644 --- a/javascripts/discourse/templates/components/search-banner.hbs +++ b/javascripts/discourse/templates/components/search-banner.hbs @@ -3,6 +3,7 @@

{{theme-i18n "search_banner.headline"}}

{{theme-i18n "search_banner.subhead"}}

+ Check out our {{theme-setting 'banner_title_one'}} {{d-icon 'external-link-alt'}} {{mount-widget widget="search-widget"}}
diff --git a/settings.yml b/settings.yml index fde4dd4..4c5c9d2 100644 --- a/settings.yml +++ b/settings.yml @@ -28,3 +28,23 @@ show_for: - everyone - logged_in - logged_out + +banner_title_one: + default: "" + type: string + description: "Title of the first link in the search menu" + +banner_link_one: + default: "" + type: string + description: "Href of the first link in the search menu" + +banner_title_two: + default: "" + type: string + description: "Title of the first link in the search menu" + +banner_link_two: + default: "" + type: string + description: "Href of the first link in the search menu" \ No newline at end of file