Updated the layout to have a blockstart for every page so that markdown works.
This commit is contained in:
parent
d856784823
commit
d98325564f
16 changed files with 26 additions and 53 deletions
|
@ -2,7 +2,6 @@
|
|||
let thePage = new PaginateTable("/api/admin/table/{{ .Table }}");
|
||||
</script>
|
||||
|
||||
<blockstart>
|
||||
<h1><a href="/admin/table/">«</a> Admin {{ .Table }}</h1>
|
||||
|
||||
<block x-data="thePage">
|
||||
|
@ -33,5 +32,3 @@
|
|||
</template>
|
||||
</table>
|
||||
</block>
|
||||
|
||||
</blockstart>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
let Data = new GetJson("/api/admin/new/table/{{ .Table }}");
|
||||
</script>
|
||||
|
||||
<blockstart>
|
||||
<h1><a href="/admin/table/{{ .Table }}/">«</a>Admin {{ .Table }}</h1>
|
||||
|
||||
<block x-data="Data">
|
||||
|
@ -27,5 +26,3 @@
|
|||
</card>
|
||||
</form>
|
||||
</block>
|
||||
|
||||
</blockstart>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
let Data = new GetJson("/api/admin/table/{{ .Table }}/{{ .Id }}");
|
||||
</script>
|
||||
|
||||
<blockstart>
|
||||
<h1><a href="/admin/table/{{ .Table }}/">«</a>Admin {{ .Table }}</h1>
|
||||
|
||||
<block x-data="Data">
|
||||
|
@ -27,5 +26,3 @@
|
|||
</card>
|
||||
</form>
|
||||
</block>
|
||||
|
||||
</blockstart>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
let Game = new GetJson("/api/game/1");
|
||||
</script>
|
||||
|
||||
<blockstart>
|
||||
<shape style="--w: 100%; --h: 300px">Gameplay Demo Video</shape>
|
||||
|
||||
<block style="--value: 7"
|
||||
|
@ -37,5 +36,3 @@
|
|||
<p>Polaroid retro pork belly yes plz bitters, viral chicharrones typewriter chartreuse vice Brooklyn. Adaptogen pour-over vibecession viral. Tote bag tonx DIY microdosing. Pickled selvage bespoke small batch, blue bottle twee tacos jean shorts before they sold out chicharrones solarpunk. Hoodie taiyaki poutine jianbing chambray.</p>
|
||||
<button><a href="https://git.learnjsthehardway.com/learn-code-the-hard-way/turings-tarpit">View the Git</a></button>
|
||||
</block>
|
||||
|
||||
</blockstart>
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
</blockstart>
|
||||
</header>
|
||||
|
||||
<blockstart>
|
||||
{{embed}}
|
||||
</blockstart>
|
||||
|
||||
<footer>
|
||||
<blockstart style="--value: 0; --text: 9">
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
</script>
|
||||
|
||||
<div x-init="item = await Stream.item()" x-data="{item: {}}">
|
||||
<blockstart>
|
||||
|
||||
<block style="--value: 7">
|
||||
<h1 x-text="item.title"></h1>
|
||||
|
||||
|
@ -40,6 +38,4 @@
|
|||
</div>
|
||||
</grid>
|
||||
</block>
|
||||
|
||||
</blockstart>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue