Skip to content

Commit

Permalink
Kategori düzenlemeleri
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaryob authored Sep 25, 2023
1 parent 8023bb6 commit be968f4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 21 deletions.
2 changes: 1 addition & 1 deletion _pages/elektronik.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ image_hash: "fd7fff582b02262c7e3377b981048d36"
{% endfor %}

<!-- Pager -->
{% if site.categories.linux.total_pages > 1 %}
{% if site.categories.elektronik.total_pages > 1 %}

<div class="clearfix">

Expand Down
66 changes: 47 additions & 19 deletions _pages/pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,51 @@ image: "raspberrypi-bg.jpg"
image_hash: "80738471d1f9b811754aca914194612e"
---

{% for post in site.categories.pi %}
<div class="list">
<div class="post-index">
<div class="post-image">
<a href="{{post.url}}">
<i class="fa fa-{{post.icon}} fa-fw"></i>
</a>
</div>
<div class="post-content">
<p class="post-index-title"><a href="{{site.baseurl}}{{post.url}}">{{post.title}}</a></p>
<p>
<span class="excerpt">{{ post.content | strip_html | strip_newlines | truncate: 90 }}</span>
</p>
<p class="post-detail">{{ post.date | date: '%B %d, %Y' }}
<a href="{{site.baseurl}}{{post.url}}/index.html#disqus_thread" data-disqus-identifier="{{post.url}}"></a>
</p>
</div>
<div class="container">
{% for post in site.categories.pi %}

<article class="post-preview">
<a href="{{ post.url | prepend: site.baseurl | replace: '//', '/' }}">
<h2 class="post-title">{{ post.title }}</h2>
{% if post.subtitle %}
<h3 class="post-subtitle">{{ post.subtitle }}</h3>
{% else %}
<h3 class="post-subtitle">{{ post.excerpt | strip_html | truncatewords: 15 }}</h3>
{% endif %}
</a>
<p class="post-meta">
{% if post.author %}
{{ post.author }}
{% else %}
{{ site.author }}
{% endif %}
tarafından
{{ post.date | date: '%B %d, %Y' }} tarihinde yayınladı. &middot; {% include read_time.html content=post.content %}
</p>
</article>

<hr>

{% endfor %}

<!-- Pager -->
{% if site.categories.pi.total_pages > 1 %}

<div class="clearfix">

{% if paginator.previous_page %}
<a class="btn btn-primary float-left"
href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr;
Yeni<span class="d-none d-md-inline"> Gönderiler</span></a>
{% endif %}

{% if paginator.next_page %}
<a class="btn btn-primary float-right"
href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Eski<span
class="d-none d-md-inline"> Gönderiler</span> &rarr;</a>
{% endif %}

</div>
</div>
{% endfor %}

{% endif %}
</div>
2 changes: 1 addition & 1 deletion _pages/pixelart.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ image_hash: "934bee399ce669974100a5d559925157"
{% endfor %}

<!-- Pager -->
{% if site.categories.linux.total_pages > 1 %}
{% if site.categories.pixelart.total_pages > 1 %}

<div class="clearfix">

Expand Down

0 comments on commit be968f4

Please sign in to comment.