Skip to content

Commit 4456dd3

Browse files
committed
adding sticker logo to blog post
1 parent 034a545 commit 4456dd3

File tree

6 files changed

+25
-5
lines changed

6 files changed

+25
-5
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: yargs
33

44
# Build setting
55
markdown: kramdown
6+
kramdown:
7+
parse_block_html: true
68
gems:
79
- jekyll-redirect-from
810

_layouts/blog.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@
99
<div class="page">
1010
<div class="wrapper">
1111
<div class="blog-wrapper">
12-
<div class="page-content">
13-
<div class="page-box">
1412
{{ content }}
15-
</div>
16-
</div>
1713
</div>
1814
</div>
1915
</div>

_posts/2016-02-13-yargs-4.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ layout: blog
33
title: Yargs 4.0 Is Here
44
---
55

6+
{::options parse_block_html="true" /}
7+
<div class="page-content align-items">
8+
<div class="page-box-full left">
69
# Yargs 4.0 is Here
710

811
I'm excited to announce that yargs 4.0 is here and it's a big update!
@@ -244,3 +247,11 @@ Thank you to everyone who has made the yargs project possible, I couldn't
244247
be more excited about the future \o/
245248

246249
-- [Ben](https://github.com/bcoe).
250+
</div>
251+
252+
{::options parse_block_html="true" /}
253+
<div class="page-box right">
254+
##We got stickers!
255+
[![Yargs Sticker](/images/yargs-laptop-hexagon.png)](https://www.stickermule.com/marketplace/tags/yargs)
256+
</div>
257+
</div>

_sass/_blog.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,15 @@
1414
@extend .description;
1515
}
1616

17+
.page-box.right {
18+
width: 100%;
19+
padding-top: 4.5em;
20+
@include media-query($on-palm) {
21+
padding: inherit;
22+
}
23+
h2, p {
24+
margin: 0 auto;
25+
}
26+
}
27+
1728
}

_sass/_landing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
code {
6060
max-width: 65%;
6161
@include media-query($on-palm) {
62-
max-width: none;
62+
max-width: 80%;
6363
}
6464
}

images/yargs-laptop-hexagon.png

18.3 KB
Loading

0 commit comments

Comments
 (0)