-
Notifications
You must be signed in to change notification settings - Fork 290
/
community-blog.html
43 lines (37 loc) · 1.2 KB
/
community-blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: default
title: Community Blog
permalink: /community-blog
body-class: blog
background-class: features-background
---
<div class="jumbotron jumbotron-fluid contributor-jumbotron">
<div class="contributor-jumbo-text container">
<h1>Community Blog</h1>
<h2 class="lead">Stories from the PyTorch Ecosystem</h2>
<p>Also see <a href="/blog">the PyTorch Blog</a></p>
</div>
</div>
<div class="main-content-wrapper">
<div class="main-content">
<div class="container">
<div class="row blog-vertical">
{% assign community_blog = site.community_blog | sort_natural: "date" | reverse %}
{% for post in community_blog %}
<div class="vertical-blog-container">
<div class="col-md-4">
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
<h4>
<a href="{{ post.ext_url }}">{{ post.title }}</a>
</h4>
<p>{{ post.excerpt | strip_html | truncate: 500}}</p>
</div>
<a href="{{ post.ext_url }}" class="btn btn-lg with-right-arrow">
Read More
</a>
</div>
{% endfor %}
</div>
</div>
</div>
</div>