add custom link under header text

This commit is contained in:
Jordan Vidrine 2021-07-07 09:30:52 -05:00
parent 565174c3e3
commit 1715f2f086
2 changed files with 21 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<div class="wrap custom-search-banner-wrap"> <div class="wrap custom-search-banner-wrap">
<h1>{{theme-i18n "search_banner.headline"}}</h1> <h1>{{theme-i18n "search_banner.headline"}}</h1>
<p>{{theme-i18n "search_banner.subhead"}}</p> <p>{{theme-i18n "search_banner.subhead"}}</p>
<span>Check out our <a href="{{theme-setting 'banner_link_one'}}">{{theme-setting 'banner_title_one'}}</a> {{d-icon 'external-link-alt'}}</span>
{{mount-widget widget="search-widget"}} {{mount-widget widget="search-widget"}}
</div> </div>
</div> </div>

View File

@ -28,3 +28,23 @@ show_for:
- everyone - everyone
- logged_in - logged_in
- logged_out - 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"