added loveless page ^^

added support of 'offtop' tag
This commit is contained in:
arcan1s 2014-04-18 16:38:35 +04:00
parent aa22d953b6
commit 11c229febf
4 changed files with 136 additions and 15 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
_drafts/
_site/ _site/
Gemfile Gemfile
Gemfile.lock Gemfile.lock

View File

@ -12,23 +12,39 @@ layout: default
{% assign post = page %} {% assign post = page %}
<p align="justify">{% include shortdate_to_ru.html %}</p> <p align="justify">{% include shortdate_to_ru.html %}</p>
<p align="justify"><b>Тэги</b>: {{ page.tags }}</p> <p align="justify"><b>Тэги</b>: {{ page.tags }}</p>
<p align="justify"><b>Похожие посты</b>:<br> {% if page.tags contains 'offtop' %}
{% for post in site.related_posts limit:3 %} <!-- do nothing -->
{% if post.category == "ru" %} {% else %}
<i>{% include shortdate_to_ru.html %}</i> <a href="{{ post.url }}">{{ post.title }}</a><br> <p align="justify"><b>Похожие посты</b>:<br>
{% endif %} {% for post in site.related_posts limit:5 %}
{% endfor %} {% if post.tags contains 'offtop' %}
</p> <!-- do nothing -->
{% else %}
{% if post.category == "ru" %}
<i>{% include shortdate_to_ru.html %}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
{% endif %}
{% endif %}
{% endfor %}
</p>
{% endif %}
{% else %} {% else %}
<p align="justify">{{ page.date | date_to_string }}<br></p> <p align="justify">{{ page.date | date_to_string }}<br></p>
<p align="justify"><b>Tags</b>: {{ page.tags }}</p> <p align="justify"><b>Tags</b>: {{ page.tags }}</p>
<p align="justify"><b>Related posts</b>:<br> {% if page.tags contains 'offtop' %}
{% for post in site.related_posts limit:3 %} <!-- do nothing -->
{% if post.category != "ru" %} {% else %}
<i>{{ post.date | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br> <p align="justify"><b>Related posts</b>:<br>
{% endif %} {% for post in site.related_posts limit:5 %}
{% endfor %} {% if post.tags contains 'offtop' %}
</p> <!-- do nothing -->
{% else %}
{% if post.category != "ru" %}
<i>{{ post.date | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
{% endif %}
{% endif %}
{% endfor %}
</p>
{% endif %}
{% endif %} {% endif %}
</header> </header>
<section> <section>

View File

@ -0,0 +1,53 @@
---
category: en
type: paper
layout: paper
tags: offtop
title: Loveless
short: loveless
description: Here is a small poem from Final Fantasy VII Crisis Core.
---
<h2><a name="prologue" class="anchor" href="#prologue"><span class="octicon octicon-link"></span></a>Prologue</h2>
<p align="justify">
When the war of the beasts brings about the world's end<br>
The goddess descends from the sky<br>
Wings of light and dark spread afar<br>
She guides us to bliss, her gift everlasting.</p>
<h2><a name="acti" class="anchor" href="#acti"><span class="octicon octicon-link"></span></a>Act I</h2>
<p align="justify">Infinite in mystery is the gift of the Goddess<br>
We seek it thus, and take to the sky<br>
Ripples form on the water's surface<br>
The wandering soul knows no rest.</p>
<h2><a name="actii" class="anchor" href="#actii"><span class="octicon octicon-link"></span></a>Act II</h2>
<p align="justify">There is no hate, only joy<br>
For you are beloved by the goddess<br>
Hero of the dawn, Healer of worlds<br>
Dreams of the morrow hath the shattered soul<br>
Pride is lost<br>
Wings stripped away, the end is nigh.</p>
<h2><a name="actiii" class="anchor" href="#actiii"><span class="octicon octicon-link"></span></a>Act III</h2>
<p align="justify">My friend, do you fly away now?<br>
To a world that abhors you and I?<br>
All that awaits you is a somber morrow<br>
No matter where the winds may blow<br>
My friend, your desire<br>
Is the bringer of life, the gift of the goddess<br>
Even if the morrow is barren of promises<br>
Nothing shall forestall my return.</p>
<h2><a name="activ" class="anchor" href="#activ"><span class="octicon octicon-link"></span></a>Act IV</h2>
<p align="justify">My friend, the fates are cruel<br>
There are no dreams, no honor remains<br>
The arrow has left, the bow of the goddess<br>
My soul, corrupted by vengeance<br>
Hath endured torment, to find the end of the journey<br>
In my own salvation<br>
And your eternal slumber<br>
Legend shall speak<br>
Of sacrifice at world's end<br>
The wind sails over the water's surface.</p>
<h2><a name="actv" class="anchor" href="#actv"><span class="octicon octicon-link"></span></a>Act V</h2>
<p align="justify">Even if the morrow is barren of promises<br>
Nothing shall forestall my return<br>
To become the dew that quenches the land<br>
To spare the sands, the seas, the skies<br>
I offer thee this silent sacrifice.</p>

View File

@ -0,0 +1,53 @@
---
category: ru
type: paper
layout: paper
tags: offtop
title: Loveless
short: loveless
description: На правах оффтопа, небольшая поэма из Final Fantasy VII Crisis Core.
---
<h2><a name="prologue" class="anchor" href="#prologue"><span class="octicon octicon-link"></span></a>Prologue</h2>
<p align="justify">
When the war of the beasts brings about the world's end<br>
The goddess descends from the sky<br>
Wings of light and dark spread afar<br>
She guides us to bliss, her gift everlasting.</p>
<h2><a name="acti" class="anchor" href="#acti"><span class="octicon octicon-link"></span></a>Act I</h2>
<p align="justify">Infinite in mystery is the gift of the Goddess<br>
We seek it thus, and take to the sky<br>
Ripples form on the water's surface<br>
The wandering soul knows no rest.</p>
<h2><a name="actii" class="anchor" href="#actii"><span class="octicon octicon-link"></span></a>Act II</h2>
<p align="justify">There is no hate, only joy<br>
For you are beloved by the goddess<br>
Hero of the dawn, Healer of worlds<br>
Dreams of the morrow hath the shattered soul<br>
Pride is lost<br>
Wings stripped away, the end is nigh.</p>
<h2><a name="actiii" class="anchor" href="#actiii"><span class="octicon octicon-link"></span></a>Act III</h2>
<p align="justify">My friend, do you fly away now?<br>
To a world that abhors you and I?<br>
All that awaits you is a somber morrow<br>
No matter where the winds may blow<br>
My friend, your desire<br>
Is the bringer of life, the gift of the goddess<br>
Even if the morrow is barren of promises<br>
Nothing shall forestall my return.</p>
<h2><a name="activ" class="anchor" href="#activ"><span class="octicon octicon-link"></span></a>Act IV</h2>
<p align="justify">My friend, the fates are cruel<br>
There are no dreams, no honor remains<br>
The arrow has left, the bow of the goddess<br>
My soul, corrupted by vengeance<br>
Hath endured torment, to find the end of the journey<br>
In my own salvation<br>
And your eternal slumber<br>
Legend shall speak<br>
Of sacrifice at world's end<br>
The wind sails over the water's surface.</p>
<h2><a name="actv" class="anchor" href="#actv"><span class="octicon octicon-link"></span></a>Act V</h2>
<p align="justify">Even if the morrow is barren of promises<br>
Nothing shall forestall my return<br>
To become the dew that quenches the land<br>
To spare the sands, the seas, the skies<br>
I offer thee this silent sacrifice.</p>