aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/footer.html28
-rw-r--r--_includes/i18n/footer.ja.html16
-rw-r--r--_includes/i18n/footer.nl.html16
-rw-r--r--_includes/i18n/outdated.ja.html2
-rw-r--r--_includes/i18n/outdated.nl.html3
-rw-r--r--_includes/links.md81
-rw-r--r--_includes/outdated.html6
-rw-r--r--_includes/search.html5
8 files changed, 154 insertions, 3 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..a05e70a
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,28 @@
+<footer id="footer" class="plainlink">
+ <div class="limitwidth">
+ <div class="autocolumn">
+ {% if page.lang == "ja" %}
+ {% include i18n/footer.ja.html %}
+ {% elsif page.lang == "nl" %}
+ {% include i18n/footer.nl.html %}
+ {% else %}
+ <div class="column">
+ <span class="title">post info</span>
+ <ul>
+ <li>written by {{ page.authors | map: 'nick' | sentence_join: 'nobody?' }}</li>
+ <li>initially published on {{ page.meta.date_initial | datefmt }}</li>
+ <li>edited {{ page.meta.edits | plural: 'time' }}</li>
+ <li>last revised on {{ page.meta.date | datefmt }}</li>
+ </ul>
+ </div>
+ <div class="column">
+ <a href="/" class="title">{{ site.domain }}</a>
+ <ul>
+ <li>version <code>{{ site.data.meta.slug }}</code> (<a href="https://git.pipeframe.xyz/lonkaars/blog">git</a>)</li>
+ <li>built {{ site.data.meta.build_date | datefmt }}</li>
+ </ul>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+</footer>
diff --git a/_includes/i18n/footer.ja.html b/_includes/i18n/footer.ja.html
new file mode 100644
index 0000000..8ec1a9b
--- /dev/null
+++ b/_includes/i18n/footer.ja.html
@@ -0,0 +1,16 @@
+<div class="column">
+ <span class="title">記事メタデータ</span>
+ <ul>
+ <li>{{ page.authors | map: 'nick' | sentence_join: 'nobody?' }}が書いた</li>
+ <li>最初{{ page.meta.date_initial | datefmt }}に投稿された</li>
+ <li>{{ page.meta.edits }}回変更された</li>
+ <li>最後{{ page.meta.date | datefmt }}にアップした</li>
+ </ul>
+</div>
+<div class="column">
+ <a href="/" class="title">{{ site.domain }}</a>
+ <ul>
+ <li>バージョン<code>{{ site.data.meta.slug }}</code> (<a href="https://git.pipeframe.xyz/lonkaars/blog">git</a>)</li>
+ <li>{{ site.data.meta.build_date | datefmt }}でビルドされた</li>
+ </ul>
+</div>
diff --git a/_includes/i18n/footer.nl.html b/_includes/i18n/footer.nl.html
new file mode 100644
index 0000000..1d7ae8a
--- /dev/null
+++ b/_includes/i18n/footer.nl.html
@@ -0,0 +1,16 @@
+<div class="column">
+ <span class="title">post info</span>
+ <ul>
+ <li>geschreven door {{ page.authors | map: 'nick' | sentence_join: 'niemand?' }}</li>
+ <li>voor het eerst op {{ page.meta.date_initial | datefmt }} gepubliceerd</li>
+ <li>{{ page.meta.edits }} keer bewerkt</li>
+ <li>laatste (huidige) versie {{ page.meta.date | datefmt }}</li>
+ </ul>
+</div>
+<div class="column">
+ <a href="/" class="title">{{ site.domain }}</a>
+ <ul>
+ <li>versie <code>{{ site.data.meta.slug }}</code> (<a href="https://git.pipeframe.xyz/lonkaars/blog">git</a>)</li>
+ <li>op {{ site.data.meta.build_date | datefmt }} voor het laatst gebouwd</li>
+ </ul>
+</div>
diff --git a/_includes/i18n/outdated.ja.html b/_includes/i18n/outdated.ja.html
new file mode 100644
index 0000000..9f987e8
--- /dev/null
+++ b/_includes/i18n/outdated.ja.html
@@ -0,0 +1,2 @@
+<p class="title">注意</p>
+<p>この記事は{{ include.date | datefmt }}以降更新されていないため、情報が正確でない可能性があります。ご了承いただきありがとうございます。</p>
diff --git a/_includes/i18n/outdated.nl.html b/_includes/i18n/outdated.nl.html
new file mode 100644
index 0000000..aa056b8
--- /dev/null
+++ b/_includes/i18n/outdated.nl.html
@@ -0,0 +1,3 @@
+<p class="title">Pas op</p>
+<p>Deze post is voor het laatst op {{ include.date | datefmt }} geupdatet, en kan daardoor
+mogelijk incorrecte of niet langer actuele informatie bevatten.</p>
diff --git a/_includes/links.md b/_includes/links.md
new file mode 100644
index 0000000..f27e10e
--- /dev/null
+++ b/_includes/links.md
@@ -0,0 +1,81 @@
+[AdAway]: https://adaway.org
+[Aurora Droid]: https://gitlab.com/AuroraOSS/auroradroid
+[Aurora Store]: https://gitlab.com/AuroraOSS/AuroraStore
+[BetterDiscord]: https://github.com/rauenzi/BetterDiscordApp
+[Bitwarden]: https://bitwarden.com
+[Brave]: https://brave.com
+[Bromite]: https://www.bromite.org
+[CalyxOS]: https://calyxos.org
+[Code OSS]: https://appimage.github.io/Code_OSS
+[Dark Reader]: https://darkreader.org
+[Dovecot]: https://www.dovecot.org
+[Droid-ify]: https://droidify.eu.org
+[EteSync]: https://www.etesync.com
+[Figma]: https://figma.com
+[Firefox]: https://www.mozilla.org/firefox
+[Jellyfin]: https://jellyfin.org
+[K-9 Mail]: https://k9mail.app
+[LaTeX]: https://www.latex-project.org
+[Leaflet]: https://github.com/PotatoProject/Leaflet
+[LineageOS]: https://lineageos.org
+[Magisk]: https://github.com/topjohnwu/Magisk
+[Material Files]: https://github.com/zhanghai/MaterialFiles
+[MoeList]: https://github.com/axiel7/MoeList
+[NeoMutt]: https://neomutt.org
+[Neovim]: https://neovim.io
+[OpenDKIM]: http://www.opendkim.org
+[OsmAnd]: https://osmand.net
+[Persephone]: https://persephone.fm
+[Polybar]: https://github.com/polybar/polybar
+[Postfix]: http://www.postfix.org
+[Radicale]: https://radicale.org/v3.html
+[Shuttle]: https://www.shuttlemusicplayer.com
+[Signal]: https://signal.org
+[SpamAssassin]: https://spamassassin.apache.org
+[Stylus]: https://github.com/openstyles/stylus
+[Sync for Reddit]: https://play.google.com/store/apps/details?id=com.laurencedawson.reddit_sync
+[Syncthing]: https://syncthing.net
+[Tachiyomi]: https://tachiyomi.org
+[Tampermonkey]: https://www.tampermonkey.net
+[Tasks.org]: https://tasks.org
+[Thunderbird]: https://www.thunderbird.net
+[Transmission]: https://transmissionbt.com
+[Violentmonkey]: https://violentmonkey.github.io
+[XeTeX]: http://xetex.sourceforge.net
+[Yomitan]: https://github.com/yomidevs/yomitan
+[andOTP]: https://github.com/andOTP/andOTP
+[cgit]: https://git.zx2c4.com/cgit/about
+[cgit]: https://git.zx2c4.com/cgit/about
+[dotfiles]: https://git.pipeframe.xyz/lonkaars/dots
+[dunst]: https://dunst-project.org
+[dwm]: https://dwm.suckless.org
+[emailwiz]: https://github.com/LukeSmithxyz/emailwiz
+[etar]: https://github.com/Etar-Group/Etar-Calendar
+[fzf]: https://github.com/junegunn/fzf
+[fzmp]: https://github.com/DanielFGray/fzf-scripts/blob/master/fzmp
+[gitolite]: https://gitolite.com/gitolite
+[gitolite]: https://gitolite.com/gitolite/index.html
+[hass]: https://www.home-assistant.io
+[i3-gaps]: https://github.com/Airblader/i3
+[i3]: https://i3wm.org
+[imapnotify]: https://gitlab.com/shackra/goimapnotify
+[latexmk]: https://www.cantab.net/users/johncollins/latexmk/index.html
+[lf]: https://github.com/gokcehan/lf
+[mbsync]: http://isync.sf.net
+[mpd]: https://www.musicpd.org
+[ncmpcpp]: https://github.com/ncmpcpp/ncmpcpp
+[nginx]: https://nginx.org
+[oh-my-zsh]: https://ohmyz.sh
+[pass]: https://www.passwordstore.org
+[picom]: https://github.com/yshui/picom
+[ranger]: https://github.com/ranger/ranger
+[rofi]: https://github.com/davatorium/rofi
+[st-upstream]: https://st.suckless.org
+[st]: https://git.pipeframe.xyz/fork/st
+[substratum]: https://github.com/substratum/substratum
+[sxiv]: https://github.com/xyb3rt/sxiv
+[uBlock Origin]: https://ublockorigin.com
+[unar]: https://github.com/MacPaw/XADMaster
+[xbindkeys]: https://www.nongnu.org/xbindkeys/xbindkeys.html
+[zathura]: https://pwmt.org/projects/zathura
+[zsh]: https://www.zsh.org
diff --git a/_includes/outdated.html b/_includes/outdated.html
index a1c5489..954ad14 100644
--- a/_includes/outdated.html
+++ b/_includes/outdated.html
@@ -1,5 +1,11 @@
<blockquote class="admonition warning" hidden x-unhide-after="{{ include.date | date: "%s" | plus: site.stale_threshold }}">
+ {% if page.lang == "ja" %}
+ {% include i18n/outdated.ja.html %}
+ {% elsif page.lang == "nl" %}
+ {% include i18n/outdated.nl.html %}
+ {% else %}
<p class="title">Warning</p>
<p>This post was last updated on {{ include.date | datefmt }}, and may no
longer contain accurate or up-to-date information.</p>
+ {% endif %}
</blockquote>
diff --git a/_includes/search.html b/_includes/search.html
index cc8cd56..ae48353 100644
--- a/_includes/search.html
+++ b/_includes/search.html
@@ -1,6 +1,5 @@
<form id="search" method="get" action="https://google.com/search">
- <input type="text" placeholder="search" name="q" spellcheck="false" autocomplete="off">
+ <input type="text" placeholder="{% i18n search %}" name="q" spellcheck="false" autocomplete="off">
<input type="hidden" name="q" value="site:{{ site.domain }}">
- <input type="submit">
+ <input type="submit" value="{% i18n go %}">
</form>
-