summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 630d71eff481f62b80491649f85e5560941917f1 (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
{% extends "base.html" %} {% block title %} sakamoto.network {% endblock title
%} {% block content %}
<!-- <h1>sakamoto.network</h1> -->

<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">freshrss</a></li>
  <li><a href="https://music.sakamoto.network">music</a></li>
  <li><a href="https://paste.sakamoto.network">rustypaste</a></li>
</ul>

{% set blog = get_section(path="blog/_index.md") %} {% if blog.pages %}
<h2>Recent posts</h2>

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