diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 150dd69..6c3ac3b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,10 +1,14 @@ {{ template "theme/partials/head.html" . }} <body class="theme-base-0b layout-reverse"> <main class="content container" role="main"> - <article class="post"> - <h1 class="post-title">{{ .Title }}</h1> - <time class="post-date" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> - {{ .Content }} + <article class="post" itemscope itemtype="http://schema.org/Article"> + <header> + <h1 class="post-title" itemprop="name">{{ .Title }}</h1> + <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}" itemprop="datePublished">{{ .Date.Format "Monday, 2 January 2006" }}</time> + </header> + <div class="post-content" itemprop="articleBody"> + {{ .Content }} + </div> </article> </main> {{ template "theme/partials/sidebar.html" . }} |