Skip to content

Commit

Permalink
Merge pull request #36 from AceFire6/jethro/change/get_static_file_li…
Browse files Browse the repository at this point in the history
…nks_properly

Use url_for to get static links correctly
  • Loading branch information
AceFire6 authored Jul 28, 2018
2 parents 8bf0a6f + 60e18c0 commit fd031d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ordering/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head lang="en">
<meta charset="UTF-8">
<title>Arrowverse Episode Order</title>
<link type="image/png" href="/static/favicon.png" rel="icon">
<link type="image/png" href="{{ url_for('static', filename='favicon.png') }}" rel="icon">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css">
<link rel="stylesheet" href="/static/css/index.css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/index.css') }}">
</head>
<body>
<main class="container">
Expand Down Expand Up @@ -172,8 +172,8 @@ <h5 class="modal-title">Contact</h5>
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
<script type="text/javascript" rel="script" src="/static/js/cookie.js"></script>
<script type="text/javascript" rel="script" src="/static/js/index.js"></script>
<script type="text/javascript" rel="script" src="{{ url_for('static', filename='js/cookie.js') }}"></script>
<script type="text/javascript" rel="script" src="{{ url_for('static', filename='js/index.js') }}"></script>
{% include 'analytics.html' %}
</main>
</body>
Expand Down

0 comments on commit fd031d1

Please sign in to comment.