doccoli-jekyll 1.1.6 → 1.1.7
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/LICENSE.txt +21 -0
- data/README.md +110 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +41 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +35 -0
- data/_includes/icon-facebook.html +1 -0
- data/_includes/icon-facebook.svg +1 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/search.html +25 -0
- data/_includes/sidebar.html +9 -0
- data/_layouts/default.html +22 -0
- data/_layouts/home.html +28 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +30 -0
- data/_sass/doccoli-jekyll.scss +5 -0
- data/_sass/scss/_footer.scss +37 -0
- data/_sass/scss/_header.scss +198 -0
- data/_sass/scss/_reusable.scss +566 -0
- data/_sass/scss/_sidebar.scss +43 -0
- data/_sass/scss/_syntax-highlighting.scss +202 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/heart.svg +1 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/logo.svg +1 -0
- data/assets/images/search.svg +4 -0
- data/assets/images/usa.svg +1 -0
- data/assets/js/search.js +6 -0
- data/assets/main.scss +5 -0
- metadata +35 -2
@@ -0,0 +1,43 @@
|
|
1
|
+
.sidebar {
|
2
|
+
width: 207px;
|
3
|
+
height: 100vh;
|
4
|
+
}
|
5
|
+
|
6
|
+
ul.toc {
|
7
|
+
margin: 46px 0 0 0;
|
8
|
+
padding: 0;
|
9
|
+
li {
|
10
|
+
list-style: outside none none;
|
11
|
+
margin: 0;
|
12
|
+
height: 40px;
|
13
|
+
margin: 0 auto 1px;
|
14
|
+
background: rgba(255, 255, 255, 0.5);
|
15
|
+
&:hover {
|
16
|
+
background: rgba(255, 255, 255, 1);
|
17
|
+
}
|
18
|
+
a {
|
19
|
+
color: hsla(0, 5%, 35%, 1);
|
20
|
+
float: left;
|
21
|
+
width: 90%;
|
22
|
+
vertical-align: center;
|
23
|
+
clear: both;
|
24
|
+
text-decoration: none;
|
25
|
+
height: 40px;
|
26
|
+
padding: 0 0 0 10px;
|
27
|
+
display: -webkit-box;
|
28
|
+
display: flex !important;
|
29
|
+
align-items: center;
|
30
|
+
overflow: hidden;
|
31
|
+
text-overflow: ellipsis;
|
32
|
+
white-space: nowrap;
|
33
|
+
&:hover {
|
34
|
+
float: left;
|
35
|
+
clear: both;
|
36
|
+
text-decoration: none;
|
37
|
+
cursor: pointer;
|
38
|
+
text-shadow: none;
|
39
|
+
color: #1177FF;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,202 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight {
|
6
|
+
background: #fff;
|
7
|
+
.highlighter-rouge & {
|
8
|
+
background: #eef;
|
9
|
+
}
|
10
|
+
.c {
|
11
|
+
color: #998;
|
12
|
+
font-style: italic
|
13
|
+
} // Comment
|
14
|
+
.err {
|
15
|
+
color: #a61717;
|
16
|
+
background-color: #e3d2d2
|
17
|
+
} // Error
|
18
|
+
.k {
|
19
|
+
font-weight: bold
|
20
|
+
} // Keyword
|
21
|
+
.o {
|
22
|
+
font-weight: bold
|
23
|
+
} // Operator
|
24
|
+
.cm {
|
25
|
+
color: #998;
|
26
|
+
font-style: italic
|
27
|
+
} // Comment.Multiline
|
28
|
+
.cp {
|
29
|
+
color: #999;
|
30
|
+
font-weight: bold
|
31
|
+
} // Comment.Preproc
|
32
|
+
.c1 {
|
33
|
+
color: #998;
|
34
|
+
font-style: italic
|
35
|
+
} // Comment.Single
|
36
|
+
.cs {
|
37
|
+
color: #999;
|
38
|
+
font-weight: bold;
|
39
|
+
font-style: italic
|
40
|
+
} // Comment.Special
|
41
|
+
.gd {
|
42
|
+
color: #000;
|
43
|
+
background-color: #fdd
|
44
|
+
} // Generic.Deleted
|
45
|
+
.gd .x {
|
46
|
+
color: #000;
|
47
|
+
background-color: #faa
|
48
|
+
} // Generic.Deleted.Specific
|
49
|
+
.ge {
|
50
|
+
font-style: italic
|
51
|
+
} // Generic.Emph
|
52
|
+
.gr {
|
53
|
+
color: #a00
|
54
|
+
} // Generic.Error
|
55
|
+
.gh {
|
56
|
+
color: #999
|
57
|
+
} // Generic.Heading
|
58
|
+
.gi {
|
59
|
+
color: #000;
|
60
|
+
background-color: #dfd
|
61
|
+
} // Generic.Inserted
|
62
|
+
.gi .x {
|
63
|
+
color: #000;
|
64
|
+
background-color: #afa
|
65
|
+
} // Generic.Inserted.Specific
|
66
|
+
.go {
|
67
|
+
color: #888
|
68
|
+
} // Generic.Output
|
69
|
+
.gp {
|
70
|
+
color: #555
|
71
|
+
} // Generic.Prompt
|
72
|
+
.gs {
|
73
|
+
font-weight: bold
|
74
|
+
} // Generic.Strong
|
75
|
+
.gu {
|
76
|
+
color: #aaa
|
77
|
+
} // Generic.Subheading
|
78
|
+
.gt {
|
79
|
+
color: #a00
|
80
|
+
} // Generic.Traceback
|
81
|
+
.kc {
|
82
|
+
font-weight: bold
|
83
|
+
} // Keyword.Constant
|
84
|
+
.kd {
|
85
|
+
font-weight: bold
|
86
|
+
} // Keyword.Declaration
|
87
|
+
.kp {
|
88
|
+
font-weight: bold
|
89
|
+
} // Keyword.Pseudo
|
90
|
+
.kr {
|
91
|
+
font-weight: bold
|
92
|
+
} // Keyword.Reserved
|
93
|
+
.kt {
|
94
|
+
color: #458;
|
95
|
+
font-weight: bold
|
96
|
+
} // Keyword.Type
|
97
|
+
.m {
|
98
|
+
color: #099
|
99
|
+
} // Literal.Number
|
100
|
+
.s {
|
101
|
+
color: #d14
|
102
|
+
} // Literal.String
|
103
|
+
.na {
|
104
|
+
color: #008080
|
105
|
+
} // Name.Attribute
|
106
|
+
.nb {
|
107
|
+
color: #0086B3
|
108
|
+
} // Name.Builtin
|
109
|
+
.nc {
|
110
|
+
color: #458;
|
111
|
+
font-weight: bold
|
112
|
+
} // Name.Class
|
113
|
+
.no {
|
114
|
+
color: #008080
|
115
|
+
} // Name.Constant
|
116
|
+
.ni {
|
117
|
+
color: #800080
|
118
|
+
} // Name.Entity
|
119
|
+
.ne {
|
120
|
+
color: #900;
|
121
|
+
font-weight: bold
|
122
|
+
} // Name.Exception
|
123
|
+
.nf {
|
124
|
+
color: #900;
|
125
|
+
font-weight: bold
|
126
|
+
} // Name.Function
|
127
|
+
.nn {
|
128
|
+
color: #555
|
129
|
+
} // Name.Namespace
|
130
|
+
.nt {
|
131
|
+
color: #000080
|
132
|
+
} // Name.Tag
|
133
|
+
.nv {
|
134
|
+
color: #008080
|
135
|
+
} // Name.Variable
|
136
|
+
.ow {
|
137
|
+
font-weight: bold
|
138
|
+
} // Operator.Word
|
139
|
+
.w {
|
140
|
+
color: #bbb
|
141
|
+
} // Text.Whitespace
|
142
|
+
.mf {
|
143
|
+
color: #099
|
144
|
+
} // Literal.Number.Float
|
145
|
+
.mh {
|
146
|
+
color: #099
|
147
|
+
} // Literal.Number.Hex
|
148
|
+
.mi {
|
149
|
+
color: #099
|
150
|
+
} // Literal.Number.Integer
|
151
|
+
.mo {
|
152
|
+
color: #099
|
153
|
+
} // Literal.Number.Oct
|
154
|
+
.sb {
|
155
|
+
color: #d14
|
156
|
+
} // Literal.String.Backtick
|
157
|
+
.sc {
|
158
|
+
color: #d14
|
159
|
+
} // Literal.String.Char
|
160
|
+
.sd {
|
161
|
+
color: #d14
|
162
|
+
} // Literal.String.Doc
|
163
|
+
.s2 {
|
164
|
+
color: #d14
|
165
|
+
} // Literal.String.Double
|
166
|
+
.se {
|
167
|
+
color: #d14
|
168
|
+
} // Literal.String.Escape
|
169
|
+
.sh {
|
170
|
+
color: #d14
|
171
|
+
} // Literal.String.Heredoc
|
172
|
+
.si {
|
173
|
+
color: #d14
|
174
|
+
} // Literal.String.Interpol
|
175
|
+
.sx {
|
176
|
+
color: #d14
|
177
|
+
} // Literal.String.Other
|
178
|
+
.sr {
|
179
|
+
color: #009926
|
180
|
+
} // Literal.String.Regex
|
181
|
+
.s1 {
|
182
|
+
color: #d14
|
183
|
+
} // Literal.String.Single
|
184
|
+
.ss {
|
185
|
+
color: #990073
|
186
|
+
} // Literal.String.Symbol
|
187
|
+
.bp {
|
188
|
+
color: #999
|
189
|
+
} // Name.Builtin.Pseudo
|
190
|
+
.vc {
|
191
|
+
color: #008080
|
192
|
+
} // Name.Variable.Class
|
193
|
+
.vg {
|
194
|
+
color: #008080
|
195
|
+
} // Name.Variable.Global
|
196
|
+
.vi {
|
197
|
+
color: #008080
|
198
|
+
} // Name.Variable.Instance
|
199
|
+
.il {
|
200
|
+
color: #099
|
201
|
+
} // Literal.Number.Integer.Long
|
202
|
+
}
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>red heart</title><g fill="none"><g style="fill:#F62727;stroke:#F62626"><path d="M16.5 4C14.6 4 13 4.9 12 6.4 11 4.9 9.4 4 7.5 4 4.4 4 2 6.4 2 9.3 2 15.5 9.3 18.8 12 21 14.7 18.8 22 15.5 22 9.3 22 6.4 19.6 4 16.5 4L16.5 4Z"/></g></g></svg>
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg height="44" width="44" xmlns="http://www.w3.org/2000/svg"><title>Bubblin Superbooks</title><desc>Bubblin Superbooks — An online café of books, comics and magazines.</desc><circle r="15" cx="50%" cy="50%" shape-rendering="optimizeQuality"/><circle r="10" cx="50%" cy="50%" fill="#fa0" shape-rendering="optimizeQuality"/><circle r="5" cx="50%" cy="50%" shape-rendering="optimizeQuality"/></svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 32" width="32">
|
2
|
+
<title> Search book titles </title>
|
3
|
+
<g fill="none"><g fill="#444"><path d="M19.4 20.4C18 21.4 16.3 22 14.5 22 9.8 22 6 18.2 6 13.5 6 8.8 9.8 5 14.5 5 19.2 5 23 8.8 23 13.5 23 15.8 22 18 20.5 19.5L26.5 25.5C26.8 25.8 26.8 26.2 26.5 26.5 26.2 26.8 25.8 26.8 25.5 26.5L19.4 20.4 19.4 20.4ZM14.5 21C18.6 21 22 17.6 22 13.5 22 9.4 18.6 6 14.5 6 10.4 6 7 9.4 7 13.5 7 17.6 10.4 21 14.5 21L14.5 21Z"/></g></g>
|
4
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="17" viewBox="0 17 25 17"><style>.a{opacity:.2}.a,.b{fill:#fff}</style><path class="a" d="M0 17h25v17H0zM0 0h25v17H0z"/><path d="M1 30.7v-1.2h23v1.2H1zm0-3.5v1.2h23v-1.2H1zm23-8V18H12.4v1.2H24zM1 31.8V33h23v-1.2H1zm11.4-6.9v1.2H24v-1.2H12.4zm0-4.6v1.2H24v-1.2H12.4zm0 2.3v1.2H24v-1.2H12.4z" fill="#B22234"/><path d="M24 31.8H1v-1.2h23v1.2zm0-2.3H1v-1.2h23v1.2zm0-2.3H1V26h23v1.2zm0-2.3H12.4v-1.2H24v1.2zm0-2.3H12.4v-1.2H24v1.2zm0-2.3H12.4v-1.2H24v1.2z" class="b"/><path fill="#3C3B6E" d="M1 18h11.4v8.1H1z"/><path d="M2.1 18.7h.3l-.3.2.1.3L2 19l-.3.2.1-.3-.3-.2h.3l.1-.3.2.3zM2 20l-.2.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.4L2 20zm0 1.6l-.1.3h-.4l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.4l-.1-.3zm0 1.6l-.1.3h-.4l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.4l-.1-.3zm.1 1.9l-.1-.3-.1.3h-.4l.3.2-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l-.1-.3-.1.3h-.4l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.4zm.8-5.9l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.3-.3zm0 1.6l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.3-.3zm0 1.6l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.2-.3.3-.2h-.3l-.2-.3zm.1 1.9l-.1-.3-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.5zm.7-5.4l-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.1-.3-.1.3h-.3l.1.2zm.2 1.1l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.3-.3zm0 1.6l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.3-.3zm0 1.6l-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.3l-.3-.3zm.1 1.9l-.1-.3-.1.3h-.3l.3.2-.1.3.3-.2.3.2-.1-.3.3-.2h-.5z" class="b"/><path fill="none" d="M0 17h25v17H0z"/></svg>
|
data/assets/js/search.js
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Simple-Jekyll-Search v1.4.1 (https://github.com/christian-fei/Simple-Jekyll-Search)
|
3
|
+
* Copyright 2015-2017, Christian Fei
|
4
|
+
* Licensed under MIT (https://github.com/christian-fei/Simple-Jekyll-Search/blob/master/LICENSE.md)
|
5
|
+
*/
|
6
|
+
!function t(e,r,n){function i(o,a){if(!r[o]){if(!e[o]){var c="function"==typeof require&&require;if(!a&&c)return c(o,!0);if(u)return u(o,!0);var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[o]={exports:{}};e[o][0].call(f.exports,function(t){var r=e[o][1][t];return i(r||t)},f,f.exports,t,e,r,n)}return r[o].exports}for(var u="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){"use strict";e.exports=function(t,e){var r=e.length,n=t.length;if(n>r)return!1;if(n===r)return t===e;t:for(var i=0,u=0;i<n;i++){for(var o=t.charCodeAt(i);u<r;)if(e.charCodeAt(u++)===o)continue t;return!1}return!0}},{}],2:[function(t,e,r){"use strict";function n(t,e){return function(){if(4===t.readyState&&200===t.status)try{e(null,JSON.parse(t.responseText))}catch(r){e(r,null)}}}function i(){return window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}e.exports={load:function(t,e){var r=i();r.open("GET",t,!0),r.onreadystatechange=n(r,e),r.send()}}},{}],3:[function(t,e,r){"use strict";e.exports=function n(t){if(!function(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(t))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof n))return new n(t);var e=t.required;this.getRequiredOptions=function(){return e},this.validate=function(t){var r=[];return e.forEach(function(e){"undefined"==typeof t[e]&&r.push(e)}),r}}},{}],4:[function(t,e,r){"use strict";function n(t){return!!t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}function u(t){return p.push(t),p}function o(t){for(var e=[],r=0;r<t.length;r++)n(t[r])&&e.push(u(t[r]));return e}function a(t,e,r,n){for(var i=[],u=0;u<t.length&&i.length<n.limit;u++){var o=c(t[u],e,r,n);o&&i.push(o)}return i}function c(t,e,r,n){for(var i in t)if(!s(t[i],n.exclude)&&r.matches(t[i],e))return t}function s(t,e){var r=!1;e=e||[];for(var n=0;n<e.length;n++){var i=e[n];!r&&new RegExp(t).test(i)&&(r=!0)}return r}e.exports={put:function(t){return n(t)?u(t):i(t)?o(t):undefined},clear:function(){return p.length=0,p},get:function(){return p},search:function(t){return t?a(p,t,h.searchStrategy,h):[]},setOptions:function(t){(h=t||{}).fuzzy=t.fuzzy||!1,h.limit=t.limit||10,h.searchStrategy=t.fuzzy?f:l}};var f=t("./SearchStrategies/FuzzySearchStrategy"),l=t("./SearchStrategies/LiteralSearchStrategy"),p=[],h={};h.fuzzy=!1,h.limit=10,h.searchStrategy=h.fuzzy?f:l},{"./SearchStrategies/FuzzySearchStrategy":5,"./SearchStrategies/LiteralSearchStrategy":6}],5:[function(t,e,r){"use strict";var n=t("fuzzysearch");e.exports=new function(){this.matches=function(t,e){return n(e,t)}}},{fuzzysearch:1}],6:[function(t,e,r){"use strict";e.exports=new function(){this.matches=function(t,e){return"string"==typeof t&&(t=t.trim()).toLowerCase().indexOf(e.toLowerCase())>=0}}},{}],7:[function(t,e,r){"use strict";e.exports={compile:function(t){return n.template.replace(n.pattern,function(e,r){var i=n.middleware(r,t[r],n.template);return void 0!==i?i:t[r]||e})},setOptions:function(t){n.pattern=t.pattern||n.pattern,n.template=t.template||n.template,"function"==typeof t.middleware&&(n.middleware=t.middleware)}};var n={};n.pattern=/\{(.*?)\}/g,n.template="",n.middleware=function(){}},{}],8:[function(t,e,r){!function(e,r){"use strict";function n(t){m.put(t),a()}function i(t){S.load(t,function(e,r){e&&p("failed to get JSON ("+t+")"),n(r)})}function u(){h.resultsContainer.innerHTML=""}function o(t){h.resultsContainer.innerHTML+=t}function a(){h.searchInput.addEventListener("keyup",function(t){l(t.which)&&(u(),c(t.target.value))})}function c(t){f(t)&&s(m.search(t))}function s(t){var e=t.length;if(0===e)return o(h.noResultsText);for(var r=0;r<e;r++)o(y.compile(t[r]))}function f(t){return t&&t.length>0}function l(t){return-1===[13,16,20,37,38,39,40,91].indexOf(t)}function p(t){throw new Error("SimpleJekyllSearch --- "+t)}var h={searchInput:null,resultsContainer:null,json:[],searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:function(){},noResultsText:"<li><a href=\"javascript:;\" class=\"gray\">No results found </li>",limit:10,fuzzy:!1,exclude:[]},d=["searchInput","resultsContainer","json"],y=t("./Templater"),m=t("./Repository"),S=t("./JSONLoader"),g=t("./OptionsValidator")({required:d}),v=t("./utils");e.SimpleJekyllSearch=function(t){return g.validate(t).length>0&&p("You must specify the following required options: "+d),h=v.merge(h,t),y.setOptions({template:h.searchResultTemplate,middleware:h.templateMiddleware}),m.setOptions({fuzzy:h.fuzzy,limit:h.limit}),v.isJSON(h.json)?n(h.json):i(h.json),{search:c}},e.SimpleJekyllSearch.init=e.SimpleJekyllSearch,"function"==typeof e.SimpleJekyllSearchInit&&e.SimpleJekyllSearchInit.call(this,e.SimpleJekyllSearch)}(window,document)},{"./JSONLoader":2,"./OptionsValidator":3,"./Repository":4,"./Templater":7,"./utils":9}],9:[function(t,e,r){"use strict";e.exports={merge:function(t,e){var r={};for(var n in t)r[n]=t[n],"undefined"!=typeof e[n]&&(r[n]=e[n]);return r},isJSON:function(t){try{return!!(t instanceof Object&&JSON.parse(JSON.stringify(t)))}catch(e){return!1}}}},{}]},{},[8]);
|
data/assets/main.scss
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doccoli-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marvin Danig
|
@@ -72,7 +72,40 @@ email:
|
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
|
-
files:
|
75
|
+
files:
|
76
|
+
- LICENSE.txt
|
77
|
+
- README.md
|
78
|
+
- _includes/disqus_comments.html
|
79
|
+
- _includes/footer.html
|
80
|
+
- _includes/google-analytics.html
|
81
|
+
- _includes/head.html
|
82
|
+
- _includes/header.html
|
83
|
+
- _includes/icon-facebook.html
|
84
|
+
- _includes/icon-facebook.svg
|
85
|
+
- _includes/icon-github.html
|
86
|
+
- _includes/icon-github.svg
|
87
|
+
- _includes/icon-twitter.html
|
88
|
+
- _includes/icon-twitter.svg
|
89
|
+
- _includes/search.html
|
90
|
+
- _includes/sidebar.html
|
91
|
+
- _layouts/default.html
|
92
|
+
- _layouts/home.html
|
93
|
+
- _layouts/page.html
|
94
|
+
- _layouts/post.html
|
95
|
+
- _sass/doccoli-jekyll.scss
|
96
|
+
- _sass/scss/_footer.scss
|
97
|
+
- _sass/scss/_header.scss
|
98
|
+
- _sass/scss/_reusable.scss
|
99
|
+
- _sass/scss/_sidebar.scss
|
100
|
+
- _sass/scss/_syntax-highlighting.scss
|
101
|
+
- assets/images/favicon.ico
|
102
|
+
- assets/images/heart.svg
|
103
|
+
- assets/images/logo.png
|
104
|
+
- assets/images/logo.svg
|
105
|
+
- assets/images/search.svg
|
106
|
+
- assets/images/usa.svg
|
107
|
+
- assets/js/search.js
|
108
|
+
- assets/main.scss
|
76
109
|
homepage: https://github.com/marvindanig/doccoli-jekyll.git
|
77
110
|
licenses:
|
78
111
|
- MIT
|