fix: add schema.org metadata to docs sections (#347)
This commit is contained in:
parent
7df6057ca0
commit
2dbe3a4a5f
3 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
BIN
exampleSite/static/socialmedia2.png
Normal file
BIN
exampleSite/static/socialmedia2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue