minima-rock 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,87 +1,87 @@
1
- /* Share Bar */
2
- #share-bar {
3
- font-size: 26px;
4
- }
5
-
6
- /* All buttons */
7
- .share-buttons a {
8
- text-decoration: none;
9
- }
10
-
11
- /* Each button */
12
- .share-button {
13
- margin: 0px;
14
- margin-bottom: 10px;
15
- margin-right: 3px;
16
- border: 1px solid #D3D6D2;
17
- border-radius: 3px;
18
- padding: 5px 10px 5px 10px;
19
- }
20
- .share-button:hover {
21
- opacity: 1;
22
- color: #ffffff;
23
- }
24
-
25
- /* Facebook button */
26
- .fa-facebook-official {
27
- color: #3b5998;
28
- }
29
- .fa-facebook-official:hover {
30
- background-color: #3b5998;
31
- }
32
-
33
- /* Twitter button */
34
- .fa-twitter {
35
- color: #55acee;
36
- }
37
- .fa-twitter:hover {
38
- background-color: #55acee;
39
- }
40
-
41
- /* Google-PLus button */
42
- .fa-google-plus {
43
- color: #dd4b39;
44
- }
45
- .fa-google-plus:hover {
46
- background-color: #dd4b39;
47
- }
48
-
49
- /* Pinterest button */
50
- .fa-pinterest-p {
51
- color: #cb2027;
52
- }
53
- .fa-pinterest-p:hover {
54
- background-color: #cb2027;
55
- }
56
-
57
- /* Tumblr button */
58
- .fa-tumblr {
59
- color: #32506d;
60
- }
61
- .fa-tumblr:hover {
62
- background-color: #32506d;
63
- }
64
-
65
- /* Reddit button */
66
- .fa-reddit-alien {
67
- color: #ff4500;
68
- }
69
- .fa-reddit-alien:hover {
70
- background-color: #ff4500;
71
- }
72
-
73
- /* LinkedIn button */
74
- .fa-linkedin {
75
- color: #007bb5;
76
- }
77
- .fa-linkedin:hover {
78
- background-color: #007bb5;
79
- }
80
-
81
- /* Email button */
82
- .fa-envelope {
83
- color: #444444;
84
- }
85
- .fa-envelope:hover {
86
- background-color: #444444;
1
+ /* Share Bar */
2
+ #share-bar {
3
+ font-size: 26px;
4
+ }
5
+
6
+ /* All buttons */
7
+ .share-buttons a {
8
+ text-decoration: none;
9
+ }
10
+
11
+ /* Each button */
12
+ .share-button {
13
+ margin: 0px;
14
+ margin-bottom: 10px;
15
+ margin-right: 3px;
16
+ border: 1px solid #D3D6D2;
17
+ border-radius: 3px;
18
+ padding: 5px 10px 5px 10px;
19
+ }
20
+ .share-button:hover {
21
+ opacity: 1;
22
+ color: #ffffff;
23
+ }
24
+
25
+ /* Facebook button */
26
+ .fa-facebook-official {
27
+ color: #3b5998;
28
+ }
29
+ .fa-facebook-official:hover {
30
+ background-color: #3b5998;
31
+ }
32
+
33
+ /* Twitter button */
34
+ .fa-twitter {
35
+ color: #55acee;
36
+ }
37
+ .fa-twitter:hover {
38
+ background-color: #55acee;
39
+ }
40
+
41
+ /* Google-PLus button */
42
+ .fa-google-plus {
43
+ color: #dd4b39;
44
+ }
45
+ .fa-google-plus:hover {
46
+ background-color: #dd4b39;
47
+ }
48
+
49
+ /* Pinterest button */
50
+ .fa-pinterest-p {
51
+ color: #cb2027;
52
+ }
53
+ .fa-pinterest-p:hover {
54
+ background-color: #cb2027;
55
+ }
56
+
57
+ /* Tumblr button */
58
+ .fa-tumblr {
59
+ color: #32506d;
60
+ }
61
+ .fa-tumblr:hover {
62
+ background-color: #32506d;
63
+ }
64
+
65
+ /* Reddit button */
66
+ .fa-reddit-alien {
67
+ color: #ff4500;
68
+ }
69
+ .fa-reddit-alien:hover {
70
+ background-color: #ff4500;
71
+ }
72
+
73
+ /* LinkedIn button */
74
+ .fa-linkedin {
75
+ color: #007bb5;
76
+ }
77
+ .fa-linkedin:hover {
78
+ background-color: #007bb5;
79
+ }
80
+
81
+ /* Email button */
82
+ .fa-envelope {
83
+ color: #444444;
84
+ }
85
+ .fa-envelope:hover {
86
+ background-color: #444444;
87
87
  }
