Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% load staticfiles %}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <link rel="stylesheet" type="text/css" href="{% static 'style.css' %}" />
- <title>TreasureGram</title>
- </head>
- <body>
- <h1>TreasureGram</h1>
- {% for treasure in treasures %}
- <p>{{ treasure.name }}</p>
- {% if treasure.value > 0 %}
- <p>{{ treasure.value }}
- {% else %}
- <p>Unknown</p>
- {% endif %}
- {% endfor %}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement