summaryrefslogtreecommitdiff
path: root/tours
AgeCommit message (Collapse)Author
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;' '{}' + ```
2024-02-05churchyard theme image assistensSiri Reiter
2023-10-18wrap deco images, to support excempting auto-width stylingJonas Smedegaard
2023-01-31add image to list 'industri'Siri Reiter
2022-10-28fix image pathsJonas Smedegaard
2022-04-23add image and link to section litteraturSiri Reiter
2022-04-22add list with small imageSiri Reiter
2021-12-07add imagesSiri Reiter
2021-04-05remove obsolete image sizesSiri Reiter
2020-09-05update imageSiri Reiter
2020-09-05add theme image slotsholmenSiri Reiter
2020-09-05add theme imageSiri Reiter
2020-07-27renew bike tours imageSiri Reiter
2018-12-17Image bispebjerg.Siri Reiter
2017-05-02Remove separate farbar.Siri Reiter
2017-05-02Fix image size.Siri Reiter
2017-05-02Topbar image and tour list image for Valby tours.Siri Reiter
2017-02-06Beerwalks promoted on front page and in tour list (with images).Siri Reiter
2016-04-21Resize image.Siri Reiter
2016-04-21creating tag page tag/bottomSiri Reiter
2016-04-09Add image.Siri Reiter
2016-04-09Fix image path and add image.Siri Reiter
2016-04-09Cinematic images.Siri Reiter
2016-04-08Resize image.Siri Reiter
2016-04-05Update cover image for Malmo.Siri Reiter
2016-04-04Change top and list image of tour (add new image).Siri Reiter
2016-04-04Update list image with a cropped version.Siri Reiter
2016-04-04Update list image with a cropped version.Siri Reiter
2016-04-04Update image for christianshavn.Siri Reiter
2016-04-03Add top image in tour lists for frederiksberg. Fix inline list conditions.Siri Reiter
2016-03-26Add moderated farbar (only tour relative content).Siri Reiter
2016-03-26Empty sidebar to remove it.Siri Reiter
2016-03-22Empty tours/farbar deleted (test).Siri Reiter
2016-03-22Create empty farbar.Siri Reiter
2016-03-22Create front cover page with redir to tours to be able to maintain a long ↵Siri Reiter
meta title on the main page. Tag cover to be able to exclude page from inline lists.
2016-03-22Add intropage for tours to show up on frontSiri Reiter
2016-03-20creating tag page tag/testSiri Reiter
2016-02-25Add inline images. Add tag forside.Siri Reiter
2014-03-02vedhæftningsoplægninghttps://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2013-03-23Move pages from subdir tours and remove teasers.Siri Reiter
2013-03-23Move pages from tours directory. Remove old teasers and create inline ↵Siri Reiter
teasers. Add meta titles and such.
2013-03-23Move pages out of subdir tours and add sidebar. Remove teaser, add tag and ↵Siri Reiter
meta title to page.
2013-03-23Move pages out of subdir tours and add sidebar.Siri Reiter
2013-03-22Add link in teaser text.Siri Reiter
2013-01-25Move pages out of tour content. Merge and delete teasers.Siri Reiter
2013-01-25Link corrections.Siri Reiter