Skip to content
Snippets Groups Projects
Verified Commit 5376ac82 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: missing title annotation

parent c79eaddf
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ type Anchor struct { ...@@ -16,7 +16,7 @@ type Anchor struct {
Id string `yaml:"id"` Id string `yaml:"id"`
Href string `yaml:"href"` Href string `yaml:"href"`
HrefLang string `yaml:"hreflang"` HrefLang string `yaml:"hreflang"`
Title string Title string `yaml:"title"`
} }
type Translations struct { type Translations struct {
......
<!DOCTYPE html> <!DOCTYPE html><html lang="de"><head>
<html lang="de">
<head>
<style> <style>
*:not(:defined) { *:not(:defined) {
...@@ -30,14 +28,7 @@ ...@@ -30,14 +28,7 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml"/> <link rel="icon" href="/favicon.svg" type="image/svg+xml"/>
<link rel="apple-touch-icon" href="/apple-touch-icon.png"/> <link rel="apple-touch-icon" href="/apple-touch-icon.png"/>
<script id="translations" type="application/json" data-monster-role="translation">{ <script id="translations" type="application/json" data-monster-role="translation">{"key1":"value1 gfgf66","key2":"value2 gg","key3":{"one":"value3 tgtgt","two":"value4 trzrtz"}}</script>
"key1": "value1 gfgf66",
"key2": "value2 gg",
"key3": {
"one": "value3 tgtgt",
"two": "value4 trzrtz"
}
}</script>
<script id="mainscript" src="/script/main22.mjs" type="module"></script> <script id="mainscript" src="/script/main22.mjs" type="module"></script>
...@@ -51,25 +42,19 @@ ...@@ -51,25 +42,19 @@
<monster-state> <monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm <img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193"/>
id="tickyesdata-image-gi-4013311193"/>
<h1 class="deco">Bad xxxx</h1> <h1 class="deco">Bad xxxx</h1>
<p>The request was incorrect, the server could not process it.</p> <p>The request was incorrect, the server could not process it.</p><p>
<p> </p><div class="infobox">
</p>
<div class="infobox">
<div> <div>
<ul> <ul>
<li>Try submitting your<a id="yes-a-html" href="/a.html" title="Yes" hreflang="">request</a> again <li>Try submitting your<a id="yes-a-html" href="/a.html" title="Yes" hreflang="">request</a> again (sometimes this helps).</li>
(sometimes this helps).
</li>
<li>Contact support if you continue to have problems.</li> <li>Contact support if you continue to have problems.</li>
<li>If you received this message as a result of a request to the server API, then check the structure <li>If you received this message as a result of a request to the server API, then check the structure
against the documentation. against the documentation.</li>
</li>
</ul> </ul>
...@@ -83,5 +68,5 @@ ...@@ -83,5 +68,5 @@
</monster-state> </monster-state>
</body>
</html> </body></html>
\ No newline at end of file \ No newline at end of file
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
</head> </head>
<body> <body>
<a href="/test.html" title="test-link">test-link</a>
<header> <header>
<div class="gradient"></div> <div class="gradient"></div>
</header> </header>
......
...@@ -14,11 +14,19 @@ test1.html: ...@@ -14,11 +14,19 @@ test1.html:
alt: tick alt: tick
title: "yes" title: "yes"
anchors: anchors:
- id: test-link-test-html
href: /test.html
hreflang: ""
title: test-link
content: ""
- id: yes-a-html - id: yes-a-html
href: /a.html href: /a.html
hreflang: "" hreflang: ""
title: "Yes" title: "Yes"
content: ""
text: text:
- text: test-link
id: test-link
- text: Bad xxxx - text: Bad xxxx
id: bad-xxxx id: bad-xxxx
- text: The request was incorrect, the server could not process it. - text: The request was incorrect, the server could not process it.
...@@ -37,11 +45,11 @@ test1.html: ...@@ -37,11 +45,11 @@ test1.html:
- id: translations - id: translations
type: application/json type: application/json
translations: translations:
key1: value1 gfgf66 key1: value1
key2: value2 gg key2: value2
key3: key3:
one: value3 tgtgt one: value3
two: value4 trzrtz two: value4
test2.html: test2.html:
export: en/test2.html export: en/test2.html
lang: en lang: en
...@@ -62,6 +70,7 @@ test2.html: ...@@ -62,6 +70,7 @@ test2.html:
href: /a.html href: /a.html
hreflang: "" hreflang: ""
title: "Yes" title: "Yes"
content: ""
text: text:
- text: Bad xxxx - text: Bad xxxx
id: bad-xxxx id: bad-xxxx
...@@ -98,6 +107,7 @@ test3.html: ...@@ -98,6 +107,7 @@ test3.html:
href: /a.html href: /a.html
hreflang: "" hreflang: ""
title: "Yes" title: "Yes"
content: ""
text: text:
- text: Bad xxxx - text: Bad xxxx
id: bad-xxxx id: bad-xxxx
......
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
</head> </head>
<body> <body>
<a href="/test.html" title="test-link" id="test-link-test-html" data-attributes="href path:anchors.test-link-test-html.href,title path:anchors.test-link-test-html.title,hreflang path:anchors.test-link-test-html.hreflang"><span id="test-link" data-replace-self="path:text.test-link.text">test-link</span></a>
<header> <header>
<div class="gradient"></div> <div class="gradient"></div>
</header> </header>
...@@ -51,7 +55,7 @@ ...@@ -51,7 +55,7 @@
<monster-state> <monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm <img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="src path:content.tickyesdata-image-gi-4013311193.src,alt path:content.tickyesdata-image-gi-4013311193.alt,title path:content.tickyesdata-image-gi-4013311193.title"/> PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="alt path:content.tickyesdata-image-gi-4013311193.alt,src path:content.tickyesdata-image-gi-4013311193.src,title path:content.tickyesdata-image-gi-4013311193.title"/>
<h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1> <h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1>
<p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it. <p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it.
</span></p><p> </span></p><p>
...@@ -60,7 +64,7 @@ ...@@ -60,7 +64,7 @@
<ul> <ul>
<li><span id="try-submitting-your" data-replace-self="path:text.try-submitting-your.text">Try submitting your </span><a href="/a.html" title="Yes" id="yes-a-html" data-attributes="href path:anchors.yes-a-html.href,title path:anchors.yes-a-html.title,hreflang path:anchors.yes-a-html.hreflang">request</a> again (sometimes this helps).</li> <li><span id="try-submitting-your" data-replace-self="path:text.try-submitting-your.text">Try submitting your </span><a href="/a.html" title="Yes" id="yes-a-html" data-attributes="title path:anchors.yes-a-html.title,href path:anchors.yes-a-html.href,hreflang path:anchors.yes-a-html.hreflang">request</a> again (sometimes this helps).</li>
<li><span id="contact-support-if-y-3404332025" data-replace-self="path:text.contact-support-if-y-3404332025.text">Contact support if you continue to have problems.</span></li> <li><span id="contact-support-if-y-3404332025" data-replace-self="path:text.contact-support-if-y-3404332025.text">Contact support if you continue to have problems.</span></li>
<li><span id="if-you-received-this-423958995" data-replace-self="path:text.if-you-received-this-423958995.text">If you received this message as a result of a request to the server API, then check the structure <li><span id="if-you-received-this-423958995" data-replace-self="path:text.if-you-received-this-423958995.text">If you received this message as a result of a request to the server API, then check the structure
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<monster-state> <monster-state>
<img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm <img width="16" height="16" alt="tick" title="yes" src="data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2Cm
V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ V1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQ
PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="alt path:content.tickyesdata-image-gi-4013311193.alt,src path:content.tickyesdata-image-gi-4013311193.src,title path:content.tickyesdata-image-gi-4013311193.title"/> PbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" id="tickyesdata-image-gi-4013311193" data-attributes="src path:content.tickyesdata-image-gi-4013311193.src,alt path:content.tickyesdata-image-gi-4013311193.alt,title path:content.tickyesdata-image-gi-4013311193.title"/>
<h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1> <h1 class="deco"><span id="bad-xxxx" data-replace-self="path:text.bad-xxxx.text">Bad xxxx</span></h1>
<p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it. <p><span id="the-request-was-inco-2640993422" data-replace-self="path:text.the-request-was-inco-2640993422.text">The request was incorrect, the server could not process it.
</span></p><p> </span></p><p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment