diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..37dba0e3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sql linguist-detectable=true \ No newline at end of file diff --git a/sqlpage/templates/shell.handlebars b/sqlpage/templates/shell.handlebars index cfa4d784..1e4aafde 100644 --- a/sqlpage/templates/shell.handlebars +++ b/sqlpage/templates/shell.handlebars @@ -1,7 +1,7 @@ - + - + {{default title "SQLPage"}} {{#if manifest}} @@ -23,15 +23,22 @@ font-weight: normal; font-style: normal; } + :root { --tblr-font-sans-serif: 'LocalFont', Arial, sans-serif; } {{else}} - - - - + + + + {{/if}} {{/if}} @@ -46,9 +53,8 @@ {{/if}} {{/each}} - - - + + {{#if norobot}} {{/if}} @@ -59,120 +65,147 @@ {{#if rss}} {{/if}} - - + {{#if social_image}} - + {{/if}} - -
- {{#if (or (or title (or icon image)) menu_item)}} -
-
- - + + {{/if}} + {{/with}} + {{~else}} + {{~#if (gt (len this) 0)~}} + + {{~/if~}} + {{~/if~}} + {{~/each}} + + {{#if search_target}} + {{/if}} -
- {{~#each_row~}}{{~/each_row~}} -
- - +{{/if}} +
+
+ {{~#each_row~}}{{~/each_row~}} +
+
+ + - + \ No newline at end of file