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

[WIP] Sharing fedoralovespython on social media #31

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
Binary file added static/img/fedoralovespython-share.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
<link href="{{ url_for('static', filename='style.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon" type="image/x-icon">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic&amp;subset=latin' rel='stylesheet' type='text/css'>
<!-- For Facebook and Twitter: -->
<meta property="og:type" content="article">
<meta property="og:title" content="Fedora Loves Python – fedoralovespython.org">
<meta property="og:description" content="Fedora’s relationship with Python is very close, making it the best platform for developing with Python - learn why!">
<meta property="og:url" content="https://fedoralovespython.org/">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shall be with __future__ on the __future__ page

<meta property="og:image" content="{{ url_for('static', filename='img/fedoralovespython-share.jpg', _external=True) }}">
<!-- Additionaly, for Twitter: -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@fedora">
<meta property="twitter:creator" content="@fedora" />
</head>
<body>
<header>
Expand Down