concrete-jekyll 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/footer.html +2 -2
- data/_includes/header.html +7 -4
- data/_includes/main.html +0 -10
- data/_layouts/home.html +27 -1
- data/_sass/_code.scss +8 -9
- data/assets/concrete.scss +12 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 311298d45ccc452533a756dca8669e619792425c
|
4
|
+
data.tar.gz: 0dc6a8a255087c42cca9897eafc113340920d5d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5002ed638e38dffb216489ec9f1700f1f20beacfb00201fdc67f0ee4a4da066a9cdcab5442963d3af6404aab89f0f6de285d8584cdd26f53f54d7f5d5c51d96d
|
7
|
+
data.tar.gz: a09e72027a19df9c159ff55b845ee4f76089ef78925c437bd2b6911c09988ee729e5555663de5264af89b89c9ed98cb97467b5aa43a7baeb3f040559589843a6
|
data/_includes/footer.html
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
<div class="container center">
|
3
3
|
<div class="row l-table">
|
4
4
|
<div class="column l5 m12 s12 l-left v-middle">
|
5
|
-
social
|
5
|
+
{% include sections/social-links.html %}
|
6
6
|
</div>
|
7
7
|
<div class="column l7 m12 s12 l-right v-middle">
|
8
|
-
|
8
|
+
<!-- subscribe form? -->
|
9
9
|
</div>
|
10
10
|
</div>
|
11
11
|
</div>
|
data/_includes/header.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<div class="column l8 s6 l-left m-left v-top">
|
11
11
|
{% if page.layout == 'home' %}
|
12
|
-
<h1 class="logo" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
|
12
|
+
<h1 class="logo" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
|
13
13
|
{% else %}
|
14
14
|
<div class="h1 logo" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
|
15
15
|
{% endif %}
|
@@ -22,7 +22,7 @@
|
|
22
22
|
</span>
|
23
23
|
</a>
|
24
24
|
{% else %}
|
25
|
-
<a href="/" itemprop="url" title="{{
|
25
|
+
<a href="/" itemprop="url" title="{{ site.name }}">{{ site.name }}</a>
|
26
26
|
{% endif %}
|
27
27
|
|
28
28
|
{% if page.layout == 'home' %}
|
@@ -33,12 +33,15 @@
|
|
33
33
|
</div>
|
34
34
|
|
35
35
|
<div class="column l4 s6 l-right m-right v-top">
|
36
|
-
|
36
|
+
<!-- toolbar? -->
|
37
37
|
</div>
|
38
38
|
|
39
39
|
</div>
|
40
40
|
|
41
|
-
<div class="row l-table m-table">
|
41
|
+
<div class="row l-table m-table s-hide">
|
42
|
+
<div class="column l12 l-left m-left v-bottom s-v-middle">
|
43
|
+
{% include navigation.html %}
|
44
|
+
</div>
|
42
45
|
</div>
|
43
46
|
|
44
47
|
</div>
|
data/_includes/main.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
{% include head.html %}
|
2
2
|
{% include sections/announcement-bar.html %}
|
3
3
|
{% include header.html %}
|
4
|
-
|
4
|
+
|
5
|
+
<main id="MainContent" role="main">
|
6
|
+
|
7
|
+
<div class="container {{ page.width }}" itemscope itemtype="http://schema.org/Blog">
|
8
|
+
<div class="row">
|
9
|
+
<div class="column l12 m12 s12">
|
10
|
+
<h2>{{ page.title }}</h2>
|
11
|
+
{{ content }}
|
12
|
+
{% if content %}<hr>{% endif %}
|
13
|
+
<h2>Posts</h2>
|
14
|
+
{% for post in site.posts %}
|
15
|
+
{% assign date_format = site.date_format | default: '%A, %d %B, %Y' %}
|
16
|
+
<article class="article" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
|
17
|
+
<meta itemprop="publisher" itemtype="http://schema.org/Organization" content="{{ shop.name }}">
|
18
|
+
<span>{% if post.author %}Posted by {{ post.author }} on {% endif %}{{ post.date | date: date_format }}</span>
|
19
|
+
<h3 itemprop="headline">
|
20
|
+
<a href="{{ post.url | relative_url }}" itemprop="url">{{ post.title | escape }}</a>
|
21
|
+
</h3>
|
22
|
+
<p>{{ post.content | truncate_words: 50 }}
|
23
|
+
</article>
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
</main>
|
30
|
+
|
5
31
|
{% include footer.html %}
|
data/_sass/_code.scss
CHANGED
@@ -10,8 +10,7 @@ code.highlighter-rouge {
|
|
10
10
|
font-weight: 900;
|
11
11
|
background: $colorDarkGray;
|
12
12
|
color: $colorLightGray;
|
13
|
-
|
14
|
-
padding: $gutter;
|
13
|
+
padding: $gutter/2 0px;
|
15
14
|
overflow: scroll;
|
16
15
|
|
17
16
|
.hll,
|
@@ -29,7 +28,7 @@ code.highlighter-rouge {
|
|
29
28
|
.sr,
|
30
29
|
.s1,
|
31
30
|
.ss {
|
32
|
-
color: $
|
31
|
+
color: $colorYellow;
|
33
32
|
}
|
34
33
|
|
35
34
|
.go {
|
@@ -83,7 +82,7 @@ code.highlighter-rouge {
|
|
83
82
|
.cpf,
|
84
83
|
.c1,
|
85
84
|
.cs {
|
86
|
-
color: $
|
85
|
+
color: $colorBlue;
|
87
86
|
}
|
88
87
|
|
89
88
|
.kd,
|
@@ -95,7 +94,7 @@ code.highlighter-rouge {
|
|
95
94
|
.vg,
|
96
95
|
.vi,
|
97
96
|
.vm {
|
98
|
-
color: $
|
97
|
+
color: $colorCyan;
|
99
98
|
}
|
100
99
|
|
101
100
|
.kd,
|
@@ -113,7 +112,7 @@ code.highlighter-rouge {
|
|
113
112
|
.nc,
|
114
113
|
.nf,
|
115
114
|
.fm {
|
116
|
-
color: $
|
115
|
+
color: $colorGreen;
|
117
116
|
}
|
118
117
|
|
119
118
|
.k,
|
@@ -125,7 +124,7 @@ code.highlighter-rouge {
|
|
125
124
|
.kr,
|
126
125
|
.nt,
|
127
126
|
.ow {
|
128
|
-
color: $
|
127
|
+
color: $colorPink;
|
129
128
|
}
|
130
129
|
|
131
130
|
.m,
|
@@ -135,10 +134,10 @@ code.highlighter-rouge {
|
|
135
134
|
.mi,
|
136
135
|
.mo,
|
137
136
|
.il {
|
138
|
-
color: $
|
137
|
+
color: $colorPurple;
|
139
138
|
}
|
140
139
|
|
141
140
|
.gd {
|
142
|
-
color: $
|
141
|
+
color: $colorRed;
|
143
142
|
}
|
144
143
|
}
|
data/assets/concrete.scss
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
// Variables ===================================================================
|
7
7
|
|
8
8
|
// Space & Borders
|
9
|
-
$gutter: 50px;
|
10
|
-
$borderRadius: 2px;
|
11
|
-
$borderWeight: 2px;
|
12
|
-
$borderStyle: solid;
|
13
|
-
$linkStyle:
|
9
|
+
$gutter: {% if site.gutter %}{{ site.gutter }}{% else %}50px{% endif %};
|
10
|
+
$borderRadius: {% if site.border_radius %}{{ site.border_radius }}{% else %}2px{% endif %};
|
11
|
+
$borderWeight: {% if site.border_weight %}{{ site.border_weight }}{% else %}2px{% endif %};
|
12
|
+
$borderStyle: {% if site.border_style %}{{ site.border_style }}{% else %}solid{% endif %};
|
13
|
+
$linkStyle: {% if site.link_style %}{{ site.link_style }}{% else %}underline{% endif %};
|
14
14
|
|
15
15
|
// Palette
|
16
16
|
$colorWhite: #fbfbfb;
|
@@ -37,12 +37,12 @@ $colorSeven: $colorYellow;
|
|
37
37
|
$colorEight: $colorPink;
|
38
38
|
|
39
39
|
// Colors
|
40
|
-
$colorBrand: {% if site.color_brand %}{{ site.color_brand }}{% else %}$
|
41
|
-
$colorText: {% if site.color_text %}{{ site.color_text }}{% else %}$
|
42
|
-
$colorForeground: {% if site.color_foreground %}{{ site.color_foreground }}{% else %}$
|
43
|
-
$colorBackground: {% if site.color_background %}{{ site.color_background }}{% else %}$
|
44
|
-
$colorHighlight: {% if site.color_highlight %}{{ site.color_highlight }}{% else %}$
|
45
|
-
$colorAlternate: {% if site.color_alternate %}{{ site.color_alternate }}{% else %}$
|
40
|
+
$colorBrand: {% if site.color_brand %}{{ site.color_brand }}{% else %}$colorCyan{% endif %};
|
41
|
+
$colorText: {% if site.color_text %}{{ site.color_text }}{% else %}$colorWhite{% endif %};
|
42
|
+
$colorForeground: {% if site.color_foreground %}{{ site.color_foreground }}{% else %}$colorGray{% endif %};
|
43
|
+
$colorBackground: {% if site.color_background %}{{ site.color_background }}{% else %}$colorDarkGray{% endif %};
|
44
|
+
$colorHighlight: {% if site.color_highlight %}{{ site.color_highlight }}{% else %}$colorPink{% endif %};
|
45
|
+
$colorAlternate: {% if site.color_alternate %}{{ site.color_alternate }}{% else %}$colorGreen{% endif %};
|
46
46
|
|
47
47
|
// Typography
|
48
48
|
$fontLight: 300;
|
@@ -64,7 +64,7 @@ $pBase: 0.01;
|
|
64
64
|
$bodyFontStack: {% if site.body_font_stack %}{{ site.body_font_stack }}{% else %}Helvetica, Arial, sans-serif{% endif %};
|
65
65
|
$headingFontStack: {% if site.heading_font_stack %}{{ site.heading_font_stack }}{% else %}Helvetica, Arial, sans-serif{% endif %};
|
66
66
|
$bodyFontWeight: {% if site.body_font_weight %}{{ site.body_font_weight }}{% else %}$fontRegular{% endif %};
|
67
|
-
$headingFontWeight: {% if site.heading_font_weight %}{{ site.heading_font_weight }}{% else %}$
|
67
|
+
$headingFontWeight: {% if site.heading_font_weight %}{{ site.heading_font_weight }}{% else %}$fontBold{% endif %};
|
68
68
|
$headingFontTransform: {% if site.heading_font_transform %}{{ site.heading_font_transform }}{% else %}none{% endif %};
|
69
69
|
|
70
70
|
// Screen Sizes
|