summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapp.py2
-rw-r--r--static/index.md4
-rw-r--r--static/style.css (renamed from static/styles/style.css)0
-rw-r--r--templates/template.html.j26
4 files changed, 6 insertions, 6 deletions
diff --git a/app.py b/app.py
index 7122b06..e4f2f7d 100755
--- a/app.py
+++ b/app.py
@@ -33,7 +33,7 @@ def get_template_items(title, db):
@app.route("/~")
def index():
with database.Database() as db:
- with open("static/index.md", "r") as f:
+ with open(os.path.join("static", "index.md"), "r") as f:
return flask.render_template(
"index.html.j2",
**get_template_items("eva's site", db),
diff --git a/static/index.md b/static/index.md
index 62398c7..c431a89 100644
--- a/static/index.md
+++ b/static/index.md
@@ -10,8 +10,8 @@ this website can encourage someone to create their own.
In my spare time I like to go climbing and do some programming on various
projects. Occasionally I'll go on a walk in a random place I've never been in
and take pictures. Maybe I'll add a photo album sometime later. You can read
-more about me [here](./about.html)
+more about me [here](/thought?id=2)
## thoughts
-I'll sometimes post my thoughts. You can read them [here](./thoughts.html).
+I'll sometimes post my thoughts. You can read them [here](/thoughts).
diff --git a/static/styles/style.css b/static/style.css
index f4b782f..f4b782f 100644
--- a/static/styles/style.css
+++ b/static/style.css
diff --git a/templates/template.html.j2 b/templates/template.html.j2
index 183ef55..8a8a9fb 100644
--- a/templates/template.html.j2
+++ b/templates/template.html.j2
@@ -1,12 +1,12 @@
<!doctype html>
<html lang="en">
<head>
- <link rel='stylesheet' href="static/styles/style.css">
+ <link rel='stylesheet' href="static/style.css">
<link rel="icon" type="image/png" href="static/images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="static/images/favicon-16x16.png" sizes="16x16" />
- <title>cafebabe.gay :: {{ title }}</title>
+ <title>cafebabe.gay :: {{title}}</title>
- <meta content="{{ title }}" property="og:title" />
+ <meta content="{{title}}" property="og:title" />
<meta content="https://cafebabe.gay" property="og:url" />
</head>
<body>