Commit 290baf42 authored by Jay Lopez's avatar Jay Lopez

fix to load images into the templates

parent 04e7ca07
<!DOCTYPE html> <!DOCTYPE html>
{% load static %}
<html> <html>
<head> <head>
<title>Detail - Cloud</title> <title>Detail - Cloud</title>
</head> </head>
<body> <body>
<img src="./cloud.png" style="width: 10vw;" /> <img src="{% static './cloud.png' %}" style="width: 10vw;" />
<h1>Detail - Cloud</h1> <h1>Detail - Cloud</h1>
<dl> <dl>
<dt>Health Points</dt><dd>600</dd> <dt>Health Points</dt><dd>600</dd>
......
<!DOCTYPE html> <!DOCTYPE html>
{% load static %}
<html> <html>
<head> <head>
<title>Detail - Jester</title> <title>Detail - Jester</title>
</head> </head>
<body> <body>
<img src="./jester.png" style="width: 10vw;"/> <img src="{% static './jester.png' %}" style="width: 10vw;"/>
<h1>Detail - Jester</h1> <h1>Detail - Jester</h1>
<dl> <dl>
<dt>Health Points</dt><dd>660</dd> <dt>Health Points</dt><dd>660</dd>
......
<!DOCTYPE html> <!DOCTYPE html>
{% load static %}
<html> <html>
<head> <head>
<title>Detail - Sunflowey</title> <title>Detail - Sunflowey</title>
</head> </head>
<body> <body>
<img src="./sunflowey.png" style="width: 10vw;" /> <img src="{% static './sunflowey.png' %}" style="width: 10vw;" />
<h1>Detail - Sunflowey</h1> <h1>Detail - Sunflowey</h1>
<dl> <dl>
<dt>Health Points</dt><dd>650</dd> <dt>Health Points</dt><dd>650</dd>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment