diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2021-05-24 14:41:38 +0300 |
---|---|---|
committer | Robert Kaussow <mail@thegeeklab.de> | 2021-05-24 14:41:38 +0300 |
commit | ef6a2c24f155296cf17e33a3a111d1b3e838cfa7 (patch) | |
tree | fcfa5fca950fc0161dff1159d6fc545b95acff26 /exampleSite | |
parent | 8b272b0225ff91e3c4df586613f9fb35c458fb80 (diff) |
[skip ci] fix theme referencesv0.10.0
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/posts/deployments.md | 6 | ||||
-rw-r--r-- | exampleSite/content/posts/post-with-images/index.md | 12 | ||||
-rw-r--r-- | exampleSite/content/posts/shortcodes.md | 4 | ||||
-rw-r--r-- | exampleSite/layouts/shortcodes/sprites.html | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/exampleSite/content/posts/deployments.md b/exampleSite/content/posts/deployments.md index 648f7ee..56aebf2 100644 --- a/exampleSite/content/posts/deployments.md +++ b/exampleSite/content/posts/deployments.md @@ -21,7 +21,7 @@ Add a Makefile to your repository to bundle the required steps. ```Makefile THEME_VERSION := v0.8.2 -THEME := hugo-geekdoc +THEME := hugo-geekblog BASEDIR := docs THEMEDIR := $(BASEDIR)/themes .PHONY: doc @@ -73,6 +73,6 @@ If you want to deploy your side to a subdirectory of your domain, some extra ste There are two ways to get Markdown links or images working: - Use the absolute path including your subdirectory e.g. `[testlink](/demo/example-site)` -- Overwrite the HTML base in your site configuration with `geekdocOverwriteHTMLBase = true` and use the relative path e.g. `[testlink](example-site)` +- Overwrite the HTML base in your site configuration with `geekblogOverwriteHTMLBase = true` and use the relative path e.g. `[testlink](example-site)` -But there is another special case if you use `geekdocOverwriteHTMLBase = true`. If you use anchors in your Markdown links you have to ensure to always include the page path. As an example `[testlink](#some-anchor)` will resolve to `http://localhost/demo/#some-anchor` and not automatically include the current page! +But there is another special case if you use `geekblogOverwriteHTMLBase = true`. If you use anchors in your Markdown links you have to ensure to always include the page path. As an example `[testlink](#some-anchor)` will resolve to `http://localhost/demo/#some-anchor` and not automatically include the current page! diff --git a/exampleSite/content/posts/post-with-images/index.md b/exampleSite/content/posts/post-with-images/index.md index 631fe29..2af1b2e 100644 --- a/exampleSite/content/posts/post-with-images/index.md +++ b/exampleSite/content/posts/post-with-images/index.md @@ -54,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 `geekdocImageLazyLoading`. | 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 `geekblogImageLazyLoading`. | true | **Example:** diff --git a/exampleSite/content/posts/shortcodes.md b/exampleSite/content/posts/shortcodes.md index 6b61397..b74272c 100644 --- a/exampleSite/content/posts/shortcodes.md +++ b/exampleSite/content/posts/shortcodes.md @@ -24,13 +24,13 @@ Buttons are styled links that can lead to local page or external link. ```tpl {{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}} -{{</* button href="https://github.com/thegeeklab/hugo-geekdoc" */>}}Contribute{{</* /button */>}} +{{</* button href="https://github.com/thegeeklab/hugo-geekblog" */>}}Contribute{{</* /button */>}} ``` ### Example {{< button relref="/" >}}Get Home{{< /button >}} -{{< button href="https://github.com/thegeeklab/hugo-geekdoc" >}}Contribute{{< /button >}} +{{< button href="https://github.com/thegeeklab/hugo-geekblog" >}}Contribute{{< /button >}} ## Columns diff --git a/exampleSite/layouts/shortcodes/sprites.html b/exampleSite/layouts/shortcodes/sprites.html index 3576a77..7851da3 100644 --- a/exampleSite/layouts/shortcodes/sprites.html +++ b/exampleSite/layouts/shortcodes/sprites.html @@ -1,5 +1,5 @@ <div class="flex flex-wrap justify-center"> - {{ range .Site.Data.sprites.geekdoc }} + {{ range .Site.Data.sprites.geekblog }} <div class="flex flex-grid icon-grid"> <div class="flex align-center justify-center icon-grid__line"> <svg class="icon gblog_{{ . }}"><use xlink:href="#gblog_{{ . }}"></use></svg> |