diff --git a/layouts/partials/overview.html b/layouts/partials/overview.html
index 198467b..2e63515 100644
--- a/layouts/partials/overview.html
+++ b/layouts/partials/overview.html
@@ -38,7 +38,7 @@
-
+
{{ .Title }}
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index 6214552..2c97c82 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -8,10 +8,10 @@
{{ .Site.Params.author }}
+ href="{{ .Site.BaseURL }}">{{ .Site.Params.author }}
/
{{ .Title }}
+ href="{{ .Permalink }}">{{ .Title }}
Created
{{ countwords .Content }} Words
-
- {{ .ReadingTime }} min
+
diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html
index 365e051..a29180e 100644
--- a/layouts/partials/posts.html
+++ b/layouts/partials/posts.html
@@ -31,7 +31,7 @@
diff --git a/layouts/partials/script.html b/layouts/partials/script.html
index 314dec0..41b1d25 100644
--- a/layouts/partials/script.html
+++ b/layouts/partials/script.html
@@ -10,18 +10,20 @@
const pinned_posts = document.getElementsByName('pinned-post');
for (let i = 0; i < pinned_posts.length; i++) {
for (let j = 0; j < classs.length; j++) {
- try {
- pinned_posts[i].getElementsByTagName('p')[0].classList.add(classs[j]);
- } catch {}
+ const ps = pinned_posts[i].getElementsByTagName('p');
+ for (let k = 0; k < ps.length; k++) {
+ ps[k].classList.add(classs[j]);
+ }
}
}
classs = [/*'col-9', */'d-inline-block', 'text-gray', 'mb-2', 'pr-4'];
const posts_posts = document.getElementsByName('posts-post');
for (let i = 0; i < posts_posts.length; i++) {
for (let j = 0; j < classs.length; j++) {
- try {
- posts_posts[i].getElementsByTagName('p')[0].classList.add(classs[j]);
- } catch {}
+ const ps = posts_posts[i].getElementsByTagName('p');
+ for (let k = 0; k < ps.length; k++) {
+ ps[k].classList.add(classs[j]);
+ }
}
}
\ No newline at end of file