From f6c81503e9f3e7f8f1b734295cbd9b51148d0153 Mon Sep 17 00:00:00 2001
From: alexanderdavide <alexeble1998@gmail.com>
Date: Sat, 19 Feb 2022 14:40:25 +0000
Subject: [PATCH] feat: url as link

---
 exampleSite/content/english/post/series-part-2.md |    2 +-
 layouts/index.html                                |   33 ++++++++++++++++-----------------
 2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/exampleSite/content/english/post/series-part-2.md b/exampleSite/content/english/post/series-part-2.md
index 8a65463..be8d5eb 100644
--- a/exampleSite/content/english/post/series-part-2.md
+++ b/exampleSite/content/english/post/series-part-2.md
@@ -14,4 +14,4 @@
 When you created a series, you'll probably want to link to the full set of blogposts.  
 In this example we used `series-setup` as our series name.
 
-This means we can now go to `http://localhost:1313/series/series-setup/` to see all the blog posts of this serie.
+This means we can now go to [http://localhost:1313/series/series-setup/](http://localhost:1313/series/series-setup/) to see all the blog posts of this serie.
diff --git a/layouts/index.html b/layouts/index.html
index 06e822f..82ece0a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -58,24 +58,23 @@
       {{ end }}
       <div class="post__content">
         <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
+        <p>
+          {{ if .Site.Params.fullPostContent }}
+            {{ .Content }}
+
+
+          {{ else }}
+            {{ .Summary }}
+
+
+          {{ end }}
+        </p>
+        <!-- add read more -->
+        {{- if and (.Truncated) (.Site.Params.readMore) -}}
+          <a href="{{ .RelPermalink }}">{{ i18n "read_more" }}</a>
+
+        {{- end -}}
       </div>
-      <p>
-        {{ if .Site.Params.fullPostContent }}
-          {{ .Content }}
-
-
-        {{ else }}
-          {{ .Summary }}
-
-
-        {{ end }}
-      </p>
-      <!-- add read more -->
-      {{- if and (.Truncated) (.Site.Params.readMore) -}}
-        <a href="{{ .RelPermalink }}" class="post__more">{{ i18n "read_more" }}</a>
-
-      {{- end -}}
-
 
       <!--  -->
       <div class="post__footer">

--
Gitblit v1.10.0