Adding rich snippets.
This commit is contained in:
parent
ed60f3d091
commit
d2a152fd93
2 changed files with 28 additions and 1 deletions
|
@ -204,5 +204,32 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
{{ end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "SoftwareApplication",
|
||||
"name": "{{ .Title }}",
|
||||
"description": "{{ .Page.Description }}.",
|
||||
"datePublished": "2022-01-19T17:40:38.546226+00:00",
|
||||
|
||||
"applicationCategory": "{{ $AppData.category }}",
|
||||
|
||||
|
||||
"image": "{{ .Params.HeaderImage }}",
|
||||
"operatingSystem": "linux",
|
||||
"offers": {
|
||||
"price": 0.00,
|
||||
"priceCurrency": "EUR"
|
||||
},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Ad5001",
|
||||
"url": "https://apps.ad5001.eu{{ .Permalink }}"
|
||||
|
||||
},
|
||||
"softwareVersion": "{{ $AppData.version }}",
|
||||
"license": "{{ $AppData.spdx }}"
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -58,7 +58,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="author" content="Ad5001">
|
||||
<meta name="description" content="{{ .Page.Description }}">
|
||||
<meta name="keywords" content="ad5001,programing{{ if .Params.Tags }},{{ .Params.Tags }}{{ end }}">
|
||||
<meta name="keywords" content="ad5001,programming{{ if .Params.Tags }},{{ .Params.Tags }}{{ end }}">
|
||||
<meta name="theme-color" content="#50DC71">
|
||||
<!-- Twitter cards -->
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
|
Loading…
Reference in a new issue