Skip to content

Commit

Permalink
fix styling in pages within subfolders
Browse files Browse the repository at this point in the history
Fixes style and scripts missing from pages in subfolders #19
  • Loading branch information
lovasoa committed Jul 10, 2023
1 parent 155437c commit 3e99879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlpage/templates/shell.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<title>{{default title "SQLPage"}}</title>

<link rel="stylesheet" href="{{static_path 'sqlpage.css'}}">
<link rel="stylesheet" href="/{{static_path 'sqlpage.css'}}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@2.19.0/tabler-icons.min.css"
integrity="sha384-a8pgu0eDAmHMVlQuzUEoHyapgzLXfOaTTNrMzPivsvAts7LkllyAYpRE4saDWQj7" crossorigin="anonymous">

Expand All @@ -19,7 +19,7 @@
<style>:root { --tblr-font-sans-serif: '{{font}}', Arial, sans;}</style>
{{/if}}

<script src="{{static_path 'sqlpage.js'}}" defer></script>
<script src="/{{static_path 'sqlpage.js'}}" defer></script>
{{#each (to_array javascript)}}
<script src="{{this}}" defer></script>
{{/each}}
Expand Down

0 comments on commit 3e99879

Please sign in to comment.