소스 검색

feat: use emoji for thumbs count

Blair Noctis 1 년 전
부모
커밋
3edfa3a041
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

@@ -31,7 +31,7 @@
       <p><i>{{ example|safe }}</i></p>
       <p>{{ author|safe }}</p>
       {% if thumbs_up and thumbs_down %}
-      <p>{{ thumbs_up|safe }} up, {{ thumbs_down|safe }} down</p>
+      <p>{{ thumbs_up|safe }}<span title="thumbs up">👍</span> {{ thumbs_down|safe }}<span title="thumbs down">👎</span></p>
       {% endif %}
     </div>
     <br>