Adding rich snippets.

This commit is contained in:
Adsooi 2022-01-21 16:27:27 +01:00
parent ed60f3d091
commit d2a152fd93
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 28 additions and 1 deletions

View file

@ -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>