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 | 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-24 | FIX: link whole note, using new template note-linked | Jonas Smedegaard | |
2023-05-10 | use secure https URIs where possible | Jonas Smedegaard | |
2023-05-10 | fix internalize local links | Jonas Smedegaard | |
2022-12-15 | change image class solo to class blog and add class solo to another image. ↵ | Siri Reiter | |
Change emphasized to quote markup. Rmove obsolete links and text about online version of Vejviseren. | |||
2022-12-15 | add image class solo | Siri Reiter | |
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 | |
2017-09-06 | Tag sted. | Siri Reiter | |
2017-09-05 | Update image classes. | Siri Reiter | |
2017-09-05 | Update image class. Fix meta date. | Siri Reiter | |
2014-09-01 | Add videos, a channel, links and inline videos. | Siri Reiter | |
2013-03-07 | Correct names and correspinding links (No majuscules, æøå). Text and ↵ | Siri Reiter | |
markupcorrections. | |||
2013-03-07 | attachment upload | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-03-07 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-03-07 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-03-07 | attachment upload | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-03-07 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-03-07 | (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-04 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-02-04 | Fix small spelling mistake. | Siri Reiter | |
2013-02-04 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-02-04 | Fix link. | Siri Reiter | |
2013-02-04 | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-02-04 | Attempt to fix notebox. | Siri Reiter | |
2013-02-04 | Merge changes. | Siri Reiter | |
2013-02-04 | Merge branch 'master-da' of ↵ | Siri Reiter | |
coreander:/srv/git/source.bynu.biks.dk/bynu_content into master-da Conflicts: vejviseren/2013/februar/kanalkvarterer.mdwn | |||
2013-02-04 | Text corrections. | 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 | attachment upload | https://www.google.com/accounts/o8/id?id=AItOawkvAQ2pGG272FFZHZbpuyAFEGhj3ph3p9I | |
2013-02-04 | Remove image size. | Siri Reiter | |
2013-02-04 | Remove meta author. | Siri Reiter | |
2013-02-04 | Text corrections. Remove meta author. | Siri Reiter | |
2013-02-04 | Tect corrections. | Siri Reiter | |
2013-02-04 | Change meta dates. | Siri Reiter | |
2013-02-04 | Fix link. | Siri Reiter | |
2013-02-04 | Move and rename. Change caption above headline. | Siri Reiter | |
2013-02-04 | Fix another image link. | Siri Reiter | |
2013-02-04 | Fix image name and remove size definition. | Siri Reiter | |
2013-02-04 | Corrections. | Siri Reiter | |
2013-02-04 | Change meta title. Add category. | Siri Reiter | |