From d60b179b128c0dbb48ef551d2f94602a4a9b3315 Mon Sep 17 00:00:00 2001 From: Echo Date: Sun, 25 Jan 2026 13:11:22 -0500 Subject: [PATCH] fix application/ld+json (#832) --- .erb_lint.yml | 3 +++ app/views/docs/show.html.erb | 2 +- app/views/layouts/application.html.erb | 8 ++++---- app/views/static_pages/what_is_hackatime.html.erb | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.erb_lint.yml b/.erb_lint.yml index 816949c..35c74fd 100644 --- a/.erb_lint.yml +++ b/.erb_lint.yml @@ -5,6 +5,9 @@ exclude: linters: AllowedScriptType: enabled: true + allowed_types: + - "text/javascript" + - "application/ld+json" ClosingErbTagIndent: enabled: true CommentSyntax: diff --git a/app/views/docs/show.html.erb b/app/views/docs/show.html.erb index 2da9d6d..3099759 100644 --- a/app/views/docs/show.html.erb +++ b/app/views/docs/show.html.erb @@ -7,7 +7,7 @@ <% content_for :head do %> - - -