Use on_card parameter to decide to show the cards or not
This commit is contained in:
parent
14ad60c956
commit
7bc0fd2227
2 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,6 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||
const templateDefinition = document.getElementById('search-result-template').innerHTML
|
||||
// replace values
|
||||
function tagsHTML() {
|
||||
if (!params.tags) return '';
|
||||
const tags = value.item.tags;
|
||||
let string = '<ul style="padding-left: 0;">';
|
||||
tags.forEach((t) => {string += '<li class="rounded"><a href="/tags/' + t.toLowerCase() + '/" class="btn btn-sm btn-info">' + t + "</a></li>"});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue