update
This commit is contained in:
14
2024.02.26_flask_example/my_flask_app/templates/about.html
Normal file
14
2024.02.26_flask_example/my_flask_app/templates/about.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>About</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>About Me</h1>
|
||||
<p>This is the about page content. My name is {{name}}.</p>
|
||||
<p><a href="/">Home</a></p>
|
||||
<!-- Flask使用的是Jinja2模板引擎。Jinja2使用 {{ 和 }} 来标识变量/动态内容。 -->
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user