Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-06 | escape example macroswip/zola | Jonas Smedegaard | |
2024-04-06 | fixate anchors | Jonas Smedegaard | |
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 | reformat """long string""" as shortcode with body | Jonas Smedegaard | |
command: ``` find * -type f -name '*.md' -execdir perl -gpi -e 's/\{\{\s*(note)\(\s*([^"]*?)\s*text="""(.+?)"""\)\s*\}\}/{{% $1($2) %}}\n$3\n{{% end %}}/g;' '{}' + ``` | |||
2024-04-06 | fix image paths | Jonas Smedegaard | |
2024-04-06 | rename images rundgang/rundgangNN.jpg -> rundgang/NN/rundgangNN.jpg | 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 | drop templates | Jonas Smedegaard | |
2024-04-06 | drop page admin | Jonas Smedegaard | |
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-06 | drop dummy links | Jonas Smedegaard | |
2024-04-06 | really fix paths | Jonas Smedegaard | |
2024-04-06 | Merge branch 'master' of ↵ | Jonas Smedegaard | |
xayide.jones.dk:/srv/home/www-bynu/private_git/bynu/content | |||
2024-04-06 | fix some paths | Jonas Smedegaard | |
2024-04-06 | update list | Siri Reiter | |
2024-04-05 | remove cancelled tours | Siri Reiter | |
2024-04-05 | (no commit message) | paul | |
2024-04-05 | (no commit message) | paul | |
2024-04-05 | (no commit message) | paul | |
2024-04-05 | vedhæftningsoplægning | paul | |
2024-04-04 | trim lists | Siri Reiter | |
2024-04-02 | (no commit message) | paul | |
2024-04-02 | (no commit message) | paul | |
2024-04-02 | trim lists | Siri Reiter | |
2024-03-31 | trim list | Siri Reiter | |
2024-03-31 | update lists | Siri Reiter | |
2024-03-31 | remove initial links | Siri Reiter | |
2024-03-31 | trim lists | Siri Reiter | |
2024-03-31 | correct text and markup | Siri Reiter | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | vedhæftningsoplægning | paul | |
2024-03-31 | vedhæftningsoplægning | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | vedhæftningsoplægning | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-31 | vedhæftningsoplægning | paul | |
2024-03-31 | (no commit message) | paul | |
2024-03-30 | (no commit message) | paul | |
2024-03-30 | (no commit message) | paul | |