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;' '{}' + ``` | |||
2023-10-18 | wrap deco images, to support excempting auto-width styling | Jonas Smedegaard | |
2019-02-20 | (no commit message) | paul | |
2017-09-04 | Remove Ikiwiki scaling of inline overview lists and implement the class ↵ | Siri Reiter | |
'overview' instead. | |||
2014-08-11 | Clean up text hierarchy. | Siri Reiter | |
2014-08-11 | Clean up typografhically. | Siri Reiter | |
2014-08-11 | Text corrections. | Siri Reiter | |
2014-08-09 | Rename page and change links. | Siri Reiter | |
2014-08-03 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-08-03 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-08-03 | vedhæftningsoplægning | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-08-03 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-07-31 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-07-31 | vedhæftningsoplægning | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-07-31 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-07-31 | vedhæftningsoplægning | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |