Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kishaningithub/hugo-creative-portfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishan B <kishancs46@gmail.com>2017-11-03 21:22:35 +0300
committerGitHub <noreply@github.com>2017-11-03 21:22:35 +0300
commit5d25fd41af64e0e18859cbe3446df12c73660be9 (patch)
tree39ca4d4ff254d015cd8faddc0cd9bfa3630f9227
parentb73d42130f91764aa30437e963af203e4d513b8e (diff)
parent375e000abdb49c1a0c0851f6acbd82f72b89beba (diff)
Merge pull request #31 from nazareno/master
Fix for sidebar link when baseurl is not "/"
-rw-r--r--README.md2
-rw-r--r--layouts/partials/sidebar.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6b83e72..84b4478 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ For more information read the official [setup guide](https://gohugo.io/overview/
## Configuration
-After installing the Universal theme successfully, we recommend you to take a look at the [exampleSite](https://github.com/kishaningithub/hugo-creative-portfolio-theme/tree/master/exampleSite) directory. You will find a working Hugo site configured with the Universal theme that you can use as a starting point for your site.
+After installing the Creative portfolio theme successfully, we recommend you to take a look at the [exampleSite](https://github.com/kishaningithub/hugo-creative-portfolio-theme/tree/master/exampleSite) directory. You will find a working Hugo site configured with the Creative portfolio theme that you can use as a starting point for your site.
First, let's take a look at the [config.toml](https://github.com/kishaningithub/hugo-creative-portfolio-theme/tree/master/exampleSite/config.toml). It will be useful to learn how to customize your site. Feel free to play around with the settings.
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index f355b00..2b72681 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,6 +1,6 @@
<div id="sidebar" class="col-xs-6 col-sm-4 col-md-3 sidebar-offcanvas">
<div class="sidebar-content">
- <h1 class="sidebar-heading"><a href="/">{{ .Site.Title }}</a></h1>
+ <h1 class="sidebar-heading"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
{{ range .Site.Params.sidebarAbout }}
<p class="sidebar-p">{{ . | safeHTML }}</p>
{{ end }}