SyuanYu 3 miesięcy temu
rodzic
commit
74fe00f540
1 zmienionych plików z 15 dodań i 13 usunięć
  1. 15 13
      themes/hugo-bootstrap-5/layouts/index.html

+ 15 - 13
themes/hugo-bootstrap-5/layouts/index.html

@@ -39,23 +39,25 @@
 
   {{ partial "news-tab.html" . }}
 
- <div class="row mt-5 pt-5">
-  <div class="col-12 col-lg-9">
-    {{ partial "news-all.html" . }}
-    {{ partial "paginator" . }}
-  </div>
-  <div class="col-12 col-lg-3 d-none d-lg-flex">
-    {{ partial "news-featured.html" . }}
+  <div class="row mt-5 pt-5">
+    <div class="col-12 col-lg-9">
+      {{ partial "news-all.html" . }}
+      {{ partial "paginator" . }}
+    </div>
+    <div class="col-12 col-lg-3 d-none d-lg-block">
+      {{ partial "news-featured.html" . }}
+    </div>
   </div>
- </div>
 </div>
 
 <div class="top-btn">
-<button>
-  <svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" fill="currentColor" class="bi bi-arrow-up-short" viewBox="0 0 16 16">
-    <path fill-rule="evenodd" d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z"/>
-  </svg>
-</button>
+  <button>
+    <svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" fill="currentColor" class="bi bi-arrow-up-short"
+      viewBox="0 0 16 16">
+      <path fill-rule="evenodd"
+        d="M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z" />
+    </svg>
+  </button>
 </div>
 
 <!-- {{ partial "paginator" . }} -->