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

github.com/rhnvrm/bodhi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Verma <hello@rohanverma.net>2020-05-19 23:03:04 +0300
committerRohan Verma <hello@rohanverma.net>2020-05-19 23:03:04 +0300
commit2b392edef0d237d2b9e820b12bb7963ae4bdd815 (patch)
tree3e5ae3f1a267cc26c1024525fea758da6e97cb3e
parent475adc4d826cef1564621664dbcceccf5dd13790 (diff)
fix: updates for hugoThemes
-rw-r--r--images/screenshot.pngbin0 -> 138011 bytes
-rw-r--r--images/tn.pngbin0 -> 106337 bytes
-rw-r--r--layouts/partials/menu.html12
-rw-r--r--theme.toml11
4 files changed, 10 insertions, 13 deletions
diff --git a/images/screenshot.png b/images/screenshot.png
new file mode 100644
index 0000000..b6c4336
--- /dev/null
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..164f0fe
--- /dev/null
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 42a1696..6168efd 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -1,18 +1,18 @@
<div id="menu">
{{ $currentPage := . }}
{{ range .Site.Menus.main_left }}
- {{if eq $currentPage.URL .URL }}<b>{{end}}
+ {{if eq $currentPage.Params.url .URL }}<b>{{end}}
<a href="{{ .URL }}">{{ .Name }}</a>
- {{if eq $currentPage.URL .URL }}</b>{{end}}
+ {{if eq $currentPage.Params.url .URL }}</b>{{end}}
{{ end }}
<span class="right">
{{ range .Site.Menus.main_right }}
- {{if eq $currentPage.URL .URL }}<b>{{end}}
+ {{if eq $currentPage.Params.url .URL }}<b>{{end}}
<a href="{{ .URL }}">{{ .Name }}</a>
- {{if eq $currentPage.URL .URL }}</b>{{end}}
+ {{if eq $currentPage.Params.url .URL }}</b>{{end}}
{{ end }}
- {{if eq $currentPage.URL "/search/" }}<b>{{end}}
+ {{if eq $currentPage.Params.url "/search/" }}<b>{{end}}
<a href="/search">search<svg aria-hidden="true" class="i-search" viewBox="0 0 32 32" width="10" height="10" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"><circle cx="14" cy="14" r="12"></circle><path d="M23 23l7 7"></path></svg></a>
- {{if eq $currentPage.URL "/search/" }}</b>{{end}}
+ {{if eq $currentPage.Params.url "/search/" }}</b>{{end}}
</span>
</div>
diff --git a/theme.toml b/theme.toml
index 4da484c..47fcb6b 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,14 +1,11 @@
-# theme.toml template for a Hugo theme
-# See https://github.com/gohugoio/hugoThemes#themetoml for an example
-
name = "Bodhi Theme"
license = "MIT"
-licenselink = "https://github.com/rhnvrm/bodhi-theme/blob/master/LICENSE"
-description = "Minimal theme for Hugo"
+licenselink = "https://github.com/rhnvrm/bodhi/blob/master/LICENSE"
+description = "A simple, minimal, personal website theme for Hugo."
homepage = "https://rohanverma.net/hugo/themes/bodhi"
-tags = []
+tags = ["blog", "minimal", "simple", "personal", "google-analytics", "minimalist", "search"]
features = []
-min_version = "0.41.0"
+min_version = "0.70.0"
[author]
name = "Rohan Verma"