Introduce notes listing

This commit is contained in:
Aminda Suomalainen 2024-06-01 18:55:26 +03:00
parent 69d7cde42a
commit fec9e65f50
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 46 additions and 24 deletions

4
_layouts/mini.html vendored
View File

@ -4,9 +4,9 @@
<body>
<div class="page-content">
<div class="wrapper">
<p class="centered"><small><a lang="en" rel="prefetch" href="/">Return to index?</a> <a lang="fi" rel="prefetch" href="/">Palaa etusivulle?</a></small></p>
<p class="centered"><small><a lang="en" rel="prefetch" href="/n/">Return to note index?</a></small></p>
{{ content }}</div>
<p class="centered"><small><a lang="en" rel="prefetch" href="/">Return to index?</a> <a lang="fi" rel="prefetch" href="/">Palaa etusivulle?</a></small></p>
<p class="centered"><small><a lang="en" rel="prefetch" href="/n/">Return to note index?</a></small></p>
{% include ad.html %}
</div>
</body>

41
n/index.html Normal file
View File

@ -0,0 +1,41 @@
---
layout: default
title: Notes
excerpt: Extra aid for my memory in random subjects. Maybe you are reading this page?
permalink: /n/index.html
redirect_from: /n/n.html
navigation: true
lang: en
sitemap: true
robots: noai
---
<h1>Notes</h1>
<p>
You have discovered my notes listing, where I ramble about random subjects for
future me, so I don't have to rediscover the things again. I tend to access
these with direct link, but for your benefit, they are also listed here.
</p>
<p>
<em
>I won't comment on whether there are secret messy unlisted notes lying
around.</em
>
</p>
<!-- Make a variable containing pages under n/ -->
{% assign notes = site.pages | where_exp: "page", "page.path contains 'n/'" %}
<!-- For loop to go through the contents of the pages -->
{% for note in notes %}
<!-- If the page is on the sitemap, I want to publish it here -->
{% if note.sitemap == true %}
<p>
<a href="{{ note.url }}">{{note.title}}</a>
<em>{{ note.excerpt | markdownify }}</em>
{% endif %} {% endfor %}
</p>

View File

@ -1,4 +1,6 @@
---
title: Telegram language links
excerpt: This page contains link lists to change language of Telegram clients.
layout: mini
permalink: /n/telegram.html
redirect_from: /r/telegram.html

View File

@ -6,25 +6,4 @@ excerpt: "404, not found, don't bother clicking..."
lang: en
---
<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<em lang="fi">Automaattinen sisällysluettelo</em> / <em lang="en">Automatically generated Table of Contents</em>
- [Guesses what you might have been looking for?](#guesses-what-you-might-have-been-looking-for)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->
Sorry, whatever you were looking for, is not here.
## Guesses what you might have been looking for?
- [The index](/)?
- [Something about Matrix](/matrix/index.html)?
- [Onions](https://gitea.blesmrt.net/mikaela/ormirror) or [garlics](https://gitea.blesmrt.net/mikaela/i2pmirror)?
- [My blog](/blog/index.html)?
Sorry, whatever you were looking for, is not here. Maybe the navigation bar above or on the top right on smaller displays will help you?