Skip to content

Commit adb1470

Browse files
committed
mais merda
1 parent 7288b72 commit adb1470

4 files changed

Lines changed: 16 additions & 340 deletions

File tree

_includes/post-info.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,24 @@
77
<span class="post-date">{{ post.date | date: "%d/%m/%Y" }}</span>
88
</li>
99
</ul>
10-
{% if post.pdf %}
10+
{% if post.downloads %}
1111
<ul class="post-info">
12+
{% if post.downloads.pdf %}
1213
<li>
1314
<i class="fa fa-file-pdf"></i>
1415
</li>
1516
<li>
16-
<a target="_blank" href="{{ post.pdf }}">Download</a>
17+
<a target="_blank" href="{{ post.downloads.pdf }}">Download</a>
1718
</li>
19+
{% endif %}
20+
{% if post.downloads.pdf %}
21+
<li>
22+
<i class="fa fa-book"></i>
23+
</li>
24+
<li>
25+
<a target="_blank" href="{{ post.downloads.epub }}">Download</a>
26+
</li>
27+
{% endif %}
1828
</ul>
1929
{% endif %}
2030
</div>

0 commit comments

Comments
 (0)