diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/header.html | 1 | ||||
| -rw-r--r-- | layouts/posts/page.html | 7 | ||||
| -rw-r--r-- | layouts/posts/section.html | 12 |
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 }} |
