mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
fix: add schema.org metadata to docs sections (#347)
This commit is contained in:
parent
7df6057ca0
commit
2dbe3a4a5f
@ -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
|
||||
|
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 }}
|
||||
}
|
||||
</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">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
|
Loading…
Reference in New Issue
Block a user