mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Setup inline scripts and styles
This commit is contained in:
parent
5cc0703508
commit
60a43c2f39
4 changed files with 78 additions and 7 deletions
|
|
@ -66,9 +66,10 @@ class DefaultLayout {
|
|||
return Object.values( linkTags ).join('')
|
||||
}
|
||||
|
||||
|
||||
render({
|
||||
content,
|
||||
title = null
|
||||
title = null,
|
||||
}) {
|
||||
return /* html */`
|
||||
<!doctype html>
|
||||
|
|
@ -152,7 +153,9 @@ class DefaultLayout {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{ Scripts }}
|
||||
<script>
|
||||
${ this.getJs() }
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue