Refactor to use plain GoStyleCamelCase instead of json_style_snake_case.
This commit is contained in:
parent
931c493928
commit
051474bdc9
12 changed files with 60 additions and 61 deletions
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
<div x-init="item = await Stream.item()" x-data="{item: {}}">
|
||||
<block style="--value: 7">
|
||||
<h1 x-text="item.title"></h1>
|
||||
<h1 x-text="item.Title"></h1>
|
||||
|
||||
<div>
|
||||
<p x-text="item.description"></p>
|
||||
<p x-text="item.Description"></p>
|
||||
</div>
|
||||
</block>
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<ul x-data="Links">
|
||||
<template x-for="item in contents">
|
||||
<li><a x-text="item.description" x-bind:href="item.url"></a></li>
|
||||
<li><a x-text="item.Description" x-bind:href="item.Url"></a></li>
|
||||
</template>
|
||||
</ul>
|
||||
</block>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue