Age | Commit message (Collapse) | Author | |
---|---|---|---|
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})' ``` | |||
2017-10-28 | Custom farbar. | Siri Reiter | |
2014-03-02 | vedhæftningsoplægning | https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g | |
2013-03-23 | Remove dead pages and city sidebars (bad approach). | Siri Reiter | |
2013-03-23 | Move pages out of subdir tours and add sidebar. | Siri Reiter | |