Skip to content

Commit

Permalink
addresses issue #177
Browse files Browse the repository at this point in the history
work on this revealed html files were not being correctly terminated with </body></html> files. So this cleanup done here.
  • Loading branch information
finanalyst committed Mar 2, 2023
1 parent 70d184e commit a6fd5f1
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Website/plugins/ogdenwebb/ogdenwebb-replacements.raku
Expand Up @@ -15,9 +15,21 @@ use v6.d;
<div id="raku-repl"></div>
{ %tml<footer>.(%prm, %tml) }
{ %tml<js-bottom>.({}, {}) }
{ %tml<end-block>.(%prm, %tml) }
</body>
</html>
BLOCK
},
'head-block' => sub (%prm, %tml) {
"\<head>\n"
~ '<title>' ~ %tml<escaped>.(%prm<title>) ~ " | Raku Documentation\</title>\n"
~ '<meta charset="UTF-8" />' ~ "\n"
~ %tml<favicon>.({}, {})
~ (%prm<metadata> // '')
~ %tml<css>.({}, {})
~ %tml<jq-lib>.({}, {})
~ %tml<js>.({}, {})
~ "\</head>\n"
},
'header' => sub (%prm, %tml) {
qq:to/BLOCK/
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
Expand Down Expand Up @@ -263,16 +275,6 @@ use v6.d;
</div>
BLOCK
},
end-block => sub (%prm, %tml) {
qq:to/BLOCK/
<div
role="status"
aria-live="assertive"
aria-relevant="additions"
class="ui-helper-hidden-accessible">
</div>
BLOCK
},
#placeholder
block-code => sub (%prm, %tml) { # previous block-code is set by 02-highlighter
my $hl = %tml.prior('block-code').(%prm, %tml);
Expand Down

0 comments on commit a6fd5f1

Please sign in to comment.