Skip to content

Commit 96fecbd

Browse files
committed
Refactor
1 parent aa90f4b commit 96fecbd

File tree

1 file changed

+2
-1
lines changed
  • apps/components_guide_web/lib/components_guide_web/templates/layout

1 file changed

+2
-1
lines changed

apps/components_guide_web/lib/components_guide_web/templates/layout/root.html.leex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
title ->
2525
[primary: "Components.Guide", secondary: title]
2626
end
27+
image_url = "https://postage-stamp.collected.workers.dev/1/poster?" <> URI.encode_query(stamp_query)
2728
%>
28-
<meta property="og:image" content="https://postage-stamp.collected.workers.dev/1/poster?<%= URI.encode_query(stamp_query) %>">
29+
<meta property="og:image" content="<%= image_url %>">
2930

3031
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
3132

0 commit comments

Comments
 (0)