add custom link under header text
This commit is contained in:
parent
565174c3e3
commit
1715f2f086
|
|
@ -3,6 +3,7 @@
|
|||
<div class="wrap custom-search-banner-wrap">
|
||||
<h1>{{theme-i18n "search_banner.headline"}}</h1>
|
||||
<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"}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
20
settings.yml
20
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"
|
||||
Loading…
Reference in New Issue