-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from provopoulos/twitter_module
Twitter_module_83
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{% if include.index %} | ||
{% assign i = include.index %} | ||
{% endif %} | ||
|
||
{% if include.id %} | ||
{% assign f = site.[include.id][i] %} | ||
{% endif %} | ||
|
||
{% if include.category %} | ||
{% assign cat = include.category %} | ||
{% endif %} | ||
|
||
|
||
|
||
<div class="feature__item"> | ||
<div class="archive__item"> | ||
<div class="archive__item-body"> | ||
{% if include.category %} | ||
<h3>{{ cat }}</h3> | ||
{% endif %} | ||
<a href="{{ site.url }}{{ site.baseurl }}{{ site.[include.id][i].url }}"> | ||
|
||
|
||
{% if f.title %} | ||
<h2 class="archive__item-title">{{ f.title }}</h2> | ||
{% endif %} | ||
|
||
</a> | ||
|
||
{% if f.image_url %} | ||
<div class="archive__item-teaser"> | ||
{% capture url %}{{ f.image_url }}{% endcapture %} | ||
{% assign split_url = url | split: '.' %} | ||
{% capture thumb_url %}{{split_url[0]}}-thumb.{{split_url[1]}}{% endcapture %} | ||
<img src="{{ site.url }}{{ site.baseurl }}{{ thumb_url }}"> | ||
</div> | ||
{% endif %} | ||
|
||
{% if f.excerpt %} | ||
<div class="archive__item-excerpt"> | ||
{{ f.excerpt | markdownify }} | ||
</div> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="feature__item"> | ||
<div class="archive__item"> | ||
<div class="archive__item-body"> | ||
<div align="center"> | ||
<h3>Feed</h3> | ||
<a class="twitter-timeline" | ||
href="https://twitter.com/myionio?ref_src=twsrc%5Etfw" | ||
data-width="350" | ||
data-height="450" | ||
data-dnt="true" | ||
data-chrome="noheader nofooter noscrollbar transparent">Tweets by @myionio</a> | ||
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |