sitemap | layout | title | excerpt | search_omit |
---|---|---|---|---|
true |
simple |
Video Doküman Blog Komutlar Test |
Linux Dersleri Ana Sayfası |
true |
<div class="no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<img src="{{ site.url }}/data/img/video-egitim.webp"/>
<p></p>
<p class="card-text mb-auto">Temel Linux kullanımı için eğitim içerikleri.</p>
<a href="{{ site.url }}/egitim" class=" stretched-link"></a>
</div>
</div>
<h1 class="text-primary">Blog</h1>
{% for post in site.categories.blog limit:2 %}
{% assign _content = post.content %} {{ _content | markdownify | strip_html | truncate: 50 }}
{% assign post_date = post.date | date: "%Y-%m-%d" %}
{% assign post_modified = post.modified | date: "%Y-%m-%d" %}
{% assign current_date = 'now' | date: '%s' %}
{% assign post_date = post.date | date: '%s' %}
{% assign time_diff = current_date | minus: post_date %}
{% assign days = time_diff | divided_by: 86400 %}
{% assign weeks = days | divided_by: 7 %}
{% assign months = days | divided_by: 30 %}
{% if months > 0 %}
{{ months }} ay
{% elsif weeks > 0 %}
{{ weeks }} hafta
{% else %}
{{ days }} gün
{% endif %}
önce
{% endfor %}
{% if post_modified > post_date %} Güncellendi {% endif %}
</div>
<hr>