Skip to content

Commit 956f8e3

Browse files
moving sponsor box in event page
1 parent ad5455f commit 956f8e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_layouts/post.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<div class="row">
1717
<div class="col-md-9">
1818
<h2>{{ page.title }}</h2>
19+
<p>{{ page.content }}</p>
20+
1921
<div class="infobox post__sponsor-box">
2022
<a href="{{ sponsor.link }}">
2123
<img class="post__sponsor-img"
@@ -25,9 +27,6 @@ <h2>{{ page.title }}</h2>
2527
<p>Thanks to <a href="{{ sponsor.link }}">{{ sponsor.name }}</a> for hosting this event!</p>
2628
<p>{{ sponsor.content }}</p>
2729
</div>
28-
<p>{{ page.content }}</p>
29-
30-
<hr/>
3130

3231
{% if project.logo %}
3332
<img class="post__project-logo" src="{{ site.baseurl }}/{{ project.logo }}">

_sass/post.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
.post__sponsor-box {
2222
padding: 16px 12px 0 !important;
2323
width: 70% !important;
24+
margin-bottom: 20px !important;
2425
}
2526
@media (max-width: 640px) {
2627
.post__sponsor-box {

0 commit comments

Comments
 (0)