File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 7
7
<!-- Enable responsiveness on mobile devices-->
8
8
< meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1 ">
9
9
10
+ <!-- Twitter Card Support -->
11
+ {% block twitter_meta %}
12
+ < meta name ="twitter:card " content ="summary " />
13
+ < meta name ="twitter:site " content ="@rustembedded " />
14
+ < meta name ="twitter:title " content ="Rust Embedded " />
15
+ < meta name ="twitter:description " content ="The Rust Embedded Working Group " />
16
+ < meta name ="twitter:image " content ="{{ get_url(path= "ewg-logo-blue-white-on-transparent.svg ", trailing_slash=false) }} " />
17
+ {%endblock twitter_meta %}
18
+
10
19
< title > {% block title %}{{ config.title }}{% endblock title %}</ title >
11
20
12
21
<!-- CSS -->
Original file line number Diff line number Diff line change 1
1
{% extends "index.html" %}
2
2
3
+ <!-- Twitter Card Support - Blog Post Override -->
4
+ {% block twitter_meta %}
5
+ < meta name ="twitter:card " content ="summary " />
6
+ < meta name ="twitter:site " content ="@rustembedded " />
7
+ < meta name ="twitter:title " content ="{{ page.title }} " />
8
+ < meta name ="twitter:description " content ="{{ page.summary | safe }} " />
9
+ < meta name ="twitter:image " content ="{{ get_url(path= "ewg-logo-blue-white-on-transparent.svg ", trailing_slash=false) }} " />
10
+ {%endblock twitter_meta %}
11
+
3
12
{% block content %}
4
13
< div class ="post ">
5
14
< h1 class ="post-title "> {{ page.title }}</ h1 >
You can’t perform that action at this time.
0 commit comments