Skip to content

Commit

Permalink
get <head> meta imagery working
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jul 8, 2024
1 parent 5a74254 commit c92aee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/blogtini.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async function main() {

await import('./dom.js')
// eslint-disable-next-line no-use-before-define
head_insert_titles(my_frontmatter.title ?? 'blogtini') // xxxcc add og:image; 'blogtini'
head_insert_titles(my_frontmatter.title ?? 'blogtini', imgurl({ featured: my_frontmatter.featured }, true, false))

const headline = `${HEADLINE}${document.head.innerHTML.trim()}</head><body>\n`
Deno.writeTextFileSync(fi, `${headline}${body_contents}`)
Expand Down

0 comments on commit c92aee1

Please sign in to comment.