@@ -1,89 +1,89 @@
1
- $foreground: #A9B7C6;
2
- $background: #2B2B2B;
3
- $selectionForeground: #A9B7C6;
4
- $selectionBackground: #214283;
5
- $operators: #A9B7C6;
6
- $strings: #A5C25C;
7
- $names: #88be05;
8
- $keywords: #CB772F;
9
- $varAndProp: #A9B7C6;
10
- $numbers: #6897BB;
11
- $tag: #f1c829;
12
- $attributes: #9876AA;
13
- $comments: #75715e;
14
-
15
- /**
16
- * Syntax highlighting styles
17
- */
18
- .highlight {
19
- background: darken($background-color, 6%);
20
- @extend %vertical-rhythm;
21
-
22
- .highlighter-rouge & {
23
- background: darken($background-color, 6%);
24
- }
25
-
26
- .hll { background-color: #49483e }
27
- .c { color: $comments } /* Comment */
28
- .err { color: #960050; background-color: #1e0010 } /* Error */
29
- .k { color: $keywords } /* Keyword */
30
- .l { color: $numbers} /* Literal */
31
- .n { color: $varAndProp } /* Name */
32
- .o { color: $operators } /* Operator */
33
- .p { color: $varAndProp } /* Punctuation */
34
- .cm { color: #75715e } /* Comment.Multiline */
35
- .cp { color: #75715e } /* Comment.Preproc */
36
- .c1 { color: #75715e } /* Comment.Single */
37
- .cs { color: #75715e } /* Comment.Special */
38
- .ge { font-style: italic } /* Generic.Emph */
39
- .gs { font-weight: bold } /* Generic.Strong */
40
- .kc { color: $keywords } /* Keyword.Constant */
41
- .kd { color: $keywords } /* Keyword.Declaration */
42
- .kn { color: $operators } /* Keyword.Namespace */
43
- .kp { color: $keywords } /* Keyword.Pseudo */
44
- .kr { color: $keywords } /* Keyword.Reserved */
45
- .kt { color: $keywords } /* Keyword.Type */
46
- .ld { color: $strings } /* Literal.Date */
47
- .m { color: $numbers} /* Literal.Number */
48
- .s { color: $strings } /* Literal.String */
49
- .na { color: $attributes } /* Name.Attribute */
50
- .nb { color: $varAndProp } /* Name.Builtin */
51
- .nc { color: $names } /* Name.Class */
52
- .no { color: $keywords } /* Name.Constant */
53
- .nd { color: #f1c829 } /* Name.Decorator */
54
- .ni { color: $varAndProp } /* Name.Entity */
55
- .ne { color: $names } /* Name.Exception */
56
- .nf { color: $names } /* Name.Function */
57
- .nl { color: $varAndProp } /* Name.Label */
58
- .nn { color: $varAndProp } /* Name.Namespace */
59
- .nx { color: $names } /* Name.Other */
60
- .py { color: $varAndProp } /* Name.Property */
61
- .nt { color: $tag } /* Name.Tag */
62
- .nv { color: $varAndProp } /* Name.Variable */
63
- .ow { color: $operators } /* Operator.Word */
64
- .w { color: $varAndProp } /* Text.Whitespace */
65
- .mf { color: $numbers } /* Literal.Number.Float */
66
- .mh { color: $numbers } /* Literal.Number.Hex */
67
- .mi { color: $numbers } /* Literal.Number.Integer */
68
- .mo { color: $numbers } /* Literal.Number.Oct */
69
- .sb { color: $strings } /* Literal.String.Backtick */
70
- .sc { color: $strings } /* Literal.String.Char */
71
- .sd { color: $strings } /* Literal.String.Doc */
72
- .s2 { color: $strings } /* Literal.String.Double */
73
- .se { color: $numbers} /* Literal.String.Escape */
74
- .sh { color: $strings } /* Literal.String.Heredoc */
75
- .si { color: $strings } /* Literal.String.Interpol */
76
- .sx { color: $strings } /* Literal.String.Other */
77
- .sr { color: $strings } /* Literal.String.Regex */
78
- .s1 { color: $strings } /* Literal.String.Single */
79
- .ss { color: $strings } /* Literal.String.Symbol */
80
- .bp { color: $varAndProp } /* Name.Builtin.Pseudo */
81
- .vc { color: $varAndProp } /* Name.Variable.Class */
82
- .vg { color: $varAndProp } /* Name.Variable.Global */
83
- .vi { color: $varAndProp } /* Name.Variable.Instance */
84
- .il { color: $numbers} /* Literal.Number.Integer.Long */
85
-
86
- .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
87
- .gd { color: $operators; } /* Generic.Deleted & Diff Deleted */
88
- .gi { color: $names; } /* Generic.Inserted & Diff Inserted */
89
- }
1
+ $foreground: #A9B7C6;
2
+ $background: #2B2B2B;
3
+ $selectionForeground: #A9B7C6;
4
+ $selectionBackground: #214283;
5
+ $operators: #A9B7C6;
6
+ $strings: #A5C25C;
7
+ $names: #88be05;
8
+ $keywords: #CB772F;
9
+ $varAndProp: #A9B7C6;
10
+ $numbers: #6897BB;
11
+ $tag: #f1c829;
12
+ $attributes: #9876AA;
13
+ $comments: #75715e;
14
+
15
+ /**
16
+ * Syntax highlighting styles
17
+ */
18
+ .highlight {
19
+ background: darken($background-color, 6%);
20
+ @extend %vertical-rhythm;
21
+
22
+ .highlighter-rouge & {
23
+ background: darken($background-color, 6%);
24
+ }
25
+
26
+ .hll { background-color: #49483e }
27
+ .c { color: $comments } /* Comment */
28
+ .err { color: #960050; background-color: #1e0010 } /* Error */
29
+ .k { color: $keywords } /* Keyword */
30
+ .l { color: $numbers} /* Literal */
31
+ .n { color: $varAndProp } /* Name */
32
+ .o { color: $operators } /* Operator */
33
+ .p { color: $varAndProp } /* Punctuation */
34
+ .cm { color: #75715e } /* Comment.Multiline */
35
+ .cp { color: #75715e } /* Comment.Preproc */
36
+ .c1 { color: #75715e } /* Comment.Single */
37
+ .cs { color: #75715e } /* Comment.Special */
38
+ .ge { font-style: italic } /* Generic.Emph */
39
+ .gs { font-weight: bold } /* Generic.Strong */
40
+ .kc { color: $keywords } /* Keyword.Constant */
41
+ .kd { color: $keywords } /* Keyword.Declaration */
42
+ .kn { color: $operators } /* Keyword.Namespace */
43
+ .kp { color: $keywords } /* Keyword.Pseudo */
44
+ .kr { color: $keywords } /* Keyword.Reserved */
45
+ .kt { color: $keywords } /* Keyword.Type */
46
+ .ld { color: $strings } /* Literal.Date */
47
+ .m { color: $numbers} /* Literal.Number */
48
+ .s { color: $strings } /* Literal.String */
49
+ .na { color: $attributes } /* Name.Attribute */
50
+ .nb { color: $varAndProp } /* Name.Builtin */
51
+ .nc { color: $names } /* Name.Class */
52
+ .no { color: $keywords } /* Name.Constant */
53
+ .nd { color: #f1c829 } /* Name.Decorator */
54
+ .ni { color: $varAndProp } /* Name.Entity */
55
+ .ne { color: $names } /* Name.Exception */
56
+ .nf { color: $names } /* Name.Function */
57
+ .nl { color: $varAndProp } /* Name.Label */
58
+ .nn { color: $varAndProp } /* Name.Namespace */
59
+ .nx { color: $names } /* Name.Other */
60
+ .py { color: $varAndProp } /* Name.Property */
61
+ .nt { color: $tag } /* Name.Tag */
62
+ .nv { color: $varAndProp } /* Name.Variable */
63
+ .ow { color: $operators } /* Operator.Word */
64
+ .w { color: $varAndProp } /* Text.Whitespace */
65
+ .mf { color: $numbers } /* Literal.Number.Float */
66
+ .mh { color: $numbers } /* Literal.Number.Hex */
67
+ .mi { color: $numbers } /* Literal.Number.Integer */
68
+ .mo { color: $numbers } /* Literal.Number.Oct */
69
+ .sb { color: $strings } /* Literal.String.Backtick */
70
+ .sc { color: $strings } /* Literal.String.Char */
71
+ .sd { color: $strings } /* Literal.String.Doc */
72
+ .s2 { color: $strings } /* Literal.String.Double */
73
+ .se { color: $numbers} /* Literal.String.Escape */
74
+ .sh { color: $strings } /* Literal.String.Heredoc */
75
+ .si { color: $strings } /* Literal.String.Interpol */
76
+ .sx { color: $strings } /* Literal.String.Other */
77
+ .sr { color: $strings } /* Literal.String.Regex */
78
+ .s1 { color: $strings } /* Literal.String.Single */
79
+ .ss { color: $strings } /* Literal.String.Symbol */
80
+ .bp { color: $varAndProp } /* Name.Builtin.Pseudo */
81
+ .vc { color: $varAndProp } /* Name.Variable.Class */
82
+ .vg { color: $varAndProp } /* Name.Variable.Global */
83
+ .vi { color: $varAndProp } /* Name.Variable.Instance */
84
+ .il { color: $numbers} /* Literal.Number.Integer.Long */
85
+
86
+ .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
87
+ .gd { color: $operators; } /* Generic.Deleted & Diff Deleted */
88
+ .gi { color: $names; } /* Generic.Inserted & Diff Inserted */
89
+ }
data/_sass/minima.scss CHANGED
@@ -1,57 +1,57 @@
1
- @charset "utf-8";
2
-
3
- // Define defaults for each variable.
4
-
5
- $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
- $base-font-size: 16px !default;
7
- $base-font-weight: 400 !default;
8
- $small-font-size: $base-font-size * 0.875 !default;
9
- $base-line-height: 1.5 !default;
10
-
11
- $spacing-unit: 30px !default;
12
-
13
- $text-color: silver !default;
14
- $background-color: #2d2d2d !default;
15
- $brand-color: #549ec0 !default;
16
-
17
- $grey-color: #808080 !default;
18
- $grey-color-light: lighten($grey-color, 40%) !default;
19
- $grey-color-dark: darken($grey-color, 25%) !default;
20
- $orange-color: #f66a0a !default;
21
- $table-text-align: left !default;
22
-
23
- // Width of the content area
24
- $content-width: 800px !default;
25
-
26
- $on-palm: 600px !default;
27
- $on-laptop: 800px !default;
28
-
29
- $on-medium: $on-palm !default;
30
- $on-large: $on-laptop !default;
31
-
32
- // Use media queries like this:
33
- // @include media-query($on-palm) {
34
- // .wrapper {
35
- // padding-right: $spacing-unit / 2;
36
- // padding-left: $spacing-unit / 2;
37
- // }
38
- // }
39
- // Notice the following mixin uses max-width, in a deprecated, desktop-first
40
- // approach, whereas media queries used elsewhere now use min-width.
41
- @mixin media-query($device) {
42
- @media screen and (max-width: $device) {
43
- @content;
44
- }
45
- }
46
-
47
- @mixin relative-font-size($ratio) {
48
- font-size: $base-font-size * $ratio;
49
- }
50
-
51
- // Import partials.
52
- @import
53
- "minima/base",
54
- "minima/layout",
55
- "minima/share",
56
- "minima/syntax-highlighting"
57
- ;
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for each variable.
4
+
5
+ $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
+ $base-font-size: 16px !default;
7
+ $base-font-weight: 400 !default;
8
+ $small-font-size: $base-font-size * 0.875 !default;
9
+ $base-line-height: 1.5 !default;
10
+
11
+ $spacing-unit: 30px !default;
12
+
13
+ $text-color: silver !default;
14
+ $background-color: #2d2d2d !default;
15
+ $brand-color: #549ec0 !default;
16
+
17
+ $grey-color: #808080 !default;
18
+ $grey-color-light: lighten($grey-color, 40%) !default;
19
+ $grey-color-dark: darken($grey-color, 25%) !default;
20
+ $orange-color: #f66a0a !default;
21
+ $table-text-align: left !default;
22
+
23
+ // Width of the content area
24
+ $content-width: 800px !default;
25
+
26
+ $on-palm: 600px !default;
27
+ $on-laptop: 800px !default;
28
+
29
+ $on-medium: $on-palm !default;
30
+ $on-large: $on-laptop !default;
31
+
32
+ // Use media queries like this:
33
+ // @include media-query($on-palm) {
34
+ // .wrapper {
35
+ // padding-right: $spacing-unit / 2;
36
+ // padding-left: $spacing-unit / 2;
37
+ // }
38
+ // }
39
+ // Notice the following mixin uses max-width, in a deprecated, desktop-first
40
+ // approach, whereas media queries used elsewhere now use min-width.
41
+ @mixin media-query($device) {
42
+ @media screen and (max-width: $device) {
43
+ @content;
44
+ }
45
+ }
46
+
47
+ @mixin relative-font-size($ratio) {
48
+ font-size: $base-font-size * $ratio;
49
+ }
50
+
51
+ // Import partials.
52
+ @import
53
+ "minima/base",
54
+ "minima/layout",
55
+ "minima/share",
56
+ "minima/syntax-highlighting"
57
+ ;
@@ -1,5 +1,5 @@
1
- ---
2
- # Only the main Sass file needs front matter (the dashes are enough)
3
- ---
4
-
5
- @import "minima";
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "minima";
data/assets/js/color.js CHANGED
@@ -1,70 +1,70 @@
1
- /**
2
- * Refer to https://cp-algorithms.com/string/string-hashing.html
3
- * @param {string} str
4
- */
5
- function hash(str) {
6
- const p = 31;
7
- const m = 1e9 + 9;
8
- let h = 0;
9
- let pow = 1;
10
- for (let i = 0; i < str.length; i++) {
11
- const c = str.charCodeAt(i);
12
- h = (h + (c - 'a'.charCodeAt(0) + 1) * pow) % m;
13
- pow = (pow * p) % m;
14
- }
15
- return h;
16
- }
17
-
18
- function invertColor(hex, bw) {
19
- if (hex.indexOf('#') === 0) {
20
- hex = hex.slice(1);
21
- }
22
- // convert 3-digit hex to 6-digits.
23
- if (hex.length === 3) {
24
- hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
25
- }
26
- if (hex.length !== 6) {
27
- throw new Error('Invalid HEX color.');
28
- }
29
- var r = parseInt(hex.slice(0, 2), 16),
30
- g = parseInt(hex.slice(2, 4), 16),
31
- b = parseInt(hex.slice(4, 6), 16);
32
- if (bw) {
33
- // http://stackoverflow.com/a/3943023/112731
34
- return (r * 0.299 + g * 0.587 + b * 0.114) > 186
35
- ? '#000000'
36
- : '#FFFFFF';
37
- }
38
- // invert color components
39
- r = (255 - r).toString(16);
40
- g = (255 - g).toString(16);
41
- b = (255 - b).toString(16);
42
- // pad each with zeros and return
43
- return "#" + padZero(r) + padZero(g) + padZero(b);
44
- }
45
-
46
- function padZero(str, len) {
47
- len = len || 2;
48
- var zeros = new Array(len).join('0');
49
- return (zeros + str).slice(-len);
50
- }
51
-
52
- function randomColor() {
53
- color = Math.floor(Math.random()*16777215).toString(16);
54
- return '#' + padZero(color, 6);
55
- }
56
-
57
- function hashColor(str) {
58
- color = (hash(str) % 16777215).toString(16);
59
- return '#' + padZero(color, 6);
60
- }
61
-
62
- function setInvertedColor(className) {
63
- let elems = document.getElementsByClassName(className);
64
- for (const elem of elems) {
65
- const bgColor = hashColor(elem.innerText);
66
- const color = invertColor(bgColor, true);
67
- elem.style['color'] = color;
68
- elem.style['background-color'] = bgColor;
69
- }
1
+ /**
2
+ * Refer to https://cp-algorithms.com/string/string-hashing.html
3
+ * @param {string} str
4
+ */
5
+ function hash(str) {
6
+ const p = 31;
7
+ const m = 1e9 + 9;
8
+ let h = 0;
9
+ let pow = 1;
10
+ for (let i = 0; i < str.length; i++) {
11
+ const c = str.charCodeAt(i);
12
+ h = (h + (c - 'a'.charCodeAt(0) + 1) * pow) % m;
13
+ pow = (pow * p) % m;
14
+ }
15
+ return h;
16
+ }
17
+
18
+ function invertColor(hex, bw) {
19
+ if (hex.indexOf('#') === 0) {
20
+ hex = hex.slice(1);
21
+ }
22
+ // convert 3-digit hex to 6-digits.
23
+ if (hex.length === 3) {
24
+ hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
25
+ }
26
+ if (hex.length !== 6) {
27
+ throw new Error('Invalid HEX color.');
28
+ }
29
+ var r = parseInt(hex.slice(0, 2), 16),
30
+ g = parseInt(hex.slice(2, 4), 16),
31
+ b = parseInt(hex.slice(4, 6), 16);
32
+ if (bw) {
33
+ // http://stackoverflow.com/a/3943023/112731
34
+ return (r * 0.299 + g * 0.587 + b * 0.114) > 186
35
+ ? '#000000'
36
+ : '#FFFFFF';
37
+ }
38
+ // invert color components
39
+ r = (255 - r).toString(16);
40
+ g = (255 - g).toString(16);
41
+ b = (255 - b).toString(16);
42
+ // pad each with zeros and return
43
+ return "#" + padZero(r) + padZero(g) + padZero(b);
44
+ }
45
+
46
+ function padZero(str, len) {
47
+ len = len || 2;
48
+ var zeros = new Array(len).join('0');
49
+ return (zeros + str).slice(-len);
50
+ }
51
+
52
+ function randomColor() {
53
+ color = Math.floor(Math.random()*16777215).toString(16);
54
+ return '#' + padZero(color, 6);
55
+ }
56
+
57
+ function hashColor(str) {
58
+ color = (hash(str) % 16777215).toString(16);
59
+ return '#' + padZero(color, 6);
60
+ }
61
+
62
+ function setInvertedColor(className) {
63
+ let elems = document.getElementsByClassName(className);
64
+ for (const elem of elems) {
65
+ const bgColor = hashColor(elem.innerText);
66
+ const color = invertColor(bgColor, true);
67
+ elem.style['color'] = color;
68
+ elem.style['background-color'] = bgColor;
69
+ }
70
70
  }
@@ -1,16 +1,16 @@
1
- ---
2
- ---
3
- [
4
- {% for post in site.posts %}
5
- {
6
-
7
- "title" : "{{ post.title | escape }}",
8
- "url" : "{{ site.baseurl }}{{ post.url }}",
9
- "categories" : "{{ post.categories | join: ', ' }}",
10
- "tags" : "{{ post.tags | join: ', ' }}",
11
- "date" : "{{ post.date }}",
12
- "discription" : "{{ post.description | strip_html | strip_newlines | escape }}",
13
- "excerpt" : "{{ post.excerpt | strip_html | strip_newlines | escape }}"
14
- } {% unless forloop.last %},{% endunless %}
15
- {% endfor %}
1
+ ---
2
+ ---
3
+ [
4
+ {% for post in site.posts %}
5
+ {
6
+
7
+ "title" : "{{ post.title | escape }}",
8
+ "url" : "{{ site.baseurl }}{{ post.url }}",
9
+ "categories" : "{{ post.categories | join: ', ' }}",
10
+ "tags" : "{{ post.tags | join: ', ' }}",
11
+ "date" : "{{ post.date }}",
12
+ "discription" : "{{ post.description | strip_html | strip_newlines | escape }}",
13
+ "excerpt" : "{{ post.excerpt | strip_html | strip_newlines | escape }}"
14
+ } {% unless forloop.last %},{% endunless %}
15
+ {% endfor %}
16
16
  ]