mirror of
https://github.com/learnk8s/learnk8s.io.git
synced 2026-02-14 08:29:52 +00:00
using a newer version of node
This commit is contained in:
@@ -531,6 +531,7 @@ function optimiseImages({ $, siteUrl }: { $: Cheerio; siteUrl: string }): Cheeri
|
||||
}
|
||||
|
||||
function digest(url: string) {
|
||||
console.log('>>', url)
|
||||
ok(existsSync(url), `Asset ${url} doesn't exist.`)
|
||||
const digest = md5(readFileSync(url, 'utf8'))
|
||||
mkdir('-p', '_site/a')
|
||||
|
||||
@@ -46,7 +46,7 @@ export function render(website: Sitemap, currentNode: LinkedNode<typeof Details>
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'BlogPosting',
|
||||
headline: currentNode.payload.title,
|
||||
image: `${siteUrl}${currentNode.payload.previewImage.props.src}`,
|
||||
image: `${currentNode.payload.previewImage.props.src}`,
|
||||
author: {
|
||||
'@type': 'Person',
|
||||
name: currentNode.payload.author.fullName,
|
||||
|
||||
Reference in New Issue
Block a user