summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: a01d58f1557ec2c8825d14f16e1a2beda8459227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 %}