diff options
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 %} |
