kleine Änderungen:
All checks were successful
ci/woodpecker/push/build_and_copy_blog Pipeline was successful
All checks were successful
ci/woodpecker/push/build_and_copy_blog Pipeline was successful
Autor:innen und Datum ergänzt Lesezeit entfernt
This commit is contained in:
parent
222b7ce465
commit
f8eda6b308
23 changed files with 115 additions and 17 deletions
15
sb/scripts/add-metadata-regex-steps
Normal file
15
sb/scripts/add-metadata-regex-steps
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
## first regex steps
|
||||
^(\s+- )givenName: (.+)\n(\s+)familyName: (.+)
|
||||
$1givenName: $2\n$3familyName: $4\n###_tmpAuthor_: $2 $4
|
||||
|
||||
^(datePublished: )(.+)
|
||||
$1$2\n###_tmpDate_: $2
|
||||
|
||||
## apply bash script "add-metadata-author-and-date.sh" with modifications by awk
|
||||
|
||||
## second regex steps
|
||||
^(date: )###_tmpDate_: (.+)
|
||||
$1$2
|
||||
|
||||
^###_tmpAuthor_: (.+)
|
||||
- $1
|
||||
Loading…
Add table
Add a link
Reference in a new issue