fix: add schema.org metadata to docs sections (#347)

This commit is contained in:
Robert Kaussow 2022-02-17 20:44:08 +01:00 committed by GitHub
parent 7df6057ca0
commit 2dbe3a4a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ description: >
Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme 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 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. there are a lot of good alternatives out there.
images:
- "socialmedia2.png"
geekdocToC: 3 geekdocToC: 3
geekdocTagsToMenu: true geekdocTagsToMenu: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -17,7 +17,7 @@
"inLanguage": {{ .Lang }} "inLanguage": {{ .Lang }}
} }
</script> </script>
{{- else if .IsPage }} {{- else if or (and (not (eq .Type "posts")) (in "section page" .Kind )) (and (eq .Type "posts") (eq .Kind "page")) }}
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": "http://schema.org", "@context": "http://schema.org",