mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-06 20:03:31 +08:00
refactor(search): include icon using helper/icon
This commit is contained in:
parent
c266204f98
commit
26fedaebd2
@ -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 New Issue
Block a user