summaryrefslogtreecommitdiff
path: root/blog
AgeCommit message (Collapse)Author
2024-04-06convert internal rooted links from ikiwiki directive to zola shortcodeJonas 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-06fix image pathsJonas Smedegaard
2024-04-06convert meta and tag directives to TOML frontmatterJonas 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-06convert img and template directives to shortcodesJonas 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-06rename *.mdwn to */index.md, except index/topbar/farbar/sidebar filesJonas 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-06normalize directives to always quote variablesJonas Smedegaard
command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ```
2023-10-18wrap deco images, to support excempting auto-width stylingJonas Smedegaard
2023-05-10use secure https URIs where possibleJonas Smedegaard
2023-05-10fix consistently use no-www webite addressJonas Smedegaard
2022-10-28normalize headlines to have one leading space and no trailing spaceJonas Smedegaard
command: ``` find * -type f -name '*.mdwn' -execdir perl -pi -e 's/^(#+)\s*([^\s#].*?)\h*$/$1 $2/g;' '{}' + ```
2019-02-22Replace signup form with the one from the footer. Add imagelink to Vejviseren.Siri Reiter
2017-09-05Update image classes.Siri Reiter
2013-12-02Fix avoid ø and æ in jpeg filename.Siri Reiter
2013-12-02Fix avoid ø in jpeg filename, and jpeg duplicates.Siri Reiter
2013-12-02Fix avoid ø in blog entry.Siri Reiter
2013-04-01Change tag.Siri Reiter
2013-04-01(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-04-01(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-04-01(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-04-01(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-04Move and rename. Change caption above headline.Siri Reiter
2013-02-04Tag 'baggrund'.Siri Reiter
2013-02-04Text corrections.Siri Reiter
2013-02-04Farbar subject marked up as headlines.Siri Reiter
2013-02-04Change headlin and meta name to 'Bagvejen'. Add link for Vejviseren and ↵Siri Reiter
Bagvejen in farbar.
2013-02-04Move blog entries to vejviseren.Siri Reiter
2013-02-04(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-04(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-04(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-04(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03attachment uploadhttps://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I
2013-02-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I