From e30097f4a9ffc42d57df2c463ae4770b61ff8769 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 16 Mar 2020 19:15:01 +0100 Subject: rename *.mdwn to */index.md, except index/topbar/farbar/sidebar files 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})' ``` --- blog/archives.mdwn | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 blog/archives.mdwn (limited to 'blog/archives.mdwn') diff --git a/blog/archives.mdwn b/blog/archives.mdwn deleted file mode 100644 index 06d4eba6..00000000 --- a/blog/archives.mdwn +++ /dev/null @@ -1,2 +0,0 @@ -# Alle blogindlæg -[[!inline pages="tagged(blog) and !tagged(vejviseren)" archive=yes]] -- cgit v1.2.3