all repos — website @ 91796f21c74558ec438f3b346ae95d125333a0a9

My website

Add h-feed support

Alan Pearce
commit

91796f21c74558ec438f3b346ae95d125333a0a9

parent

d4f13dda5ab01a0f4dc0609b6d81205de3fbb93b

1 file changed, 7 insertions(+), 4 deletions(-)

changed files
M themes/xmin/layouts/_default/list.htmlthemes/xmin/layouts/_default/list.html
@@ -1,8 +1,11 @@
{{ define "main" }} -{{if not .IsHome }} +{{ if not .IsHome }} <h1>{{ .Title | markdownify }}</h1> +{{ else }} +<h1>{{ .Site.Title | markdownify }}</h1> {{ end }} + {{ .Content }}
@@ -10,9 +13,9 @@ <ul>
{{ $pages := .Pages }} {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} {{ range (where $pages "Section" "!=" "") }} - <li> - <span class="date">{{ .Date.Format "2006-01-02" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> + <li class="h-entry"> + <span class="date dt-published">{{ .Date.Format "2006-01-02" }}</span> + <a class="u-url p-name" href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> </li> {{ end }} </ul>