aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2022-11-28 19:47:37 +0530
committerIndrajith K L2022-11-28 19:47:37 +0530
commit2894888d3c77eaa51cc78bc382c36839d650b210 (patch)
tree7bd12e4865765ce60106c93f4f6a533caf6577ff
parent63e5cc9688f9a1579429ce957e738ba953aac4a8 (diff)
downloadindrajith-dev-2894888d3c77eaa51cc78bc382c36839d650b210.tar.gz
indrajith-dev-2894888d3c77eaa51cc78bc382c36839d650b210.tar.bz2
indrajith-dev-2894888d3c77eaa51cc78bc382c36839d650b210.zip
Moves Website Carbon scripts to body from header
* Layout Changes
-rw-r--r--src/_includes/partials/footer.njk3
-rw-r--r--src/_includes/partials/head.njk3
-rw-r--r--src/index.njk2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/_includes/partials/footer.njk b/src/_includes/partials/footer.njk
index 267b328..94d561d 100644
--- a/src/_includes/partials/footer.njk
+++ b/src/_includes/partials/footer.njk
@@ -14,4 +14,5 @@
if(location.host.includes("neocities")) {
carbonBadge.remove();
}
-</script> \ No newline at end of file
+</script>
+<script src="https://unpkg.com/website-carbon-badges@1.1.3/b.min.js" defer></script> \ No newline at end of file
diff --git a/src/_includes/partials/head.njk b/src/_includes/partials/head.njk
index 4aa8118..f7d17a1 100644
--- a/src/_includes/partials/head.njk
+++ b/src/_includes/partials/head.njk
@@ -35,5 +35,4 @@
<meta property="og:image" content="https://indrajith.dev/images/me.png">
<link rel="stylesheet" href="/styles.css">
{% favicon './favicon.svg' %}
-<title>{{title}} | { indrajith.dev } </title>
-<script src="https://unpkg.com/website-carbon-badges@1.1.3/b.min.js" defer></script> \ No newline at end of file
+<title>{{title}} | { indrajith.dev } </title> \ No newline at end of file
diff --git a/src/index.njk b/src/index.njk
index 238517d..5373f06 100644
--- a/src/index.njk
+++ b/src/index.njk
@@ -18,7 +18,7 @@ alternatetitle: "Hello Friend!! My name is Indrajith K L."
{% for post in collections.posts | reverse %}
{% if (loop.index <= 4) %}
<li>
- <p>{{post.data.title}} <a href="{{post.url}}">Read more</span></a></p>
+ <p><a href="{{post.url}}">{{post.data.title}}</a></p>
</li>
{% endif %}
{% else %}