Skip to content

Commit 2f74534

Browse files
authored
Update index.html
1 parent 5f82b56 commit 2f74534

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎index.html‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
395395
<!-- SEKCJA NAJNOWSZE NEWSY -->
396396
<span class="section-tag">NAJNOWSZE RAPORTY TECHNOLOGICZNE (NEWSY)</span>
397397
<div class="newsy-home-grid">
398-
{% for post in site.newsy limit:3 %}
398+
{% assign sorted_newsy = site.newsy | sort: 'date' | reverse %}
399+
{% for post in sorted_newsy limit:3 %}
399400
<a href="{{ post.url | relative_url }}" class="home-news-card">
400401
{% assign t = post %}
401402
{% assign thumb = t.icon | default: t.image %}
@@ -503,7 +504,8 @@ <h3 style="font-size: 0.8rem; color: var(--accent-blue); margin: 0 0 10px 0; tex
503504
<!-- DYNAMICZNY DZIENNIK SYSTEMOWY (BLOG) -->
504505
<span class="section-tag">OSTATNIE WPISY / DZIENNIK SYSTEMOWY</span>
505506
<div class="archive-list">
506-
{% for post in site.posts limit:5 %}
507+
{% assign sorted_posts = site.posts | sort: 'date' | reverse %}
508+
{% for post in sorted_posts limit:5 %}
507509
<a href="{{ post.url | relative_url }}" class="archive-item">
508510
<div class="archive-category">[{{ post.category | default: "SYSTEM" | upcase }}]</div>
509511
<div class="archive-title">{{ post.title | upcase }}</div>

0 commit comments

Comments
 (0)