Commit 5e5bfa24 authored by fauno's avatar fauno

sitio más flexible

parent a920f62b
......@@ -8,13 +8,13 @@
{% endfor %}
<base href="{{ base }}" />
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<title>{{ site.title }}{% if page.title %} - {{ page.title }}{% endif %}</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:url" content="{{ site.canonical }}{{ page.url }}" />
<meta property="og:locale" content="{{ site.lang }}" />
<meta property="og:site_name" content="Utopía Pirata" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:type" content="article" />
<meta property="og:article:published_time" content="{{ page.date }}" />
<meta property="og:article:author" content="{{ page.author }}" />
......@@ -36,7 +36,7 @@
<link rel="alternate"
type="application/atom+xml"
title="Utopía Pirata"
title="{{ site.title }}"
href="atom.xml" />
<link rel="related" href="utopias.opds"
......
......@@ -4,17 +4,17 @@ layout: default
<article>
<header>
<h4><a href="" alt='Inicio'>Utopía Pirata</a></h4>
<h4><a href="" alt='Inicio'>{{ site.title }}</a></h4>
<nav id="formats" class="pull-right">
<span class="glyphicon glyphicon-cloud-download"></span> Otros formatos
<ul class="list-inline">
{% for format in site.pandoc.outputs %}
{% capture extension %}{{ format | first }}{% endcapture %}
<li><a href="{{ page.url | remove:'.html' }}.{{ extension }}">{{ extension }}</a></li>
<li><a href="{{ page.url | remove_first: '/' | remove:'.html' }}.{{ extension }}">{{ extension }}</a></li>
{% endfor %}
<li><a href="{{ page.url | remove:'.html' }}-imposed.pdf">impresión</a></li>
<li><a href="{{ page.url | remove:'.html' }}-binder.pdf">binder</a></li>
<li><a href="assets/covers{{ page.url | remove:'.html' }}.tif">tapas</a></li>
<li><a href="{{ page.url | remove_first: '/' | remove:'.html' }}-imposed.pdf">impresión</a></li>
<li><a href="{{ page.url | remove_first: '/' | remove:'.html' }}-binder.pdf">binder</a></li>
<li><a href="assets/covers{{ page.url | remove_first: '/' | remove:'.html' }}.tif">tapas</a></li>
</ul>
</nav>
......@@ -32,7 +32,7 @@ layout: default
<ul class="posts">
{% for post in site.related_posts limit:3 %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
<li><a href="{{ post.url | remove_first: '/' }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
......
---
layout: default
title: Utopía Pirata
---
<header class="utopia">
......@@ -15,7 +14,7 @@ title: Utopía Pirata
<img src="assets/images/logo_sin_nombre_negro.png" />
</a>
<div class="media-body">
<h1 class="media-heading">Utopía Pirata</h1>
<h1 class="media-heading">{{ site.title }}</h1>
</div>
</div>
</div>
......@@ -38,7 +37,7 @@ title: Utopía Pirata
{% assign active = '' %}
<img src="{{ post.slider }}" />
<div class="carousel-caption">
<h1><small><a href="{{ post.url }}">{{ post.title }}</a></small></h1>
<h1><small><a href="{{ post.url | remove_first: '/' }}">{{ post.title }}</a></small></h1>
</div>
</div>
{% endfor %}
......@@ -64,7 +63,7 @@ title: Utopía Pirata
{% for post in site.posts %}
<li class="media">
<h4 class="inline">
<a href="{{ post.url }}">{{ post.title }}</a>
<a href="{{ post.url | remove_first: '/' }}">{{ post.title }}</a>
<small class="author">{{post.author}}</small>
</h4>
......@@ -74,9 +73,9 @@ title: Utopía Pirata
<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>
<li><a href="{{ post.url | remove_first: '/' | remove:'.html' }}.{{ extension }}">{{ extension }}</a></li>
{% endfor %}
<li><a href="{{ post.url }}#formats">otros...</a></li>
<li><a href="{{ post.url | remove_first: '/' }}#formats">otros...</a></li>
</ul>
</dl>
......@@ -92,7 +91,7 @@ title: Utopía Pirata
{% for post in site.zines %}
<li class="media">
<h4 class="inline">
<a href="{{ post.url }}">{{ post.title }}</a>
<a href="{{ post.url | remove_first: '/' }}">{{ post.title }}</a>
<small class="author">{{post.author}}</small>
</h4>
......@@ -102,9 +101,9 @@ title: Utopía Pirata
<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>
<li><a href="{{ post.url | remove_first: '/' | remove:'.html' }}.{{ extension }}">{{ extension }}</a></li>
{% endfor %}
<li><a href="{{ post.url }}#formats">otros...</a></li>
<li><a href="{{ post.url | remove_first: '/' }}#formats">otros...</a></li>
</ul>
</dl>
......
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