fixed js intentation
This commit is contained in:
parent
3631685b4d
commit
a5547fbdac
|
@ -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 '';
|
||||||
|
|
Loading…
Reference in New Issue