Skip to content

Commit 658ea6f

Browse files
authored
Update shell.handlebars - adding image_og
In this updated version, the image_og variable is conditionally checked and included in the <head> section to provide the Open Graph image metadata if it is available.
1 parent 58b6191 commit 658ea6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlpage/templates/shell.handlebars

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
<link rel="alternate" type="application/rss+xml" title="{{title}}" href="{{rss}}">
4444
{{/if}}
4545
<meta name="generator" content="SQLPage"/>
46+
47+
{{#if image_og}}
48+
<meta property="og:image" content="{{image_og}}"/>
49+
{{/if}}
4650
</head>
4751

4852
<body class="layout-{{default layout 'boxed'}}" {{#if theme}}data-bs-theme="{{theme}}"{{/if}}>

0 commit comments

Comments
 (0)