Updated the layout to have a blockstart for every page so that markdown works.

This commit is contained in:
Zed A. Shaw 2025-08-04 23:34:24 -04:00
parent d856784823
commit d98325564f
16 changed files with 26 additions and 53 deletions

View file

@ -2,7 +2,6 @@
let thePage = new PaginateTable("/api/admin/table/{{ .Table }}");
</script>
<blockstart>
<h1><a href="/admin/table/">&laquo;</a> Admin {{ .Table }}</h1>
<block x-data="thePage">
@ -33,5 +32,3 @@
</template>
</table>
</block>
</blockstart>

View file

@ -2,7 +2,6 @@
let Data = new PaginateTable("/api/admin/table")
</script>
<blockstart>
<h1>Admin Rows</h1>
<block x-data="Data">
@ -16,5 +15,3 @@
</template>
</ul>
</block>
</blockstart>

View file

@ -2,7 +2,6 @@
let Data = new GetJson("/api/admin/new/table/{{ .Table }}");
</script>
<blockstart>
<h1><a href="/admin/table/{{ .Table }}/">&laquo;</a>Admin {{ .Table }}</h1>
<block x-data="Data">
@ -27,5 +26,3 @@
</card>
</form>
</block>
</blockstart>

View file

@ -2,7 +2,6 @@
let Data = new GetJson("/api/admin/table/{{ .Table }}/{{ .Id }}");
</script>
<blockstart>
<h1><a href="/admin/table/{{ .Table }}/">&laquo;</a>Admin {{ .Table }}</h1>
<block x-data="Data">
@ -27,5 +26,3 @@
</card>
</form>
</block>
</blockstart>