summaryrefslogtreecommitdiff
path: root/foredrag
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-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;' '{}' + ```
2024-04-06fix some pathsJonas Smedegaard
2023-11-01correct textSiri Reiter
2023-11-01shorten teaserSiri Reiter
2023-11-01edit textSiri Reiter
2023-11-01fix line break, remove aktuel tur, add dividerSiri Reiter
2023-11-01tag tours 1900tallet and create inline listSiri Reiter
2023-11-01tag tours indtil_1900 and create inline listSiri Reiter
2023-11-01tag tours indtil_1850 and change meta title of tordenskjold and bybrandSiri Reiter
2023-11-01edit price textSiri Reiter
2023-10-30fix image linkSiri Reiter
2023-10-30add photoSiri Reiter
2023-10-30swop imageSiri Reiter
2023-10-30change meta titleSiri Reiter
2023-10-29add stylesheet foredragSiri Reiter
2023-10-29add descriptive lineSiri Reiter
2023-10-29update photoSiri Reiter
2023-10-28crop imageSiri Reiter
2023-10-28remove/add tag for index windowSiri Reiter
2023-10-28add imagesSiri Reiter
2023-10-28make two inline list as a fix to display two exact pagesSiri Reiter
2023-10-18wrap deco images, to support excempting auto-width stylingJonas Smedegaard
2023-10-04change meta titleSiri Reiter
2023-10-03fix linkSiri Reiter
2023-10-03emphasize linkSiri Reiter
2023-10-03change imageSiri Reiter
2023-10-03remove break lineSiri Reiter
2023-10-03add speaker's talk listSiri Reiter
2023-10-03add links and tags and inline list around speakersSiri Reiter
2023-10-03add speaker linkSiri Reiter
2023-10-03add speaker link and tagSiri Reiter
2023-10-03add link to speakerSiri Reiter
2023-10-03add speaker name and tagSiri Reiter
2023-10-03add speaker, link and tagSiri Reiter
2023-10-03add guide linkSiri Reiter
2023-10-03ad tag jvSiri Reiter
2023-10-03ad tag ph og twSiri Reiter
2023-10-03ad tag foredragSiri Reiter
2023-10-03ad tag phSiri Reiter
2023-10-03ad tag mlSiri Reiter
2023-10-03ad tag jeSiri Reiter
2023-09-06add topbar with new branding imageSiri Reiter
2023-05-24FIX: update broken internal linksJonas Smedegaard
2023-05-24FIX: update link to speakerJonas Smedegaard
2023-05-21tag twSiri Reiter
2023-05-21fix link (no blank space after link dir)Siri Reiter