yet another edit spoilers

This commit is contained in:
arcan1s
2014-01-21 05:24:59 +04:00
parent d90f9aa55e
commit 0f42f4dee0
7 changed files with 241 additions and 234 deletions

View File

@ -23,7 +23,7 @@ Evgeniy Alekseev wrote this file. As long as you retain this notice you can do w
<li><a href="http://jekyllrb.com/">Jekyll</a>, который лицензирован под лицензией <a href="http://opensource.org/licenses/MIT">MIT</a>.</li>
<li>Исходная тема была создана <a href="https://github.com/orderedlist/minimal">Steve Smith</a> и лицензирована под <a href="http://creativecommons.org/licenses/by/3.0">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</li>
<li>Блок комментариев был создан <a href="https://github.com/izuzak/izuzak.github.com">Ivan Žužak</a> и лицензирован под лицензией <a href="http://opensource.org/licenses/MIT">MIT</a>.</li>
<li>Код для спойлеров был предложен <a href="http://www.cyberforum.ru/post5368179.html">markeley</a>, и, судя по всему, он не имеет никакой лицензии.</li>
<li>Код для спойлеров был предложен <a href="http://www.cyberforum.ru/post5368179.html">markeley</a> и <a href="http://habrahabr.ru/post/167151/">Defff</a>, и, судя по всему, он не имеет никакой лицензии.</li>
<li>Google Custom Search имеет собственную <a href="https://support.google.com/customsearch/answer/1714300">кастомную лицензию</a>.</li>
<li>Sharethis тоже имеет собственную <a href="http://www.sharethis.com/legal/publisher-terms-of-use">кастомную лицензию</a>.</li>
<li><a href="https://www.redhat.com/promo/fonts/">Liberation font</a> лицензирован под <a href="http://scripts.sil.org/OFL">The SIL Open Font License</a>.</li>

View File

@ -18,21 +18,25 @@ back: 2
{% assign new_month = post.date | date: "%B, %Y" %}
{% endfor %}
<label class="spoiler">
<input type="checkbox" class="bo"/>
<div class="title">{% include longdate_to_ru.html %} (показать)</div>
<div class="body">
{% for post in site.categories.ru %}
{% assign new_month = post.date | date: "%B, %Y" %}
{% if new_month != month %}
</div>
</label>
<label class="spoiler">
<input type="checkbox" class="bo"/>
<div class="title">{% include longdate_to_ru.html %} (показать)</div>
<div class="body">
{% endif %}
{% assign month = post.date | date: "%B, %Y" %}
<i>{% include shortdate_to_ru.html %}</i> &raquo; <a name="{{ post.short }}" class="anchor" href="#{{ post.short }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.tags }})<br>
{% endfor %}
<input type="checkbox" tabindex="-1">
<div class="box">
<b>{% include longdate_to_ru.html %}</b> <span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
<blockquote>
{% for post in site.categories.ru %}
{% assign new_month = post.date | date: "%B, %Y" %}
{% if new_month != month %}
</blockquote>
</div>
</label>
<label class="spoiler">
<input type="checkbox" tabindex="-1">
<div class="box">
<b>{% include longdate_to_ru.html %}</b> <span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
<blockquote>
{% endif %}
{% assign month = post.date | date: "%B, %Y" %}
<i>{% include shortdate_to_ru.html %}</i> &raquo; <a name="{{ post.short }}" class="anchor" href="#{{ post.short }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.tags }})<br>
{% endfor %}
</blockquote>
</div>
</label>

View File

@ -12,14 +12,14 @@ title: arcanis
<h1>{{ page.title }}</h1>
<label class="spoiler">
<input type="checkbox" class="bo"/>
<div class="title"><a href="/ru/blog/">Блог</a></div>
<div class="body">
<p>
{% for post in site.categories.ru limit:3 %}
<a href="{{ post.url }}">{{ post.title }}</a><br>
{% endfor %}
</p>
<input type="checkbox" tabindex="-1">
<div class="box">
<a href="/ru/blog/">Блог</a> <span class="close">(скрыть)</span><span class="open">(показать)</span>
<blockquote>
{% for post in site.categories.ru limit:3 %}
<a href="{{ post.url }}">{{ post.title }}</a><br>
{% endfor %}
</blockquote>
</div>
</label>
<p class="view"><a href="/ru/projects/">Проекты</a></p>