summaryrefslogtreecommitdiff
path: root/aabneture
AgeCommit message (Collapse)Author
2024-04-06fix image pathsJonas Smedegaard
2024-04-06convert meta and tag directives to TOML frontmatterJonas Smedegaard
command: ``` find * -type f -name '*.md' -execdir perl -MTOML::Tiny=to_toml -C63 -gni -E '%x=();s/\[\[!meta\s+(title|date)="?([^\]"]+?)\s*"?\s*\]\]\s*\n*/$x{$1}=$2;""/eg; s/\[\[!meta\s+stylesheet="?edu"?\s+rel="?stylesheet"?\s*\]\]\n*/$x{taxonomies}{categories}=["education"];""/e; s/\[\[!tag((?:\s+[^\]\s]+)+)\s*\]\]\n*/push @{$x{taxonomies}{tags}}, $1=~m{\S+}g;""/eg; s/\[\[!meta\s+(?:author|name)="?([^\]"]+?)\s*"?\s*\]\]\s*\n*/$x{extra}{author}=$1;""/eg; say "+++"; say to_toml({%x}); say "+++"; say $_' '{}' + ```
2024-04-06convert img and template directives to shortcodesJonas Smedegaard
command: ``` find * -type f -name '*.md' -execdir perl -gpi -e 's/\[\[!img\s+([^\s\]"]+)(\s(?:[^\]]|"[^"]*")+?)?\s*\]\]/{{ img(path="$1"$2) }}/g; s/\[\[!template\s+id="?(columns|note|video)"?\s+([^\]]+?)\s*\]\]/{{ $1($2) }}/g;' '{}' + ```
2024-04-06rename *.mdwn to */index.md, except index/topbar/farbar/sidebar filesJonas Smedegaard
command: ``` perl -MPath::Tiny -WE 'use strict; path(".")->visit(sub{return unless -f && /\.mdwn$/; my $stem=$_->basename(".mdwn"); my $new=$_->sibling($stem,"index.md"); return if $stem =~ /^index|topbar|sidebar|farbar|footer$/ || $new->exists; $new->parent->mkpath; system("git","mv", $_, $new)},{recurse=>1})' ```
2024-04-06normalize directives to always quote variablesJonas Smedegaard
command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ```
2024-04-05remove cancelled toursSiri Reiter
2024-03-31update listsSiri Reiter
2024-03-29update listsSiri Reiter
2024-03-25change tour dateSiri Reiter
2024-03-24update listsSiri Reiter
2024-03-21cancel/remove toursSiri Reiter
2024-03-20update listSiri Reiter
2024-03-09change event timeSiri Reiter
2024-03-08edit lists, mot two toursSiri Reiter
2024-03-05update listsSiri Reiter
2024-02-28update listsSiri Reiter
2024-02-20update listsSiri Reiter
2024-02-20update tourSiri Reiter
2024-02-14small text changes; add to listSiri Reiter
2024-02-14edit lists - cancellations and newsSiri Reiter
2024-02-11edit tour listsSiri Reiter
2024-01-19add toursSiri Reiter
2024-01-19update tour infoSiri Reiter
2024-01-19update tour lists feb-maySiri Reiter
2023-12-14add tours in june.Siri Reiter
2023-11-30update open tour listsSiri Reiter
2023-11-12add tours in maySiri Reiter
2023-11-12add tours in aprilSiri Reiter
2023-11-12add more toursSiri Reiter
2023-11-11add tours in marchSiri Reiter
2023-11-11change timeSiri Reiter
2023-11-10add calendarSiri Reiter
2023-11-02update listsSiri Reiter
2023-11-02update listsSiri Reiter
2023-11-02add calendarSiri Reiter
2023-10-28update tours listsSiri Reiter
2023-10-27update listSiri Reiter
2023-10-18wrap deco images, to support excempting auto-width stylingJonas Smedegaard
2023-10-11cancel tour and add tourSiri Reiter
2023-10-05update listSiri Reiter
2023-10-05add inline list novemberSiri Reiter
2023-10-05add one week of new toursSiri Reiter
2023-10-05add one week of new toursSiri Reiter
2023-10-05add tours to listSiri Reiter
2023-10-05cancel toursSiri Reiter
2023-09-19add tourSiri Reiter
2023-09-19update listSiri Reiter
2023-09-19update list, fix toggle idSiri Reiter
2023-09-19cancel tourSiri Reiter
2023-09-14correct/change timeSiri Reiter