Upload index.html
Browse files- templates/index.html +5 -0
templates/index.html
CHANGED
|
@@ -13,5 +13,10 @@
|
|
| 13 |
<button name="action" value="使用魔法">使用魔法</button>
|
| 14 |
</form>
|
| 15 |
<div class="story">{{ story }}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
</body>
|
| 17 |
</html>
|
|
|
|
| 13 |
<button name="action" value="使用魔法">使用魔法</button>
|
| 14 |
</form>
|
| 15 |
<div class="story">{{ story }}</div>
|
| 16 |
+
{% if image %}
|
| 17 |
+
<div class="image-container">
|
| 18 |
+
<img src="{{ image }}" alt="冒險畫面" class="story-image">
|
| 19 |
+
</div>
|
| 20 |
+
{% endif %}
|
| 21 |
</body>
|
| 22 |
</html>
|