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

github.com/IvanChou/hugo-theme-vec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md5
-rw-r--r--layouts/partials/header.html2
3 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 282f718..5c44039 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*~
.DS_Store
.sass-cache
+exampleSite/themes/ \ No newline at end of file
diff --git a/README.md b/README.md
index 680baa9..cb4bbd4 100644
--- a/README.md
+++ b/README.md
@@ -88,8 +88,11 @@ hugo server -t vec
```
+## Design By
+
+Cedric Fung(@vecio)
+
## License
Open sourced under [MIT license](https://github.com/IvanChou/hugo-theme-vec/blob/master/LICENSE.md).
-
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 06afda0..2d79b28 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -8,7 +8,7 @@
</li>
{{ range .Site.Menus.main }}
{{ $name := lower .Name }}
- <li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ end }}">
+ <li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ else if eq $title (pluralize $name) }}current{{ end }}">
<a href="{{ .URL }}">~/{{ lower .Name }}</a>
</li>
{{end}}