diff options
| author | Sakamoto <me@sakamoto.network> | 2025-12-05 17:14:05 -0600 |
|---|---|---|
| committer | Sakamoto <me@sakamoto.network> | 2025-12-05 17:14:05 -0600 |
| commit | 35f13c2d308e7a077787af5cb5d4f03ca3d507ce (patch) | |
| tree | 8ccb136d8708f502bc2c8c46f8c9231b54be6309 /templates/index.html | |
| download | sakamoto.network-35f13c2d308e7a077787af5cb5d4f03ca3d507ce.tar.xz sakamoto.network-35f13c2d308e7a077787af5cb5d4f03ca3d507ce.zip | |
init
smolweb compliant
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..a01d58f --- /dev/null +++ b/templates/index.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} {% block title %} sakamoto.network {% endblock title +%} {% block content %} +<h1>sakamoto.network</h1> + +<p>I host services for a few friends.</p> + +<h2>Services</h2> + +<ul> + <li><a href="https://git.sakamoto.network">git</a></li> + <li><a href="https://file.sakamoto.network">file</a></li> + <li><a href="https://ntfy.sakamoto.network">ntfy</a></li> + <li><a href="https://rss.sakamoto.network">ttrss</a></li> + <li><a href="https://paste.sakamoto.network">rustypaste</a></li> +</ul> + +{% set blog = get_section(path="blog/_index.md") %} + +<h2>Recent posts</h2> + +{% if blog.pages %} +<ul> + {% for post in blog.pages | slice(end=5) %} + <li> + <a href="{{ post.permalink | safe }}">{{ post.title }}</a> + + <time class="right" datetime="{{ post.date }}" + >{{ post.date | date(format="%b %d, %Y") }}</time + > + </li> + {% endfor %} +</ul> +{% endif %} {% endblock content %} |
