Skip to content

Instantly share code, notes, and snippets.

@bcdejp
Created December 29, 2014 08:15
Show Gist options
  • Save bcdejp/e11d93a62da03f50ba3f to your computer and use it in GitHub Desktop.
Save bcdejp/e11d93a62da03f50ba3f to your computer and use it in GitHub Desktop.
Kindle向けのテンプレート
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>{{title}}</title>
</head>
<body>
{% for news in news_list %}
<h1>{{ news.title|safe }}</h1>
<p>
{{ news.body|safe }}
</p>
<mbp:pagebreak/>
{% endfor %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment