Browse Source

Theme tinkering

master
Chris Smith 5 years ago
parent
commit
b9a16627c0
31 changed files with 705 additions and 2286 deletions
  1. 1
    0
      .gitignore
  2. 1
    1
      config.yml
  3. 1
    1
      content/docs/entertainment/games/warframe.adoc
  4. 1
    1
      content/docs/programming/golang.adoc
  5. 1
    1
      resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
  6. 1
    1
      resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json
  7. 666
    0
      themes/book/assets/_asciidoctor.scss
  8. 1
    0
      themes/book/assets/_utils.scss
  9. 2
    2
      themes/book/assets/_variables.scss
  10. 16
    19
      themes/book/assets/book.scss
  11. 0
    49
      themes/book/exampleSite/config.yml
  12. 0
    75
      themes/book/exampleSite/content/_index.md
  13. 0
    52
      themes/book/exampleSite/content/docs/advanced.md
  14. 0
    55
      themes/book/exampleSite/content/docs/client.md
  15. 0
    81
      themes/book/exampleSite/content/docs/examples.md
  16. 0
    51
      themes/book/exampleSite/content/docs/server.md
  17. 0
    60
      themes/book/exampleSite/content/docs/with-toc.md
  18. 0
    57
      themes/book/exampleSite/content/docs/without-toc.md
  19. 0
    13
      themes/book/exampleSite/content/menu/index.md
  20. 0
    1150
      themes/book/exampleSite/content/posts/creating-a-new-theme.md
  21. 0
    344
      themes/book/exampleSite/content/posts/goisforlovers.md
  22. 0
    89
      themes/book/exampleSite/content/posts/hugoisforlovers.md
  23. 0
    156
      themes/book/exampleSite/content/posts/migrate-from-jekyll.md
  24. 0
    1
      themes/book/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
  25. 0
    1
      themes/book/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json
  26. 0
    2
      themes/book/layouts/docs/baseof.html
  27. 0
    3
      themes/book/layouts/partials/docs/menu-bundle.html
  28. 0
    6
      themes/book/layouts/partials/docs/mobile-header.html
  29. 0
    13
      themes/book/layouts/partials/docs/shared.html
  30. 0
    2
      themes/book/layouts/posts/baseof.html
  31. 14
    0
      themes/book/static/svg/right.svg

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+/public

+ 1
- 1
config.yml View File

@@ -1,7 +1,7 @@
1 1
 ---
2 2
 baseURL: "https://kb.chameth.com/"
3 3
 languageCode: en-GB
4
-title: Knowledge base
4
+title: Chris's notes
5 5
 theme: book
6 6
 enableGitInfo: true
7 7
 disableKinds: ["taxonomy", "taxonomyTerm"]

+ 1
- 1
content/docs/entertainment/games/warframe.adoc View File

@@ -8,7 +8,7 @@ More information: https://www.warframe.com/
8 8
 
9 9
 === Damage types
10 10
 
11
-[options="header",cols=">s,^,^,^,^"]
11
+[options="header",cols=">2s,^1,^1,^1,^1"]
12 12
 |===============================================================================
13 13
 | Type | Cold | Electric | Heat | Toxin
14 14
 | Blast | ✓ || ✓ |

+ 1
- 1
content/docs/programming/golang.adoc View File

@@ -10,4 +10,4 @@ title: "Golang"
10 10
 c := make(chan os.Signal, 1)
11 11
 signal.Notify(c, os.Interrupt)
12 12
 signal.Notify(c, syscall.SIGTERM)
13
-----
13
+----

+ 1
- 1
resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content
File diff suppressed because it is too large
View File


+ 1
- 1
resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json View File

@@ -1 +1 @@
1
-{"Target":"book.min.b19e39655cbb35014c212261acf02c44c22b653e1183471f8513702b5bfd8f54.css","MediaType":"text/css","Data":{"Integrity":"sha256-sZ45ZVy7NQFMISJhrPAsRMIrZT4Rg0cfhRNwK1v9j1Q="}}
1
+{"Target":"book.min.8a189e585e9fde680ec581d4da955a0904693730b7faf057d656b7c21b20337b.css","MediaType":"text/css","Data":{"Integrity":"sha256-ihieWF6f3mgOxYHU2pVaCQRpNzC3+vBX1la3whsgM3s="}}

+ 666
- 0
themes/book/assets/_asciidoctor.scss View File

@@ -0,0 +1,666 @@
1
+@import url(http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.0/css/font-awesome.css);
2
+
3
+*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
4
+
5
+html, body { font-size: 100%; }
6
+
7
+body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
8
+
9
+a:hover { cursor: pointer; }
10
+
11
+a:focus { outline: none; }
12
+
13
+img, object, embed { max-width: 100%; height: auto; }
14
+
15
+object, embed { height: 100%; }
16
+
17
+img { -ms-interpolation-mode: bicubic; }
18
+
19
+#map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; }
20
+
21
+.left { float: left !important; }
22
+
23
+.right { float: right !important; }
24
+
25
+.text-left { text-align: left !important; }
26
+
27
+.text-right { text-align: right !important; }
28
+
29
+.text-center { text-align: center !important; }
30
+
31
+.text-justify { text-align: justify !important; }
32
+
33
+.hide { display: none; }
34
+
35
+.antialiased, body { -webkit-font-smoothing: antialiased; }
36
+
37
+img { display: inline-block; vertical-align: middle; }
38
+
39
+textarea { height: auto; min-height: 50px; }
40
+
41
+select { width: 100%; }
42
+
43
+p.lead, .paragraph.lead > p, #preamble > .sectionbody > .paragraph:first-of-type p { font-size: 1.21875em; line-height: 1.6; }
44
+
45
+.subheader, #content #toctitle, .admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title, .tableblock > caption { line-height: 1.4; color: #7a2518; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; }
46
+
47
+/* Typography resets */
48
+div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
49
+
50
+/* Default Link Styles */
51
+a { color: #005498; text-decoration: underline; line-height: inherit; }
52
+a:hover, a:focus { color: #00467f; }
53
+a img { border: none; }
54
+
55
+/* Default paragraph styles */
56
+p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
57
+p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
58
+
59
+/* Default header styles */
60
+h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: Georgia, "URW Bookman L", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; color: #ba3925; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.2125em; }
61
+h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #e99b8f; line-height: 0; }
62
+
63
+h1 { font-size: 2.125em; }
64
+
65
+h2 { font-size: 1.6875em; }
66
+
67
+h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.375em; }
68
+
69
+h4 { font-size: 1.125em; }
70
+
71
+h5 { font-size: 1.125em; }
72
+
73
+h6 { font-size: 1em; }
74
+
75
+hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
76
+
77
+/* Helpful Typography Defaults */
78
+em, i { font-style: italic; line-height: inherit; }
79
+
80
+strong, b { font-weight: bold; line-height: inherit; }
81
+
82
+small { font-size: 60%; line-height: inherit; }
83
+
84
+code { font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; color: #6d180b; }
85
+
86
+/* Lists */
87
+ul, ol, dl { font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
88
+
89
+ul, ol { margin-left: 1.5em; }
90
+
91
+/* Unordered Lists */
92
+ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; /* Override nested font-size change */ }
93
+ul.square li ul, ul.circle li ul, ul.disc li ul { list-style: inherit; }
94
+ul.square { list-style-type: square; }
95
+ul.circle { list-style-type: circle; }
96
+ul.disc { list-style-type: disc; }
97
+ul.no-bullet { list-style: none; }
98
+
99
+/* Ordered Lists */
100
+ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
101
+
102
+/* Definition Lists */
103
+dl dt { margin-bottom: 0.3125em; font-weight: bold; }
104
+dl dd { margin-bottom: 1.25em; }
105
+
106
+/* Abbreviations */
107
+abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222222; border-bottom: 1px dotted #dddddd; cursor: help; }
108
+
109
+abbr { text-transform: none; }
110
+
111
+/* Blockquotes */
112
+blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
113
+blockquote cite { display: block; font-size: inherit; color: #555555; }
114
+blockquote cite:before { content: "\2014 \0020"; }
115
+blockquote cite a, blockquote cite a:visited { color: #555555; }
116
+
117
+blockquote, blockquote p { line-height: 1.6; color: #6f6f6f; }
118
+
119
+/* Microformats */
120
+.vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
121
+.vcard li { margin: 0; display: block; }
122
+.vcard .fn { font-weight: bold; font-size: 0.9375em; }
123
+
124
+.vevent .summary { font-weight: bold; }
125
+.vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
126
+
127
+@media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
128
+  h1 { font-size: 2.75em; }
129
+  h2 { font-size: 2.3125em; }
130
+  h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
131
+  h4 { font-size: 1.4375em; } }
132
+/* Print styles.  Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/ Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
133
+*/
134
+.print-only { display: none !important; }
135
+
136
+@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
137
+  a, a:visited { text-decoration: underline; }
138
+  a[href]:after { content: " (" attr(href) ")"; }
139
+  abbr[title]:after { content: " (" attr(title) ")"; }
140
+  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
141
+  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
142
+  thead { display: table-header-group; /* h5bp.com/t */ }
143
+  tr, img { page-break-inside: avoid; }
144
+  img { max-width: 100% !important; }
145
+  @page { margin: 0.5cm; }
146
+  p, h2, h3, #toctitle, .sidebarblock > .content > .title { orphans: 3; widows: 3; }
147
+  h2, h3, #toctitle, .sidebarblock > .content > .title { page-break-after: avoid; }
148
+  .hide-on-print { display: none !important; }
149
+  .print-only { display: block !important; }
150
+  .hide-for-print { display: none !important; }
151
+  .show-for-print { display: inherit !important; } }
152
+/* Tables */
153
+table { background: white; margin-bottom: 1.25em; border: solid 1px #dddddd; }
154
+table thead, table tfoot { background: whitesmoke; font-weight: bold; }
155
+table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 0.5em 0.625em 0.625em; font-size: inherit; color: #222222; text-align: left; }
156
+table tr th, table tr td { padding: 0.5625em 0.625em; font-size: inherit; color: #222222; }
157
+table tr.even, table tr.alt, table tr:nth-of-type(even) { background: #f9f9f9; }
158
+table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.6; }
159
+
160
+.clearfix:before, .clearfix:after, .float-group:before, .float-group:after { content: " "; display: table; }
161
+.clearfix:after, .float-group:after { clear: both; }
162
+
163
+*:not(pre) > code { font-size: 0.9375em; padding: 1px 3px 0; white-space: nowrap; background-color: #f2f2f2; border: 1px solid #cccccc; -webkit-border-radius: 4px; border-radius: 4px; text-shadow: none; }
164
+
165
+pre, pre > code { line-height: 1.4; color: inherit; font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; }
166
+
167
+kbd.keyseq { color: #555555; }
168
+
169
+kbd:not(.keyseq) { display: inline-block; color: #222222; font-size: 0.75em; line-height: 1.4; background-color: #F7F7F7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; margin: -0.15em 0.15em 0 0.15em; padding: 0.2em 0.6em 0.2em 0.5em; vertical-align: middle; white-space: nowrap; }
170
+
171
+kbd kbd:first-child { margin-left: 0; }
172
+
173
+kbd kbd:last-child { margin-right: 0; }
174
+
175
+.menuseq, .menu { color: #090909; }
176
+
177
+p a > code:hover { color: #561309; }
178
+
179
+#header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
180
+#header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
181
+#header:after, #content:after, #footnotes:after, #footer:after { clear: both; }
182
+
183
+#header { margin-bottom: 2.5em; }
184
+#header > h1 { color: black; font-weight: normal; border-bottom: 1px solid #dddddd; margin-bottom: -28px; padding-bottom: 32px; }
185
+#header span { color: #6f6f6f; }
186
+#header #revnumber { text-transform: capitalize; }
187
+#header br { display: none; }
188
+#header br + span { padding-left: 3px; }
189
+#header br + span:before { content: "\2013 \0020"; }
190
+#header br + span.author { padding-left: 0; }
191
+#header br + span.author:before { content: ", "; }
192
+
193
+#toc { border-bottom: 3px double #ebebeb; padding-bottom: 1.25em; }
194
+#toc > ul { margin-left: 0.25em; }
195
+#toc ul.sectlevel0 > li > a { font-style: italic; }
196
+#toc ul.sectlevel0 ul.sectlevel1 { margin-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
197
+#toc ul { list-style-type: none; }
198
+
199
+#toctitle { color: #7a2518; }
200
+
201
+@media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; }
202
+  #toc.toc2 { position: fixed; width: 20em; left: 0; top: 0; border-right: 1px solid #ebebeb; border-bottom: 0; z-index: 1000; padding: 1em; height: 100%; overflow: auto; }
203
+  #toc.toc2 #toctitle { margin-top: 0; }
204
+  #toc.toc2 > ul { font-size: .95em; }
205
+  #toc.toc2 ul ul { margin-left: 0; padding-left: 1.25em; }
206
+  #toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
207
+  body.toc2.toc-right { padding-left: 0; padding-right: 20em; }
208
+  body.toc2.toc-right #toc.toc2 { border-right: 0; border-left: 1px solid #ebebeb; left: auto; right: 0; } }
209
+#content #toc { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; border-width: 0; -webkit-border-radius: 4px; border-radius: 4px; }
210
+#content #toc > :first-child { margin-top: 0; }
211
+#content #toc > :last-child { margin-bottom: 0; }
212
+#content #toc a { text-decoration: none; }
213
+
214
+#content #toctitle { font-weight: bold; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 1em; padding-left: 0.125em; }
215
+
216
+#footer { max-width: 100%; background-color: #222222; padding: 1.25em; }
217
+
218
+#footer-text { color: #dddddd; line-height: 1.44; }
219
+
220
+.sect1 { padding-bottom: 1.25em; }
221
+
222
+.sect1 + .sect1 { border-top: 3px double #ebebeb; }
223
+
224
+#content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; width: 1em; margin-left: -1em; display: block; text-decoration: none; visibility: hidden; text-align: center; font-weight: normal; }
225
+#content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: '\00A7'; font-size: .85em; vertical-align: text-top; display: block; margin-top: 0.05em; }
226
+#content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
227
+#content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #ba3925; text-decoration: none; }
228
+#content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #a53221; }
229
+
230
+.imageblock, .literalblock, .listingblock, .verseblock, .videoblock { margin-bottom: 1.25em; }
231
+
232
+.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: left; font-weight: bold; }
233
+
234
+.tableblock > caption { text-align: left; font-weight: bold; white-space: nowrap; overflow: visible; max-width: 0; }
235
+
236
+table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { font-size: inherit; }
237
+
238
+.admonitionblock > table { border: 0; background: none; width: 100%; }
239
+.admonitionblock > table td.icon { text-align: center; width: 80px; }
240
+.admonitionblock > table td.icon img { max-width: none; }
241
+.admonitionblock > table td.icon .title { font-weight: bold; text-transform: uppercase; }
242
+.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #6f6f6f; }
243
+.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
244
+
245
+.exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 4px; border-radius: 4px; }
246
+.exampleblock > .content > :first-child { margin-top: 0; }
247
+.exampleblock > .content > :last-child { margin-bottom: 0; }
248
+.exampleblock > .content h1, .exampleblock > .content h2, .exampleblock > .content h3, .exampleblock > .content #toctitle, .sidebarblock.exampleblock > .content > .title, .exampleblock > .content h4, .exampleblock > .content h5, .exampleblock > .content h6, .exampleblock > .content p { color: #333333; }
249
+.exampleblock > .content h1, .exampleblock > .content h2, .exampleblock > .content h3, .exampleblock > .content #toctitle, .sidebarblock.exampleblock > .content > .title, .exampleblock > .content h4, .exampleblock > .content h5, .exampleblock > .content h6 { line-height: 1; margin-bottom: 0.625em; }
250
+.exampleblock > .content h1.subheader, .exampleblock > .content h2.subheader, .exampleblock > .content h3.subheader, .exampleblock > .content .subheader#toctitle, .sidebarblock.exampleblock > .content > .subheader.title, .exampleblock > .content h4.subheader, .exampleblock > .content h5.subheader, .exampleblock > .content h6.subheader { line-height: 1.4; }
251
+
252
+.exampleblock.result > .content { -webkit-box-shadow: 0 1px 8px #d9d9d9; box-shadow: 0 1px 8px #d9d9d9; }
253
+
254
+.sidebarblock { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; -webkit-border-radius: 4px; border-radius: 4px; }
255
+.sidebarblock > :first-child { margin-top: 0; }
256
+.sidebarblock > :last-child { margin-bottom: 0; }
257
+.sidebarblock h1, .sidebarblock h2, .sidebarblock h3, .sidebarblock #toctitle, .sidebarblock > .content > .title, .sidebarblock h4, .sidebarblock h5, .sidebarblock h6, .sidebarblock p { color: #333333; }
258
+.sidebarblock h1, .sidebarblock h2, .sidebarblock h3, .sidebarblock #toctitle, .sidebarblock > .content > .title, .sidebarblock h4, .sidebarblock h5, .sidebarblock h6 { line-height: 1; margin-bottom: 0.625em; }
259
+.sidebarblock h1.subheader, .sidebarblock h2.subheader, .sidebarblock h3.subheader, .sidebarblock .subheader#toctitle, .sidebarblock > .content > .subheader.title, .sidebarblock h4.subheader, .sidebarblock h5.subheader, .sidebarblock h6.subheader { line-height: 1.4; }
260
+.sidebarblock > .content > .title { color: #7a2518; margin-top: 0; line-height: 1.6; }
261
+
262
+.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
263
+
264
+.literalblock > .content pre, .listingblock > .content pre { background: none; border-width: 1px 0; border-style: dotted; border-color: #bfbfbf; -webkit-border-radius: 4px; border-radius: 4px; padding: 0.75em 0.75em 0.5em 0.75em; word-wrap: break-word; }
265
+.literalblock > .content pre.nowrap, .listingblock > .content pre.nowrap { overflow-x: auto; white-space: pre; word-wrap: normal; }
266
+.literalblock > .content pre > code, .listingblock > .content pre > code { display: block; }
267
+@media only screen { .literalblock > .content pre, .listingblock > .content pre { font-size: 0.8em; } }
268
+@media only screen and (min-width: 768px) { .literalblock > .content pre, .listingblock > .content pre { font-size: 0.9em; } }
269
+@media only screen and (min-width: 1280px) { .literalblock > .content pre, .listingblock > .content pre { font-size: 1em; } }
270
+
271
+.listingblock > .content { position: relative; }
272
+
273
+.listingblock:hover code[class*=" language-"]:before { text-transform: uppercase; font-size: 0.9em; color: #999; position: absolute; top: 0.375em; right: 0.375em; }
274
+
275
+.listingblock:hover code.asciidoc:before { content: "asciidoc"; }
276
+.listingblock:hover code.clojure:before { content: "clojure"; }
277
+.listingblock:hover code.css:before { content: "css"; }
278
+.listingblock:hover code.groovy:before { content: "groovy"; }
279
+.listingblock:hover code.html:before { content: "html"; }
280
+.listingblock:hover code.java:before { content: "java"; }
281
+.listingblock:hover code.javascript:before { content: "javascript"; }
282
+.listingblock:hover code.python:before { content: "python"; }
283
+.listingblock:hover code.ruby:before { content: "ruby"; }
284
+.listingblock:hover code.scss:before { content: "scss"; }
285
+.listingblock:hover code.xml:before { content: "xml"; }
286
+.listingblock:hover code.yaml:before { content: "yaml"; }
287
+
288
+.listingblock.terminal pre .command:before { content: attr(data-prompt); padding-right: 0.5em; color: #999; }
289
+
290
+.listingblock.terminal pre .command:not([data-prompt]):before { content: '$'; }
291
+
292
+table.pyhltable { border: 0; margin-bottom: 0; }
293
+
294
+table.pyhltable td { vertical-align: top; padding-top: 0; padding-bottom: 0; }
295
+
296
+table.pyhltable td.code { padding-left: .75em; padding-right: 0; }
297
+
298
+.highlight.pygments .lineno, table.pyhltable td:not(.code) { color: #999; padding-left: 0; padding-right: .5em; border-right: 1px solid #dddddd; }
299
+
300
+.highlight.pygments .lineno { display: inline-block; margin-right: .25em; }
301
+
302
+table.pyhltable .linenodiv { background-color: transparent !important; padding-right: 0 !important; }
303
+
304
+.quoteblock { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
305
+.quoteblock blockquote { margin: 0 0 1.25em 0; padding: 0 0 0.5625em 0; border: 0; }
306
+.quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
307
+.quoteblock .attribution { margin-top: -.25em; padding-bottom: 0.5625em; font-size: inherit; color: #555555; }
308
+.quoteblock .attribution br { display: none; }
309
+.quoteblock .attribution cite { display: block; margin-bottom: 0.625em; }
310
+
311
+table thead th, table tfoot th { font-weight: bold; }
312
+
313
+table.tableblock.grid-all { border-collapse: separate; border-spacing: 1px; -webkit-border-radius: 4px; border-radius: 4px; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; }
314
+
315
+table.tableblock.frame-topbot, table.tableblock.frame-none { border-left: 0; border-right: 0; }
316
+
317
+table.tableblock.frame-sides, table.tableblock.frame-none { border-top: 0; border-bottom: 0; }
318
+
319
+table.tableblock td .paragraph:last-child p, table.tableblock td > p:last-child { margin-bottom: 0; }
320
+
321
+th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; }
322
+
323
+th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; }
324
+
325
+th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; }
326
+
327
+th.tableblock.valign-top, td.tableblock.valign-top { vertical-align: top; }
328
+
329
+th.tableblock.valign-bottom, td.tableblock.valign-bottom { vertical-align: bottom; }
330
+
331
+th.tableblock.valign-middle, td.tableblock.valign-middle { vertical-align: middle; }
332
+
333
+p.tableblock.header { color: #222222; font-weight: bold; }
334
+
335
+td > div.verse { white-space: pre; }
336
+
337
+ol { margin-left: 1.75em; }
338
+
339
+ul li ol { margin-left: 1.5em; }
340
+
341
+dl dd { margin-left: 1.125em; }
342
+
343
+dl dd:last-child, dl dd:last-child > :last-child { margin-bottom: 0; }
344
+
345
+ol > li p, ul > li p, ul dd, ol dd, .olist .olist, .ulist .ulist, .ulist .olist, .olist .ulist { margin-bottom: 0.625em; }
346
+
347
+ul.unstyled, ol.unnumbered, ul.checklist, ul.none { list-style-type: none; }
348
+
349
+ul.unstyled, ol.unnumbered, ul.checklist { margin-left: 0.625em; }
350
+
351
+ul.checklist li > p:first-child > i[class^="icon-check"]:first-child, ul.checklist li > p:first-child > input[type="checkbox"]:first-child { margin-right: 0.25em; }
352
+
353
+ul.checklist li > p:first-child > input[type="checkbox"]:first-child { position: relative; top: 1px; }
354
+
355
+ul.inline { margin: 0 auto 0.625em auto; margin-left: -1.375em; margin-right: 0; padding: 0; list-style: none; overflow: hidden; }
356
+ul.inline > li { list-style: none; float: left; margin-left: 1.375em; display: block; }
357
+ul.inline > li > * { display: block; }
358
+
359
+.unstyled dl dt { font-weight: normal; font-style: normal; }
360
+
361
+ol.arabic { list-style-type: decimal; }
362
+
363
+ol.decimal { list-style-type: decimal-leading-zero; }
364
+
365
+ol.loweralpha { list-style-type: lower-alpha; }
366
+
367
+ol.upperalpha { list-style-type: upper-alpha; }
368
+
369
+ol.lowerroman { list-style-type: lower-roman; }
370
+
371
+ol.upperroman { list-style-type: upper-roman; }
372
+
373
+ol.lowergreek { list-style-type: lower-greek; }
374
+
375
+.hdlist > table, .colist > table { border: 0; background: none; }
376
+.hdlist > table > tbody > tr, .colist > table > tbody > tr { background: none; }
377
+
378
+td.hdlist1 { padding-right: .8em; font-weight: bold; }
379
+
380
+td.hdlist1, td.hdlist2 { vertical-align: top; }
381
+
382
+.literalblock + .colist, .listingblock + .colist { margin-top: -0.5em; }
383
+
384
+.colist > table tr > td:first-of-type { padding: 0 .8em; line-height: 1; }
385
+.colist > table tr > td:last-of-type { padding: 0.25em 0; }
386
+
387
+.qanda > ol > li > p > em:only-child { color: #00467f; }
388
+
389
+.thumb, .th { line-height: 0; display: inline-block; border: solid 4px white; -webkit-box-shadow: 0 0 0 1px #dddddd; box-shadow: 0 0 0 1px #dddddd; }
390
+
391
+.imageblock.left, .imageblock[style*="float: left"] { margin: 0.25em 0.625em 1.25em 0; }
392
+.imageblock.right, .imageblock[style*="float: right"] { margin: 0.25em 0 1.25em 0.625em; }
393
+.imageblock > .title { margin-bottom: 0; }
394
+.imageblock.thumb, .imageblock.th { border-width: 6px; }
395
+.imageblock.thumb > .title, .imageblock.th > .title { padding: 0 0.125em; }
396
+
397
+.image.left, .image.right { margin-top: 0.25em; margin-bottom: 0.25em; display: inline-block; line-height: 0; }
398
+.image.left { margin-right: 0.625em; }
399
+.image.right { margin-left: 0.625em; }
400
+
401
+a.image { text-decoration: none; }
402
+
403
+span.footnote, span.footnoteref { vertical-align: super; font-size: 0.875em; }
404
+span.footnote a, span.footnoteref a { text-decoration: none; }
405
+
406
+#footnotes { padding-top: 0.75em; padding-bottom: 0.75em; margin-bottom: 0.625em; }
407
+#footnotes hr { width: 20%; min-width: 6.25em; margin: -.25em 0 .75em 0; border-width: 1px 0 0 0; }
408
+#footnotes .footnote { padding: 0 0.375em; line-height: 1.3; font-size: 0.875em; margin-left: 1.2em; text-indent: -1.2em; margin-bottom: .2em; }
409
+#footnotes .footnote a:first-of-type { font-weight: bold; text-decoration: none; }
410
+#footnotes .footnote:last-of-type { margin-bottom: 0; }
411
+
412
+#content #footnotes { margin-top: -0.625em; margin-bottom: 0; padding: 0.75em 0; }
413
+
414
+.gist .file-data > table { border: none; background: #fff; width: 100%; margin-bottom: 0; }
415
+.gist .file-data > table td.line-data { width: 99%; }
416
+
417
+div.unbreakable { page-break-inside: avoid; }
418
+
419
+.big { font-size: larger; }
420
+
421
+.small { font-size: smaller; }
422
+
423
+.underline { text-decoration: underline; }
424
+
425
+.overline { text-decoration: overline; }
426
+
427
+.line-through { text-decoration: line-through; }
428
+
429
+.aqua { color: #00bfbf; }
430
+
431
+.aqua-background { background-color: #00fafa; }
432
+
433
+.black { color: black; }
434
+
435
+.black-background { background-color: black; }
436
+
437
+.blue { color: #0000bf; }
438
+
439
+.blue-background { background-color: #0000fa; }
440
+
441
+.fuchsia { color: #bf00bf; }
442
+
443
+.fuchsia-background { background-color: #fa00fa; }
444
+
445
+.gray { color: #606060; }
446
+
447
+.gray-background { background-color: #7d7d7d; }
448
+
449
+.green { color: #006000; }
450
+
451
+.green-background { background-color: #007d00; }
452
+
453
+.lime { color: #00bf00; }
454
+
455
+.lime-background { background-color: #00fa00; }
456
+
457
+.maroon { color: #600000; }
458
+
459
+.maroon-background { background-color: #7d0000; }
460
+
461
+.navy { color: #000060; }
462
+
463
+.navy-background { background-color: #00007d; }
464
+
465
+.olive { color: #606000; }
466
+
467
+.olive-background { background-color: #7d7d00; }
468
+
469
+.purple { color: #600060; }
470
+
471
+.purple-background { background-color: #7d007d; }
472
+
473
+.red { color: #bf0000; }
474
+
475
+.red-background { background-color: #fa0000; }
476
+
477
+.silver { color: #909090; }
478
+
479
+.silver-background { background-color: #bcbcbc; }
480
+
481
+.teal { color: #006060; }
482
+
483
+.teal-background { background-color: #007d7d; }
484
+
485
+.white { color: #bfbfbf; }
486
+
487
+.white-background { background-color: #fafafa; }
488
+
489
+.yellow { color: #bfbf00; }
490
+
491
+.yellow-background { background-color: #fafa00; }
492
+
493
+span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
494
+
495
+.admonitionblock td.icon [class^="icon-"]:before { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
496
+.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #005498; color: #003f72; }
497
+.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
498
+.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
499
+.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
500
+.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
501
+
502
+.conum { display: inline-block; color: white !important; background-color: #222222; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 20px; font-family: Arial, sans-serif; font-style: normal; position: relative; top: -2px; letter-spacing: -1px; }
503
+.conum * { color: white !important; }
504
+.conum + b { display: none; }
505
+.conum:after { content: attr(data-value); }
506
+.conum:not([data-value]):empty { display: none; }
507
+
508
+.literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 0; border-radius: 0; }
509
+
510
+/* Asciidoctor style for highlight.js */
511
+
512
+/*pre code {
513
+  display: block; padding: 0.5em;
514
+  color: #333;
515
+  background: #f8f8ff
516
+}*/
517
+
518
+pre .comment,
519
+pre .template_comment,
520
+pre .diff .header,
521
+pre .javadoc {
522
+  color: #998;
523
+  font-style: italic
524
+}
525
+
526
+pre .keyword,
527
+pre .css .rule .keyword,
528
+pre .winutils,
529
+pre .javascript .title,
530
+pre .nginx .title,
531
+pre .subst,
532
+pre .request,
533
+pre .status {
534
+  color: #990073;
535
+}
536
+
537
+pre .number,
538
+pre .hexcolor,
539
+pre .ruby .constant {
540
+  color: #080;
541
+}
542
+
543
+pre .string,
544
+pre .tag .value,
545
+pre .phpdoc,
546
+pre .tex .formula {
547
+  color: #d32323;
548
+}
549
+
550
+pre .title,
551
+pre .id {
552
+  color: #900;
553
+  font-weight: bold
554
+}
555
+
556
+pre .javascript .title,
557
+pre .lisp .title,
558
+pre .clojure .title,
559
+pre .subst {
560
+  font-weight: normal
561
+}
562
+
563
+pre .class .title,
564
+pre .haskell .type,
565
+pre .vhdl .literal,
566
+pre .tex .command {
567
+  color: #458;
568
+  font-weight: bold
569
+}
570
+
571
+pre .tag,
572
+pre .tag .title,
573
+pre .rules .property,
574
+pre .django .tag .keyword {
575
+  color: #099;
576
+  font-weight: normal
577
+}
578
+
579
+pre .attribute,
580
+pre .variable,
581
+pre .lisp .body {
582
+  color: #080;
583
+}
584
+
585
+pre .regexp {
586
+  color: #009926
587
+}
588
+
589
+pre .class {
590
+  color: #458;
591
+  font-weight: bold
592
+}
593
+
594
+pre .symbol,
595
+pre .ruby .symbol .string,
596
+pre .lisp .keyword,
597
+pre .tex .special,
598
+pre .prompt {
599
+  color: #990073
600
+}
601
+
602
+pre .built_in,
603
+pre .lisp .title,
604
+pre .clojure .built_in {
605
+  color: #0086b3
606
+}
607
+
608
+pre .preprocessor,
609
+pre .pi,
610
+pre .doctype,
611
+pre .shebang,
612
+pre .cdata {
613
+  color: #999;
614
+  font-weight: bold
615
+}
616
+
617
+pre .deletion {
618
+  background: #fdd
619
+}
620
+
621
+pre .addition {
622
+  background: #dfd
623
+}
624
+
625
+pre .diff .change {
626
+  background: #0086b3
627
+}
628
+
629
+pre .chunk {
630
+  color: #aaa
631
+}
632
+
633
+pre .asciidoc .header {
634
+  color: #800;
635
+}
636
+
637
+pre .asciidoc .blockquote {
638
+  color: #888;
639
+}
640
+
641
+pre .asciidoc .bullet,
642
+pre .asciidoc .link_url {
643
+  color: #080;
644
+}
645
+
646
+pre .asciidoc .link_url {
647
+  text-decoration: underline;
648
+}
649
+
650
+pre .asciidoc .link_label,
651
+pre .asciidoc .attribute {
652
+  color: #099;
653
+}
654
+
655
+pre .asciidoc .label,
656
+pre .asciidoc .strong {
657
+  font-weight: bold;
658
+}
659
+
660
+pre .asciidoc .emphasis {
661
+  font-style: italic;
662
+}
663
+
664
+pre .asciidoc .code {
665
+  color: #d14;
666
+}

+ 1
- 0
themes/book/assets/_utils.scss View File

@@ -49,5 +49,6 @@
49 49
 
50 50
   a.active {
51 51
     color: $color-link;
52
+    font-weight: bold;
52 53
   }
53 54
 }

+ 2
- 2
themes/book/assets/_variables.scss View File

@@ -23,7 +23,7 @@ $black: #000;
23 23
 
24 24
 $color-link: #004ed0;
25 25
 $color-visited-link: #8440f1;
26
-$color-dark-link: $gray-800;
26
+$color-dark-link: $gray-900;
27 27
 
28 28
 $body-background: white;
29 29
 $body-font-color: $gray-800;
@@ -33,7 +33,7 @@ $body-min-width: 20rem;
33 33
 $container-max-width: 80rem;
34 34
 
35 35
 $header-height: 3.5rem;
36
-$menu-width: 16rem;
36
+$menu-width: 18rem;
37 37
 $toc-width: 14rem;
38 38
 
39 39
 $sm-breakpoint: $menu-width + $body-min-width + 5;

+ 16
- 19
themes/book/assets/book.scss View File

@@ -1,5 +1,5 @@
1 1
 @import "variables";
2
-@import "markdown";
2
+@import "asciidoctor";
3 3
 @import "utils";
4 4
 
5 5
 html {
@@ -39,6 +39,10 @@ h5 {
39 39
   font-weight: 400;
40 40
 }
41 41
 
42
+h2 {
43
+  margin-top: 0;
44
+}
45
+
42 46
 a {
43 47
   text-decoration: none;
44 48
   color: $color-link;
@@ -59,6 +63,7 @@ aside nav ul {
59 63
 
60 64
   li {
61 65
     margin: 1em 0;
66
+    color: $gray-600;
62 67
   }
63 68
 
64 69
   a {
@@ -67,6 +72,13 @@ aside nav ul {
67 72
 
68 73
   a:hover {
69 74
     opacity: .5;
75
+    font-weight: bold;
76
+  }
77
+
78
+  a:hover, a.active {
79
+    background-image: url('/svg/right.svg');
80
+    background-repeat: no-repeat;
81
+    background-position: right;
70 82
   }
71 83
 
72 84
   ul {
@@ -84,7 +96,6 @@ ul.pagination {
84 96
 }
85 97
 
86 98
 .container {
87
-  max-width: $container-max-width;
88 99
   margin: 0 auto;
89 100
 }
90 101
 
@@ -99,6 +110,8 @@ ul.pagination {
99 110
   nav {
100 111
     width: $menu-width;
101 112
     padding: $padding-16;
113
+    background: $gray-100;
114
+    border-right: 1px solid $gray-300;
102 115
 
103 116
     @include fixed;
104 117
   }
@@ -180,22 +193,6 @@ aside nav,
180 193
   .book-header {
181 194
     display: flex;
182 195
   }
183
-
184
-  #menu-control:checked + main {
185
-    .book-menu nav,
186
-    .book-page,
187
-    .book-posts {
188
-      transform: translateX($menu-width);
189
-    }
190
-
191
-    .book-header label {
192
-      transform: rotate(90deg);
193
-    }
194
-
195
-    .markdown {
196
-      opacity: 0.25;
197
-    }
198
-  }
199 196
 }
200 197
 
201 198
 // Extra space for big screens
@@ -203,6 +200,6 @@ aside nav,
203 200
   .book-page,
204 201
   .book-menu nav,
205 202
   .book-toc nav {
206
-    padding: $padding-16 * 2 $padding-16;
203
+    padding: $padding-16 * 2;
207 204
   }
208 205
 }

+ 0
- 49
themes/book/exampleSite/config.yml View File

@@ -1,49 +0,0 @@
1
-# hugo server --themesDir ... --baseURL=http://0.0.0.0:1313/example
2
-
3
-baseURL: https://example.com/
4
-title: Hugo Book
5
-theme: hugo-book
6
-disableKinds: ["taxonomy", "taxonomyTerm"]
7
-# themesDir: ../..
8
-
9
-# Book configuration
10
-disablePathToLower: true
11
-enableGitInfo: true
12
-
13
-# Code highlight
14
-pygmentsStyle: monokailight
15
-pygmentsCodeFences: true
16
-
17
-params:
18
-  # (Optional, default true) Show or hide table of contents globally
19
-  # You can also specify this parameter per page in front matter
20
-  BookShowToC: true
21
-
22
-  # (Optional, default none) Set leaf bundle to render as side menu
23
-  # When not specified file structure and weights will be used
24
-  BookMenuBundle: /menu
25
-
26
-  # (Optional, default docs) Specify section of content to render as menu
27
-  # You can also set value to "*" to render all sections to menu
28
-  BookSection: docs
29
-
30
-  # This value is duplicate of $link-color for making active link highlight in menu bundle mode
31
-  # BookMenuBundleActiveLinkColor: \#004ed0
32
-
33
-  # Include JS scripts in pages. Disabled by default.
34
-  # - Keep side menu on same scroll position during navigation
35
-  BookEnableJS: true
36
-
37
-  # Set source repository location.
38
-  # Used for 'Last Modified' and 'Edit this page' links.
39
-  BookRepo: https://github.com/alex-shpak/hugo-book
40
-
41
-  # Enable "Edit this page" links for 'doc' page type.
42
-  # Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
43
-  # Path must point to 'content' directory of repo.
44
-  BookEditPath: edit/master/exampleSite/content
45
-
46
-  # Configure the date format used on the pages
47
-  # - In git information
48
-  # - In blog posts
49
-  BookDateFormat: "Jan 2, 2006"

+ 0
- 75
themes/book/exampleSite/content/_index.md View File

@@ -1,75 +0,0 @@
1
----
2
-title: Introduction
3
-type: docs
4
----
5
-
6
-# Acerbo datus maxime
7
-
8
-## Tempora nisi nunc
9
-
10
-Lorem **markdownum** emicat gestu. Cannis sol pressit ducta. **Est** Idaei,
11
-tremens ausim se tutaeque, illi ulnis hausit, sed, lumina cutem. Quae avis
12
-sequens!
13
-
14
-    var panel = ram_design;
15
-    if (backup + system) {
16
-        file.readPoint = network_native;
17
-        sidebar_engine_device(cell_tftp_raster,
18
-                dual_login_paper.adf_vci.application_reader_design(
19
-                graphicsNvramCdma, lpi_footer_snmp, integer_model));
20
-    }
21
-    public_keyboard_docking += error.controller_gibibyte_plug.ip(4,
22
-            asciiPetaflops, software(supercomputer_compatible_status + 4));
23
-    dynamic_disk.indexModeLaptop = bufferTftpReality;
24
-    var export_vlog_sequence = trinitron_flowchart + supercomputer_cluster_rj(
25
-            -1, toolbar_powerpoint_query, -2 / multiprocessing_impression);
26
-
27
-## Locis suis novi cum suoque decidit eadem
28
-
29
-Idmoniae ripis, at aves, ali missa adest, ut *et autem*, et ab? Venit spes
30
-versus finis sermonibus patefecit murum nec est sine oculis. *Ille* inmota
31
-macies domoque caelestia cadit tantummodo scelus procul, corde!
32
-
33
-1. Dolentem capi parte rostro alvum habentem pudor
34
-2. Fulgentia sanguine paret
35
-3. E punior consurgit lentus
36
-4. Vox hasta eras micantes
37
-
38
-## Suis quot
39
-
40
-Ea *furtique* risere fratres edidit terrae magis. Colla tam mihi tenebat:
41
-miseram excita suadent es pecudes iam. Concilio *quam* velatus posset ait quod
42
-nunc!
43
-
44
-## Astris ipse furtiva vota collumque et habe
45
-
46
-Est in vagis et Pittheus tu arge accipiter regia iram vocatur nurus. Omnes ut
47
-olivae sensit **arma sorori** deducit, inesset **crudus**, ego vetuere aliis,
48
-modo arsit? Utinam rapta fiducia valuere litora *adicit cursu*, ad facies:
49
-fragosis suae dextra geruntur functus vulgata.
50
-
51
-## Facibus pharetrae indetonsusque indulsit sic incurrite foliis
52
-
53
-Nefandam et prisci palmas! Blandita cutis flectitur montis macies, te *nati*
54
-Latiis; turbaque inferias. Virginis tibi peracta avidusque facies caper nec, e
55
-at ademptae, mira.
56
-
57
-    direct *= font(inputScareware(sliHome), crossplatform.byte(
58
-            ppl_encryption.excel_e_rte(integratedModelModifier), timeVirtual,
59
-            floating_speakers.media_printer(us, yahoo, primaryPhp)));
60
-    friendly_metal_flatbed(cd, isoPrimaryStorage(reader), dmaMirrored);
61
-    if (parse_flash_cron.metalGif(1, adServiceDevice, utility)) {
62
-        adf -= operation_cdma_samba;
63
-        imapGif.switch += torrent;
64
-    } else {
65
-        pmu.disk_captcha = digital_ppp_pci + recursionTransistor(5, dram);
66
-        ajax_service += grayscalePythonLock;
67
-        google_scroll_capacity = ftp + engine_dslam_sidebar / tape - 1;
68
-    }
69
-    drive_rw = zipTftp;
70
-    var suffix = software_router_extension.dimm_ddr(-5,
71
-            kernel_digital_minisite);
72
-
73
-Vocavit toto; alas **mitis** maestus in liquidarum ab legi finitimosque dominam
74
-tibi subitus; Orionis vertitur nota. Currere alti etiam seroque cernitis
75
-innumeris miraturus amplectique collo sustinet quemque! Litora ante turba?

+ 0
- 52
themes/book/exampleSite/content/docs/advanced.md View File

@@ -1,52 +0,0 @@
1
-# Vagus elidunt
2
-
3
-## Mole et vultus populifer quaque primoque non
4
-
5
-Lorem **markdownum pignora pelle** est tota propiore conpellat pectoribus de
6
-pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
7
-subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
8
-caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis
9
-lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
10
-
11
-1. Exierant elisi ambit vivere dedere
12
-2. Duce pollice
13
-3. Eris modo
14
-4. Spargitque ferrea quos palude
15
-
16
-Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus
17
-silentia flumen, sustinet placuit petis in dilapsa erat sunt. [Atria
18
-tractus](http://agendo-dis.io/) malis.
19
-
20
-1. Comas hunc haec pietate fetum procerum dixit
21
-2. Post torum vates letum Tiresia
22
-3. Flumen querellas
23
-4. Arcanaque montibus omnes
24
-5. Quidem et
25
-
26
-## Mane refeci capiebant unda mulcebat
27
-
28
-Victa caducifer, [malo vulnere](http://www.nec.org/iactorcolonos.php) contra
29
-dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere
30
-furit nec; iaculi [matertera](http://iugis-thalamique.com/pecus) et visa est,
31
-viribus. Divesque creatis, tecta novat collumque vulnus
32
-[est](http://canentiet.net/lateri.php), parvas. **Faces illo pepulere** tempus
33
-adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
34
-
35
-    var multiplatform = cifs(illegal, zip, memory) / pcbPowerJavascript;
36
-    hdmi -= 3;
37
-    tunneling(constant(service_fi_hyper, avatarBar), matrixUmlMbps);
38
-    frequency /= nat(keyboardRecycle, programmingGnuPerl) + icfExbibyteCursor;
39
-    io_dithering(-5, markup / languageShortcut - driveHtml);
40
-
41
-Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli
42
-Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare
43
-Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert
44
-ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae
45
-vulnus haerentia iuste et exercebat, sui et.
46
-
47
-Eurytus Hector, [materna](http://mandereevincitque.net/), ipsumque ut Politen,
48
-nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus,
49
-inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa.
50
-Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a
51
-alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem
52
-Propoetides **parte**.

+ 0
- 55
themes/book/exampleSite/content/docs/client.md View File

@@ -1,55 +0,0 @@
1
-# Ista qua aera
2
-
3
-## Tetigisse hac duc omnipotens urbis per sapiente
4
-
5
-Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
6
-stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
7
-protulit, sed sed aere valvis inhaesuro Pallas animam: qui *quid*, ignes.
8
-Miseratus fonte Ditis conubia.
9
-
10
-    var mnemonicPcmcia = file;
11
-    if (bookmarkMultiprocessing) {
12
-        core.intranetDigitize = menu(vdslWordart(enterprise,
13
-                dviRealityTeraflops));
14
-    } else {
15
-        portal_socket.jsp_shareware_digital = multicasting(component_uml);
16
-        memory.ppc_title_hit(lunWebFormat + fontSmartphoneView, tween *
17
-                default_hard, 5 + laptopMethod);
18
-        wddm_tablet_null.widgetFileRate(3, leakMaskResponsive);
19
-    }
20
-    var siteRjSoftware = installer;
21
-    html.text = address + nasSystemDns;
22
-
23
-## Lac roratis Diomede
24
-
25
-*Aut in vivitur* quam ibi is veniebat Herculis mihi hominem! In matrem gesserit
26
-manus [coniuge silva](http://etinachus.org/cornibusalter.html) pectore simul nec
27
-felix in haud ostendit lacrimavit mora. Digna adspice temptata, Palaestina armis
28
-at crura centum tellus ni tibi Amphiona mansit, bello tibi pugnat fuit. Sidera
29
-nec ambo temporis summe tempore, falsa committere, pater horrenda, erat ast
30
-cadunt preces.
31
-
32
-1. Ventorum pariturae cum discors fit dabat inguina
33
-2. Armeniae viscera
34
-3. Et monitusque boum misereri
35
-4. Obliquaque primasque suae
36
-
37
-## Ovaque in tendens tibi Iovis iuga
38
-
39
-Vagatur laboribus vocandus [honorque segnior
40
-inclinat](http://www.neve-tellus.io/) petentes manere ut terram fundit; sunt.
41
-Pressit eodem inmotae quasque linguam, sub famem animos dei nocte futura
42
-Laconide India. Posset iter nata negarit *limina latus postquam* serior, cum dic
43
-area iamdudum non! Et curaque [me illo](http://testudine-est.com/): addidit
44
-tuam, Cerealia, fila undae Ilithyiam proceresque tegens numero dominaeque
45
-**regna** humanis. Multo [adstringit hirsutaque](http://www.e.org/est.php)
46
-crimine postquam perfudit illis, a mutua, memorant.
47
-
48
-## His nocte ipse cum oculorum recepta ignorat
49
-
50
-Minos ad carmina exire studiosior Talia tamen, est a hi de quae ipsa et quoniam.
51
-Se victus at unca tantae eurus Euippe Bacchumque vocantia.
52
-
53
-Ullum frena statione de at praeferret classi Acarnanum iacuit lacertis gemino;
54
-ad caperet **finiat**! Utque videt ingemuit Dulichium paravi portaque te et, tot
55
-ab caesariem sumit, vias in rerum te.

+ 0
- 81
themes/book/exampleSite/content/docs/examples.md View File

@@ -1,81 +0,0 @@
1
-# Ubi loqui
2
-
3
-## Mentem genus facietque salire tempus bracchia
4
-
5
-Lorem markdownum partu paterno Achillem. Habent amne generosi aderant ad pellem
6
-nec erat sustinet merces columque haec et, dixit minus nutrit accipiam subibis
7
-subdidit. Temeraria servatum agros qui sed fulva facta. Primum ultima, dedit,
8
-suo quisque linguae medentes fixo: tum petis.
9
-
10
-## Rapit vocant si hunc siste adspice
11
-
12
-Ora precari Patraeque Neptunia, dixit Danae [Cithaeron
13
-armaque](http://mersis-an.org/litoristum) maxima in **nati Coniugis** templis
14
-fluidove. Effugit usus nec ingreditur agmen *ac manus* conlato. Nullis vagis
15
-nequiquam vultibus aliquos altera *suum venis* teneas fretum. Armos [remotis
16
-hoc](http://tutum.io/me) sine ferrea iuncta quam!
17
-
18
-## Locus fuit caecis
19
-
20
-Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae
21
-miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me
22
-ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta.
23
-Intravit quam erat figentem hunc, motus de fontes parvo tempestate.
24
-
25
-    iscsi_virus = pitch(json_in_on(eupViral),
26
-            northbridge_services_troubleshooting, personal(
27
-            firmware_rw.trash_rw_crm.device(interactive_gopher_personal,
28
-            software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel,
29
-            mips_whitelist_duplex, cpa)));
30
-    if (5) {
31
-        managementNetwork += dma - boolean;
32
-        kilohertz_token = 2;
33
-        honeypot_affiliate_ergonomics = fiber;
34
-    }
35
-    mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet(
36
-            analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet),
37
-            gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork,
38
-            trim_duplex_file), cellTapeDirect, token_tooltip_mashup(
39
-            ripcordingMashup)));
40
-    module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) +
41
-            coreLog.joystick(componentUdpLink), windows_expansion_touchscreen);
42
-    bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling(
43
-            ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp);
44
-
45
-## Placabilis coactis nega ingemuit ignoscat nimia non
46
-
47
-Frontis turba. Oculi gravis est Delphice; *inque praedaque* sanguine manu non.
48
-
49
-    if (ad_api) {
50
-        zif += usb.tiffAvatarRate(subnet, digital_rt) + exploitDrive;
51
-        gigaflops(2 - bluetooth, edi_asp_memory.gopher(queryCursor, laptop),
52
-                panel_point_firmware);
53
-        spyware_bash.statePopApplet = express_netbios_digital(
54
-                insertion_troubleshooting.brouter(recordFolderUs), 65);
55
-    }
56
-    recursionCoreRay = -5;
57
-    if (hub == non) {
58
-        portBoxVirus = soundWeb(recursive_card(rwTechnologyLeopard),
59
-                font_radcab, guidCmsScalable + reciprocalMatrixPim);
60
-        left.bug = screenshot;
61
-    } else {
62
-        tooltipOpacity = raw_process_permalink(webcamFontUser, -1);
63
-        executable_router += tape;
64
-    }
65
-    if (tft) {
66
-        bandwidthWeb *= social_page;
67
-    } else {
68
-        regular += 611883;
69
-        thumbnail /= system_lag_keyboard;
70
-    }
71
-
72
-## Caesorum illa tu sentit micat vestes papyriferi
73
-
74
-Inde aderam facti; Theseus vis de tauri illa peream. Oculos **uberaque** non
75
-regisque vobis cursuque, opus venit quam vulnera. Et maiora necemque, lege modo;
76
-gestanda nitidi, vero? Dum ne pectoraque testantur.
77
-
78
-Venasque repulsa Samos qui, exspectatum eram animosque hinc, [aut
79
-manes](http://www.creveratnon.net/apricaaetheriis), Assyrii. Cupiens auctoribus
80
-pariter rubet, profana magni super nocens. Vos ius sibilat inpar turba visae
81
-iusto! Sedes ante dum superest **extrema**.

+ 0
- 51
themes/book/exampleSite/content/docs/server.md View File

@@ -1,51 +0,0 @@
1
-# Nimium sacravere cetera exorata multifidasque satia
2
-
3
-## Datum perierunt nato
4
-
5
-Lorem markdownum. Sit en turpe, recessit nominibus et sanguis totis. Unaque
6
-cognitius docuit sensimus mutasse terra flammas. Nec nunc sustinet Coeranon
7
-figura Erecthida saepe *gestu vel*: quod mei. Docto interdum quasi labefactus
8
-nocentius miserrimus pars cum missi matrem, ipse fletus
9
-[illo](http://fuerit-cultus.net/) super.
10
-
11
-1. Metuunt non paene iniectis licuit
12
-2. Extemplo iugulum relictis reddidit caput
13
-3. Frustra adspiceres viae
14
-4. Non fluctibus civiliter pater procedit non
15
-5. Deos spumis ille aderam semper Stygios quantum
16
-6. Orgia hoc
17
-
18
-## Dare hirtus cervice Cecropis
19
-
20
-Si veteris alas proelia, sic remotis in portus nisi minimae acerris carina: et
21
-ne. Crimina longis, visae, quae et cur innuba dabat Haedis non. **Multorumque**
22
-damus qua, circumtulit teli, nec cum ait, o procul miserabile cursus. Tuam
23
-Rhodanumque ipse **scelus** humum fratrem volucrumque tandem seque domus fuerat
24
-quam per quidem ululasse ab aquas vocari.
25
-
26
-1. Inperfecta frugum sed perennis deposuit
27
-2. Quem cortice penthea venerisque perque perque deditque
28
-3. Cerno impete
29
-
30
-## Daedalon inguina mea Autolycus caeleste lumina et
31
-
32
-Cupiere adulter parentum, semineces malit nec seu luce superos integer
33
-inritaturque antro cum. Aegeus sic tabe nulla satyri notissima inmensa et aquas
34
-et. Digiti quis addit *materna*, et arma tu aegide dixit. *Traxerat* ubera, fuit
35
-se cacumine praeteritae corpore esse pendentem Diana gratissima dolor generi
36
-clamoribus occupat; flavam arma. Ponat invidiosa honores.
37
-
38
-    var nybble_computer_market = client_sd_webmail.margin(romGamma(nui,
39
-            internet, 78) + p_malware_algorithm(thyristorCloneBare, backup,
40
-            multicastingHsf));
41
-    circuit(thickDesktopPpm, computer(protocol_alert(sla)));
42
-    if (integrated_memory_rich(array_printer.thermistor_lock_web(
43
-            camera.gnu_read_engine.third(4, rom_point_risc), piracy(
44
-            paste_analyst, os, multiprocessingKilohertz)))) {
45
-        click_samba = 1;
46
-    }
47
-
48
-Liber virorum acervo quaecumque placabat Luna recessit utque, nox cum nymphae
49
-licet? Arce tibi commissus letalis ambo fuit bis deus? Dixit mea, non [Quid
50
-potentior osculaque](http://ibat.org/) factis opposuitque semel perspexerat
51
-posuitque parte quas [sive](http://www.est.com/seanimos).

+ 0
- 60
themes/book/exampleSite/content/docs/with-toc.md View File

@@ -1,60 +0,0 @@
1
-# Caput vino delphine in tamen vias
2
-
3
-## Cognita laeva illo fracta
4
-
5
-Lorem markdownum pavent auras, surgit nunc cingentibus libet **Laomedonque que**
6
-est. Pastor [An](http://est.org/ire.aspx) arbor filia foedat, ne [fugit
7
-aliter](http://www.indiciumturbam.org/moramquid.php), per. Helicona illas et
8
-callida neptem est *Oresitrophos* caput, dentibus est venit. Tenet reddite
9
-[famuli](http://www.antro-et.net/) praesentem fortibus, quaeque vis foret si
10
-frondes *gelidos* gravidae circumtulit [inpulit armenta
11
-nativum](http://incurvasustulit.io/illi-virtute.html).
12
-
13
-1. Te at cruciabere vides rubentis manebo
14
-2. Maturuit in praetemptat ruborem ignara postquam habitasse
15
-3. Subitarum supplevit quoque fontesque venabula spretis modo
16
-4. Montis tot est mali quasque gravis
17
-5. Quinquennem domus arsit ipse
18
-6. Pellem turis pugnabant locavit
19
-
20
-## Natus quaerere
21
-
22
-Pectora et sine mulcere, coniuge dum tincta incurvae. Quis iam; est dextra
23
-Peneosque, metuis a verba, primo. Illa sed colloque suis: magno: gramen, aera
24
-excutiunt concipit.
25
-
26
-> Phrygiae petendo suisque extimuit, super, pars quod audet! Turba negarem.
27
-> Fuerat attonitus; et dextra retinet sidera ulnas undas instimulat vacuae
28
-> generis? *Agnus* dabat et ignotis dextera, sic tibi pacis **feriente at mora**
29
-> euhoeque *comites hostem* vestras Phineus. Vultuque sanguine dominoque [metuit
30
-> risi](http://iuvat.org/eundem.php) fama vergit summaque meus clarissimus
31
-> artesque tinguebat successor nominis cervice caelicolae.
32
-
33
-## Limitibus misere sit
34
-
35
-Aurea non fata repertis praerupit feruntur simul, meae hosti lentaque *citius
36
-levibus*, cum sede dixit, Phaethon texta. *Albentibus summos* multifidasque
37
-iungitur loquendi an pectore, mihi ursaque omnia adfata, aeno parvumque in animi
38
-perlucentes. Epytus agis ait vixque clamat ornum adversam spondet, quid sceptra
39
-ipsum **est**. Reseret nec; saeva suo passu debentia linguam terga et aures et
40
-cervix [de](http://www.amnem.io/pervenit.aspx) ubera. Coercet gelidumque manus,
41
-doluit volvitur induta?
42
-
43
-## Enim sua
44
-
45
-Iuvenilior filia inlustre templa quidem herbis permittat trahens huic. In
46
-cruribus proceres sole crescitque *fata*, quos quos; merui maris se non tamen
47
-in, mea.
48
-
49
-## Germana aves pignus tecta
50
-
51
-Mortalia rudibusque caelum cognosceret tantum aquis redito felicior texit, nec,
52
-aris parvo acre. Me parum contulerant multi tenentem, gratissime suis; vultum tu
53
-occupat deficeret corpora, sonum. E Actaea inplevit Phinea concepit nomenque
54
-potest sanguine captam nulla et, in duxisses campis non; mercede. Dicere cur
55
-Leucothoen obitum?
56
-
57
-Postibus mittam est *nubibus principium pluma*, exsecratur facta et. Iunge
58
-Mnemonidas pallamque pars; vere restitit alis flumina quae **quoque**, est
59
-ignara infestus Pyrrha. Di ducis terris maculatum At sede praemia manes
60
-nullaque!

+ 0
- 57
themes/book/exampleSite/content/docs/without-toc.md View File

@@ -1,57 +0,0 @@
1
----
2
-bookShowToc: false
3
----
4
-
5
-# At me ipso nepotibus nunc celebratior genus
6
-
7
-## Tanto oblite
8
-
9
-Lorem markdownum pectora novis patenti igne sua opus aurae feras materiaque
10
-illic demersit imago et aristas questaque posset. Vomit quoque suo inhaesuro
11
-clara. Esse cumque, per referri triste. Ut exponit solisque communis in tendens
12
-vincetis agisque iamque huic bene ante vetat omina Thebae rates. Aeacus servat
13
-admonitu concidit, ad resimas vultus et rugas vultu **dignamque** Siphnon.
14
-
15
-Quam iugulum regia simulacra, plus meruit humo pecorumque haesit, ab discedunt
16
-dixit: ritu pharetramque. Exul Laurenti orantem modo, per densum missisque labor
17
-manibus non colla unum, obiectat. Tu pervia collo, fessus quae Cretenque Myconon
18
-crate! Tegumenque quae invisi sudore per vocari quaque plus ventis fluidos. Nodo
19
-perque, fugisse pectora sorores.
20
-
21
-## Summe promissa supple vadit lenius
22
-
23
-Quibus largis latebris aethera versato est, ait sentiat faciemque. Aequata alis
24
-nec Caeneus exululat inclite corpus est, ire **tibi** ostendens et tibi. Rigent
25
-et vires dique possent lumina; **eadem** dixit poma funeribus paret et felix
26
-reddebant ventis utile lignum.
27
-
28
-1. Remansit notam Stygia feroxque
29
-2. Et dabit materna
30
-3. Vipereas Phrygiaeque umbram sollicito cruore conlucere suus
31
-4. Quarum Elis corniger
32
-5. Nec ieiunia dixit
33
-
34
-Vertitur mos ortu ramosam contudit dumque; placabat ac lumen. Coniunx Amoris
35
-spatium poenamque cavernis Thebae Pleiadasque ponunt, rapiare cum quae parum
36
-nimium rima.
37
-
38
-## Quidem resupinus inducto solebat una facinus quae
39
-
40
-Credulitas iniqua praepetibus paruit prospexit, voce poena, sub rupit sinuatur,
41
-quin suum ventorumque arcadiae priori. Soporiferam erat formamque, fecit,
42
-invergens, nymphae mutat fessas ait finge.
43
-
44
-1. Baculum mandataque ne addere capiti violentior
45
-2. Altera duas quam hoc ille tenues inquit
46
-3. Sicula sidereus latrantis domoque ratae polluit comites
47
-4. Possit oro clausura namque se nunc iuvenisque
48
-5. Faciem posuit
49
-6. Quodque cum ponunt novercae nata vestrae aratra
50
-
51
-Ite extrema Phrygiis, patre dentibus, tonso perculit, enim blanda, manibus fide
52
-quos caput armis, posse! Nocendo fas Alcyonae lacertis structa ferarum manus
53
-fulmen dubius, saxa caelum effuge extremis fixum tumor adfecit **bella**,
54
-potentes? Dum nec insidiosa tempora tegit
55
-[spirarunt](http://mihiferre.net/iuvenes-peto.html). Per lupi pars foliis,
56
-porreximus humum negant sunt subposuere Sidone steterant auro. Memoraverit sine:
57
-ferrum idem Orion caelum heres gerebat fixis?

+ 0
- 13
themes/book/exampleSite/content/menu/index.md View File

@@ -1,13 +0,0 @@
1
----
2
-headless: true
3
----
4
-
5
-- [**Introduction**]({{< relref "/" >}})
6
-- [Examples]({{< relref "/docs/examples.md" >}})
7
-  - [With Table of contents]({{< relref "/docs/with-toc.md" >}})
8
-  - [Without Table of Contents]({{< relref "/docs/without-toc.md" >}})  
9
-- **More Examples**
10
-- [Server]({{< relref "/docs/server.md" >}})
11
-- [Client]({{< relref "/docs/client.md" >}})
12
-- [Advanced]({{< relref "/docs/advanced.md" >}})  
13
-- [**Blog**]({{< relref "/posts" >}})

+ 0
- 1150
themes/book/exampleSite/content/posts/creating-a-new-theme.md
File diff suppressed because it is too large
View File


+ 0
- 344
themes/book/exampleSite/content/posts/goisforlovers.md View File

@@ -1,344 +0,0 @@
1
-+++
2
-title = "(Hu)go Template Primer"
3
-description = ""
4
-tags = [
5
-    "go",
6
-    "golang",
7
-    "templates",
8
-    "themes",
9
-    "development",
10
-]
11
-date = "2014-04-02"
12
-categories = [
13
-    "Development",
14
-    "golang",
15
-]
16
-menu = "main"
17
-+++
18
-
19
-Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for
20
-its template engine. It is an extremely lightweight engine that provides a very
21
-small amount of logic. In our experience that it is just the right amount of
22
-logic to be able to create a good static website. If you have used other
23
-template systems from different languages or frameworks you will find a lot of
24
-similarities in Go templates.
25
-
26
-This document is a brief primer on using Go templates. The [Go docs][gohtmltemplate]
27
-provide more details.
28
-
29
-## Introduction to Go Templates
30
-
31
-Go templates provide an extremely simple template language. It adheres to the
32
-belief that only the most basic of logic belongs in the template or view layer.
33
-One consequence of this simplicity is that Go templates parse very quickly.
34
-
35
-A unique characteristic of Go templates is they are content aware. Variables and
36
-content will be sanitized depending on the context of where they are used. More
37
-details can be found in the [Go docs][gohtmltemplate].
38
-
39
-## Basic Syntax
40
-
41
-Golang templates are HTML files with the addition of variables and
42
-functions.
43
-
44
-**Go variables and functions are accessible within {{ }}**
45
-
46
-Accessing a predefined variable "foo":
47
-
48
-    {{ foo }}
49
-
50
-**Parameters are separated using spaces**
51
-
52
-Calling the add function with input of 1, 2:
53
-
54
-    {{ add 1 2 }}
55
-
56
-**Methods and fields are accessed via dot notation**
57
-
58
-Accessing the Page Parameter "bar"
59
-
60
-    {{ .Params.bar }}
61
-
62
-**Parentheses can be used to group items together**
63
-
64
-    {{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
65
-
66
-
67
-## Variables
68
-
69
-Each Go template has a struct (object) made available to it. In hugo each
70
-template is passed either a page or a node struct depending on which type of
71
-page you are rendering. More details are available on the
72
-[variables](/layout/variables) page.
73
-
74
-A variable is accessed by referencing the variable name.
75
-
76
-    <title>{{ .Title }}</title>
77
-
78
-Variables can also be defined and referenced.
79
-
80
-    {{ $address := "123 Main St."}}
81
-    {{ $address }}
82
-
83
-
84
-## Functions
85
-
86
-Go template ship with a few functions which provide basic functionality. The Go
87
-template system also provides a mechanism for applications to extend the
88
-available functions with their own. [Hugo template
89
-functions](/layout/functions) provide some additional functionality we believe
90
-are useful for building websites. Functions are called by using their name
91
-followed by the required parameters separated by spaces. Template
92
-functions cannot be added without recompiling hugo.
93
-
94
-**Example:**
95
-
96
-    {{ add 1 2 }}
97
-
98
-## Includes
99
-
100
-When including another template you will pass to it the data it will be
101
-able to access. To pass along the current context please remember to
102
-include a trailing dot. The templates location will always be starting at
103
-the /layout/ directory within Hugo.
104
-
105
-**Example:**
106
-
107
-    {{ template "chrome/header.html" . }}
108
-
109
-
110
-## Logic
111
-
112
-Go templates provide the most basic iteration and conditional logic.
113
-
114
-### Iteration
115
-
116
-Just like in Go, the Go templates make heavy use of range to iterate over
117
-a map, array or slice. The following are different examples of how to use
118
-range.
119
-
120
-**Example 1: Using Context**
121
-
122
-    {{ range array }}
123
-        {{ . }}
124
-    {{ end }}
125
-
126
-**Example 2: Declaring value variable name**
127
-
128
-    {{range $element := array}}
129
-        {{ $element }}
130
-    {{ end }}
131
-
132
-**Example 2: Declaring key and value variable name**
133
-
134
-    {{range $index, $element := array}}
135
-        {{ $index }}
136
-        {{ $element }}
137
-    {{ end }}
138
-
139
-### Conditionals
140
-
141
-If, else, with, or, & and provide the framework for handling conditional
142
-logic in Go Templates. Like range, each statement is closed with `end`.
143
-
144
-
145
-Go Templates treat the following values as false:
146
-
147
-* false
148
-* 0
149
-* any array, slice, map, or string of length zero
150
-
151
-**Example 1: If**
152
-
153
-    {{ if isset .Params "title" }}<h4>{{ index .Params "title" }}</h4>{{ end }}
154
-
155
-**Example 2: If -> Else**
156
-
157
-    {{ if isset .Params "alt" }}
158
-        {{ index .Params "alt" }}
159
-    {{else}}
160
-        {{ index .Params "caption" }}
161
-    {{ end }}
162
-
163
-**Example 3: And & Or**
164
-
165
-    {{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
166
-
167
-**Example 4: With**
168
-
169
-An alternative way of writing "if" and then referencing the same value
170
-is to use "with" instead. With rebinds the context `.` within its scope,
171
-and skips the block if the variable is absent.
172
-
173
-The first example above could be simplified as:
174
-
175
-    {{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}
176
-
177
-**Example 5: If -> Else If**
178
-
179
-    {{ if isset .Params "alt" }}
180
-        {{ index .Params "alt" }}
181
-    {{ else if isset .Params "caption" }}
182
-        {{ index .Params "caption" }}
183
-    {{ end }}
184
-
185
-## Pipes
186
-
187
-One of the most powerful components of Go templates is the ability to
188
-stack actions one after another. This is done by using pipes. Borrowed
189
-from unix pipes, the concept is simple, each pipeline's output becomes the
190
-input of the following pipe.
191
-
192
-Because of the very simple syntax of Go templates, the pipe is essential
193
-to being able to chain together function calls. One limitation of the
194
-pipes is that they only can work with a single value and that value
195
-becomes the last parameter of the next pipeline.
196
-
197
-A few simple examples should help convey how to use the pipe.
198
-
199
-**Example 1 :**
200
-
201
-    {{ if eq 1 1 }} Same {{ end }}
202
-
203
-is the same as
204
-
205
-    {{ eq 1 1 | if }} Same {{ end }}
206
-
207
-It does look odd to place the if at the end, but it does provide a good
208
-illustration of how to use the pipes.
209
-
210
-**Example 2 :**
211
-
212
-    {{ index .Params "disqus_url" | html }}
213
-
214
-Access the page parameter called "disqus_url" and escape the HTML.
215
-
216
-**Example 3 :**
217
-
218
-    {{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
219
-    Stuff Here
220
-    {{ end }}
221
-
222
-Could be rewritten as
223
-
224
-    {{  isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
225
-    Stuff Here
226
-    {{ end }}
227
-
228
-
229
-## Context (aka. the dot)
230
-
231
-The most easily overlooked concept to understand about Go templates is that {{ . }}
232
-always refers to the current context. In the top level of your template this
233
-will be the data set made available to it. Inside of a iteration it will have
234
-the value of the current item. When inside of a loop the context has changed. .
235
-will no longer refer to the data available to the entire page. If you need to
236
-access this from within the loop you will likely want to set it to a variable
237
-instead of depending on the context.
238
-
239
-**Example:**
240
-
241
-      {{ $title := .Site.Title }}
242
-      {{ range .Params.tags }}
243
-        <li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
244
-      {{ end }}
245
-
246
-Notice how once we have entered the loop the value of {{ . }} has changed. We
247
-have defined a variable outside of the loop so we have access to it from within
248
-the loop.
249
-
250
-# Hugo Parameters
251
-
252
-Hugo provides the option of passing values to the template language
253
-through the site configuration (for sitewide values), or through the meta
254
-data of each specific piece of content. You can define any values of any
255
-type (supported by your front matter/config format) and use them however
256
-you want to inside of your templates.
257
-
258
-
259
-## Using Content (page) Parameters
260
-
261
-In each piece of content you can provide variables to be used by the
262
-templates. This happens in the [front matter](/content/front-matter).
263
-
264
-An example of this is used in this documentation site. Most of the pages
265
-benefit from having the table of contents provided. Sometimes the TOC just
266
-doesn't make a lot of sense. We've defined a variable in our front matter
267
-of some pages to turn off the TOC from being displayed.
268
-
269
-Here is the example front matter:
270
-
271
-```
272
----
273
-title: "Permalinks"
274
-date: "2013-11-18"
275
-aliases:
276
-  - "/doc/permalinks/"
277
-groups: ["extras"]
278
-groups_weight: 30
279
-notoc: true
280
----
281
-```
282
-
283
-Here is the corresponding code inside of the template:
284
-
285
-      {{ if not .Params.notoc }}
286
-        <div id="toc" class="well col-md-4 col-sm-6">
287
-        {{ .TableOfContents }}
288
-        </div>
289
-      {{ end }}
290
-
291
-
292
-
293
-## Using Site (config) Parameters
294
-In your top-level configuration file (eg, `config.yaml`) you can define site
295
-parameters, which are values which will be available to you in chrome.
296
-
297
-For instance, you might declare:
298
-
299
-```yaml
300
-params:
301
-  CopyrightHTML: "Copyright &#xA9; 2013 John Doe. All Rights Reserved."
302
-  TwitterUser: "spf13"
303
-  SidebarRecentLimit: 5
304
-```
305
-
306
-Within a footer layout, you might then declare a `<footer>` which is only
307
-provided if the `CopyrightHTML` parameter is provided, and if it is given,
308
-you would declare it to be HTML-safe, so that the HTML entity is not escaped
309
-again.  This would let you easily update just your top-level config file each
310
-January 1st, instead of hunting through your templates.
311
-
312
-```
313
-{{if .Site.Params.CopyrightHTML}}<footer>
314
-<div class="text-center">{{.Site.Params.CopyrightHTML | safeHtml}}</div>
315
-</footer>{{end}}
316
-```
317
-
318
-An alternative way of writing the "if" and then referencing the same value
319
-is to use "with" instead. With rebinds the context `.` within its scope,
320
-and skips the block if the variable is absent:
321
-
322
-```
323
-{{with .Site.Params.TwitterUser}}<span class="twitter">
324
-<a href="https://twitter.com/{{.}}" rel="author">
325
-<img src="/images/twitter.png" width="48" height="48" title="Twitter: {{.}}"
326
- alt="Twitter"></a>
327
-</span>{{end}}
328
-```
329
-
330
-Finally, if you want to pull "magic constants" out of your layouts, you can do
331
-so, such as in this example:
332
-
333
-```
334
-<nav class="recent">
335
-  <h1>Recent Posts</h1>
336
-  <ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}
337
-    <li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
338
-  {{end}}</ul>
339
-</nav>
340
-```
341
-
342
-
343
-[go]: https://golang.org/
344
-[gohtmltemplate]: https://golang.org/pkg/html/template/

+ 0
- 89
themes/book/exampleSite/content/posts/hugoisforlovers.md View File

@@ -1,89 +0,0 @@
1
-+++
2
-title = "Getting Started with Hugo"
3
-description = ""
4
-tags = [
5
-    "go",
6
-    "golang",
7
-    "hugo",
8
-    "development",
9
-]
10
-date = "2014-04-02"
11
-categories = [
12
-    "Development",
13
-    "golang",
14
-]
15
-menu = "main"
16
-+++
17
-
18
-## Step 1. Install Hugo
19
-
20
-Go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
21
-appropriate version for your OS and architecture.
22
-
23
-Save it somewhere specific as we will be using it in the next step.
24
-
25
-More complete instructions are available at [Install Hugo](https://gohugo.io/getting-started/installing/)
26
-
27
-## Step 2. Build the Docs
28
-
29
-Hugo has its own example site which happens to also be the documentation site
30
-you are reading right now.
31
-
32
-Follow the following steps:
33
-
34
- 1. Clone the [Hugo repository](http://github.com/spf13/hugo)
35
- 2. Go into the repo
36
- 3. Run hugo in server mode and build the docs
37
- 4. Open your browser to http://localhost:1313
38
-
39
-Corresponding pseudo commands:
40
-
41
-    git clone https://github.com/spf13/hugo
42
-    cd hugo
43
-    /path/to/where/you/installed/hugo server --source=./docs
44
-    > 29 pages created
45
-    > 0 tags index created
46
-    > in 27 ms
47
-    > Web Server is available at http://localhost:1313
48
-    > Press ctrl+c to stop
49
-
50
-Once you've gotten here, follow along the rest of this page on your local build.
51
-
52
-## Step 3. Change the docs site
53
-
54
-Stop the Hugo process by hitting Ctrl+C.
55
-
56
-Now we are going to run hugo again, but this time with hugo in watch mode.
57
-
58
-    /path/to/hugo/from/step/1/hugo server --source=./docs --watch
59
-    > 29 pages created
60
-    > 0 tags index created
61
-    > in 27 ms
62
-    > Web Server is available at http://localhost:1313
63
-    > Watching for changes in /Users/spf13/Code/hugo/docs/content
64
-    > Press ctrl+c to stop
65
-
66
-
67
-Open your [favorite editor](http://vim.spf13.com) and change one of the source
68
-content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
69
-
70
-Content files are found in `docs/content/`. Unless otherwise specified, files
71
-are located at the same relative location as the url, in our case
72
-`docs/content/overview/quickstart.md`.
73
-
74
-Change and save this file.. Notice what happened in your terminal.
75
-
76
-    > Change detected, rebuilding site
77
-
78
-    > 29 pages created
79
-    > 0 tags index created
80
-    > in 26 ms
81
-
82
-Refresh the browser and observe that the typo is now fixed.
83
-
84
-Notice how quick that was. Try to refresh the site before it's finished building. I double dare you.
85
-Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
86
-
87
-## Step 4. Have fun
88
-
89
-The best way to learn something is to play with it.

+ 0
- 156
themes/book/exampleSite/content/posts/migrate-from-jekyll.md View File

@@ -1,156 +0,0 @@
1
----
2
-date: 2014-03-10
3
-linktitle: Migrating from Jekyll
4
-menu:
5
-  main:
6
-    parent: tutorials
7
-prev: /tutorials/mathjax
8
-title: Migrate to Hugo from Jekyll
9
-weight: 10
10
----
11
-
12
-## Move static content to `static`
13
-Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
14
-With Jekyll, something that looked like
15
-
16
-    ▾ <root>/
17
-        ▾ images/
18
-            logo.png
19
-
20
-should become
21
-
22
-    ▾ <root>/
23
-        ▾ static/
24
-            ▾ images/
25
-                logo.png
26
-
27
-Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
28
-
29
-## Create your Hugo configuration file
30
-Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
31
-
32
-## Set your configuration publish folder to `_site`
33
-The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
34
-
35
-1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
36
-
37
-        git submodule deinit _site
38
-        git rm _site
39
-        git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
40
-
41
-2. Or, change the Hugo configuration to use `_site` instead of `public`.
42
-
43
-        {
44
-            ..
45
-            "publishdir": "_site",
46
-            ..
47
-        }
48
-
49
-## Convert Jekyll templates to Hugo templates
50
-That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
51
-
52
-As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
53
-
54
-## Convert Jekyll plugins to Hugo shortcodes
55
-Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
56
-
57
-### Implementation
58
-As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
59
-
60
-Jekyll's plugin:
61
-
62
-    module Jekyll
63
-      class ImageTag < Liquid::Tag
64
-        @url = nil
65
-        @caption = nil
66
-        @class = nil
67
-        @link = nil
68
-        // Patterns
69
-        IMAGE_URL_WITH_CLASS_AND_CAPTION =
70
-        IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK = /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
71
-        IMAGE_URL_WITH_CAPTION = /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
72
-        IMAGE_URL_WITH_CLASS = /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
73
-        IMAGE_URL = /((https?:\/\/|\/)(\S+))/i
74
-        def initialize(tag_name, markup, tokens)
75
-          super
76
-          if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
77
-            @class   = $1
78
-            @url     = $3
79
-            @caption = $7
80
-            @link = $9
81
-          elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
82
-            @class   = $1
83
-            @url     = $3
84
-            @caption = $7
85
-          elsif markup =~ IMAGE_URL_WITH_CAPTION
86
-            @url     = $1
87
-            @caption = $5
88
-          elsif markup =~ IMAGE_URL_WITH_CLASS
89
-            @class = $1
90
-            @url   = $3
91
-          elsif markup =~ IMAGE_URL
92
-            @url = $1
93
-          end
94
-        end
95
-        def render(context)
96
-          if @class
97
-            source = "<figure class='#{@class}'>"
98
-          else
99
-            source = "<figure>"
100
-          end
101
-          if @link
102
-            source += "<a href=\"#{@link}\">"
103
-          end
104
-          source += "<img src=\"#{@url}\">"
105
-          if @link
106
-            source += "</a>"
107
-          end
108
-          source += "<figcaption>#{@caption}</figcaption>" if @caption
109
-          source += "</figure>"
110
-          source
111
-        end
112
-      end
113
-    end
114
-    Liquid::Template.register_tag('image', Jekyll::ImageTag)
115
-
116
-is written as this Hugo shortcode:
117
-
118
-    <!-- image -->
119
-    <figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
120
-        {{ with .Get "link"}}<a href="{{.}}">{{ end }}
121
-            <img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
122
-        {{ if .Get "link"}}</a>{{ end }}
123
-        {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
124
-        <figcaption>{{ if isset .Params "title" }}
125
-            {{ .Get "title" }}{{ end }}
126
-            {{ if or (.Get "caption") (.Get "attr")}}<p>
127
-            {{ .Get "caption" }}
128
-            {{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
129
-                {{ .Get "attr" }}
130
-            {{ if .Get "attrlink"}}</a> {{ end }}
131
-            </p> {{ end }}
132
-        </figcaption>
133
-        {{ end }}
134
-    </figure>
135
-    <!-- image -->
136
-
137
-### Usage
138
-I simply changed:
139
-
140
-    {% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
141
-
142
-to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
143
-
144
-    {{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
145
-
146
-As a bonus, the shortcode named parameters are, arguably, more readable.
147
-
148
-## Finishing touches
149
-### Fix content
150
-Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
151
-
152
-### Clean up
153
-You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
154
-
155
-## A practical example in a diff
156
-[Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).

+ 0
- 1
themes/book/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.content View File

@@ -1 +0,0 @@
1
-.markdown{line-height:1.7}.markdown>:first-child{margin-top:0;line-height:1em}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5{font-weight:400;line-height:1.25}.markdown b,.markdown optgroup,.markdown strong{font-weight:700}.markdown a{text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown code{font-family:oxygen mono,monospace;padding:0 .25rem;background:#f8f9fa;border-radius:.15rem}.markdown pre{padding:1rem;background:#f8f9fa;border-radius:.15rem;font-size:.875rem;overflow-x:auto}.markdown blockquote{border-left:2px solid #dee2e6;margin:0;padding:1px 1rem}.markdown blockquote :first-child{margin-top:0}.markdown blockquote :last-child{margin-bottom:0}.markdown table{border-spacing:0;border-collapse:collapse}.markdown table tr th,.markdown table tr td{padding:.5rem 1rem;line-height:1;border:1px solid #e9ecef}.markdown table tr:nth-child(2n){background:#f8f9fa}.flex{display:flex}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.align-center{align-items:center}.mx-auto{margin:0 auto}.mr-auto{margin-right:auto}.hide{display:none}html{font-size:16px;letter-spacing:.33px;scroll-behavior:smooth}html,body{min-width:20rem;overflow-x:hidden}body{color:#343a40;background:#fff;font-family:oxygen,sans-serif;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}body *{box-sizing:inherit}h1,h2,h3,h4,h5{font-weight:400}a{text-decoration:none;color:#004ed0}a:visited{color:#8440f1}img{vertical-align:middle}aside nav ul{padding:0;margin:0;list-style:none}aside nav ul li{margin:1em 0}aside nav ul a{display:block}aside nav ul a:hover{opacity:.5}aside nav ul ul{padding-left:1rem}ul.pagination{display:flex;justify-content:center}ul.pagination .page-item a{padding:1rem}.container{max-width:80rem;margin:0 auto}.book-brand{margin-top:0}.book-menu{flex:0 0 16rem;font-size:.875rem}.book-menu nav{width:16rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-menu a{color:#343a40}.book-menu a.active{color:#004ed0}.book-page{min-width:20rem;flex-grow:1;padding:1rem}.book-header{margin-bottom:1rem;display:none}.book-toc{flex:0 0 14rem;font-size:.75rem}.book-toc nav{width:14rem;padding:1rem;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc nav>ul>li{margin:0}.book-git-footer{display:flex;margin-top:1rem;font-size:.875rem;align-items:baseline}.book-git-footer img{width:.875rem;vertical-align:bottom}.book-posts{min-width:20rem;max-width:41rem;flex-grow:1;padding:1rem}.book-posts article{padding-bottom:1rem}aside nav,.book-page,.book-posts,.markdown{transition:.2s ease-in-out;transition-property:transform,margin-left,opacity;will-change:transform,margin-left}@media screen and (max-width:55rem){.book-toc{display:none}}@media screen and (max-width:41rem){.book-menu{margin-left:-16rem}.book-header{display:flex}#menu-control:checked+main .book-menu nav,#menu-control:checked+main .book-page,#menu-control:checked+main .book-posts{transform:translateX(16rem)}#menu-control:checked+main .book-header label{transform:rotate(90deg)}#menu-control:checked+main .markdown{opacity:.25}}@media screen and (min-width:80rem){.book-page,.book-menu nav,.book-toc nav{padding:2rem 1rem}}

+ 0
- 1
themes/book/exampleSite/resources/_gen/assets/scss/book.scss_48b060fe05b0a273d182ef83c0605941.json View File

@@ -1 +0,0 @@
1
-{"Target":"book.min.b19e39655cbb35014c212261acf02c44c22b653e1183471f8513702b5bfd8f54.css","MediaType":"text/css","Data":{"Integrity":"sha256-sZ45ZVy7NQFMISJhrPAsRMIrZT4Rg0cfhRNwK1v9j1Q="}}

+ 0
- 2
themes/book/layouts/docs/baseof.html View File

@@ -8,7 +8,6 @@
8 8
 </head>
9 9
 
10 10
 <body>
11
-  <input type="checkbox" style="display: none" id="menu-control" />
12 11
   <main class="flex container">
13 12
 
14 13
     <aside class="book-menu fixed">
@@ -16,7 +15,6 @@
16 15
     </aside>
17 16
 
18 17
     <div class="book-page">
19
-      {{ partial "docs/mobile-header" . }}
20 18
       {{ template "main" . }}
21 19
       {{ partial "docs/git-footer" . }}
22 20
     </div>

+ 0
- 3
themes/book/layouts/partials/docs/menu-bundle.html View File

@@ -1,7 +1,4 @@
1 1
 {{- template "hrefhack" . -}}
2 2
 {{ with .Site.GetPage .Site.Params.BookMenuBundle }}
3 3
   {{- .Content -}}
4
-{{ end }}
5
-{{ if .Site.Params.BookEnableJS }}
6
-  {{- template "jsmenu" . -}}
7 4
 {{ end }}

+ 0
- 6
themes/book/layouts/partials/docs/mobile-header.html View File

@@ -1,6 +0,0 @@
1
-<header class="align-center justify-between book-header">
2
-  <label for="menu-control">
3
-    <img src="{{ "svg/menu.svg" | relURL }}" />
4
-  </label>
5
-  <strong>{{- template "title" . }}</strong>
6
-</header>

+ 0
- 13
themes/book/layouts/partials/docs/shared.html View File

@@ -23,17 +23,4 @@
23 23
       color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
24 24
   }
25 25
   </style>
26
-{{- end -}}
27
-
28
-{{- define "jsmenu" -}}
29
-<script>
30
-(function() {
31
-  var menu = document.querySelector('aside.book-menu nav')
32
-  addEventListener('beforeunload', function(event) {
33
-    localStorage.setItem('menu.scrollTop', menu.scrollTop)
34
-  });
35
-
36
-  menu.scrollTop = localStorage.getItem('menu.scrollTop')
37
-})()
38
-</script>
39 26
 {{- end -}}

+ 0
- 2
themes/book/layouts/posts/baseof.html View File

@@ -8,14 +8,12 @@
8 8
 </head>
9 9
 
10 10
 <body>
11
-  <input type="checkbox" style="display: none" id="menu-control" />
12 11
   <main class="flex container">
13 12
     <aside class="book-menu fixed">
14 13
       {{ partial "docs/menu" . }}
15 14
     </aside>
16 15
 
17 16
     <div class="book-posts">
18
-      {{ partial "docs/mobile-header" . }}
19 17
       {{ template "main" . }}
20 18
     </div>
21 19
   </main>

+ 14
- 0
themes/book/static/svg/right.svg View File

@@ -0,0 +1,14 @@
1
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22">
2
+  <defs id="defs3051">
3
+    <style type="text/css" id="current-color-scheme">
4
+      .ColorScheme-Text {
5
+        color:#4d4d4d;
6
+      }
7
+      </style>
8
+  </defs>
9
+ <path 
10
+    style="fill:currentColor;fill-opacity:1;stroke:none" 
11
+	d="m7.707031 3l-.707031.707031 6.125 6.125 1.167969 1.167969-1.167969 1.167969-6.125 6.125.707031.707031 6.125-6.125 1.875-1.875-1.875-1.875-6.125-6.125"
12
+    class="ColorScheme-Text"
13
+    />  
14
+</svg>

Loading…
Cancel
Save