mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +01:00
refactor(search): include icon using helper/icon
This commit is contained in:
parent
c266204f98
commit
26fedaebd2
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
</p>
|
||||
|
||||
<button title="Search">
|
||||
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
|
||||
{{ partial "helper/icon" "search" }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<input name="keyword" required placeholder="Type something..." />
|
||||
|
||||
<button title="Search">
|
||||
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
|
||||
{{ partial "helper/icon" "search" }}
|
||||
</button>
|
||||
</p>
|
||||
</form>
|
Loading…
Reference in a new issue