SyuanYu пре 1 година
родитељ
комит
2709e382c3

+ 20 - 27
layouts/main-news/single.html

@@ -7,41 +7,34 @@
   <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MTWWP3G" height="0" width="0"
       style="display:none;visibility:hidden"></iframe></noscript>
   <!-- End Google Tag Manager (noscript) -->
-
+  {{ partial "navbar.html" . }}
   <div class="news-main-content">
-    {{ partial "navbar.html" . }}
     <h1>{{.Title}}</h1>
-      <div id="content">
-        <div class="container">
-          <div class="row">
-            <div class="col-md-12">
-              {{ if or .Params.author .Params.date }}
-              <p>
-                {{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a>{{ end }}
-                {{ if and .Params.author .Params.date }} | {{ end }}
-                {{ if .Params.date }}{{ .Date.Format .Site.Params.date_format }}{{ end }}
-              </p>
-              {{ end }}
-
-              <div>
-                {{ .Content | safeHTML }}
-              </div>
-
-              <a href="/main-news/" class="list-link">< 回到列表</a>
+    <div id="content">
+      <div class="container">
+        <div class="row">
+          <div class="col-md-12">
+            {{ if or .Params.author .Params.date }}
+            <p>
+              {{ if .Params.author }}{{ i18n "authorBy" }} <a href="#">{{ .Params.author }}</a>{{ end }}
+              {{ if and .Params.author .Params.date }} | {{ end }}
+              {{ if .Params.date }}{{ .Date.Format .Site.Params.date_format }}{{ end }}
+            </p>
+            {{ end }}
+
+            <div>
+              {{ .Content | safeHTML }}
             </div>
 
-            <!-- <div class="col-md-3">
+            <a href="/main-news/" class="list-link">< 回到列表</a>
+          </div>
+
+          <!-- <div class="col-md-3">
             {{ partial "sidebar.html" . }}
           </div> -->
-
-          <div class="line-btn">
-            <a href="https://lin.ee/jYalbZq" target="_blank">
-              <img src="/imgs/icon/line.png" alt="">
-            </a>
-          </div>
-          </div>
         </div>
       </div>
+    </div>
   </div>
 
   {{ partial "footer.html" . }}

+ 1 - 0
static/css/style.css

@@ -4587,6 +4587,7 @@
 .news-main-content img {
   width: 100%;
   max-width: 1050px;
+  margin-bottom: 10px;
 }
 .news-main-content .align-text-top {
   width: 185px;

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
static/css/style.css.map


+ 2 - 1
static/css/style.scss

@@ -5030,6 +5030,7 @@
   img {
     width: 100%;
     max-width: 1050px;
+    margin-bottom: 10px;
   }
 
   .align-text-top {
@@ -5157,7 +5158,7 @@
     font-weight: bold;
     border-bottom: 1px solid #000;
     transition: all .2s;
-    
+
     &:hover {
       opacity: .8;
     }

+ 4 - 1
webSite/content/main-news/virtual-host-solution/index.md

@@ -60,7 +60,10 @@ AI 虛擬人在科技日新月異的今天,已經逐漸走進我們的日常
 ![警察廣播電臺 雙主播 多語言對話](3.webp)
 警察廣播電臺 雙主播 多語言對話
 
-![華視新聞 2023 亞錦賽宣傳影片](4.webp)
+<!-- ![華視新聞 2023 亞錦賽宣傳影片](4.webp) -->
+<div class="video-box mb-2">
+    <iframe src="https://www.youtube.com/embed/PjK4KNaxjdU?si=xy8tIqrKahe2sSri" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
+</div>
 華視新聞 2023 亞錦賽宣傳影片
 
 {{< form >}}

Неке датотеке нису приказане због велике количине промена