mg tut c3
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html>
 | 
			
		||||
	<head>
 | 
			
		||||
		<link rel="stylesheet" href="{{ url_for('static', filename='simple.css') }}">
 | 
			
		||||
		{% if title %}
 | 
			
		||||
		<title>{{ title }} - blog</title>
 | 
			
		||||
		{% else %}
 | 
			
		||||
@@ -8,8 +9,24 @@
 | 
			
		||||
		{% endif %}
 | 
			
		||||
	</head>
 | 
			
		||||
	<body>
 | 
			
		||||
		<div>blgo: <a href="/index">home</a></div>
 | 
			
		||||
		<div>
 | 
			
		||||
			blgo:
 | 
			
		||||
			<a href="{{ url_for('index') }}">home</a>
 | 
			
		||||
			<a href="{{ url_for('login') }}">login</a>
 | 
			
		||||
 | 
			
		||||
		</div>
 | 
			
		||||
		<hr>
 | 
			
		||||
		{% with messages = get_flashed_messages() %}
 | 
			
		||||
		{% if messages %}
 | 
			
		||||
		<ul>
 | 
			
		||||
			{% for message in messages %}
 | 
			
		||||
			<li>{{ message }}</li>
 | 
			
		||||
			{% endfor %}
 | 
			
		||||
		</ul>
 | 
			
		||||
		{% endif %}
 | 
			
		||||
		{% endwith %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		{% block content %}{% endblock %}
 | 
			
		||||
	</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user