Merge pull request #445 from makermelissa/master
Added RSS Icon + Added image to items
This commit is contained in:
commit
96b909b18f
4 changed files with 16 additions and 7 deletions
|
|
@ -4,13 +4,11 @@
|
|||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
||||
|
||||
<!-- CircuitPython RSS Feed -->
|
||||
<link rel="alternate"
|
||||
type="application/rss+xml"
|
||||
title="CircuitPython news!"
|
||||
href="https://blog.adafruit.com/category/circuitpython/feed/"/>
|
||||
<link rel="alternate" type="application/rss+xml" title="Latest Boards" href="/feed.rss"/>
|
||||
<script src="{{ "/assets/javascript/header_mobile.js" | relative_url }}"></script>
|
||||
</head>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,10 @@
|
|||
<a {% if current[1] == 'awesome' %}class='active'{% endif %} href="{{ "/awesome" | relative_url }}">Awesome</a>
|
||||
<a href="https://www.adafruitdaily.com/category/circuitpython">Newsletter</a>
|
||||
<a href="https://forums.adafruit.com/viewforum.php?f=60">Help</a>
|
||||
<a href="https://adafru.it/discord"><i class="fab fa-discord"></i></a>
|
||||
<span>
|
||||
<a href="https://adafru.it/discord"><i class="fab fa-discord"></i></a>
|
||||
<a href="{{ '/feed.rss' | relative_url }}" type="application/rss+xml"><i class="fas fa-rss-square"></i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
justify-content: flex-end;
|
||||
|
||||
a {
|
||||
margin-left: 40px;
|
||||
font-size: 16px;
|
||||
color: #999999;
|
||||
|
||||
|
|
@ -49,6 +48,15 @@
|
|||
color: #fff;
|
||||
}
|
||||
}
|
||||
&> a {
|
||||
margin-left: 40px;
|
||||
}
|
||||
&> span {
|
||||
margin-left: 35px;
|
||||
a {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ permalink: /feed.rss
|
|||
<item>
|
||||
<title>{{ board.name }}</title>
|
||||
<link>{{ board.url | absolute_url }}</link>
|
||||
<description><![CDATA[ <p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
|
||||
<description><![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
|
||||
<category>CircuitPython</category>
|
||||
<pubDate>{{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</pubDate>
|
||||
<guid>{{ board.url | absolute_url }}</guid>
|
||||
|
|
@ -27,7 +27,7 @@ permalink: /feed.rss
|
|||
<item>
|
||||
<title>{{ board.name }}</title>
|
||||
<link>{{ board.url | absolute_url }}</link>
|
||||
<description><![CDATA[ <p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
|
||||
<description><![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
|
||||
<category>Blinka</category>
|
||||
<pubDate>{{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</pubDate>
|
||||
<guid>{{ board.url | absolute_url }}</guid>
|
||||
|
|
|
|||
Loading…
Reference in a new issue