summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2023-02-10 22:02:01 +0100
committerWriterV2 <primary-v2@protonmail.com>2023-02-10 22:02:01 +0100
commit304fe90be84ecf04c6ac39925e58d5a777e7e649 (patch)
tree825aa0a732c90ce36719967d5fc9582ddf92b5bb /templates
parent00d9bb0e50ee04f3de5a98bf0885640797a55296 (diff)
Change CSS file path to absolute
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/stories.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index ea8e04f..8ab60a5 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,7 +5,7 @@
<title>{% block title %}{% endblock title %} - Vithuran Vishnuthas</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="style.css">
+ <link rel="stylesheet" href="/style.css">
<link rel="icon" href="data:,">
</head>
diff --git a/templates/stories.html b/templates/stories.html
index a9efdb3..bd1aab9 100644
--- a/templates/stories.html
+++ b/templates/stories.html
@@ -18,7 +18,7 @@ Despite my linguistic difficulties to express myself, my love for story telling
</div>
<div class="works">
{% for work in works | sort(attribute="last_update") | reverse %}
- <a href="./stories/{{work.path_to_document | replace(from='pdf', to='html')}}" class="work-card card">
+ <a href="./stories/{{ work.path_to_document | replace(from='pdf', to='html') }}" class="work-card card">
<div class="title-and-description">
<h3>{{work.title}}</h3>
<p>{{work.description}}</p>