diff options
| author | Antonin Descampe <antonin@gmail.com> | 2015-07-20 00:41:19 +0200 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2015-07-20 00:41:19 +0200 |
| commit | b50ecca3f57cbb3fc5fed7da9b8af2e8f3595b7d (patch) | |
| tree | d8e2c4edb04d89afdd00cda5eff80bb202904135 /_includes | |
| parent | 4f39d0e9478f2312c9281796d898ea2f75964406 (diff) | |
added latest news to website
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/themes/twitter/default.html | 1 | ||||
| -rw-r--r-- | _includes/themes/twitter/main.html | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/_includes/themes/twitter/default.html b/_includes/themes/twitter/default.html index 880ef033..33026c87 100644 --- a/_includes/themes/twitter/default.html +++ b/_includes/themes/twitter/default.html @@ -106,7 +106,6 @@ <br><br> <p><a class="twitter-timeline" href="https://twitter.com/OpenJPEG" data-widget-id="619207551389986816">Tweets de @OpenJPEG</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></p> - <br> <figure> <a href="{{ BASE_PATH }}/rss.xml"><img src="{{ BASE_PATH }}/assets/images/feed-icon-32.png" alt="RSS" width="32" height="32"></a> <figcaption> diff --git a/_includes/themes/twitter/main.html b/_includes/themes/twitter/main.html new file mode 100644 index 00000000..ac942dd1 --- /dev/null +++ b/_includes/themes/twitter/main.html @@ -0,0 +1,18 @@ +<!-- +<div class="page-header"> + <h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1> +</div> +--> +<div class="newsbar"> +<h2>Latest news</h2> +<p align=center><a class="twitter-timeline" href="https://twitter.com/OpenJPEG" data-widget-id="619207551389986816" data-chrome="nofooter noheader noborders noscrollbar" height="150">Tweets de @OpenJPEG</a> +<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></p> + <!--<p align="center"><a href="{{ BASE_PATH }}/archive.html">News Archive</a></p>--> +</div> +<div class="row-fluid"> + <div class="span12"> + {{ content }} + </div> +</div> + +
\ No newline at end of file |
