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;' '{}' + ``` | |||
2021-09-10 | move page and images from sub city dir | Siri Reiter | |
2021-09-10 | text and markup corrections | Siri Reiter | |
2021-09-07 | (no commit message) | paul | |
2021-09-07 | vedhæftningsoplægning | paul | |
2018-12-17 | Copy topbar. Remove sidebar. | Siri Reiter | |
2017-01-06 | Add topbars with images. | Siri Reiter | |
2015-08-11 | vedhæftningsoplægning | paul | |
2014-09-01 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-03-15 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2014-03-02 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2013-10-27 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-10-01 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-10-01 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-10-01 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-10-01 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-07-07 | Clean up sidebar in city and kvarterer. | Siri Reiter | |
2013-07-07 | Copy sidebar into 'city' and 'kvarterer'. | Siri Reiter | |
2013-03-23 | Remove dead pages and city sidebars (bad approach). | Siri Reiter | |
2013-03-22 | Move pages out of subdir city and add individual sidebars instead. | Siri Reiter | |
2013-03-22 | Delete image copy with bad name. | Siri Reiter | |
2013-03-22 | Move city tours to subdir city and change sidebar. | Siri Reiter | |
2013-03-22 | Sidebar for city. | Siri Reiter | |
2009-03-29 | vedhæftningsoplægning | http://hartvigson.myopenid.com/ | |
2008-12-30 | vedhæftningsoplægning | http://hartvigson.myopenid.com/ | |
2008-12-30 | vedhæftningsoplægning | http://hartvigson.myopenid.com/ | |
2008-12-30 | vedhæftningsoplægning | http://hartvigson.myopenid.com/ | |
2008-12-30 | vedhæftningsoplægning | http://hartvigson.myopenid.com/ | |