Skip to content
Snippets Groups Projects
Commit a941a4eb authored by Yukun Ge's avatar Yukun Ge
Browse files

update html

parent 18c361de
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -155,8 +155,8 @@ def register():
return render_template("register.html", form=form, username=username)
@app.route("/private_policy")
def private_policy():
@app.route("/privacy_policy")
def privacy_policy():
username = 'Guest'
if session.get('username'):
username = session.get('username')
......
{% extends "layout.html" %}
{% block content %}
<h1>This is About Me page</h1>
{% endblock content %}
......@@ -44,7 +44,7 @@ filename='style.css') }}">
<footer class='footer' id='footer'>
<h4 id="notes"><a href="{{ url_for('private_policy') }}">Private Policy</a> &nbsp; <a href="{{ url_for('disclaimer') }}">Disclaimer</a></h4>
<h4 id="notes"><a href="{{ url_for('privacy_policy') }}">Privacy Policy</a> &nbsp; <a href="{{ url_for('disclaimer') }}">Disclaimer</a></h4>
<div class='contact'>
<ul class='contact-list'>
<li class='img-url'>
......
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel=stylesheet type=text/css href="{{ url_for('static',
filename='style.css') }}">
<title>Let's Blog!</title>
</head>
<body>
<div id="header">
<a href="{{ url_for('home') }}" class="header">Home</a>&nbsp
<a href="{{ url_for('about') }}" class="header">About Me</a>
</div>
<div id="content">
{% block content %}
{% endblock %}
</div>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment