Add missing markdown icon for code blocks

This commit is contained in:
Ryan Watters
2017-03-09 01:41:18 -06:00
parent 1995b5d4a7
commit 7e3ef07ab8
10 changed files with 17 additions and 20 deletions
+3 -3
View File
@@ -45,17 +45,17 @@ Hugo will take this Markdown and create a table of contents from `## Introductio
## Template Example
The following is an example of a [partial template][partials] used in a [single page template][]:
The following is an example of very basic [single page template][]:
{{% code file="layout/partials/toc.html" download="toc.html" %}}
```html
{{ partial "header.html" . }}
{{ define "main" }}
<aside id="toc">
{{ .TableOfContents }}
</aside>
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ partial "footer.html" . }}
{{ end }}
```
{{% /code %}}
File diff suppressed because one or more lines are too long
+9 -14
View File
@@ -1,11 +1,11 @@
@font-face {
font-family: 'fontello';
src: url('/fonts/fontello/fontello.eot?99201140');
src: url('/fonts/fontello/fontello.eot?99201140#iefix') format('embedded-opentype'),
url('/fonts/fontello/fontello.woff2?99201140') format('woff2'),
url('/fonts/fontello/fontello.woff?99201140') format('woff'),
url('/fonts/fontello/fontello.ttf?99201140') format('truetype'),
url('/fonts/fontello/fontello.svg?99201140#fontello') format('svg');
src: url('/fonts/fontello/fontello.eot?69840057');
src: url('/fonts/fontello/fontello.eot?69840057#iefix') format('embedded-opentype'),
url('/fonts/fontello/fontello.woff2?69840057') format('woff2'),
url('/fonts/fontello/fontello.woff?69840057') format('woff'),
url('/fonts/fontello/fontello.ttf?69840057') format('truetype'),
url('/fonts/fontello/fontello.svg?69840057#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
@@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?99201140#fontello') format('svg');
src: url('../font/fontello.svg?69840057#fontello') format('svg');
}
}
*/
@@ -59,23 +59,17 @@
.icon-attach:before { content: '\e814'; } /* '' */
.icon-attention:before { content: '\e815'; } /* '' */
.icon-bash:before { content: '\e808'; } /* '' */
.icon-shell:before { content: '\e808'; } /* '' */
.icon-sh:before { content: '\e808'; } /* '' */
.icon-bitbucket:before { content: '\e80a'; } /* '' */
.icon-cancel:before { content: '\e80e'; } /* '' */
.icon-chrome:before { content: '\e841'; } /* '' */
.icon-clipboard:before { content: '\f0c5'; } /* '' */
.icon-clock:before { content: '\e817'; } /* '' */
.icon-code:before { content: '\f121'; } /* '' */
.icon-cog-alt:before { content: '\e816'; } /* '' */
.icon-copy:before { content: '\f0c5'; } /* '' */
.icon-discuss:before { content: '\f03d'; } /* '' */
.icon-docs:before { content: '\f0c5'; } /* '' */
.icon-download:before { content: '\e806'; } /* '' */
.icon-edge:before { content: '\f282'; } /* '' */
.icon-file-pdf:before { content: '\f1c1'; } /* '' */
.icon-firefox:before { content: '\e840'; } /* '' */
.icon-forum:before { content: '\f03d'; } /* '' */
.icon-forums:before { content: '\f03d'; } /* '' */
.icon-freebsd:before { content: '\e800'; } /* '' */
.icon-github-alt:before { content: '\f056'; } /* '' */
@@ -83,7 +77,6 @@
.icon-gitter:before { content: '\e805'; } /* '' */
.icon-golang:before { content: '\e801'; } /* '' */
.icon-heart:before { content: '\e804'; } /* '' */
.icon-love:before { content: '\e804'; } /* '' */
.icon-home:before { content: '\e813'; } /* '' */
.icon-html:before { content: '\f13b'; } /* '' */
.icon-hugo:before { content: '\e802'; } /* '' */
@@ -92,6 +85,8 @@
.icon-link:before { content: '\e812'; } /* '' */
.icon-linux:before { content: '\f17c'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-md:before { content: '\e818'; } /* '' */
.icon-markdown:before { content: '\e818'; } /* '' */
.icon-netlify:before { content: '\e80b'; } /* '' */
.icon-opera:before { content: '\e842'; } /* '' */
.icon-pencil:before { content: '\e807'; } /* '' */
+1 -1
View File
@@ -124,7 +124,7 @@ code.language-yml:after {
code.language-md:after,
code.language-markdown:after {
font-family: 'fontello';
content: '\e80e';
content: '\e818';
}
.copy-button + .code-copy-content {
+1 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+2
View File
@@ -54,6 +54,8 @@
<glyph glyph-name="clock" unicode="&#xe817;" d="M500 546v-250q0-7-5-12t-13-5h-178q-8 0-13 5t-5 12v36q0 8 5 13t13 5h125v196q0 8 5 13t12 5h36q8 0 13-5t5-13z m232-196q0 83-41 152t-110 111-152 41-153-41-110-111-41-152 41-152 110-111 153-41 152 41 110 111 41 152z m125 0q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
<glyph glyph-name="md" unicode="&#xe818;" d="M1367-94l-1249 0c-59 0-106 47-106 106l0 685c0 59 47 106 106 106l1249 0c58 0 106-47 106-106l0-687c-3-57-50-104-106-104l0 0z m-1249 827c-20 0-36-16-36-36l0-687c0-21 16-37 36-37l1249 0c20 0 36 16 36 37l0 687c0 20-16 36-36 36l-1249 0 0 0z m104-617l0 475 139 0 140-176 140 176 140 0 0-478-140 0 0 275-140-176-140 176 0-272-139 0z m876 0l-209 232 140 0 0 243 139 0 0-246 140 0-210-229 0 0z" horiz-adv-x="1488" />
<glyph glyph-name="firefox" unicode="&#xe840;" d="M504-137c-216 0-387 126-466 306-87 200-17 521 139 663l-6-156c8 9 68 12 78-1 32 62 136 109 220 110-32-26-106-124-99-174 40-13 103-13 136-15 10-6 8-40-12-68-27-36-97-49-97-49l8-106-77 38c-26-64 35-120 97-110 69 12 94 57 142 54 49-2 68-29 61-54-7-30-59-25-59-25-44-70-103-100-198-92 144-119 338-11 387 86 50 97 7 242-43 283 59-25 99-51 120-107 11 124-46 266-149 349 193-56 311-205 314-444 3-239-211-488-496-488z" horiz-adv-x="1000" />
<glyph glyph-name="chrome" unicode="&#xe841;" d="M498 850c-147-1-291-67-387-186l154-237c39 111 150 182 267 170l414-22c-42 84-108 157-196 208-79 46-166 67-252 67z m-416-226c-52-79-82-173-82-274 0-250 183-457 423-494l128 252c-116-22-233 39-281 146l-188 370z m885-94l-282-15c76-89 82-221 13-317l-226-347c94-6 190 15 278 66 216 125 304 387 217 613z m-467-11c-93 0-169-76-169-169s76-169 169-169 169 76 169 169-76 169-169 169z" horiz-adv-x="1000" />

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.