Browse Source

adding application_root to css links

pull/30/head
manetta 2 years ago
parent
commit
fd8b9aca5c
  1. 2
      templates/base.html
  2. 2
      templates/start.html

2
templates/base.html

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{{ name }} in octomode</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
<link rel="stylesheet" type="text/css" href="{{ application_root }}static/main.css">
{% block head %}
{% endblock %}
</head>

2
templates/start.html

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>octomode</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
<link rel="stylesheet" type="text/css" href="{{ application_root }}static/main.css">
</head>
<body class="start-page">
<form action="{{ application_root }}" method="POST">

Loading…
Cancel
Save