From 30b9669ea95e6b3b4f48a25c8045c2b4f551dacd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 19 Jun 2022 21:48:10 +0200 Subject: convert img and template directives to shortcodes 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;' '{}' + ``` --- reberbane/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reberbane') diff --git a/reberbane/index.md b/reberbane/index.md index 65b97b1d..6f54400c 100644 --- a/reberbane/index.md +++ b/reberbane/index.md @@ -14,7 +14,7 @@ else=""" Reberbanegade is the name of the street running at an angle to the other streets. This was the long rope production facility (eng: ropewalk) connected to Jacob Holms Factories. These were of the oldest industry in the area, and something which attracted workers who settled in the area. By 1930 the ropewalk gave way to a street with old houses on the west side and modern appartments on the east side. -[[!img amagerbankbeton.jpg class="solo"]] +{{ img(path="amagerbankbeton.jpg" class="solo") }} One building that stands out is the 1970'ies achive building of the Amager Bank - the proud and very local financial institiute. The building stood disused after the crash of the Amager Bank in 2011. It looked like a ruin, fx. on this picture from april 2020. Even shame is not eternal. -- cgit v1.2.3