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 {{}}Get Home{{}} -{{}}Contribute{{}} +{{}}Contribute{{}} ``` ### 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 @@
- {{ range .Site.Data.sprites.geekdoc }} + {{ range .Site.Data.sprites.geekblog }}
diff --git a/gulpfile.js b/gulpfile.js index 000d619..a86f30d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -170,7 +170,7 @@ gulp.task("svg-sprite-list", function () { return gulp .src("src/icons/*.svg") - .pipe(filelist("exampleSite/data/sprites/geekdoc.json", config)) + .pipe(filelist("exampleSite/data/sprites/geekblog.json", config)) .pipe(gulp.dest(".")); });