Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-06 | convert internal rooted links from ikiwiki directive to zola shortcode | Jonas Smedegaard | |
command: ``` find * -type f -name '*.md' -execdir perl -gpi -e 's,\[\[\s*([^\s!|\[\]][^|\[\]]*?)\s*\|\s*(/[^\[\]#]+?)\/?(?<!\.pdf)(#[^\[\]]*)?\s*\]\],[$1](\@$2/index.md$3),g; s,\[\[\s*([^\s!|\[\]][^|\[\]]*?)\s*\|\s*(/[^\[\]#]+?\.pdf)\s*\]\],[$1]($2),g;' '{}' + ``` | |||
2024-04-06 | fix image paths | Jonas Smedegaard | |
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 | |
2023-05-10 | use secure https URIs where possible | Jonas Smedegaard | |
2023-05-10 | fix replace link to dead website with link to archive.org | Jonas Smedegaard | |
2022-10-28 | normalize headlines to have one leading space and no trailing space | Jonas Smedegaard | |
command: ``` find * -type f -name '*.mdwn' -execdir perl -pi -e 's/^(#+)\s*([^\s#].*?)\h*$/$1 $2/g;' '{}' + ``` | |||
2022-10-28 | fix image paths | Jonas Smedegaard | |
2018-05-16 | Add waypoint. | Siri Reiter | |
2018-05-15 | Add waypoint. | Siri Reiter | |
2018-05-13 | Tag byvandring to tag ture. | Siri Reiter | |
2018-05-12 | Put marker with popup. | Siri Reiter | |
2018-05-12 | Paste text from real tour description. Add area map png with link for map. | Siri Reiter | |
2018-05-11 | Add stamen layer. Add polygons with osterbro, norrebro and vesterbro. | Siri Reiter | |
2018-05-10 | Move map from test. | Siri Reiter | |
2017-01-06 | Change topbar image ref. | Siri Reiter | |
2016-05-20 | Tags with small letters. | Siri Reiter | |
2016-04-12 | Use test style. | Siri Reiter | |
2016-04-09 | Add Christianshavn area. | Siri Reiter | |
2016-04-09 | Fix osterbro border. | Siri Reiter | |
2016-04-09 | Redraw Sydvest area. | Siri Reiter | |
2016-04-09 | Redraw Valby area. | Siri Reiter | |
2016-04-09 | Correct frederiksberg border line. | Siri Reiter | |
2016-04-09 | Remake City area. | Siri Reiter | |
2016-04-08 | Fix Vesterbro. | Siri Reiter | |
2016-04-08 | Fix borders of havnen. | Siri Reiter | |
2016-04-08 | Borders of Frederiksberg. | Siri Reiter | |
2016-04-08 | Apply stamen map skin. | Siri Reiter | |
2016-04-08 | Fix: Title as link. | Siri Reiter | |
2016-04-08 | Resize front window images. | Siri Reiter | |
2016-04-08 | Remove links to other maps for now. | Siri Reiter | |
2016-04-07 | Improve borders of Bispebjerg. | Siri Reiter | |
2016-04-07 | Improve borders of Osterbro. | Siri Reiter | |
2016-04-07 | Correct Norrebro borders. | Siri Reiter | |
2016-03-29 | Add sydvest. | Siri Reiter | |
2016-03-29 | Add voldkvarterer. | Siri Reiter | |
2016-03-29 | Add valby. | Siri Reiter | |
2016-03-29 | Add norrebro. | Siri Reiter | |
2016-03-29 | Add vesterbro. | Siri Reiter | |
2016-03-29 | Add havnen to map. | Siri Reiter | |
2016-03-29 | Add islandsbrygge and frederiksberg shapes. | Siri Reiter | |
2016-03-29 | Add Amager to kbh-map. | Siri Reiter | |
2016-03-06 | Fix link. | Siri Reiter | |
2016-03-06 | Fix link. | Siri Reiter | |
2016-03-06 | Fix link. | Siri Reiter | |
2016-03-06 | Markup changes. | Siri Reiter | |
2016-03-06 | Fix link. | Siri Reiter | |