summaryrefslogtreecommitdiff
path: root/skole
AgeCommit message (Collapse)Author
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-24FIX: add protocol for external links, and update when brokenJonas Smedegaard
2023-05-10use secure https URIs where possibleJonas Smedegaard
2023-05-10fix replace link to dead website with link to archive.orgJonas Smedegaard
2023-05-10fix internalize local linksJonas 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;' '{}' + ```
2022-10-28fix image pathsJonas Smedegaard
2022-10-28fix image extensionsJonas Smedegaard
2022-04-21resize and sharpen imageSiri Reiter
2022-02-21text correctionsSiri Reiter
2022-02-07(no commit message)paul
2021-06-28move content order and add backlinkSiri Reiter
2021-03-16Show all list entries.Siri Reiter
2021-03-16Show all list entries.Siri Reiter
2021-03-16Add show to inline list.Siri Reiter
2021-03-16Remove image size. Add alt text.Siri Reiter
2021-03-16Remove tag historie.Siri Reiter
2021-03-16Remove tag historie.Siri Reiter
2021-03-16Change image link.Siri Reiter
2021-03-16Fix image link.Siri Reiter
2021-03-16Correct image link.Siri Reiter
2021-03-16Corretions in text and image links.Siri Reiter
2021-03-16Add meta stylesheet. Change morelink and imagelinks.Siri Reiter
2021-03-16Change link.Siri Reiter
2021-03-16Add meta stylesheet. Change morelink and imagelinks.Siri Reiter
2021-03-16Add meta stylesheet.Siri Reiter
2021-03-16Fix image links to original images.Siri Reiter
2021-03-16Changing image link again.Siri Reiter
2021-03-16Inline image link changed to original image folder.Siri Reiter
2021-03-16inline image link changed to original image.Siri Reiter
2021-03-16Merge branch 'master' of xayide.jones.dk:/~/private_git/bynu/contentSiri Reiter
2021-03-16Duplicate tours and tag for school use.Siri Reiter
2021-03-15(no commit message)paul
2021-03-15(no commit message)paul
2021-03-15vedhæftningsoplægningpaul
2021-03-15(no commit message)paul
2021-03-15(no commit message)paul
2021-03-15(no commit message)paul
2021-03-15vedhæftningsoplægningpaul
2021-03-15copy tour from main list and add tag skoleSiri Reiter
2021-03-14(no commit message)paul
2021-03-14(no commit message)paul
2021-03-13(no commit message)paul
2021-01-29(no commit message)paul
2020-11-18add meta stylesheet eduSiri Reiter
2020-11-18add meta stylesheet eduSiri Reiter
2020-11-18fix image linksSiri Reiter