Browse Source

fix: update templates

Zubarev Grigoriy 6 months ago
parent
commit
2105e7487f
2 changed files with 5 additions and 5 deletions
  1. 3 3
      templates/base.html
  2. 2 2
      templates/index.html

+ 3 - 3
templates/base.html

@@ -1,9 +1,9 @@
 <!doctype html>
 <html lang="en">
   <head>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="robots" content="noindex, nofollow" />
+    <meta charset="UTF-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <link rel="stylesheet" href="{{ url_for('static', path='css/main.css') }}" />
     <link rel="icon" type="image/png" href="{{ url_for('static', path='img/favicon.png') }}" />
     <title>{{ site_title }}</title>

+ 2 - 2
templates/index.html

@@ -12,8 +12,8 @@
   <div>{{ contributor | safe }}</div>
   {% if thumbs_up is not none and thumbs_down is not none %}
   <p>
-    <span title="thumbs up">👍{{ thumbs_up | safe }}</span>
-    <span title="thumbs down">👎{{ thumbs_down | safe }}</span>
+    <span title="thumbs up">👍{{ thumbs_up }}</span>
+    <span title="thumbs down">👎{{ thumbs_down }}</span>
   </p>
   {% endif %}
 </div>