mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
change to hiding posts by year since I do not write them often
This commit is contained in:
parent
ba231bd284
commit
43860e4137
@ -13,7 +13,7 @@ back: 2
|
|||||||
<section>
|
<section>
|
||||||
|
|
||||||
{% for post in site.categories.en limit:1 %}
|
{% for post in site.categories.en limit:1 %}
|
||||||
{% assign month = post.date | date: "%B, %Y" %}
|
{% assign month = post.date | date: "%Y" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" tabindex="-1">
|
<input type="checkbox" tabindex="-1">
|
||||||
@ -21,7 +21,7 @@ back: 2
|
|||||||
<b>{{ month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
<b>{{ month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{% for post in site.categories.en %}
|
{% for post in site.categories.en %}
|
||||||
{% assign new_month = post.date | date: "%B, %Y" %}
|
{% assign new_month = post.date | date: "%Y" %}
|
||||||
{% if new_month != month %}
|
{% if new_month != month %}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
@ -32,7 +32,7 @@ back: 2
|
|||||||
<b>{{ new_month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
<b>{{ new_month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% assign month = post.date | date: "%B, %Y" %}
|
{% assign month = post.date | date: "%Y" %}
|
||||||
<i>{{ post.date | date_to_string }}</i> » <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>
|
<i>{{ post.date | date_to_string }}</i> » <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 %}
|
{% endfor %}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
@ -14,8 +14,8 @@ back: 2
|
|||||||
<section>
|
<section>
|
||||||
|
|
||||||
{% for post in site.categories.ru limit:1 %}
|
{% for post in site.categories.ru limit:1 %}
|
||||||
{% assign month = post.date | date: "%B, %Y" %}
|
{% assign month = post.date | date: "%Y" %}
|
||||||
{% assign new_month = post.date | date: "%B, %Y" %}
|
{% assign new_month = post.date | date: "%Y" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<label class="spoiler">
|
<label class="spoiler">
|
||||||
<input type="checkbox" tabindex="-1">
|
<input type="checkbox" tabindex="-1">
|
||||||
@ -23,7 +23,7 @@ back: 2
|
|||||||
<b>{% include longdate_to_ru.html %}</b> <span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
|
<b>{% include longdate_to_ru.html %}</b> <span class="close" style="float:right;">(скрыть)</span><span class="open" style="float:right;">(показать)</span>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{% for post in site.categories.ru %}
|
{% for post in site.categories.ru %}
|
||||||
{% assign new_month = post.date | date: "%B, %Y" %}
|
{% assign new_month = post.date | date: "%Y" %}
|
||||||
{% if new_month != month %}
|
{% if new_month != month %}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user