파이썬 flask css 파일 적용이 안됩니다.
조회수 1340회
<!DOCTYPE html>
<html>
<head>
<title>Flask</title>
<strong><link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}"></strong>
</head>
<body>
<header>
<div class="container">
<h1 class="logo">Flask App</h1>
</div>
</header>
<div class="container">
{% block content %}
{% endblock %}
</div>
</body>
</html>
layout.html을 이렇게 작성했는데 css파일이 안먹네요 왜그럴까요
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력