Ver Fonte

조금 더 수정

잉여개발기 (SPDV) há 6 anos atrás
pai
commit
ab43090a17
1 ficheiros alterados com 6 adições e 2 exclusões
  1. 6 2
      views/marisa/index.html

+ 6 - 2
views/marisa/index.html

@@ -2,7 +2,11 @@
 <html>
     <head>
         <meta charset="utf-8">
-        <title>{{imp[0]}} - {{imp[1][0]}}</title>
+        {% if imp[3][0] != 0 %}
+            <title>{{imp[0]}}{{imp[3][0]}} - {{imp[1][0]}}</title>
+        {% else %}
+            <title>{{imp[0]}} - {{imp[1][0]}}</title>
+        {% endif %}
         {{imp[3][3]|safe}}
         <link rel="stylesheet" href="/views/marisa/css/main.css?ver=6">
         <script src="/views/marisa/js/search.js?ver=2"></script>
@@ -14,7 +18,7 @@
         {{imp[1][5]|safe}}
         {{imp[2][3]|safe}}
         {% if imp[3][0] != 0 %}
-            <meta name="title" content="{{imp[0]}} ({{imp[3][0]}}) - {{imp[1][0]}}">
+            <meta name="title" content="{{imp[0]}}{{imp[3][0]}} - {{imp[1][0]}}">
         {% else %}
             <meta name="title" content="{{imp[0]}} - {{imp[1][0]}}">
         {% endif %}