commit eef856c58c96fb3116bbb1c95df882d2c7c172be
parent e7192f84266231e5e98b74c83e79d0b980911447
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Thu, 3 Sep 2020 15:08:37 +0200
Add h-feed
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -5,7 +5,7 @@
{{ end }}
{{ define "main" }}
-<main class="list">
+<main class="list h-feed">
{{- if .Content }}
<header>
{{ .Content }}
@@ -20,7 +20,7 @@
{{- range $paginator.Pages }}
<article class="summary h-entry">
<header>
- <h2 class="p-name"><a class="u-url" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
+ <h2><a class="u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<div class="metadata">
{{ partial "categories.html" . }} · <a href="{{ .RelPermalink }}"><time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "January 2, 2006" }}</time></a> · {{ partial "read-time.html" . }}
<div>