Set default values to empty string.

This commit is contained in:
tastytea 2019-11-02 06:44:18 +01:00
parent 63a3303376
commit 862de9a288
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{ $instance := .Get "instance" | default "false" }}
{{ $status_id := .Get "status_id" | default "false" }}
{{ $instance := .Get "instance" | default "" }}
{{ $status_id := .Get "status_id" | default "" }}
{{ partial "mastodon-api-comments-scripts.html" . }}
<p id="mastodon-api-comments_{{ $status_id }}" class="mastodon-api-comments"></p>