summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-05-30 17:15:19 -0500
committerToby Vincent <tobyv13@gmail.com>2023-05-30 17:15:19 -0500
commite73de9d3dfc3da7fed92fcf3245a39ffe8dce6f9 (patch)
treecb946147093b74de1fce2fffe97eab075632f987 /templates/index.html
parent2dee9e4b88378d39002db86514ce48b6718e50d3 (diff)
feat: wrote about page and improved styles
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/templates/index.html b/templates/index.html
index 2a975e8..1118adb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,3 @@
-{# vim: set ft=htmldjango: #}
{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="en">
@@ -28,17 +27,17 @@
<link rel="alternate"
type="application/rss+xml"
title="RSS"
- href="{{ get_url(path="rss.xml") | safe }}" />
+ href="{{ get_url(path="rss.xml", trailing_slash=false) }}" />
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body>
<header>
<nav>
- <span>{{ macros::nav_item(name=config.title, url=config.base_url) }}</span>
+ <span>{{ macros::nav_item(name=config.title, path="@/_index.md") }}</span>
<ul>
- <li>{{ macros::nav_item(name="About",url=get_url(path="@/about.md") ) }}</li>
- <li>{{ macros::nav_item(name="Code",url=get_url(path="@/code/_index.md") ) }}</li>
- <li>{{ macros::nav_item(name="Posts",url=get_url(path="@/posts/_index.md") ) }}</li>
+ <li>{{ macros::nav_item(name="About", path="@/about.md") }}</li>
+ <li>{{ macros::nav_item(name="Code", path="@/code/_index.md") }}</li>
+ <li>{{ macros::nav_item(name="Posts", path="@/posts/_index.md") }}</li>
</ul>
</nav>
</header>