File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
apps/components_guide_web/lib/components_guide_web/templates/layout Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
- <! DOCTYPE html>
1
+ <! doctype html>
2
2
< html lang = en >
3
3
< head >
4
4
< meta charset = utf-8 >
9
9
< link rel = "stylesheet " href = "<%= Routes.static_path(@conn, " /css /app.css ") % > "/>
10
10
< link rel = "stylesheet " href = "https://cdn.jsdelivr.net/gh/RoyalIcing/tela@2d421cafc1ea99fab91aa4fcbf3b554160bcada5/tela.css " />
11
11
12
+ <%= if @ conn . path_info == [ ] do %>
13
+ < meta property = "og:type " content = "website " >
14
+ <% else %>
15
+ < meta property = "og:type " content = "article " >
16
+ <% end %>
17
+
18
+ < meta property = "og:title " content = "<%= assigns[:page_title] || " Learn accessibility, web standards, testing React & more " % > ">
12
19
<%
13
20
stamp_query = case assigns[:page_title] do
14
21
nil - >
You can’t perform that action at this time.
0 commit comments