Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brand: update twitter card metadata #542

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/site.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Flatpak
domain: http://flatpak.org
domain: https://flatpak.org
punchline: The Future of Application Distribution

## If unspecified, timezone defaults to UTC
Expand Down
Binary file added source/img/card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 14 additions & 4 deletions source/layouts/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,24 @@
%meta{content: "#{current_page.data.description}", name: "description"}/
%meta{content: "bundle,application,runtime,flatpak,xdg-app", name: "keywords"}/
%meta{content: "width=device-width,initial-scale=1", name: "viewport" }/
%link{rel:"icon", "type" => "image/png", href:"img/favicon.png"}/
%link{rel:"icon", "type" => "image/svg+xml", href:"img/favicon.svg"}/
%link{rel:"shortcut icon", "type" => "image/x-icon", href:"/favicon.ico"}/
%link{rel:"apple-touch-icon", "sizes" => "57x57", href:"img/favicon57.png"}/
%link{rel:"apple-touch-icon", "sizes" => "152x152", href:"img/favicon152.png"}/
%link{rel:"apple-touch-icon", "sizes" => "180x180", href:"img/apple-touch-icon.png"}/
= stylesheet_link_tag :fonts
= stylesheet_link_tag :site
= stylesheet_link_tag :animate
/= stylesheet_link_tag "http://overpass-30e2.kxcdn.com/overpass.css"
%meta{content: "#{data.site.name}", name: "title" }/
%meta{content: "#{data.site.punchline}", name: "description" }/

%meta{content: "#{data.site.name}", name: "twitter:title" }/
%meta{content: "#{data.site.domain}#{url_for 'img/card.png'}", name: "twitter:image" }/
%meta{content: "summary_large_image", name: "twitter:card" }/
%meta{content: "#{data.site.punchline}", name: "twitter:description" }/

%meta{content: "#{data.site.name}", name: "og:title" }/
%meta{content: "#{data.site.domain}", name: "og:url" }/
%meta{content: "#{data.site.domain}#{url_for 'img/card.png'}", name: "og:image" }/
%meta{content: "#{data.site.punchline}", name: "og:description" }/

= javascript_include_tag "jquery-2.2.4.min"
= javascript_include_tag "jquery.easing.min"
Expand Down