feat(*.liquid): apply prettier to liquid templates
- offer to create tag when none is found while adding a link from cli - fix tag display in search
This commit is contained in:
parent
49e21d574e
commit
efe701f939
112 changed files with 1319 additions and 1134 deletions
|
@ -125,7 +125,7 @@ description: Search through posts and other content on my site.
|
|||
${type === "music" && total_plays > 0 ? ` <mark>${total_plays} plays</mark>` : ""}
|
||||
</h3>
|
||||
${type !== "music" && tags && tags.length
|
||||
? `<div class="tags ${type}">
|
||||
? `<div class="tags tags-small ${type}">
|
||||
${tags.map(
|
||||
(tag) =>
|
||||
`<a href="/tags/${encodeURIComponent(tag.toLowerCase())}">#${tag.toLowerCase()}</a>`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue