mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-10 03:35:46 +00:00
edited main pages
This commit is contained in:
@ -13,29 +13,33 @@ hasTr: true
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{% for post in site.categories.en limit:1 %}
|
||||
{% assign month = post.date | date: "%Y" %}
|
||||
{% endfor %}
|
||||
<label class="spoiler">
|
||||
<input type="checkbox" tabindex="-1">
|
||||
<div class="box">
|
||||
<b>{{ month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||
<blockquote>
|
||||
{% for post in site.categories.en %}
|
||||
{% assign new_month = post.date | date: "%Y" %}
|
||||
{% if new_month != month %}
|
||||
</blockquote>
|
||||
</div>
|
||||
</label>
|
||||
<label class="spoiler">
|
||||
<input type="checkbox" tabindex="-1">
|
||||
<div class="box">
|
||||
<b>{{ new_month }}</b> <span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||
<blockquote>
|
||||
{% endif %}
|
||||
{% 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>
|
||||
{% endfor %}
|
||||
</blockquote>
|
||||
</div>
|
||||
</label>
|
||||
{% for post in site.categories.en limit:1 %}
|
||||
{% assign month = post.date | date: "%Y" %}
|
||||
{% endfor %}
|
||||
<label class="spoiler">
|
||||
<input type="checkbox" tabindex="-1">
|
||||
<div class="box">
|
||||
<b>{{ month }}</b>
|
||||
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||
<blockquote>
|
||||
{% for post in site.categories.en %}
|
||||
{% assign new_month = post.date | date: "%Y" %}
|
||||
{% if new_month != month %}
|
||||
</blockquote>
|
||||
</div>
|
||||
</label>
|
||||
<label class="spoiler">
|
||||
<input type="checkbox" tabindex="-1">
|
||||
<div class="box">
|
||||
<b>{{ new_month }}</b>
|
||||
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
||||
<blockquote>
|
||||
{% endif %}
|
||||
{% assign month = post.date | date: "%Y" %}
|
||||
<i>{{ post.date | date_to_string }}</i> »
|
||||
<a href="#{{ post.short }}" class="anchor" name="{{ post.short }}"><span class="octicon octicon-link"></span></a>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> ({{ post.tags }})<br>
|
||||
{% endfor %}
|
||||
</blockquote>
|
||||
</div>
|
||||
</label>
|
||||
|
@ -10,13 +10,19 @@ hasTr: true
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<h3><a name="archive" class="anchor" href="#archive"><span class="octicon octicon-link"></span></a><a href="/blog/archive">Archive</a></h3>
|
||||
<h3>
|
||||
<a href="#archive" class="anchor" name="archive"><span class="octicon octicon-link"></span></a>
|
||||
<a href="/blog/archive" title="Archive">Archive</a>
|
||||
</h3>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{% for post in site.categories.en limit:10 %}
|
||||
<h1><a name="{{ post.short }}" class="anchor" href="#{{ post.short }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
||||
<p><i>{{ post.date | date_to_string }}</i></p>
|
||||
<p>{{ post.description }}</p>
|
||||
<p><b>Tags</b>: {{ post.tags }}</p>
|
||||
{% endfor %}
|
||||
{% for post in site.categories.en limit:10 %}
|
||||
<h1>
|
||||
<a href="#{{ post.short }}" class="anchor" name="{{ post.short }}"><span class="octicon octicon-link"></span></a>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</h1>
|
||||
<p><i>{{ post.date | date_to_string }}</i></p>
|
||||
<p>{{ post.description }}</p>
|
||||
<p><b>Tags</b>: {{ post.tags }}</p>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user