summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index b7cef4a..90cf0ae 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -4,8 +4,8 @@
<h1 class="list-title">{{ .Title }}</h1>
{{ range .Data.Pages }}
<article itemscope itemtype="http://schema.org/Blog">
- <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} #Draft{{ end }}</a></h2>
- <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
+ <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
+ <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span>
</article>
{{ end }}
</main>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6aadea7..431e193 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,11 +3,11 @@
<main role="main">
<article itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="entry-title" itemprop="headline">{{ .Title }}</h1>
- <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
+ <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span>
<section itemprop="entry-text">
{{ .Content }}
</section>
</article>
</main>
-{{ partial "footer.html" . }} \ No newline at end of file
+{{ partial "footer.html" . }}