all repos — homestead @ b84e762e26ecb417966ca328055c7ed8e347c789

Code for my website

Add h-feed support

Alan Pearce
commit

b84e762e26ecb417966ca328055c7ed8e347c789

parent

4ecc532d6ba8e5252514ee3b063813727d19f929

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>