Skip to content

Commit 7dc2496

Browse files
committed
brand: update twitter card metadata
Fixes #539
1 parent b9ff891 commit 7dc2496

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

data/site.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Flatpak
2-
domain: http://flatpak.org
2+
domain: https://flatpak.org
3+
#domain: http://localhost:4567
34
punchline: The Future of Application Distribution
45

56
## If unspecified, timezone defaults to UTC

source/img/card.png

1.34 MB
Loading

source/layouts/layout.haml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,24 @@
77
%meta{content: "#{current_page.data.description}", name: "description"}/
88
%meta{content: "bundle,application,runtime,flatpak,xdg-app", name: "keywords"}/
99
%meta{content: "width=device-width,initial-scale=1", name: "viewport" }/
10-
%link{rel:"icon", "type" => "image/png", href:"img/favicon.png"}/
10+
%link{rel:"icon", "type" => "image/svg+xml", href:"img/favicon.svg"}/
1111
%link{rel:"shortcut icon", "type" => "image/x-icon", href:"/favicon.ico"}/
12-
%link{rel:"apple-touch-icon", "sizes" => "57x57", href:"img/favicon57.png"}/
13-
%link{rel:"apple-touch-icon", "sizes" => "152x152", href:"img/favicon152.png"}/
12+
%link{rel:"apple-touch-icon", "sizes" => "180x180", href:"img/apple-touch-icon.png"}/
1413
= stylesheet_link_tag :fonts
1514
= stylesheet_link_tag :site
1615
= stylesheet_link_tag :animate
17-
/= stylesheet_link_tag "http://overpass-30e2.kxcdn.com/overpass.css"
16+
%meta{content: "#{data.site.name}", name: "title" }/
17+
%meta{content: "#{data.site.punchline}", name: "description" }/
18+
19+
%meta{content: "#{data.site.name}", name: "twitter:title" }/
20+
%meta{content: "#{data.site.domain}#{url_for 'img/card.png'}", name: "twitter:image" }/
21+
%meta{content: "summary_large_image", name: "twitter:card" }/
22+
%meta{content: "#{data.site.punchline}", name: "twitter:description" }/
23+
24+
%meta{content: "#{data.site.name}", name: "og:title" }/
25+
%meta{content: "#{data.site.domain}", name: "og:url" }/
26+
%meta{content: "#{data.site.domain}#{url_for 'img/card.png'}", name: "og:image" }/
27+
%meta{content: "#{data.site.punchline}", name: "og:description" }/
1828

1929
= javascript_include_tag "jquery-2.2.4.min"
2030
= javascript_include_tag "jquery.easing.min"

0 commit comments

Comments
 (0)