aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-11-10 14:53:36 +0100
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-11-10 14:53:36 +0100
commit54b6e95015e1fbf03a9fb2b5f2f46fa5beaaf227 (patch)
tree4e8325dc655753e82ae71cac57f05d6c33b83d65 /layouts
parent9bc02e6522785cf2587e7432fef18e175c395df0 (diff)
Removed posts completely
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html1
-rw-r--r--layouts/posts/page.html7
-rw-r--r--layouts/posts/section.html12
3 files changed, 0 insertions, 20 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 181c75e..072aee3 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,6 @@
<nav>
<ul>
<li><a href="/">Home</a></li>
- <li><a href="/posts">Posts</a></li>
<li><a href="https://gitlab.com/KaranJayachandra">Gitlab</a></li>
<li><a href="https://karanjayachandra.gitlab.io/cv">CV</a></li>
</ul>
diff --git a/layouts/posts/page.html b/layouts/posts/page.html
deleted file mode 100644
index dd21496..0000000
--- a/layouts/posts/page.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
- {{ $dateHuman := .Date | time.Format "2006-01-02" }}
- <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
- {{ .Content }}
-{{ end }}
diff --git a/layouts/posts/section.html b/layouts/posts/section.html
deleted file mode 100644
index eedc63e..0000000
--- a/layouts/posts/section.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ define "main" }}
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- <ul>
- {{ range .Pages }}
- <li>
- <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
- <p>{{ .Date | time.Format "2006-01-02" }}</p>{{ .Summary }}
- </li>
- {{ end }}
- </ul>
-{{ end }}