summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html22
-rw-r--r--templates/index.html8
2 files changed, 17 insertions, 13 deletions
diff --git a/templates/base.html b/templates/base.html
index 83b5cc3..993350d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -30,13 +30,15 @@
</script>
<header>
+ <a href="/"
+ ><img
+ src="/favicon.ico"
+ alt="sakamoto"
+ style="width: 25px; height: 25px"
+ /></a>
<nav>
- <a class="left" href="/">sakamoto</a>
- <a class="left" href="/about">about</a>
- <a class="left" href="https://git.sakamoto.network">git</a>
- <a class="left" href="/blog">blog</a>
- <a class="right" href="/rss.xml">rss</a>
- <a class="right" href="/atom.xml">atom</a>
+ <a href="https://git.sakamoto.network">git</a>
+ <a href="/blog">blog</a>
</nav>
</header>
@@ -46,6 +48,12 @@
<hr />
- <footer>fish</footer>
+ <footer>
+ <p>No rights reserved. Birds aren't real.</p>
+ <nav>
+ <a href="/rss.xml">rss</a>
+ <a href="/atom.xml">atom</a>
+ </nav>
+ </footer>
</body>
</html>
diff --git a/templates/index.html b/templates/index.html
index a01d58f..49d1a78 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,8 +1,6 @@
{% extends "base.html" %} {% block title %} sakamoto.network {% endblock title
%} {% block content %}
-<h1>sakamoto.network</h1>
-
-<p>I host services for a few friends.</p>
+<!-- <h1>sakamoto.network</h1> -->
<h2>Services</h2>
@@ -14,11 +12,9 @@
<li><a href="https://paste.sakamoto.network">rustypaste</a></li>
</ul>
-{% set blog = get_section(path="blog/_index.md") %}
-
+{% set blog = get_section(path="blog/_index.md") %} {% if blog.pages %}
<h2>Recent posts</h2>
-{% if blog.pages %}
<ul>
{% for post in blog.pages | slice(end=5) %}
<li>