mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +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>
|
</p>
|
||||||
|
|
||||||
<button title="Search">
|
<button title="Search">
|
||||||
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
|
{{ partial "helper/icon" "search" }}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<input name="keyword" required placeholder="Type something..." />
|
<input name="keyword" required placeholder="Type something..." />
|
||||||
|
|
||||||
<button title="Search">
|
<button title="Search">
|
||||||
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
|
{{ partial "helper/icon" "search" }}
|
||||||
</button>
|
</button>
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
Loading…
Reference in a new issue