Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-06 | convert meta and tag directives to TOML frontmatter | Jonas 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-06 | convert img and template directives to shortcodes | Jonas 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-06 | rename *.mdwn to */index.md, except index/topbar/farbar/sidebar files | Jonas 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-06 | normalize directives to always quote variables | Jonas Smedegaard | |
command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ``` | |||
2024-04-05 | remove cancelled tours | Siri Reiter | |
2024-03-31 | update lists | Siri Reiter | |
2024-03-29 | update lists | Siri Reiter | |
2024-03-25 | change tour date | Siri Reiter | |
2024-03-24 | update lists | Siri Reiter | |
2024-03-21 | cancel/remove tours | Siri Reiter | |
2024-03-20 | update list | Siri Reiter | |
2024-03-09 | change event time | Siri Reiter | |
2024-03-08 | edit lists, mot two tours | Siri Reiter | |
2024-03-05 | update lists | Siri Reiter | |
2024-02-28 | update lists | Siri Reiter | |
2024-02-20 | update lists | Siri Reiter | |
2024-02-20 | update tour | Siri Reiter | |
2024-02-14 | small text changes; add to list | Siri Reiter | |
2024-02-14 | edit lists - cancellations and news | Siri Reiter | |
2024-02-11 | edit tour lists | Siri Reiter | |
2024-01-19 | add tours | Siri Reiter | |
2024-01-19 | update tour info | Siri Reiter | |
2024-01-19 | update tour lists feb-may | Siri Reiter | |
2023-12-14 | add tours in june. | Siri Reiter | |
2023-11-30 | update open tour lists | Siri Reiter | |
2023-11-12 | add tours in may | Siri Reiter | |
2023-11-12 | add tours in april | Siri Reiter | |
2023-11-12 | add more tours | Siri Reiter | |
2023-11-11 | add tours in march | Siri Reiter | |
2023-11-11 | change time | Siri Reiter | |
2023-11-10 | add calendar | Siri Reiter | |
2023-11-02 | update lists | Siri Reiter | |
2023-11-02 | update lists | Siri Reiter | |
2023-11-02 | add calendar | Siri Reiter | |
2023-10-28 | update tours lists | Siri Reiter | |
2023-10-27 | update list | Siri Reiter | |
2023-10-18 | wrap deco images, to support excempting auto-width styling | Jonas Smedegaard | |
2023-10-11 | cancel tour and add tour | Siri Reiter | |
2023-10-05 | update list | Siri Reiter | |
2023-10-05 | add inline list november | Siri Reiter | |
2023-10-05 | add one week of new tours | Siri Reiter | |
2023-10-05 | add one week of new tours | Siri Reiter | |
2023-10-05 | add tours to list | Siri Reiter | |
2023-10-05 | cancel tours | Siri Reiter | |
2023-09-19 | add tour | Siri Reiter | |
2023-09-19 | update list | Siri Reiter | |
2023-09-19 | update list, fix toggle id | Siri Reiter | |
2023-09-19 | cancel tour | Siri Reiter | |
2023-09-14 | correct/change time | Siri Reiter | |
2023-09-13 | update tour lists | Siri Reiter | |