about summary refs log tree commit diff stats
path: root/themes/xmin/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 19:10:05 +0100
committerAlan Pearce2020-01-11 19:10:05 +0100
commit91796f21c74558ec438f3b346ae95d125333a0a9 (patch)
treeb20a1c9202153c7163449fe2a857198b97e78738 /themes/xmin/layouts/_default/baseof.html
parentd4f13dda5ab01a0f4dc0609b6d81205de3fbb93b (diff)
downloadwebsite-91796f21c74558ec438f3b346ae95d125333a0a9.tar.lz
website-91796f21c74558ec438f3b346ae95d125333a0a9.tar.zst
website-91796f21c74558ec438f3b346ae95d125333a0a9.zip
Add h-feed support
Diffstat (limited to 'themes/xmin/layouts/_default/baseof.html')
-rw-r--r--themes/xmin/layouts/_default/baseof.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html
index 6757396..16332b8 100644
--- a/themes/xmin/layouts/_default/baseof.html
+++ b/themes/xmin/layouts/_default/baseof.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode }}">
+<html lang="{{ .Site.LanguageCode }}" {{- if .Page.IsNode }} class="h-feed"{{ end }}>
   <head profile="//gmpg.org/xfn/11">
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
-    <title>{{ .Title }} | {{ .Site.Title }}</title>
+    <title {{- if .Page.IsNode }} class="p-name"{{ end }}>{{ .Title }} | {{ .Site.Title }}</title>
     <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
     {{ range .AlternativeOutputFormats -}}
       {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}