We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a1568 commit 5be4bceCopy full SHA for 5be4bce
pbb
@@ -330,6 +330,7 @@ buildentry() {
330
fname=${file/%md/html} \
331
updated=$(git log --max-count=1 --format=format:%aI -- "$file") \
332
summary=$(yq --front-matter=extract '.summary' "$file") \
333
+ published=$(git log --format=format:%aI -- "$file" | tail --lines=1) \
334
yq --null-input '
335
[{
336
"title": {
@@ -345,7 +346,8 @@ buildentry() {
345
346
"summary": {
347
"+@type": "html",
348
"+content": strenv(summary)
- }
349
+ },
350
+ "published": strenv(published)
351
}]
352
'
353
}
0 commit comments