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;' '{}' + ``` | |||
2024-04-06 | fix some paths | Jonas Smedegaard | |
2023-11-01 | correct text | Siri Reiter | |
2023-11-01 | shorten teaser | Siri Reiter | |
2023-11-01 | edit text | Siri Reiter | |
2023-11-01 | fix line break, remove aktuel tur, add divider | Siri Reiter | |
2023-11-01 | tag tours 1900tallet and create inline list | Siri Reiter | |
2023-11-01 | tag tours indtil_1900 and create inline list | Siri Reiter | |
2023-11-01 | tag tours indtil_1850 and change meta title of tordenskjold and bybrand | Siri Reiter | |
2023-11-01 | edit price text | Siri Reiter | |
2023-10-30 | fix image link | Siri Reiter | |
2023-10-30 | add photo | Siri Reiter | |
2023-10-30 | swop image | Siri Reiter | |
2023-10-30 | change meta title | Siri Reiter | |
2023-10-29 | add stylesheet foredrag | Siri Reiter | |
2023-10-29 | add descriptive line | Siri Reiter | |
2023-10-29 | update photo | Siri Reiter | |
2023-10-28 | crop image | Siri Reiter | |
2023-10-28 | remove/add tag for index window | Siri Reiter | |
2023-10-28 | add images | Siri Reiter | |
2023-10-28 | make two inline list as a fix to display two exact pages | Siri Reiter | |
2023-10-18 | wrap deco images, to support excempting auto-width styling | Jonas Smedegaard | |
2023-10-04 | change meta title | Siri Reiter | |
2023-10-03 | fix link | Siri Reiter | |
2023-10-03 | emphasize link | Siri Reiter | |
2023-10-03 | change image | Siri Reiter | |
2023-10-03 | remove break line | Siri Reiter | |
2023-10-03 | add speaker's talk list | Siri Reiter | |
2023-10-03 | add links and tags and inline list around speakers | Siri Reiter | |
2023-10-03 | add speaker link | Siri Reiter | |
2023-10-03 | add speaker link and tag | Siri Reiter | |
2023-10-03 | add link to speaker | Siri Reiter | |
2023-10-03 | add speaker name and tag | Siri Reiter | |
2023-10-03 | add speaker, link and tag | Siri Reiter | |
2023-10-03 | add guide link | Siri Reiter | |
2023-10-03 | ad tag jv | Siri Reiter | |
2023-10-03 | ad tag ph og tw | Siri Reiter | |
2023-10-03 | ad tag foredrag | Siri Reiter | |
2023-10-03 | ad tag ph | Siri Reiter | |
2023-10-03 | ad tag ml | Siri Reiter | |
2023-10-03 | ad tag je | Siri Reiter | |
2023-09-06 | add topbar with new branding image | Siri Reiter | |
2023-05-24 | FIX: update broken internal links | Jonas Smedegaard | |
2023-05-24 | FIX: update link to speaker | Jonas Smedegaard | |
2023-05-21 | tag tw | Siri Reiter | |
2023-05-21 | fix link (no blank space after link dir) | Siri Reiter | |