summaryrefslogtreecommitdiff
path: root/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'process.py')
-rw-r--r--process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.py b/process.py
index c9db002..e2b9051 100644
--- a/process.py
+++ b/process.py
@@ -23,7 +23,7 @@ def run_pi(input: str) -> str:
def template(input: str) -> str:
RE_TITLE = r"<h1>(?P<title>.*?)</h1>"
title_match = re.match(RE_TITLE, input)
- title = title_match.group(1) if title_match != None else "no title :("
+ title = f"{title_match.group(1)} - metamuffin's website" if title_match != None else "metamuffin's website"
tpl = open("template.html", "r").read()
return tpl.replace("CONTENT", input).replace("TITLE", title)