aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-05-15 12:43:49 +0900
committernsfisis <nsfisis@gmail.com>2022-05-15 12:43:49 +0900
commit571dda565f1536bcbaa716e37b701ea9f14cf0ed (patch)
tree8ac410953dcbb33835164c242f2d88dd770f9577 /themes
parent61145ff3b6202deaf2a3dd1a0e8bf04102d14706 (diff)
downloadnsfisis.github.io-571dda565f1536bcbaa716e37b701ea9f14cf0ed.tar.gz
nsfisis.github.io-571dda565f1536bcbaa716e37b701ea9f14cf0ed.tar.zst
nsfisis.github.io-571dda565f1536bcbaa716e37b701ea9f14cf0ed.zip
remove timestamp from single page
Diffstat (limited to 'themes')
-rw-r--r--themes/mypaper/layouts/_default/single.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/themes/mypaper/layouts/_default/single.html b/themes/mypaper/layouts/_default/single.html
index 71c6481..2156f37 100644
--- a/themes/mypaper/layouts/_default/single.html
+++ b/themes/mypaper/layouts/_default/single.html
@@ -3,11 +3,6 @@
<article class="post-single">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
- <div class="post-meta">
- {{- $date := .Date.Format "2006-01-02" }}
- {{- $lastmod := .Lastmod.Format "2006-01-02" }}
- Posted on <time>{{ $date }}</time>{{ if ne $date $lastmod }}, updated on <time>{{ $lastmod }}</time>{{ end }}
- </div>
{{- if .Params.tags }}
<ul class="post-tags">
{{- range .Params.tags }}