diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml index 12ca547..b8bcca8 100644 --- a/exampleSite/config/_default/params.yaml +++ b/exampleSite/config/_default/params.yaml @@ -3,6 +3,8 @@ description: > Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of good alternatives out there. +images: + - "socialmedia2.png" geekdocToC: 3 geekdocTagsToMenu: true diff --git a/exampleSite/static/socialmedia2.png b/exampleSite/static/socialmedia2.png new file mode 100644 index 0000000..45e7d4e Binary files /dev/null and b/exampleSite/static/socialmedia2.png differ diff --git a/layouts/partials/microformats/schema.html b/layouts/partials/microformats/schema.html index 1e67bf7..ba841b7 100644 --- a/layouts/partials/microformats/schema.html +++ b/layouts/partials/microformats/schema.html @@ -17,7 +17,7 @@ "inLanguage": {{ .Lang }} } -{{- else if .IsPage }} +{{- else if or (and (not (eq .Type "posts")) (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }}