Skip to content

Commit 26ea73e

Browse files
author
NooBxGockeL
committed
Initial Draft for iluwatar#298 'Blog'
1 parent fa65572 commit 26ea73e

5 files changed

Lines changed: 82 additions & 2 deletions

File tree

_layouts/post.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: default
3+
---
4+
<div class="row">
5+
<div id="myArticle" class="col-sm-9">
6+
<div class="post-area post">
7+
<header>
8+
<h1>{{ page.title }}</h1>
9+
</header>
10+
<hr>
11+
<article>
12+
{{ content }}
13+
</article>
14+
<hr>
15+
</div>
16+
</div>
17+
18+
<div id="content" class="col-sm-3">
19+
<div id="myAffix" class="shadow-bottom-center hidden-xs" >
20+
<div class="categories-list-header">
21+
Content
22+
</div>
23+
<div class="content-text"></div>
24+
</div>
25+
</div>
26+
</div>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: post
3+
title: JDP Blog goes live! (Testpost)
4+
---
5+
6+
Thundercats XOXO keffiyeh, flannel direct trade etsy sustainable YOLO ramps locavore kale chips. Knausgaard affogato helvetica kale chips. Four loko sriracha street art literally austin. Sriracha humblebrag 8-bit jean shorts fingerstache, kinfolk tote bag raw denim bushwick mustache pinterest. Wayfarers brunch knausgaard, flexitarian keffiyeh heirloom kale chips sartorial tacos offal locavore meh literally taxidermy four loko. Leggings mixtape fashion axe bushwick sriracha. Literally try-hard cornhole waistcoat 90's cardigan, pitchfork sartorial yuccie bushwick yr.
7+
8+
Migas selvage messenger bag thundercats, farm-to-table put a bird on it church-key shoreditch gentrify drinking vinegar tofu godard semiotics tote bag. Sriracha swag yr, brunch celiac stumptown umami lomo tousled poutine williamsburg. Portland 3 wolf moon venmo chartreuse, roof party williamsburg next level waistcoat blog chia. Microdosing dreamcatcher knausgaard, hella street art hoodie fashion axe organic poutine twee heirloom occupy quinoa thundercats. Neutra selvage typewriter, whatever forage brunch flexitarian banh mi occupy farm-to-table put a bird on it. Portland cray marfa squid locavore. Chicharrones raw denim stumptown migas disrupt yr pug.
9+
10+
Four loko paleo typewriter meditation. Letterpress cred hammock mustache. Pickled post-ironic brooklyn kitsch lo-fi chambray. Brooklyn occupy kale chips gastropub, fanny pack offal authentic plaid post-ironic kogi normcore. Mlkshk hammock lumbersexual, affogato shabby chic health goth cray selvage kitsch mustache raw denim waistcoat art party lo-fi quinoa. Fingerstache artisan lumbersexual, kogi selfies chia sriracha squid. Seitan actually listicle messenger bag, heirloom franzen food truck mustache squid blue bottle sustainable.
11+
12+
Normcore blue bottle selfies, viral mustache chillwave actually butcher affogato keytar thundercats banh mi small batch. Williamsburg master cleanse pour-over, portland twee cronut hammock bicycle rights listicle waistcoat vegan craft beer kickstarter hoodie scenester. Whatever fanny pack messenger bag art party. Marfa neutra DIY flannel poutine tofu. Skateboard kale chips humblebrag vice thundercats kogi. Fixie church-key kickstarter pickled, poutine cray pug. Semiotics organic pour-over, williamsburg cliche wayfarers kickstarter.
13+
14+
***
15+
16+
Taken from [Hipsum](http://hipsum.co/)

pages/blog.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: default
3+
title: Blog
4+
permalink: /blog/
5+
icon: fa-align-justify
6+
comments: false
7+
page-index: 2
8+
---
9+
<div id="index" class="row">
10+
<div class="col-md-12">
11+
<div class="post-area">
12+
13+
<div class="post-list-header">
14+
Blog Posts
15+
</div>
16+
<div class="post-list-body">
17+
18+
{% for post in site.posts %}
19+
<a class="post-list-item" href="{{ post.url | prepend: site.baseurl }}">
20+
<h5 class="blog-index-date">{{ post.date | date_to_string }}</h5>
21+
<h2>{{ post.title }}</h2>
22+
<div class="well"> {{ post.excerpt }}</div>
23+
</a>
24+
{% endfor %}
25+
26+
</div>
27+
</div>
28+
</div>
29+
</div>

pages/patterns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
permalink: /patterns/
55
icon: fa-th-large
66
comments: false
7-
page-index: 1
7+
page-index: 3
88
---
99
<div id="index" class="row">
1010
<div class="col-sm-9">

static/css/index.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ pre code{
2323
font-size: 16px;
2424
}
2525
26+
/* BLOG */
27+
.blog-index-date {
28+
float: right;
29+
color: #9d9d9d;
30+
}
31+
.post-list-item div.well p {
32+
margin: 0px;
33+
}
34+
2635
#index a:link {color: #005} /* 未访问的链接 */
2736
#index a:visited {color: #669} /* 已访问的链接 */
2837
#index a:hover {color: #336;text-decoration: none;} /* 鼠标移动到链接上 */
@@ -470,7 +479,7 @@ blockquote:last-child {
470479
margin-top: 20px
471480
}
472481

473-
-- fixes for bootstrap + google cse
482+
/* fixes for bootstrap + google cse */
474483
input.gsc-input,
475484
.gsc-input-box,
476485
.gsc-input-box-hover,

0 commit comments

Comments
 (0)