diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-03-16 19:15:01 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:36:37 +0200 |
commit | e30097f4a9ffc42d57df2c463ae4770b61ff8769 (patch) | |
tree | d81a0f0c0153d99346cb1e123f7bc656991086b4 /tag/politik | |
parent | c0be7d8b7c4caa1e1077e91912e93dac6c4e6470 (diff) |
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})'
```
Diffstat (limited to 'tag/politik')
-rw-r--r-- | tag/politik/index.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tag/politik/index.md b/tag/politik/index.md new file mode 100644 index 00000000..a8d7d530 --- /dev/null +++ b/tag/politik/index.md @@ -0,0 +1,4 @@ +[[!meta title="sider med mærkat politik"]] + +[[!inline pages="tagged(politik)" actions="no" archive="yes" +feedshow=10]] |