From ad2aa639c2fa52c14e7733132f2d93e5c6d21672 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 7 Dec 2022 16:10:16 -0800 Subject: [PATCH] use posted instead of created, to better support new updated.. --- BLOG.md | 8 ++++++++ content/2014/03/ctf-armeb-debugging.html | 1 + content/2014/03/python-ctypes-wrapper-for-flac.html | 1 + .../2014/10/building-bhyve-images-using-makefs-and.html | 1 + .../2015/05/xml-schema-validation-for-command-line.html | 1 + content/2015/07/installing-and-running-netbsd-and.html | 1 + content/2017/09/adventures-in-autobahnwamp-security.html | 1 + content/2018/03/unusable-insecurity.html | 1 + content/2018/07/making-freebsd-magnet-links.html | 1 + content/2018/10/crash-dumps-do-i-submit-them.html | 1 + content/2018/10/tls-client-authentication-leaks-user.html | 1 + content/2019/04/using-signal-on-server.html | 1 + .../2019/08/installing-freebsd-on-pc-engines-apu4c2.html | 1 + content/2021/07/CODEpendence-github.html | 1 + content/2022/02/nearly-complete-rng-guide.html | 1 + content/2022/11/tmux.html | 1 + content/2022/12/making-freebsd-magnet-links.html | 1 + layout/base.j2 | 6 +++--- site.yaml | 2 +- template.html | 1 + 20 files changed, 29 insertions(+), 4 deletions(-) diff --git a/BLOG.md b/BLOG.md index 8972bc2..06e00c5 100644 --- a/BLOG.md +++ b/BLOG.md @@ -45,6 +45,14 @@ imagealt: Alt text for the image [twitter card reference](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup) +Metadata info +------------- + +Posted is when it was posted, and where it will appear in the time +line for the front page, and the side bar. It's just a convention +that the file name happens to match the posted date, and should be +kept that way. + Side notes ---------- diff --git a/content/2014/03/ctf-armeb-debugging.html b/content/2014/03/ctf-armeb-debugging.html index 4dd3e34..d4c670a 100644 --- a/content/2014/03/ctf-armeb-debugging.html +++ b/content/2014/03/ctf-armeb-debugging.html @@ -2,6 +2,7 @@ title: "CTF + ARMeb + debugging" description: > CTF + ARMeb + debugging +posted: !!timestamp '2014-03-05' created: !!timestamp '2014-03-05' time: 7:21 PM tags: diff --git a/content/2014/03/python-ctypes-wrapper-for-flac.html b/content/2014/03/python-ctypes-wrapper-for-flac.html index 6743f64..dfb6dc4 100644 --- a/content/2014/03/python-ctypes-wrapper-for-flac.html +++ b/content/2014/03/python-ctypes-wrapper-for-flac.html @@ -2,6 +2,7 @@ title: Python ctypes wrapper for FLAC description: > Python ctypes wrapper for FLAC +posted: !!timestamp '2014-03-15' created: !!timestamp '2014-03-15' time: 5:11 PM tags: diff --git a/content/2014/10/building-bhyve-images-using-makefs-and.html b/content/2014/10/building-bhyve-images-using-makefs-and.html index 3c6abba..4ea399c 100644 --- a/content/2014/10/building-bhyve-images-using-makefs-and.html +++ b/content/2014/10/building-bhyve-images-using-makefs-and.html @@ -2,6 +2,7 @@ title: Building bhyve Images using makefs and mkimg description: > A walk through on building bootable images that do not require the user to be root. +posted: !!timestamp '2014-10-29' created: !!timestamp '2014-10-29' time: 8:57 PM tags: diff --git a/content/2015/05/xml-schema-validation-for-command-line.html b/content/2015/05/xml-schema-validation-for-command-line.html index 7c91243..338d3fc 100644 --- a/content/2015/05/xml-schema-validation-for-command-line.html +++ b/content/2015/05/xml-schema-validation-for-command-line.html @@ -2,6 +2,7 @@ title: XML Schema Validation for the command line description: > XML Schema Validation for the command line +posted: !!timestamp '2015-05-07' created: !!timestamp '2015-05-07' time: 2:17 PM tags: diff --git a/content/2015/07/installing-and-running-netbsd-and.html b/content/2015/07/installing-and-running-netbsd-and.html index 28b2a55..966abf6 100644 --- a/content/2015/07/installing-and-running-netbsd-and.html +++ b/content/2015/07/installing-and-running-netbsd-and.html @@ -2,6 +2,7 @@ title: Installing and running NetBSD and OpenBSD under bhyve description: > Installing and running NetBSD and OpenBSD under bhyve +posted: !!timestamp '2015-07-28' created: !!timestamp '2015-07-28' time: 8:37 PM tags: diff --git a/content/2017/09/adventures-in-autobahnwamp-security.html b/content/2017/09/adventures-in-autobahnwamp-security.html index ccad6d6..51c7e4e 100644 --- a/content/2017/09/adventures-in-autobahnwamp-security.html +++ b/content/2017/09/adventures-in-autobahnwamp-security.html @@ -2,6 +2,7 @@ title: Adventures in Autobahn/WAMP Security description: > Adventures in Autobahn/WAMP Security +posted: !!timestamp '2017-09-17' created: !!timestamp '2017-09-17' time: 12:21 PM tags: diff --git a/content/2018/03/unusable-insecurity.html b/content/2018/03/unusable-insecurity.html index a2c5191..68a7331 100644 --- a/content/2018/03/unusable-insecurity.html +++ b/content/2018/03/unusable-insecurity.html @@ -2,6 +2,7 @@ title: Unusable Insecurity description: > When people make security hard, no one will use it [properly]. +posted: !!timestamp '2018-03-16' created: !!timestamp '2018-03-16' time: 1:40 PM tags: diff --git a/content/2018/07/making-freebsd-magnet-links.html b/content/2018/07/making-freebsd-magnet-links.html index 9089f81..c32929a 100644 --- a/content/2018/07/making-freebsd-magnet-links.html +++ b/content/2018/07/making-freebsd-magnet-links.html @@ -2,6 +2,7 @@ title: Making FreeBSD magnet links description: > Making FreeBSD magnet links +posted: !!timestamp '2018-07-03' created: !!timestamp '2018-07-03' time: 4:49 PM tags: diff --git a/content/2018/10/crash-dumps-do-i-submit-them.html b/content/2018/10/crash-dumps-do-i-submit-them.html index 798ba22..d521762 100644 --- a/content/2018/10/crash-dumps-do-i-submit-them.html +++ b/content/2018/10/crash-dumps-do-i-submit-them.html @@ -2,6 +2,7 @@ title: "Crash Dumps: Do I submit them?" description: > TL;DR: No, they collect too much and aren't handled safely. +posted: !!timestamp '2018-10-23' created: !!timestamp '2018-10-23' time: 3:54 PM tags: diff --git a/content/2018/10/tls-client-authentication-leaks-user.html b/content/2018/10/tls-client-authentication-leaks-user.html index 96acd0a..b66b5e8 100644 --- a/content/2018/10/tls-client-authentication-leaks-user.html +++ b/content/2018/10/tls-client-authentication-leaks-user.html @@ -2,6 +2,7 @@ title: TLS Client Authentication Leaks User Info (pre-TLS1.3) description: > TLS Client Authentication Leaks User Info (pre-TLS1.3) +posted: !!timestamp '2018-10-15' created: !!timestamp '2018-10-15' time: 10:54 AM tags: diff --git a/content/2019/04/using-signal-on-server.html b/content/2019/04/using-signal-on-server.html index eca57db..be16213 100644 --- a/content/2019/04/using-signal-on-server.html +++ b/content/2019/04/using-signal-on-server.html @@ -2,6 +2,7 @@ title: Using Signal on a server description: > A guide to setting up signal on a machine to run automatic notifications. +posted: !!timestamp '2019-04-08' created: !!timestamp '2019-04-08' time: 1:54 PM tags: diff --git a/content/2019/08/installing-freebsd-on-pc-engines-apu4c2.html b/content/2019/08/installing-freebsd-on-pc-engines-apu4c2.html index dca6963..84ee3bc 100644 --- a/content/2019/08/installing-freebsd-on-pc-engines-apu4c2.html +++ b/content/2019/08/installing-freebsd-on-pc-engines-apu4c2.html @@ -2,6 +2,7 @@ title: Installing FreeBSD on a PC Engines APU4C2 description: > Installing FreeBSD on a PC Engines APU4C2 +posted: !!timestamp '2019-08-08' created: !!timestamp '2019-08-08' time: 11:08 PM tags: diff --git a/content/2021/07/CODEpendence-github.html b/content/2021/07/CODEpendence-github.html index c984286..0a687b4 100644 --- a/content/2021/07/CODEpendence-github.html +++ b/content/2021/07/CODEpendence-github.html @@ -2,6 +2,7 @@ title: CODEpendence description: > How to surreptitiouslyinject code via submodules that use GitHub repos +posted: !!timestamp '2021-07-07' created: !!timestamp '2021-07-07' time: 11:16 AM tags: diff --git a/content/2022/02/nearly-complete-rng-guide.html b/content/2022/02/nearly-complete-rng-guide.html index 254d188..302cca3 100644 --- a/content/2022/02/nearly-complete-rng-guide.html +++ b/content/2022/02/nearly-complete-rng-guide.html @@ -2,6 +2,7 @@ title: Nearly Complete Guide to RNG on a microcontroller description: > How to initialize and run an RNG on an STM32L151CC microcontroller. +posted: !!timestamp '2022-02-12' created: !!timestamp '2022-02-12' time: 11:50 AM tags: diff --git a/content/2022/11/tmux.html b/content/2022/11/tmux.html index 2a794db..82e1873 100644 --- a/content/2022/11/tmux.html +++ b/content/2022/11/tmux.html @@ -1,6 +1,7 @@ --- title: tmux beginners guide description: Quick simple beginners guide to using tmux +posted: !!timestamp '2022-11-15' created: !!timestamp '2022-11-15' time: 12:00 PM tags: diff --git a/content/2022/12/making-freebsd-magnet-links.html b/content/2022/12/making-freebsd-magnet-links.html index 3904ffa..c506d08 100644 --- a/content/2022/12/making-freebsd-magnet-links.html +++ b/content/2022/12/making-freebsd-magnet-links.html @@ -2,6 +2,7 @@ title: Making FreeBSD magnet links description: > Making FreeBSD magnet links +posted: !!timestamp '2022-12-07' created: !!timestamp '2018-07-03' time: 4:49 PM updated: !!timestamp '2022-12-07' diff --git a/layout/base.j2 b/layout/base.j2 index 0e98dfb..2e543f3 100644 --- a/layout/base.j2 +++ b/layout/base.j2 @@ -63,12 +63,12 @@
{% set hierarchy = node.rwalk()|list %} - {% for yeargrp in hierarchy[-1].walk_resources_sorted_by_time()|groupby("meta.created.year")|reverse %} + {% for yeargrp in hierarchy[-1].walk_resources_sorted_by_time()|groupby("meta.posted.year")|reverse %}
- {% for monthgrp in yeargrp.list|groupby("meta.created.month")|reverse %} - + {% for monthgrp in yeargrp.list|groupby("meta.posted.month")|reverse %} + {% for item in monthgrp.list %}
{{ item.meta.title }} diff --git a/site.yaml b/site.yaml index e2f8f0b..7b273f9 100644 --- a/site.yaml +++ b/site.yaml @@ -45,7 +45,7 @@ publisher: sorter: time: attr: - - meta.created + - meta.posted reverse: true filters: source.kind: html diff --git a/template.html b/template.html index 47ac0b2..3d5e482 100644 --- a/template.html +++ b/template.html @@ -2,6 +2,7 @@ title: A title description: > A description +posted: !!timestamp '2021-01-01' created: !!timestamp '2021-01-01' time: 12:00 PM tags: