From 038fafa378a9899c3aacd94182c69a098962844e Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Wed, 17 Mar 2021 17:28:05 -0700 Subject: [PATCH] Remove unnecessary trailing slashes --- templates/base.html | 10 +++++----- templates/comment.html | 2 +- templates/post.html | 4 ++-- templates/settings.html | 2 +- templates/subreddit.html | 6 +++--- templates/utils.html | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/base.html b/templates/base.html index db7d34f..6caad37 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,11 +15,11 @@ - + - - - + + + {% endblock %} - + settings settings diff --git a/templates/comment.html b/templates/comment.html index 694352d..a95e3b8 100644 --- a/templates/comment.html +++ b/templates/comment.html @@ -10,7 +10,7 @@
- + {% if author.flair.flair_parts.len() > 0 %}
{% call utils::render_flair(author.flair.flair_parts) %} {% endif %} diff --git a/templates/post.html b/templates/post.html index 6a7975a..5bfc2b4 100644 --- a/templates/post.html +++ b/templates/post.html @@ -37,7 +37,7 @@

r/{{ post.community }} - u/{{ post.author.name }} + u/{{ post.author.name }} {% if post.author.flair.flair_parts.len() > 0 %} {% call utils::render_flair(post.author.flair.flair_parts) %} {% endif %} @@ -47,7 +47,7 @@

{{ post.title }} {% if post.flair.flair_parts.len() > 0 %} - {% call utils::render_flair(post.flair.flair_parts) %} {% endif %} diff --git a/templates/settings.html b/templates/settings.html index d6314a1..e63fa7e 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -9,7 +9,7 @@ {% block content %}

-
+

Appearance

diff --git a/templates/subreddit.html b/templates/subreddit.html index 4917a37..accf1ca 100644 --- a/templates/subreddit.html +++ b/templates/subreddit.html @@ -40,7 +40,7 @@ {% if sub.name.contains("+") %} -
+
{% endif %} @@ -86,11 +86,11 @@
{% if prefs.subscriptions.contains(sub.name) %} -
+
{% else %} -
+
{% endif %} diff --git a/templates/utils.html b/templates/utils.html index 6d81255..2d59c14 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -15,7 +15,7 @@ {%- endmacro %} {% macro search(root, search) -%} -