diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 8 | ||||
-rw-r--r-- | layouts/_default/single.html | 12 |
2 files changed, 9 insertions, 11 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e401596..f6fad64 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,12 +1,12 @@ {{ partial "head.html" . }} - <body class="theme-base-0b layout-reverse" itemscope itemtype="http://schema.org/Blog"> + <body class="theme-base-0b layout-reverse"> <main class="content container" role="main"> <h1 class="page-title">{{ .Title }}</h1> <ul class="posts"> {{ range .Data.Pages }} - <li itemscope itemtype="http://schema.org/BlogPosting"> - <a class="post-title u-url" itemprop="url" href="{{ .Permalink | replaceRE "/$" "" }}"><span itemprop="name">{{ .Title }}<span></a> - <time class="post-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> + <li> + <a class="post-title u-url" href="{{ .Permalink | replaceRE "/$" "" }}">{{ .Title }}</a> + <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </li> {{ end }} </ul> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a3ecf61..390ecf0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,14 +1,14 @@ {{ partial "head.html" . }} - <body class="theme-base-0b layout-reverse h-entry" itemscope itemtype="http://schema.org/BlogPosting"> + <body class="theme-base-0b layout-reverse h-entry"> <main class="content container" role="main"> <article class="post"> <header> <a class="u-url" href="{{ .Permalink | replaceRE "/$" "" }}"> - <h1 class="post-title p-name" itemprop="name">{{ .Title }}</h1> + <h1 class="post-title p-name">{{ .Title }}</h1> </a> - <time class="post-date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}" itemprop="datePublished">{{ .Date.Format "Monday, 2 January 2006" }}</time> + <time class="post-date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> </header> - <main class="post-content e-content" itemprop="articleBody"> + <main class="post-content e-content"> {{ .Content }} </main> <footer class="footer"> @@ -24,9 +24,7 @@ <p> Tags: {{ range .Params.tags }} - <span itemprop="keywords"> - <a class="p-category" href="/tags/{{ . | urlize }}/">{{ . }}</a> - </span> + <a class="p-category" href="/tags/{{ . | urlize }}/">{{ . }}</a> {{ end }} </p> |