Skip to content

Commit

Permalink
Add Twitter feed
Browse files Browse the repository at this point in the history
  • Loading branch information
ssothro committed Aug 2, 2023
1 parent c6968f6 commit e23d4ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _includes/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
<div class="well">
<h4>News</h4>

<a class="twitter-timeline" data-theme="light"
href="https://twitter.com/SNSotiropoulos?ref_src=twsrc%5Etfw">Tweets
by SNSotiropoulos</a> <script async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"></script>

{% for article in site.data.news limit:9 %}
{{ article.date }}
<p>{{ article.headline }}</p>
{% endfor %}

<h4><a href="{{ site.url }}{{ site.baseurl }}/allnews.html">... see all News</a></h4>

<a href="https://twitter.com/intent/tweet?button_hashtag=SNSotiropoulos&ref_src=twsrc%5Etfw" class="twitter-hashtag-button" data-related="SPMIC_UoN,SWarringtonMRI" data-show-count="false">Tweet #SNSotiropoulos</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

</div>

0 comments on commit e23d4ab

Please sign in to comment.