Skip to content

Commit b10b7ea

Browse files
author
Brandon Green
committed
WIP add past issue to contributors page
1 parent 1b4d527 commit b10b7ea

File tree

4 files changed

+25
-46
lines changed

4 files changed

+25
-46
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ collections:
6565
output: true
6666
news:
6767
output: true
68+
contributors:
69+
output: true
6870

6971
pagination:
7072
enabled: true

_includes/past_issues.html

+18-19
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
<div class="hidden">
2-
<div class="contributor-vertical row blog-vertical ">
3-
4-
{% for post in posts %}
5-
<div class="vertical-blog-container">
6-
<div class="col-md-12">
7-
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
8-
<h4>
9-
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
10-
</h4>
11-
<p>{{ post.excerpt | remove: '<p>' | remove: '</p>' | truncate: 500}}</p>
12-
<img src="{{ post.image }}" class="img-fluid">
13-
</div>
14-
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">
15-
Read More
16-
</a>
2+
<div id="past-issues">
3+
<div class="container">
4+
<div class="col-md-3">
5+
{% include contributor_side_nav.html %}
176
</div>
18-
{% endfor %}
19-
</div>
20-
<div class="contributor-pagination">
21-
{% include pagination_buttons.html %}
7+
{% for past_issue in past_issues %}
8+
<p>working</p>
9+
<div class="main-content-wrapper blog-detail-wrapper">
10+
<div class="main-content blog-detail-content">
11+
<div class="container">
12+
<img src="{{ site.baseurl }}/assets/images/logo-icon.svg" class="img-fluid author-icon">
13+
<article class="pytorch-article">
14+
{{ content }}
15+
</article>
16+
</div>
17+
</div>
18+
</div>
19+
{% endfor %}
20+
</div>
2221
</div>
2322
</div>
2423

_sass/contributors.scss

+5-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
.marketo-left {
4242
justify-content: center;
43-
top: 2rem;
43+
top: 1.5rem;
4444
h2 {
4545
text-transform: uppercase;
4646
color: $orange;
@@ -67,7 +67,6 @@
6767

6868
.marketo-right {
6969
justify-content: center;
70-
top: 2rem;
7170
white-space: pre-line;
7271
h2 {
7372
text-transform: uppercase;
@@ -199,6 +198,10 @@
199198
}
200199
}
201200

201+
.contributor-nav {
202+
flex-direction: row;
203+
}
204+
202205
.nav-item {
203206
padding-top: rem(15px);
204207
padding-bottom: rem(15px);

ecosystem/contributors.html

-25
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,6 @@ <h2>Sign up for the newsletter</h2>
5151
</div>
5252
</div>
5353
</div>
54-
<<<<<<< HEAD
55-
<div class="hidden">
56-
<div class="row contributor-index blog-index">
57-
{% for post in posts %}
58-
<div class="col-md-12">
59-
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
60-
<h4>
61-
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
62-
</h4>
63-
<p>{{ post.excerpt | remove: '<p>' | remove: '</p>' | truncate: 500}}</p>
64-
<img src="{{ post.image }}" class="img-fluid">
65-
</div>
66-
{% endfor %}
67-
</div>
68-
69-
{% include pagination_buttons.html %}
70-
</div>
71-
=======
72-
>>>>>>> 184ae53d590... WIP contributor
7354
</div>
7455

7556
<div class="row col-md-6 marketo-right">
@@ -84,12 +65,6 @@ <h2>Join the conversation</h2>
8465

8566
<script type="text/javascript">
8667
$("#submit").on( "click", function() {
87-
<<<<<<< HEAD
88-
$(".hidden").toggle();
89-
$(".marketo-left .contributor-row").hide();
90-
=======
91-
92-
>>>>>>> 184ae53d590... WIP contributor
9368
});
9469

9570
$("#past-issues").on("click", function() {

0 commit comments

Comments
 (0)