Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: Uncaught ReferenceError #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 45 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,49 @@
<!DOCTYPE html>
<html lang="nl">

<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://cdn.jsdelivr.net/gh/digitalbazaar/[email protected]/dist/main.js" class="remove"></script>
<script src="https://gitdocumentatie.logius.nl/publicatie/respec/organisation-config.js" class="remove"></script>
<script src="js/config.js" class="remove"></script>
<script class="remove"> respecConfig = {...organisationConfig, ...respecConfig}</script>
<script>document.title = respecConfig.title</script>
<title>Default</title>
<link rel="shortcut icon" type="image/x-icon" href="https://gitdocumentatie.logius.nl/publicatie/respec/style/logos/logius.ico" />
<script src="https://gitdocumentatie.logius.nl/publicatie/respec/builds/respec-nlgov.js" class="remove" async></script>
</head>

<body>
<section id="abstract" data-include-format="markdown" data-include="abstract.md"></section>
<section id="sotd"></section><!-- Wordt automatisch gevuld -->
<script>
let content = "";

const getClass = function(key) {
if (respecConfig.content[key]!==""){return ` class="${respecConfig.content[key]}"`}
}

for (let contentKey in respecConfig.content) {
content += `<section data-include-format="markdown" data-include="${contentKey}.md" ${getClass(contentKey)||""}></section>`
}

document.getElementById("sotd").insertAdjacentHTML('afterend', content);
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/>
<script class="remove" src="https://cdn.jsdelivr.net/gh/digitalbazaar/[email protected]/dist/main.js">
</script>
<section id='conformance'></section>
<section id='tof'></section>
<section id="index"></section>
</body>

<script class="remove" src="https://gitdocumentatie.logius.nl/publicatie/respec/organisation-config.js">
</script>
<script class="remove" src="js/config.js">
</script>
<script class="remove">
respecConfig = {...organisationConfig, ...respecConfig}
</script>
<title>
BOMOSS, BOMOS voor open source
</title>
<link href="https://gitdocumentatie.logius.nl/publicatie/respec/style/logos/logius.ico" rel="shortcut icon" type="image/x-icon"/>
<script async="" class="remove" src="https://gitdocumentatie.logius.nl/publicatie/respec/builds/respec-nlgov.js">
</script>
</head>
<body>
<section data-include="abstract.md" data-include-format="markdown" id="abstract">
</section>
<section id="sotd">
</section>
<section class="introductory" data-include="documentbeheer.md" data-include-format="markdown">
</section>
<section class="introductory" data-include="colofon.md" data-include-format="markdown">
</section>
<section class="introductory" data-include="ch00_Inleiding.md" data-include-format="markdown">
</section>
<section data-include="ch01_Strategie.md" data-include-format="markdown">
</section>
<section data-include="ch02_Taktiek.md" data-include-format="markdown">
</section>
<section data-include="ch03_Operationeel.md" data-include-format="markdown">
</section>
<section data-include="ch04_ImplementatieOndersteuning.md" data-include-format="markdown">
</section>
<section data-include="ch05_Communicatie.md" data-include-format="markdown">
</section>
<section data-include="App01_Kader.md" data-include-format="markdown">
</section>
<!-- <section id='conformance'></section> -->
<section id="tof">
</section>
</body>
</html>
Loading