fix application/ld+json (#832)

This commit is contained in:
Echo 2026-01-25 13:11:22 -05:00 committed by GitHub
parent 1c315c0ef9
commit d60b179b12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 6 deletions

View file

@ -5,6 +5,9 @@ exclude:
linters:
AllowedScriptType:
enabled: true
allowed_types:
- "text/javascript"
- "application/ld+json"
ClosingErbTagIndent:
enabled: true
CommentSyntax:

View file

@ -7,7 +7,7 @@
<!-- JSON-LD Structured Data -->
<% content_for :head do %>
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TechArticle",

View file

@ -49,7 +49,7 @@
<%= yield :head %>
<!-- JSON-LD Structured Data -->
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
@ -92,7 +92,7 @@
</script>
<!-- Organization Schema -->
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
@ -107,7 +107,7 @@
</script>
<!-- WebSite Schema -->
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
@ -119,7 +119,7 @@
<!-- FAQ Schema for Homepage -->
<% if request.path == "/" %>
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",

View file

@ -1,6 +1,6 @@
<% content_for :head do %>
<!-- Article Schema -->
<script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",