diff options
author | tdro <tdro@noreply.example.com> | 2022-08-09 00:00:48 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-08-09 00:00:48 -0400 |
commit | cfab2a86f9498752b5277bea73ec59b7e3709439 (patch) | |
tree | 9ae86bbc40c31bf190c264b33c1c6856f241bc93 /themes/default | |
parent | 9d0e751070a83a708797db6826ade30bbda034a2 (diff) | |
download | canory-cfab2a86f9498752b5277bea73ec59b7e3709439.tar.gz canory-cfab2a86f9498752b5277bea73ec59b7e3709439.tar.bz2 canory-cfab2a86f9498752b5277bea73ec59b7e3709439.zip |
themes/default/layouts/_default/baseof: Add data-type
Set page kind.
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/_default/baseof.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html index bd5fd21..a736662 100644 --- a/themes/default/layouts/_default/baseof.html +++ b/themes/default/layouts/_default/baseof.html @@ -1,5 +1,10 @@ <!DOCTYPE html> -<html data-{{ .Page.Kind }} lang="en-us" itemscope itemtype="http://schema.org/BlogPosting"> +<html + lang="en-us" + data-kind="{{ .Page.Kind }}" + data-type="{{ .Page.Type }}" + itemscope itemtype="http://schema.org/BlogPosting" +> <head> <title> {{- block "title" . -}}{{- end -}} |