File tree Expand file tree Collapse file tree 3 files changed +44
-8
lines changed Expand file tree Collapse file tree 3 files changed +44
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ title: CircuitPython
2
2
3
3
description : >-
4
4
The easiest way to program microcontrollers
5
+ headline_image : " https://circuitpython.org/assets/images/CircuitPython_Hero.jpg"
5
6
timezone : America/New_York
6
7
twitter_username : circuitpython
7
8
github_username : adafruit
9
+ baseurl : " "
10
+ url : " https://circuitpython.org"
8
11
paginate : 5
9
12
excerpt_separator : <!--more-->
10
13
permalink : pretty
Original file line number Diff line number Diff line change 1
1
< head >
2
2
{% include analytics.html %}
3
- < meta charset ="utf-8 ">
4
- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6
- < link rel ="icon " href ="{{ "/assets/images/favicon.ico" | relative_url }}" type="image/x-icon" />
7
- < meta name ="msapplication-TileColor " content ="#1a1919 ">
8
- < meta name ="msapplication-TileImage " content ="https://cdn-shop.adafruit.com/static/mstile-144x144.png ">
9
- < title > {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</ title >
10
- < meta name ="description " content ="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %} ">
3
+ {% include metadata.html %}
11
4
< link rel ="stylesheet " href ="https://use.fontawesome.com/releases/v5.5.0/css/all.css " integrity ="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU " crossorigin ="anonymous ">
12
5
< link rel ="stylesheet " href ="{{ "/assets/css/main.css" | relative_url }}">
13
6
< link rel ="canonical " href ="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }} ">
7
+
8
+ <!-- CircuitPython RSS Feed -->
9
+ < link rel ="alternate "
10
+ type ="application/rss+xml "
11
+ title ="CircuitPython news! "
12
+ href ="https://blog.adafruit.com/category/circuitpython/feed/ "/>
14
13
< script src ="{{ "/assets/javascript/header_mobile.js" | relative_url }}"> </ script >
15
14
</ head >
15
+
16
+
Original file line number Diff line number Diff line change
1
+ < meta charset ="utf-8 ">
2
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
3
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
4
+ < link rel ="icon " href ="{{ "/assets/images/favicon.ico" | relative_url }}" type="image/x-icon" />
5
+ < meta name ="msapplication-TileColor " content ="#1a1919 ">
6
+ < meta name ="msapplication-TileImage " content ="https://cdn-shop.adafruit.com/static/mstile-144x144.png ">
7
+ < title > {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</ title >
8
+ < meta name ="description " content ="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %} ">
9
+
10
+ <!-- Twitter and Open Graph cards -->
11
+ < meta name ="twitter:site " content ="@{{ site.twitter_username }} ">
12
+ < meta property ="og:url " content ="{{ page.url | absolute_url }} ">
13
+ {% if page.title %}
14
+ < meta property ="og:title " content ="{{ page.title }} ">
15
+ {% else %}
16
+ < meta property ="og:title " content ="{{ site.title }} ">
17
+ {% endif %}
18
+
19
+ {% if page.excerpt %}
20
+ < meta property ="og:description " content ="{{ page.excerpt | strip_html | strip_newlines | truncate: 300 }} ">
21
+ {% else %}
22
+ < meta property ="og:description " content ="{{ site.description }} ">
23
+ {% endif %}
24
+
25
+ {% if page.board_image %}
26
+ < meta name ="twitter:card " content ="summary_large_image ">
27
+ < meta property ="og:image " content ="{{ "/assets/images/boards/large/" | append: page.board_image | absolute_url }}">
28
+ {% else %}
29
+ < meta name ="twitter:card " content ="summary "> </ meta >
30
+ < meta property ="og:image " content ="{{ site.headline_image }} ">
31
+ {% endif %}
32
+ < meta property ="og:type " content ="website " />
You can’t perform that action at this time.
0 commit comments