Skip to content

Commit 298923e

Browse files
committed
Update generator meta tag to include version
The generator meta tag now includes the SQLPage version. This is fetched from the CARGO_PKG_VERSION environment variable during the build process.
1 parent 0cf2e94 commit 298923e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlpage/templates/shell.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
{{#if rss}}
8282
<link rel="alternate" type="application/rss+xml" title="{{title}}" href="{{rss}}">
8383
{{/if}}
84-
<meta name="generator" content="SQLPage" />
84+
<meta name="generator" content="SQLPage v{{buildinfo 'CARGO_PKG_VERSION'}}" />
8585
{{#if social_image}}
8686
<meta property="og:image" content="{{social_image}}" />
8787
{{/if}}

0 commit comments

Comments
 (0)