Skip to content

Commit

Permalink
Fixed theme's requirements for the gohugo theme site.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lednerb committed Aug 30, 2018
1 parent 5029a36 commit 14a03a3
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.9.0] - 2018-08-16
## [1.9.1] - 2018-08-30
### Fixed
- Issues with the GoHugo Theme's requirements for the themes.gohugo.io site


## [1.9.0] - 2018-08-30
### Added
- All-Contributors list to README.md
- Chinese language, thanks to @AgennyBrof
Expand Down Expand Up @@ -138,7 +143,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Some typos


[Unreleased]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.0...master
[Unreleased]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.1...master
[1.9.1]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.0...1.9.1
[1.9.0]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.8.1...1.9.0
[1.8.1]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.8.0...1.8.1
[1.8.0]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.7.1...1.8.0
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title = "My cool new Blog"
baseURL = "https://lednerb.github.io/bilberry-hugo-theme"
baseURL = "https://example.com"
theme = "bilberry-hugo-theme"

enableRobotsTXT = true
Expand Down
Binary file removed images/patreon-button.png
Binary file not shown.
Binary file modified images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/tn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions layouts/index.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{{- $.Scratch.Add "index" slice -}}

{{- range $name, $taxonomy := .Site.Taxonomies.categories -}}
{{- $.Scratch.Add "index" (dict "url" (print "/categories/" $name | relURL) "title" ($name | humanize) "iconClass" "fa-folder" "type" "category" "objectID" (print "/categories/" $name | relURL) ) -}}
{{- $.Scratch.Add "index" (dict "url" (print "/categories/" $name | absURL) "title" ($name | humanize) "iconClass" "fa-folder" "type" "category" "objectID" (print "/categories/" $name | absURL) ) -}}
{{- end -}}

{{- range $name, $taxonomy := .Site.Taxonomies.author -}}
{{- $.Scratch.Add "index" (dict "url" (print "/author/" $name | relURL) "title" ($name | humanize) "iconClass" "fa-user" "type" "author" "objectID" (print "/author/" $name | relURL) ) -}}
{{- $.Scratch.Add "index" (dict "url" (print "/author/" $name | absURL) "title" ($name | humanize) "iconClass" "fa-user" "type" "author" "objectID" (print "/author/" $name | absURL) ) -}}
{{- end -}}

{{- range $name, $taxonomy := .Site.Taxonomies.tags -}}
{{- $.Scratch.Add "index" (dict "url" (print "/tags/" $name | relURL) "title" ($name | humanize) "iconClass" "fa-tag" "type" "tag" "objectID" (print "/tags/" $name | relURL) ) -}}
{{- $.Scratch.Add "index" (dict "url" (print "/tags/" $name | absURL) "title" ($name | humanize) "iconClass" "fa-tag" "type" "tag" "objectID" (print "/tags/" $name | absURL) ) -}}
{{- end -}}

{{- range where .Pages "Type" "not in" (slice "page" "json") -}}
Expand All @@ -29,7 +29,7 @@
{{- .Scratch.Set "iconClass" "fa-music" -}}
{{- end -}}

{{- $.Scratch.Add "index" (dict "url" .RelPermalink "title" .Title "tags" .Params.tags "categories" .Params.categories "author" .Params.author "type" .Type "language" .Lang "iconClass" (.Scratch.Get "iconClass") "objectID" (.RelPermalink | md5) ) -}}
{{- $.Scratch.Add "index" (dict "url" .Permalink "title" .Title "tags" .Params.tags "categories" .Params.categories "author" .Params.author "type" .Type "language" .Lang "iconClass" (.Scratch.Get "iconClass") "objectID" (.Permalink | md5) ) -}}
{{- end -}}
{{- end -}}

Expand Down
4 changes: 2 additions & 2 deletions theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description = "Bilberry is a premium hugo theme with a lot of nice features. It
homepage = "https://lednerb.github.io/bilberry-hugo-theme/"
tags = ["blog", "personal", "responsive", "algolia", "disqus", "search", "font awesome", "pages", "posts", "multilingual", "highlight.js", "syntax highlighting", "premium", "shortcuts"]
features = ["search", "algolia integration", "post types", "i18n", 'multilangual', 'blog', 'google analytics', 'comments', 'disqus integration', "highlight.js", "syntax highlighting", "premium theme", "shortcuts"]
min_version = "0.32"
min_version = "0.46"

theme_version = "2.0.0"
theme_version = "1.9.1"

[author]
name = "Lednerb | Sascha Brendel"
Expand Down

0 comments on commit 14a03a3

Please sign in to comment.