diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-06-19 21:53:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:37:11 +0200 |
commit | 2babefddb5b38b7a2d65c528c246a2e6705660a4 (patch) | |
tree | 0b9d90361db41fedd853e4a1e0fa82c07e1b7984 /afstemning_tur/index.md | |
parent | 30b9669ea95e6b3b4f48a25c8045c2b4f551dacd (diff) |
convert meta and tag directives to TOML frontmatter
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 $_' '{}' +
```
Diffstat (limited to 'afstemning_tur/index.md')
-rw-r--r-- | afstemning_tur/index.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/afstemning_tur/index.md b/afstemning_tur/index.md index a6199cfb..8d04d301 100644 --- a/afstemning_tur/index.md +++ b/afstemning_tur/index.md @@ -1,2 +1,6 @@ ++++ + ++++ <div id="qp_all253290" style="width:100%;"><STYLE>#qp_main253290 .qp_btna:hover input {background: rgb(183,222,237)!important;background: -moz-linear-gradient(top, rgba(183,222,237,1) 0%, rgba(113,206,239,1) 50%, rgba(33,180,226,1) 51%, rgba(183,222,237,1) 100%)!important;background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(183,222,237,1)), color-stop(50%,rgba(113,206,239,1)), color-stop(51%,rgba(33,180,226,1)), color-stop(100%,rgba(183,222,237,1)))!important;background: -webkit-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%)!important;background: -o-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%)!important;background: -ms-linear-gradient(top, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%)!important;background: linear-gradient(to bottom, rgba(183,222,237,1) 0%,rgba(113,206,239,1) 50%,rgba(33,180,226,1) 51%,rgba(183,222,237,1) 100%)!important;filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7deed', endColorstr='#b7deed',GradientType=0)!important}</STYLE><div id="qp_main253290" style="border-radius:6px;border:1px solid rgb(150,163,170);margin:0px;padding:10px;background:rgb(201,219,229);background:-moz-linear-gradient(top, rgba(242,246,248,1) 0%, rgba(201,219,229,1) 19%, rgba(216,225,231,1) 58%, rgba(224,239,249,1) 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,246,248,1)), color-stop(19%,rgba(201,219,229,1)), color-stop(58%,rgba(216,225,231,1)), color-stop(100%,rgba(224,239,249,1)));background:-webkit-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(201,219,229,1) 19%,rgba(216,225,231,1) 58%,rgba(224,239,249,1) 100%);background:-o-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(201,219,229,1) 19%,rgba(216,225,231,1) 58%,rgba(224,239,249,1) 100%);background:-ms-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(201,219,229,1) 19%,rgba(216,225,231,1) 58%,rgba(224,239,249,1) 100%);background:linear-gradient(to bottom, rgba(242,246,248,1) 0%,rgba(201,219,229,1) 19%,rgba(216,225,231,1) 58%,rgba(224,239,249,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2F6F8', endColorstr='#C9DBE5', GradientType=0);zoom:1"><div style="border-radius:6px;font-family:Arial;font-size:12px;font-weight:bold;background-color:rgb(89,97,102);color:rgb(255,255,255);margin-bottom:10px;border:1px solid rgb(241,245,248);background: rgb(85,102,111);background: -moz-linear-gradient(top, rgba(85,102,111,1) 0%, rgba(79,91,99,1) 18%, rgba(69,80,87,1) 57%, rgba(73,98,115,1) 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(85,102,111,1)), color-stop(18%,rgba(79,91,99,1)), color-stop(57%,rgba(69,80,87,1)), color-stop(100%,rgba(73,98,115,1)));background: -webkit-linear-gradient(top, rgba(85,102,111,1) 0%,rgba(79,91,99,1) 18%,rgba(69,80,87,1) 57%,rgba(73,98,115,1) 100%);background: -o-linear-gradient(top, rgba(85,102,111,1) 0%,rgba(79,91,99,1) 18%,rgba(69,80,87,1) 57%,rgba(73,98,115,1) 100%);background: -ms-linear-gradient(top, rgba(85,102,111,1) 0%,rgba(79,91,99,1) 18%,rgba(69,80,87,1) 57%,rgba(73,98,115,1) 100%);background: linear-gradient(to bottom, rgba(85,102,111,1) 0%,rgba(79,91,99,1) 18%,rgba(69,80,87,1) 57%,rgba(73,98,115,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#55666f', endColorstr='#496273',GradientType=0);zoom:1"><div style="padding:10px">Hvilken tur?</div></div><form id="qp_form253290" action="https://www.poll-maker.com/results253290xFA154d53-10" method="post" target="_blank" style="display:inline;margin:0px;padding:0px"><div style="border-radius:6px"><input type=hidden name="qp_d253290" value="42064.4648379627-42064.4648261486"><div style="display:block;font-family:Arial;font-size:12px;color:rgb(0,0,0);padding-top:5px;padding-bottom:5px;clear:both;cursor:pointer;cursor:hand"><span onClick="if((!event.target?event.srcElement:event.target).tagName!='INPUT'){var c=this.childNodes[0];c.checked=(c.type=='radio'?true:!c.checked);}" style="display:block;padding-left:30px"><input style="float:left;width:18px;margin-left:-25px;margin-top:-2px;padding:0px;height:18px" name="qp_v253290" type="radio" value="1"><div>Nørrebro - Oprør og Oaser</div> <div> </div></span></div><div style="display:block;font-family:Arial;font-size:12px;color:rgb(0,0,0);padding-top:5px;padding-bottom:5px;clear:both;cursor:pointer;cursor:hand"><span onClick="if((!event.target?event.srcElement:event.target).tagName!='INPUT'){var c=this.childNodes[0];c.checked=(c.type=='radio'?true:!c.checked);}" style="display:block;padding-left:30px"><input style="float:left;width:18px;margin-left:-25px;margin-top:-2px;padding:0px;height:18px" name="qp_v253290" type="radio" value="2"><div>Christianshavn - Holmen<br /><br /></div></span></div><div style="display:block;font-family:Arial;font-size:12px;color:rgb(0,0,0);padding-top:5px;padding-bottom:5px;clear:both;cursor:pointer;cursor:hand"><span onClick="if((!event.target?event.srcElement:event.target).tagName!='INPUT'){var c=this.childNodes[0];c.checked=(c.type=='radio'?true:!c.checked);}" style="display:block;padding-left:30px"><input style="float:left;width:18px;margin-left:-25px;margin-top:-2px;padding:0px;height:18px" name="qp_v253290" type="radio" value="3"><div>Tom Kristensen - Digtertur<br /><br /></div></span></div></div><div style="padding-top:5px;margin-right:-5px;clear:both"><a class="qp_btna" href="#"><input name="qp_b253290" style="min-width:80px;height:30px;margin-top:5px;margin-right:5px;border-radius:10px;border:1px solid rgb(150,163,170);font-family:Arial;font-size:12px;font-weight:bold;color:rgb(0,0,0);cursor:pointer;cursor:hand;background: rgb(242,246,248);background: -moz-linear-gradient(top, rgba(242,246,248,1) 0%, rgba(216,225,231,1) 50%, rgba(181,198,208,1) 51%, rgba(224,239,249,1) 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,246,248,1)), color-stop(50%,rgba(216,225,231,1)), color-stop(51%,rgba(181,198,208,1)), color-stop(100%,rgba(224,239,249,1)));background: -webkit-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: -o-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: -ms-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: linear-gradient(to bottom, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);zoom:1" type="submit" btype="v" value="Vote"></a><a class="qp_btna" href="#"><input name="qp_b253290" style="min-width:80px;height:30px;margin-top:5px;margin-right:5px;border-radius:10px;border:1px solid rgb(150,163,170);font-family:Arial;font-size:12px;font-weight:bold;color:rgb(0,0,0);cursor:pointer;cursor:hand;background: rgb(242,246,248);background: -moz-linear-gradient(top, rgba(242,246,248,1) 0%, rgba(216,225,231,1) 50%, rgba(181,198,208,1) 51%, rgba(224,239,249,1) 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,246,248,1)), color-stop(50%,rgba(216,225,231,1)), color-stop(51%,rgba(181,198,208,1)), color-stop(100%,rgba(224,239,249,1)));background: -webkit-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: -o-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: -ms-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);background: linear-gradient(to bottom, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);zoom:1" type="submit" btype="r" value="Results"></a></div><a id="qp_a253290" style="float:right;font-family:Arial;font-size:10px;color:rgb(0,0,0);text-decoration:none;margin-top:-12px;margin-right:-5px" href="https://www.poll-maker.com">polls</a></form></div></div><script src="https://scripts.poll-maker.com/3012/scpolls.js" language="javascript"></script> + |