Skip to content

Instantly share code, notes, and snippets.

@susatadahiro
Last active December 18, 2015 21:38
Show Gist options
  • Save susatadahiro/5848563 to your computer and use it in GitHub Desktop.
Save susatadahiro/5848563 to your computer and use it in GitHub Desktop.
Liquidマークアップを使って、Webデータベースの情報を取り出す。
<table>
<tr>
<th>タイトル</th><th>本文</th>
</tr>
{% for item in tables["ニュース"].rows %}
<tr>
<td>{{ item["タイトル"] }}</td><td>{{ item["本文"] }}</td>
</tr>
{% endfor %}
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment