Browse Source

adding application_root to css links

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

2
templates/base.html

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>{{ name }} in octomode</title> <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 %} {% block head %}
{% endblock %} {% endblock %}
</head> </head>

2
templates/start.html

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>octomode</title> <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> </head>
<body class="start-page"> <body class="start-page">
<form action="{{ application_root }}" method="POST"> <form action="{{ application_root }}" method="POST">

Loading…
Cancel
Save