Joey889 commited on
Commit
1be5d80
·
verified ·
1 Parent(s): 4d2a9c8

Upload index.html

Browse files
Files changed (1) hide show
  1. 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>