mlops/blog.html

36 строки
1.1 KiB
HTML

---
layout : default
title : Blog Posts
description : "Blog Posts that are relevant to using GitHub for data science and ML Ops."
---
<section class="intro blog_intro">
<div class="image_box">
<img src="https://ghicons.github.com/assets/images/blue/svg/issue.svg" alt="blog">
</div>
<div class="text_box">
<h1>{{page.title}}</h1>
<p>{{page.description}}</p>
<!-- tags filter -->
<div class="tags">
{% assign tags = site.data.blog | map: 'tags' | uniq %}
<button class="tag_filter active" data-tag="all">All</button>
{%- assign s = tags | size | minus: 2 -%}
{%- for i in (0..s) -%}
<button class="tag_filter" data-tag="{{tags[i] | replace: ' ', '_'}}">{{tags[i]}}</button>
{%- endfor -%}
</div>
<div class="posts_list">
{% for item in site.data.blog %}
{% assign t = item.tags | join: "%%" | replace: " ", "_"| replace: "%%", " " %}
<div class="blog content_item {{t}}">
<a href="{{item.link}}">
<h2>{{item.title}}</h2>
</a>
<p>{{item.info}}</p>
</div>
{% endfor %}
</div>
</div>
</section>