mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-03-13 15:39:18 +08:00
add a bit of structured data
Signed-off-by: MiniDigger <admin@minidigger.me>
This commit is contained in:
parent
16d7795d5d
commit
47ceed0b42
@ -48,6 +48,32 @@ showFooter: Boolean = true, noContainer: Boolean = false, additionalMeta: Html =
|
||||
<#-- See https://goo.gl/OOhYW5 and https://goo.gl/qRE0vM -->
|
||||
<link rel="manifest" href="<@hangar.url "manifest/manifest.json" />">
|
||||
<meta name="theme-color" content="#2980B9">
|
||||
|
||||
<#-- google foo -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
"url": "${config.baseUrl}",
|
||||
"name": "Hangar | PaperMC",
|
||||
"logo": "https://papermc.io/images/logo-marker.svg?v=2ca03d456bd669f9",
|
||||
"contactPoint": {
|
||||
"email": "info@papermc.io"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
"url": "${config.baseUrl}",
|
||||
"potentialAction": {
|
||||
"@type": "SearchAction",
|
||||
"target": "${config.baseUrl}?q={search_term_string}",
|
||||
"query-input": "required name=search_term_string"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body class="site">
|
||||
<#if showHeader>
|
||||
|
Loading…
x
Reference in New Issue
Block a user