aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/index.html')
-rw-r--r--theme/templates/index.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/theme/templates/index.html b/theme/templates/index.html
new file mode 100644
index 0000000..923d920
--- /dev/null
+++ b/theme/templates/index.html
@@ -0,0 +1,55 @@
+{% extends "base.html" %}
+
+{% block main %}
+<section>
+ <h1>cleberg.net</h1>
+ <blockquote>Do AIs dream in electric sheep?<br>He hoped it had nanosecond nightmares.</blockquote>
+</section>
+<section>
+ <h2>Recent Blog Posts</h2>
+<<<<<<< HEAD:templates/index.html
+ {% set section = get_section(path="blog/_index.md") %}
+ {% set i = 0 %}
+ {% for page in section.pages %}
+ {% if i < 3%}
+ {% set_global i = i + 1%}
+ <div class="post">
+ <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time>
+ <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
+ </div>
+ {% endif %}
+ {% endfor %}
+=======
+ <div class="post">
+ <time datetime="2024-03-15">&lt;2024-03-15&gt;</time>
+ <a href="/blog/self-hosting-ddns-updater.html">Self-Hosting DDNS Updater</a>
+ </div>
+ <div class="post">
+ <time datetime="2024-03-14">&lt;2024-03-14&gt;</time>
+ <a href="/blog/doom-emacs-org-mode.html">Doom Emacs & Org-Mode</a>
+ </div>
+ <div class="post">
+ <time datetime="2024-02-21">&lt;2024-02-21&gt;</time>
+ <a href="/blog/self-hosting-an-otter-wiki.html">Self-Hosting An Otter Wiki</a>
+ </div>
+>>>>>>> org:theme/templates/index.html
+ <br>
+ <a href="/blog/">All Posts &rarr;</a>
+</section>
+<section>
+ <h2>Everything Else</h2>
+ <ul>
+ <li><a href="/salary/">Salary</a></li>
+ <li><a href="/services/">Services</a></li>
+ <li><a href="/wiki/">Wiki</a></li>
+ </ul>
+</section>
+<section>
+ <h2>Contact</h2>
+ <ul>
+ <li>hello [at] cleberg.net (<a href="/gpg.txt">GPG</a>)</li>
+ <li><a href="https://matrix.to/#/@cyborg:matrix.tchncs.de" target="_blank" rel="noopener">@cyborg:@matrix.tchncs.de</a></li>
+ <li><a href="https://git.cleberg.net/cleberg.net.git" target="_blank" rel="noopener">Git</a></li>
+ </ul>
+</section>
+{% endblock %}