Commit 6c4402ba authored by fauno's avatar fauno

agregar zines al sitio

parent 9c213881
......@@ -23,6 +23,7 @@ title: Utopía Pirata
<div id="carrousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
{% for post in site.posts %}
{% unless post.slider %}{% next %}{% endunless %}
<li data-target="#carrousel" data-slide-to="{{ forloop.index0 }}"></li>
{% endfor %}
</ol>
......@@ -31,6 +32,7 @@ title: Utopía Pirata
<div class="carousel-inner">
{% for post in site.posts %}
{% unless post.slider %}{% next %}{% endunless %}
<div class="item{% if forloop.first %} active{% endif %}">
<img src="{{ post.slider }}" />
<div class="carousel-caption">
......@@ -80,6 +82,34 @@ title: Utopía Pirata
</section>
<section id="zines">
<h2>Zines</h2>
<ul class="media-list">
{% for post in site.zines %}
<li class="media">
<h4 class="inline">
<a href="{{ post.url }}">{{ post.title }}</a>
<small class="author">{{post.author}}</small>
</h4>
<br/>
<ul class="list-inline format-list inline">
<li> <span class="glyphicon glyphicon-cloud-download" title="Descargar"></span> </li>
{% for format in site.pandoc.outputs limit:2 %}
{% capture extension %}{{ format | first }}{% endcapture %}
<li><a href="{{ post.url | remove:'.html' }}.{{ extension }}">{{ extension }}</a></li>
{% endfor %}
<li><a href="{{ post.url }}#formats">otros...</a></li>
</ul>
</dl>
{% endfor %}
</section>
<footer>
<a href="/atom.xml">Feed Completo</a> |
<a href="/{{ site.torrent.file }}">Torrent</a> |
......@@ -88,6 +118,4 @@ title: Utopía Pirata
<script src="https://code.jquery.com/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript">
$('carrousel').carousel();
</script>
<script type="text/javascript">$('carrousel').carousel();</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment