fixed js intentation

This commit is contained in:
Gabriele Musco 2021-04-19 11:47:00 +02:00
parent 3631685b4d
commit a5547fbdac
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
<script> <script>
function renderTags(tags) { function renderTags(tags) {
if (tags.length <= 0) return ''; if (tags.length <= 0) return '';
let res = '| <span title="tags"></span>'; let res = '| <span title="tags"></span>';
for (let tag of tags) { for (let tag of tags) {
res += `<a href="/tags/${tag}">#${tag}</a>`; res += `<a href="/tags/${tag}">#${tag}</a>`;
} }
return res; return res;
} }
function renderImage(image) { function renderImage(image) {
if (!image) return ''; if (!image) return '';