diff --git a/.dictionary b/.dictionary index edc8e08..bd0cdd8 100644 --- a/.dictionary +++ b/.dictionary @@ -18,3 +18,10 @@ submodule GPL IcoMoon FontAwesome +macOS +ok +toc +ToC +relref +href +Emojify diff --git a/assets/sprites/geekblog.svg b/assets/sprites/geekblog.svg new file mode 100644 index 0000000..44db6ac --- /dev/null +++ b/assets/sprites/geekblog.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/exampleSite/content/contact.md b/exampleSite/content/contact.md index b225658..57e66d3 100644 --- a/exampleSite/content/contact.md +++ b/exampleSite/content/contact.md @@ -1,5 +1,5 @@ --- -title: "Get in touch" +title: Get in touch --- - **E-Mail:** mail [ett] example.com diff --git a/exampleSite/content/posts/emojies.md b/exampleSite/content/posts/emojies.md deleted file mode 100644 index 074070c..0000000 --- a/exampleSite/content/posts/emojies.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Emoji Support" -date: 2020-07-13T19:00:00+02:00 -authors: - - john-doe - - Special User -tags: - - Documentation ---- - -Emoji can be enabled in a Hugo project in a number of ways. - - - -The [emojify](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). - -To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files: - - - - -{{< emojify ":see_no_evil:" >}} :see_no_evil: -{{< emojify ":hear_no_evil:" >}} :hear_no_evil: -{{< emojify ":speak_no_evil:" >}} :speak_no_evil: - - - - -The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. - -{{< hint info >}} -**Info**\ -The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack. -{{< /hint >}} - -**Example:** - - - -{{< highlight html "linenos=table" >}} -.emoji { - font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; -} -{{< /highlight >}} - - diff --git a/exampleSite/content/posts/getting-started.md b/exampleSite/content/posts/getting-started.md index 240d99a..74d9a8f 100644 --- a/exampleSite/content/posts/getting-started.md +++ b/exampleSite/content/posts/getting-started.md @@ -1,5 +1,5 @@ --- -title: "Getting Started" +title: Getting Started date: 2020-07-15T20:00:00+02:00 authors: - john-doe @@ -497,7 +497,7 @@ my_projcet/ │ ├── ... ``` -That's it! The theme will auto-load all available SVG sprites provided in the assets folder. To use the icons, you need to lookup the id of the icon. An example would be `thumbs-up` {{< icon "thumbs-up" >}}. +That's it! The theme will auto-load all available SVG sprites provided in the assets folder. To use the icons, you need to lookup the id of the icon. An example would be `thumbs-up` {{< icon "thumbs-up" >}}. There is also a [shortcode](/posts/shortcodes/#icon) available ## Build-in icons diff --git a/exampleSite/content/posts/markdown.md b/exampleSite/content/posts/markdown.md index 7de36f8..d1298d0 100644 --- a/exampleSite/content/posts/markdown.md +++ b/exampleSite/content/posts/markdown.md @@ -1,5 +1,5 @@ --- -title: "Markdown syntax" +title: Markdown syntax date: 2020-07-13T20:00:00+02:00 authors: - john-doe diff --git a/exampleSite/content/posts/mermaid.md b/exampleSite/content/posts/mermaid.md new file mode 100644 index 0000000..627fdd5 --- /dev/null +++ b/exampleSite/content/posts/mermaid.md @@ -0,0 +1,55 @@ +--- +title: Mermaid +date: 2021-05-23T20:00:00+01:00 +authors: + - john-doe +tags: + - Documentation + - Shortcodes +weight: 10 +--- + +[Mermaid](https://mermaidjs.github.io/) is library for generating SVG charts and diagrams from text. + + + +## Example + +{{< columns >}} + + +```tpl +{{}} +sequenceDiagram + Alice->>Bob: Hello Bob, how are you? + alt is sick + Bob->>Alice: Not so good :( + else is well + Bob->>Alice: Feeling fresh like a daisy + end + opt Extra response + Bob->>Alice: Thanks for asking + end +{{}} +``` + +<---> + + + +{{< mermaid class="text-center" >}} +sequenceDiagram + Alice->>Bob: Hello Bob, how are you? + alt is sick + Bob->>Alice: Not so good :( + else is well + Bob->>Alice: Feeling fresh like a daisy + end + opt Extra response + Bob->>Alice: Thanks for asking + end +{{< /mermaid >}} + + + +{{< /columns >}} diff --git a/exampleSite/content/posts/post-short.md b/exampleSite/content/posts/post-short.md index 17c78c6..660bc1b 100644 --- a/exampleSite/content/posts/post-short.md +++ b/exampleSite/content/posts/post-short.md @@ -1,5 +1,5 @@ --- -title: "Short post" +title: Short post date: 2020-06-22T20:00:00+02:00 authors: - john-doe diff --git a/exampleSite/content/posts/post-with-images/images/forest-1.jpg b/exampleSite/content/posts/post-with-images/images/forest-1.jpg new file mode 100644 index 0000000..d6e4d47 Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-1.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-2.jpg b/exampleSite/content/posts/post-with-images/images/forest-2.jpg new file mode 100644 index 0000000..ba4b991 Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-2.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-3.jpg b/exampleSite/content/posts/post-with-images/images/forest-3.jpg new file mode 100644 index 0000000..e139da1 Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-3.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-4.jpg b/exampleSite/content/posts/post-with-images/images/forest-4.jpg new file mode 100644 index 0000000..2cbb98d Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-4.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-5.jpg b/exampleSite/content/posts/post-with-images/images/forest-5.jpg new file mode 100644 index 0000000..fbaf31f Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-5.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-6.jpg b/exampleSite/content/posts/post-with-images/images/forest-6.jpg new file mode 100644 index 0000000..46c166b Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-6.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/forest-7.jpg b/exampleSite/content/posts/post-with-images/images/forest-7.jpg new file mode 100644 index 0000000..3b3ecdd Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/forest-7.jpg differ diff --git a/exampleSite/content/posts/post-with-images/images/testimage.jpg b/exampleSite/content/posts/post-with-images/images/testimage.jpg deleted file mode 100644 index 09bdc9e..0000000 Binary files a/exampleSite/content/posts/post-with-images/images/testimage.jpg and /dev/null differ diff --git a/exampleSite/content/posts/post-with-images/index.md b/exampleSite/content/posts/post-with-images/index.md index df3f383..631fe29 100644 --- a/exampleSite/content/posts/post-with-images/index.md +++ b/exampleSite/content/posts/post-with-images/index.md @@ -1,22 +1,52 @@ --- -title: "Post with images" +title: Post with images date: 2020-06-22T20:00:00+02:00 authors: - - richard-roe - john-doe tags: - - Open Source - - Development + - Documentation + - Shortcodes +weight: 20 resources: - name: feature src: "images/feature.jpg" params: credits: "[Angelina Litvin](https://unsplash.com/@linalitvina) on [Unsplash](https://unsplash.com/s/photos/writing)" - - name: testimage - src: "images/testimage.jpg" - title: This is a test image + - name: forest-1 + src: "images/forest-1.jpg" + title: Forest (1) params: - credits: "[David Pennington](https://unsplash.com/@dtpennington) on [Unsplash](https://unsplash.com/s/photos/test)" + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-2 + src: "images/forest-2.jpg" + title: Forest (2) + params: + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-3 + src: "images/forest-3.jpg" + title: Forest (3) + params: + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-4 + src: "images/forest-4.jpg" + title: Forest (4) + params: + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-5 + src: "images/forest-5.jpg" + title: Forest (5) + params: + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-6 + src: "images/forest-6.jpg" + title: Forest (6) + params: + credits: "[Asher Ward](https://unsplash.com/@the_asher_ward) on [Unsplash](https://unsplash.com/s/photos/forest)" + - name: forest-7 + src: "images/forest-7.jpg" + title: Forest (7) + params: + credits: "[Asher Ward](https://unsplash.com/@the_asher_ward) on [Unsplash](https://unsplash.com/s/photos/forest)" --- If you need more flexibility for your embedded images, you could use the `img` shortcode. It is using Hugo's @@ -24,12 +54,12 @@ If you need more flexibility for your embedded images, you could use the `img` s **Attributes:** -| Name | Usage | default | -| ------------- | -------------------------------------------------------------------------------------------------------------- | ----------------- | -| name (string) | Name of the image resource defined in your front matter. | empty | -| alt (string) | Description for displayed image. | resource `.Title` | -| size (string) | Thumbnail size (tiny\|small\|medium\|large). | empty | -| lazy (bool) | Enable or disable image lazy loading. Can be controlled globally by site parameter `geekblogImageLazyLoading`. | true | +| Name | Usage | default | +| ------------- | ------------------------------------------------------------------------------------------------------------- | ----------------- | +| name (string) | Name of the image resource defined in your front matter. | empty | +| alt (string) | Description for displayed image. | resource `.Title` | +| size (string) | Thumbnail size (tiny\|small\|medium\|large). | empty | +| lazy (bool) | Enable or disable image lazy loading. Can be controlled globally by site parameter `geekdocImageLazyLoading`. | true | **Example:** @@ -40,16 +70,88 @@ Define your resources in the page front matter, custom parameter `params.credits ```md --- resources: - - name: testimage - src: "images/testimage.jpg" - title: This is a test image + - name: forest-1 + src: "images/forest-1.jpg" + title: Forest (1) params: - credits: "[David Pennington](https://unsplash.com/@dtpennington) on [Unsplash](https://unsplash.com/s/photos/test)" + credits: "[Jay Mantri](https://unsplash.com/@jaymantri) on [Unsplash](https://unsplash.com/s/photos/forest)" --- -{{}} +{{}} ``` -{{< img name="testimage" size="small" lazy=true >}} +**Demo:** + + + +{{< img name="forest-1" lazy=false >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-2" lazy=true >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-3" lazy=true >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-4" lazy=true >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-5" lazy=true >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-6" lazy=true >}} + + + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + + + +{{< img name="forest-7" lazy=true >}} + + diff --git a/exampleSite/content/posts/shortcodes.md b/exampleSite/content/posts/shortcodes.md new file mode 100644 index 0000000..6b61397 --- /dev/null +++ b/exampleSite/content/posts/shortcodes.md @@ -0,0 +1,262 @@ +--- +title: Shortcodes +date: 2021-05-23T20:00:00+01:00 +authors: + - john-doe +tags: + - Documentation + - Shortcodes +geekblogToC: 1 +weight: 5 +--- + + + +The theme bundles some handy shortcodes that tries to cover common situations. + + + +{{< toc >}} + +## Buttons + +Buttons are styled links that can lead to local page or external link. + +```tpl +{{}}Get Home{{}} +{{}}Contribute{{}} +``` + +### Example + +{{< button relref="/" >}}Get Home{{< /button >}} +{{< button href="https://github.com/thegeeklab/hugo-geekdoc" >}}Contribute{{< /button >}} + +## Columns + +The Columns shortcode can be used to organize content side-by-side (horizontally) for better readability. + +```html +{{}} +# Left Content +Dolor sit, sumo unique argument um no ... + +<---> + +# Mid Content +Dolor sit, sumo unique argument um no ... + +<---> + +# Right Content +Dolor sit, sumo unique argument um no ... +{{}} +``` + +### Example + +{{< columns >}} + +#### Left + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. + +<---> + +#### Mid Content + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. + +<---> + +#### Right Content + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. +{{< /columns >}} + +## Emojify + +Emoji can be enabled in a Hugo project in a number of ways. + +The [emojify](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files: + +| Result | Inline | Shortcode | +| --------------------------------- | ----------------- | --------------------------------------- | +| {{< emojify ":see_no_evil:" >}} | `:see_no_evil:` | `{{}}` | +| {{< emojify ":hear_no_evil:" >}} | `:hear_no_evil:` | `{{}}` | +| {{< emojify ":speak_no_evil:" >}} | `:speak_no_evil:` | `{{}}` | + +The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. + +{{< hint info >}} +**Info**\ +The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack. +{{< /hint >}} + +**Styling:** + + + +{{< highlight html "linenos=table" >}} +.emoji { + font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; +} +{{< /highlight >}} + + + +## Expand + +Expand shortcode can help to decrease clutter on screen by hiding part of text. Expand content by clicking on it. + +### Example + +#### Default + +```tpl +{{}} +## Markdown content +Dolor sit, sumo unique ... +{{}} +``` + +{{< expand >}} + +##### Markdown content + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /expand >}} + +#### With Custom Label + +```tpl +{{}} +## Markdown content +Dolor sit, sumo unique ... +{{}} +``` + +{{< expand "Custom Label" "..." >}} + +##### More markdown + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts +feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious +copious quo ad. Stet probates in duo. +{{< /expand >}} + +## Hint + +Hint shortcode can be used as hint/alerts/notification block. +There are four colors to choose: `info`, `ok`, `warning` and `danger`. + +```tpl +{{}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. + Ornateness bland it ex enc, est yeti am bongo detract re. +{{}} +``` + +### Example + +{{< hint info >}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. +Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /hint >}} + +{{< hint ok >}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. +Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /hint >}} + +{{< hint warning >}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. +Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /hint >}} + +{{< hint danger >}} +**Markdown content**\ +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. +Ornateness bland it ex enc, est yeti am bongo detract re. +{{< /hint >}} + +## Icon + +Simple shortcode to include icons from SVG sprites outside of menus. + +```tpl +{{}} +``` + +### Example + +| Result | Usage | +| -------------------------- | -------------------------------- | +| {{< icon "thumbs-up" >}} | `{{}}` | +| {{< icon "thumbs-down" >}} | `{{}}` | +| {{< icon "laugh" >}} | `{{}}` | +| {{< icon "lemon" >}} | `{{}}` | +| {{< icon "moon" >}} | `{{}}` | + +## Tabs + +Tabs let you organize content by context, for example installation instructions for each supported platform. + +```tpl +{{}} +{{}} # macOS Content {{}} +{{}} # Linux Content {{}} +{{}} # Windows Content {{}} +{{}} +``` + +### Example + +{{< tabs "uniqueid" >}} +{{< tab "macOS" >}} + +#### macOS + +This is tab **macOS** content. + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad +prompts feud gait, quid exercise emeritus bis e. In pro quints consequent, denim +fastidious copious quo ad. Stet probates in duo. +{{< /tab >}} + +{{< tab "Linux" >}} + +#### Linux + +This is tab **Linux** content. + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad +prompts feud gait, quid exercise emeritus bis e. In pro quints consequent, denim +fastidious copious quo ad. Stet probates in duo. +{{< /tab >}} + +{{< tab "Windows" >}} + +#### Windows + +This is tab **Windows** content. + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates +investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad +prompts feud gait, quid exercise emeritus bis e. In pro quints consequent. +{{< /tab >}} +{{< /tabs >}} diff --git a/exampleSite/content/posts/sticky.md b/exampleSite/content/posts/sticky.md index e6897f5..9577e7a 100644 --- a/exampleSite/content/posts/sticky.md +++ b/exampleSite/content/posts/sticky.md @@ -1,5 +1,5 @@ --- -title: "Simple sticky posts" +title: Simple sticky posts weight: 1 date: 2020-06-13T00:06:00+02:00 authors: diff --git a/exampleSite/content/posts/toc.md b/exampleSite/content/posts/toc.md new file mode 100644 index 0000000..0644b2a --- /dev/null +++ b/exampleSite/content/posts/toc.md @@ -0,0 +1,48 @@ +--- +title: ToC +date: 2021-05-23T20:00:00+01:00 +authors: + - john-doe +tags: + - Documentation + - Shortcodes +weight: 10 +--- + +Simple wrapper to generate a page Table of Content from a shortcode. + +```tpl +{{}} +``` + +{{< toc >}} + +## Level 1 + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious copious quo ad. Stet probates in duo. + +## Level 2 + +Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram. + +### Level 2.1 + +Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram. + +#### Level 2.1.1 + +Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. + +##### Level 2.1.1.1 + +In pro quints consequent, denim fastidious copious quo ad. + +###### Level 2.1.1.1.1 + +In pro quints consequent, denim fastidious copious quo ad. + +### Level 2.2 + +Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts feud gait, quid exercise emeritus bis e. + +Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram. diff --git a/exampleSite/data/sprites/geekdoc.json b/exampleSite/data/sprites/geekdoc.json new file mode 100644 index 0000000..3397932 --- /dev/null +++ b/exampleSite/data/sprites/geekdoc.json @@ -0,0 +1,31 @@ +[ + "arrow_back", + "arrow_left", + "arrow_right", + "bitbucket", + "bookmarks", + "clear", + "cloud_off", + "code", + "contacts", + "create", + "date", + "download", + "email", + "git", + "github", + "gitlab", + "heart", + "keyborad_arrow_left", + "keyborad_arrow_right", + "link", + "menu", + "notifications", + "person", + "pin", + "rss_feed", + "search", + "security", + "timer", + "tree" +] \ No newline at end of file diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index 7f48293..a541717 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -16,21 +16,19 @@
- {{ $caption }} + + + {{ $caption }} + {{ with $caption }}
{{ . }}{{ with $source.Params.credits }} ({{ . | $.Page.RenderString }}){{ end }}
diff --git a/package.json b/package.json index 63b1b56..d886e57 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "gulp": "4.0.2", "gulp-autoprefixer": "7.0.1", "gulp-clean-css": "4.3.0", - "gulp-filelist": "^2.0.5", + "gulp-filelist": "2.0.5", "gulp-iconfont": "11.0.0", "gulp-real-favicon": "0.3.2", "gulp-rename": "2.0.0",