diff --git a/README.md b/README.md index e1df1ad..c36d5a0 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ Assign a default value for each instance-specific setting by passing environment Assign a default value for each user-modifiable setting by passing environment variables to Libreddit in the format `LIBREDDIT_DEFAULT_{Y}`. Replace `{Y}` with the setting name (see list below) in capital letters. | Name | Possible values | Default value | -|------------------------|-----------------------------------------------------------------------------------------------------|---------------| +|-------------------------|-----------------------------------------------------------------------------------------------------|---------------| | `THEME` | `["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "gruvboxdark", "gruvboxlight"]` | `system` | | `FRONT_PAGE` | `["default", "popular", "all"]` | `default` | | `LAYOUT` | `["card", "clean", "compact"]` | `card` | diff --git a/templates/comment.html b/templates/comment.html index 22b3c4f..76abf16 100644 --- a/templates/comment.html +++ b/templates/comment.html @@ -5,10 +5,10 @@ {% else if kind == "t1" %}
- {% if prefs.hide_score != "on" %} + {% if prefs.hide_score != "on" %}

{{ score.0 }}

- {% endif %} -
+ {% endif %} +
diff --git a/templates/search.html b/templates/search.html index 3678c43..1921a0f 100644 --- a/templates/search.html +++ b/templates/search.html @@ -77,9 +77,9 @@ {% else %}
- {% if prefs.hide_score != "on" %} + {% if prefs.hide_score != "on" %}

{{ post.score.0 }}

- {% endif %} + {% endif %}
diff --git a/templates/user.html b/templates/user.html index e8f806c..b3ee54c 100644 --- a/templates/user.html +++ b/templates/user.html @@ -52,9 +52,9 @@ {% else %}
- {% if prefs.hide_score != "on" %} + {% if prefs.hide_score != "on" %}

{{ post.score.0 }}

- {% endif %} + {% endif %}
diff --git a/templates/utils.html b/templates/utils.html index 1c52c59..4c1dc4c 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -147,9 +147,9 @@
{{ post.body|safe }}
- {% if prefs.hide_score != "on" %} + {% if prefs.hide_score != "on" %}
{{ post.score.0 }} Upvotes
- {% endif %} + {% endif %}