File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
og_image : img/daily-dose-of-python.png
3
+ twitter_title : Daily dose of Python
4
+ twitter_description : Slightly more advanced Python tips and tricks in easy to digest format.
5
+ twitter_image : img/daily-dose-of-python.png
3
6
---
4
7
5
8
# Daily dose of Python
Original file line number Diff line number Diff line change 4
4
{% if page and page.meta and page.meta.og_image %}
5
5
< meta property ="og:image " content ="{{ config.site_url ~ page.meta.og_image }} " />
6
6
{% endif %}
7
+ {% if page and page.meta and page.meta.twitter_title and page.meta.twitter_description and page.meta.twitter_image %}
8
+ < meta name ="twitter:card " content ="summary_large_image ">
9
+ < meta name ="twitter:title " content ="{{ page.meta.twitter_title }} ">
10
+ < meta name ="twitter:description " content ="{{ page.meta.twitter_description }} ">
11
+ < meta name ="twitter:image " content ="{{ config.site_url ~ page.meta.twitter_image }} ">
12
+ {% endif %}
7
13
{% endblock %}
You can’t perform that action at this time.
0 commit comments