Skip to content

Commit

Permalink
zaman bazlı değişimler
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaryob authored Sep 25, 2023
1 parent 3b4808d commit 4683da0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions _pages/arsiv.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ image_hash: "cc30914dbb849385dc6c0bf877626671"
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}

{% endif %}
{% endunless %}
{% assign months = "Ocak|Şubat|Mart|Nisan|Mayıs|Haziran|Temmuz|Ağustos|Eylül|Ekim|Kasım|Aralık" | split: "|" %}
{% assign m = post.date | date: "%-m" | minus: 1 %}
{% assign day = post.date | date: "%d" %}
{% assign month = months[m] %}
{% assign year = post.date | date: "%Y" %}
<li class="arch-list"> {{ day }} {{ month }} {{ year }} &raquo; <a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a> </li>
{% assign dd = post.date | date: "%d" %}
{% assign mm = months[m] %}
{% assign yy = post.date | date: "%Y" %}

<li class="arch-list"> {{ dd }} {{ mm }} {{ yy }} &raquo; <a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a> </li>
{% endfor %}
</ul>
{% endfor %}
Expand Down

0 comments on commit 4683da0

Please sign in to comment.