From eb9964865cd088bde087d95ab7037b23e13de538 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 30 Jul 2023 20:48:38 +0000
Subject: [PATCH] update template

---
 exampleSite/config.toml |    4 ++--
 exampleSite/go.mod      |    2 +-
 exampleSite/go.sum      |    2 ++
 layouts/blog/list.html  |    4 ++--
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index bb9d060..8a09cd9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -3,8 +3,8 @@
 enableRobotsTXT = true
 # this example loads the theme as hugo module
 # comment out line below, and uncomment the line after it if you prefer to load the theme normally
-theme = ["github.com/onweru/compose"] # edit this if you'ld rather use a fork of this repo
-# theme = "compose"
+# theme = ["github.com/onweru/compose"] # edit this if you'ld rather use a fork of this repo
+theme = "compose"
 enableGitInfo = true
 
 # disableKinds = ["taxonomy", "taxonomyTerm"]
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
index 64fabf6..c23ec60 100644
--- a/exampleSite/go.mod
+++ b/exampleSite/go.mod
@@ -2,4 +2,4 @@
 
 go 1.19
 
-require github.com/onweru/compose v0.0.0-20230729163245-27b84dc22eb8 // indirect
+require github.com/onweru/compose v0.0.0-20230730204557-43a58bce3d5a // indirect
diff --git a/exampleSite/go.sum b/exampleSite/go.sum
index 9cc9e3a..4ec1d00 100644
--- a/exampleSite/go.sum
+++ b/exampleSite/go.sum
@@ -6,3 +6,5 @@
 github.com/onweru/compose v0.0.0-20230717085020-14357bb3e167/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
 github.com/onweru/compose v0.0.0-20230729163245-27b84dc22eb8 h1:aVItqjRfGwyOZHloHxVY6kEjjR+e8AQVXlpWiQtO0dw=
 github.com/onweru/compose v0.0.0-20230729163245-27b84dc22eb8/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
+github.com/onweru/compose v0.0.0-20230730204557-43a58bce3d5a h1:o/x7EfZKZquisgw30cKagraXVccTNydxPGQYV9LadZY=
+github.com/onweru/compose v0.0.0-20230730204557-43a58bce3d5a/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 7e7b955..37bff71 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -19,12 +19,12 @@
       {{- $bg = $image }}
     {{- end }}
   <article class="article mb-2">
-    <a href={{ $value.Permalink }} {{ if eq $index 0 }} class="grid-reverse" {{ end }}>
+    <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 }}"">
+        <div class="article_excerpt {{ if eq $index 0 }} visible {{ end }}">
         <p>{{ truncate 100 $value.Summary }}</p>
         </div>
       </div>

--
Gitblit v1.10.0