mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
commit
a1281c29e3
4 changed files with 21 additions and 8 deletions
|
@ -17,8 +17,12 @@
|
||||||
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a>{% endif %}{% endif %}
|
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a>{% endif %}{% endif %}
|
||||||
<div class="entry-wrapper">
|
<div class="entry-wrapper">
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags.html#{{ tag | cgi_encode }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}</span>
|
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags.html#{{ tag | cgi_encode }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}</span>
|
||||||
<h1 class="entry-title" itemprop="name">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %}</h1>
|
{% if page.link %}
|
||||||
|
<h1 class="entry-title" itemprop="headline"><a href="{{ page.link }}">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %} <span class="link-arrow">→</span></a></h1>
|
||||||
|
{% else %}
|
||||||
|
<h1 class="entry-title" itemprop="headline">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %}</h1>
|
||||||
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<img src="{{ site.url }}/images/{{ site.owner.avatar }}" alt="{{ site.owner.name }} photo" class="author-photo">
|
<img src="{{ site.url }}/images/{{ site.owner.avatar }}" alt="{{ site.owner.name }} photo" class="author-photo">
|
||||||
|
|
|
@ -215,7 +215,10 @@ span + .entry-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
letter-spacing: -3px;
|
letter-spacing: -3px;
|
||||||
a { color: @black; }
|
a {
|
||||||
|
color: @black;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
@media @medium {
|
@media @medium {
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
.font-rem(52);
|
.font-rem(52);
|
||||||
|
@ -289,7 +292,7 @@ span + .entry-title {
|
||||||
@media @large {
|
@media @large {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
p > a,
|
p > a
|
||||||
li > a {
|
li > a {
|
||||||
border-bottom: 1px dotted lighten(@link-color, 50);
|
border-bottom: 1px dotted lighten(@link-color, 50);
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -32,6 +32,12 @@ a {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.link-arrow {
|
||||||
|
font-weight: 100;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
// Figures
|
// Figures
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
figcaption {
|
figcaption {
|
||||||
|
|
2
feed.xml
2
feed.xml
|
@ -18,7 +18,7 @@ layout: none
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
|
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
|
||||||
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
|
<link>{% if post.link %}{{ post.link }}{% else %}{{ site.url }}{{ post.url }}{% endif %}</link>
|
||||||
<id>{{ site.url }}{{ post.id }}</id>
|
<id>{{ site.url }}{{ post.id }}</id>
|
||||||
{% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
|
{% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
|
||||||
<published>{{ post.date | date_to_xmlschema }}</published>
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
||||||
|
|
Loading…
Reference in a new issue