From f59b40a8e0ee3f4c808ab7b269667ab31c43c34e Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 09 Jul 2023 16:07:43 +0000
Subject: [PATCH] Merge branch 'master' into #114

---
 layouts/_default/term.html |   25 +++++++++----------------
 1 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index e81b969..3034006 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,7 +1,7 @@
 {{ define "main" }}
 {{- $pages := .Data.Pages }}
 {{ .Data.Terms }}
-<div class = 'wrap pt-2 mt-2'>
+<div class="wrap pt-2 mt-2">
   {{- $paginator := .Paginate $pages -}}
   {{- $size := $paginator.PageSize }}
   {{- $scratch := newScratch }}
@@ -16,27 +16,20 @@
     {{- if in $image "https://" }}
       {{- $bg = $image }}
     {{- end }}
-  <article class = 'article mb-2'>
-    <a href = '{{ $value.Permalink }}' {{ if eq $index 0 }} class = 'grid-reverse' {{ end }}>
-      <div class = 'article_thumb' style='background-image: url({{ $bg }})'></div>
-      <div class = 'article_meta {{ if eq $index 0 }} center_y {{ end }}'>
-        <time class = 'post_date'>{{ dateFormat "January 02, 2006" $value.Date }}</time>
-        <h3 class = 'article_title'>{{ $value.Title }}</h3>
-        <div class = 'article_excerpt {{ if eq $index 0 }} visible {{ end }}'>
+  <article class="article mb-2">
+    <a href="{{ $value.Permalink }}" {{ if eq $index 0 }} class=grid-reverse {{ end }}>
+      <div class="article_thumb" style="background-image: url({{ $bg }})"></div>
+      <div class="article_meta {{ if eq $index 0 }} center_y {{ end }}">
+        <time class="post_date">{{ dateFormat "January 02, 2006" $value.Date }}</time>
+        <h3 class="article_title">{{ $value.Title }}</h3>
+        <div class="article_excerpt {{ if eq $index 0 }} visible {{ end }}">
         <p>{{ $value.Summary | truncate 100 }}</p>
         </div>
       </div>
     </a>
   </article>
-  {{- if and (eq $index 0) (gt $size 1)  }}<div class = 'grid-2 article_showcase'>{{ end }}
+  {{- if and (eq $index 0) (gt $size 1)  }}<div class="grid-2 article_showcase">{{ end }}
   {{- if and (eq $index (add $size -1)) (gt $size 1) }}</div>{{ end }}
   {{- end }}
 </div>
-<!-- <a href = '{{ absURL (printf "post/%s" "") }}' class = 'post_nav'>
-  <span class = 'post_next'>View Archive
-  <svg class="icon icon_scale">
-    <use xlink:href="#double-arrow"></use>
-  </svg>
-  </span>
-</a> -->
 {{ end }}

--
Gitblit v1.10.0