diff --git a/exampleSite/content/posts/deployments.md b/exampleSite/content/posts/deployments.md index 648f7eef..56aebf2e 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 631fe296..2af1b2ef 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 6b613973..b74272c6 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 3576a779..7851da35 100644 --- a/exampleSite/layouts/shortcodes/sprites.html +++ b/exampleSite/layouts/shortcodes/sprites.html @@ -1,5 +1,5 @@