diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 000000000..64a9089a9 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,183 @@ +{ + "projectName": "bilberry-hugo-theme", + "projectOwner": "Lednerb", + "repoType": "github", + "repoHost": "https://github.com", + "files": [ + "README.md" + ], + "imageSize": 100, + "commit": true, + "contributors": [ + { + "login": "Lednerb", + "name": "Sascha Brendel", + "avatar_url": "https://avatars1.githubusercontent.com/u/2056876?v=4", + "profile": "https://sascha-brendel.de", + "contributions": [ + "question", + "blog", + "code", + "design", + "doc", + "translation" + ] + }, + { + "name": "Anna Brendel", + "avatar_url": "https://avatars1.githubusercontent.com/u/2056876?v=4", + "profile": "https://anna-brendel.de", + "contributions": [ + "ideas", + "translation" + ] + }, + { + "login": "gigovich", + "name": "Givi Khojanashvili", + "avatar_url": "https://avatars2.githubusercontent.com/u/1560404?v=4", + "profile": "https://www.linkedin.com/in/khojanashvili/", + "contributions": [ + "code" + ] + }, + { + "login": "anhchungite", + "name": "Chung Tran Anh", + "avatar_url": "https://avatars2.githubusercontent.com/u/28822504?v=4", + "profile": "https://github.com/anhchungite", + "contributions": [ + "code", + "translation" + ] + }, + { + "login": "cripplet", + "name": "Minke Zhang", + "avatar_url": "https://avatars0.githubusercontent.com/u/3048682?v=4", + "profile": "http://blogzhang.com", + "contributions": [ + "code" + ] + }, + { + "login": "aerohub", + "name": "Pavel Kanyshev", + "avatar_url": "https://avatars1.githubusercontent.com/u/16353578?v=4", + "profile": "https://github.com/aerohub", + "contributions": [ + "code", + "translation" + ] + }, + { + "login": "marcelkraus", + "name": "Marcel Kraus", + "avatar_url": "https://avatars3.githubusercontent.com/u/3541050?v=4", + "profile": "https://www.marcelkraus.de", + "contributions": [ + "code" + ] + }, + { + "login": "NickBusey", + "name": "Nick Busey", + "avatar_url": "https://avatars2.githubusercontent.com/u/280825?v=4", + "profile": "http://nickbusey.com/", + "contributions": [ + "code" + ] + }, + { + "login": "lkorzen", + "name": "lkorzen", + "avatar_url": "https://avatars1.githubusercontent.com/u/4789253?v=4", + "profile": "https://github.com/lkorzen", + "contributions": [ + "translation" + ] + }, + { + "login": "ChrisStayte", + "name": "Chris Stayte", + "avatar_url": "https://avatars1.githubusercontent.com/u/12019608?v=4", + "profile": "http://www.chrisstayte.com", + "contributions": [ + "bug" + ] + }, + { + "login": "meAmidos", + "name": "Dmitry Matrosov", + "avatar_url": "https://avatars0.githubusercontent.com/u/405277?v=4", + "profile": "https://twitter.com/amidos_me", + "contributions": [ + "code" + ] + }, + { + "login": "Embraser01", + "name": "Marc-Antoine", + "avatar_url": "https://avatars2.githubusercontent.com/u/8802277?v=4", + "profile": "https://marca.finch4.xyz/", + "contributions": [ + "code", + "bug" + ] + }, + { + "login": "nnja", + "name": "Nina Zakharenko", + "avatar_url": "https://avatars1.githubusercontent.com/u/2030983?v=4", + "profile": "http://nnja.io", + "contributions": [ + "code" + ] + }, + { + "login": "nisargap", + "name": "Nisarga", + "avatar_url": "https://avatars1.githubusercontent.com/u/7719018?v=4", + "profile": "https://github.com/nisargap", + "contributions": [ + "code" + ] + }, + { + "login": "pdoro", + "name": "Pablo Domingo Rojo", + "avatar_url": "https://avatars2.githubusercontent.com/u/2817480?v=4", + "profile": "https://github.com/pdoro", + "contributions": [ + "code" + ] + }, + { + "login": "rabarar", + "name": "Rob Baruch", + "avatar_url": "https://avatars3.githubusercontent.com/u/4433144?v=4", + "profile": "https://github.com/rabarar", + "contributions": [ + "code" + ] + }, + { + "login": "GMpet", + "name": "Taoshi", + "avatar_url": "https://avatars0.githubusercontent.com/u/9339576?v=4", + "profile": "https://github.com/GMpet", + "contributions": [ + "translation" + ] + }, + { + "login": "nonumeros", + "name": "nonumeros", + "avatar_url": "https://avatars1.githubusercontent.com/u/11535575?v=4", + "profile": "https://github.com/nonumeros", + "contributions": [ + "code" + ] + } + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 000938134..eaa47b947 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [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 +- Korean language, thanks to @hithat (user at poeditor.com) + ## [1.8.1] - 2018-08-16 ### Added - Africans language @@ -132,7 +143,9 @@ 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.8.1...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 [1.7.1]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.7.0...1.7.1 diff --git a/README.md b/README.md index ff009675f..f6fecdb67 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ ## Bilberry Hugo Theme +[![All Contributors](https://img.shields.io/badge/all_contributors-18-orange.svg?style=flat-square)](#contributors) [![GitHub version](https://img.shields.io/github/release/Lednerb/bilberry-hugo-theme/all.svg?style=flat-square)](https://github.com/Lednerb/bilberry-hugo-theme/releases) [![License](https://img.shields.io/github/license/Lednerb/bilberry-hugo-theme.svg?style=flat-square)](https://github.com/Lednerb/bilberry-hugo-theme/blob/master/LICENSE.md) [![Discord](https://img.shields.io/discord/479643633814077465.svg?style=flat-square&label=Discord%20Chat&colorB=7289da)](https://discord.gg/vZVHJ4j) @@ -33,8 +34,9 @@ If you like this theme and/or use it for commercial purposes, please support me! - [CSS and JS modules](#css-and-js-modules) - [Translations](#translations) - [Credits](#credits) -- [License](#license) - [Support and Discussions](#support-and-discussions) +- [Contributors](#contributors) +- [License](#license) ## Quick Start @@ -242,12 +244,25 @@ Bilberry is a theme for the great [HUGO static site generator](https://gohugo.io A big thank you goes to [@Ipstenu](https://github.com/Ipstenu) for his help in [this thread](https://discourse.gohugo.io/t/search-index-json-file-for-lunr-js/6286/5?u=lednerb) that helped me to create the `index.json` for the algolia export. - -## License -The Bilberry Theme for HUGO is licensed under the MIT license. - - ## Support and Discussions If you enjoy this theme and want to stay up to date or just want to say thanks, have a look at this Discord Channel: [![Discord](https://img.shields.io/discord/479643633814077465.svg?style=for-the-badge&label=Discord%20Chat&colorB=7289da)](https://discord.gg/vZVHJ4j) + +## Contributors + +Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): + + + +| [
Sascha Brendel](https://sascha-brendel.de)
[๐Ÿ’ฌ](#question-Lednerb "Answering Questions") [๐Ÿ“](#blog-Lednerb "Blogposts") [๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=Lednerb "Code") [๐ŸŽจ](#design-Lednerb "Design") [๐Ÿ“–](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=Lednerb "Documentation") [๐ŸŒ](#translation-Lednerb "Translation") | [
Anna Brendel](https://anna-brendel.de)
[๐Ÿค”](#ideas "Ideas, Planning, & Feedback") [๐ŸŒ](#translation "Translation") | [
Givi Khojanashvili](https://www.linkedin.com/in/khojanashvili/)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=gigovich "Code") | [
Chung Tran Anh](https://github.com/anhchungite)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=anhchungite "Code") [๐ŸŒ](#translation-anhchungite "Translation") | [
Minke Zhang](http://blogzhang.com)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=cripplet "Code") | [
Pavel Kanyshev](https://github.com/aerohub)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=aerohub "Code") [๐ŸŒ](#translation-aerohub "Translation") | +| :---: | :---: | :---: | :---: | :---: | :---: | +| [
Marcel Kraus](https://www.marcelkraus.de)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=marcelkraus "Code") | [
Nick Busey](http://nickbusey.com/)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=NickBusey "Code") | [
lkorzen](https://github.com/lkorzen)
[๐ŸŒ](#translation-lkorzen "Translation") | [
Chris Stayte](http://www.chrisstayte.com)
[๐Ÿ›](https://github.com/Lednerb/bilberry-hugo-theme/issues?q=author%3AChrisStayte "Bug reports") | [
Dmitry Matrosov](https://twitter.com/amidos_me)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=meAmidos "Code") | [
Marc-Antoine](https://marca.finch4.xyz/)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=Embraser01 "Code") [๐Ÿ›](https://github.com/Lednerb/bilberry-hugo-theme/issues?q=author%3AEmbraser01 "Bug reports") | +| [
Nina Zakharenko](http://nnja.io)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=nnja "Code") | [
Nisarga](https://github.com/nisargap)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=nisargap "Code") | [
Pablo Domingo Rojo](https://github.com/pdoro)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=pdoro "Code") | [
Rob Baruch](https://github.com/rabarar)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=rabarar "Code") | [
Taoshi](https://github.com/GMpet)
[๐ŸŒ](#translation-GMpet "Translation") | [
nonumeros](https://github.com/nonumeros)
[๐Ÿ’ป](https://github.com/Lednerb/bilberry-hugo-theme/commits?author=nonumeros "Code") | + + +This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! + + +## License +The Bilberry Theme for HUGO is licensed under the MIT license. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4d2e174b1..fdddeb256 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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 diff --git a/i18n/ko.toml b/i18n/ko.toml new file mode 100644 index 000000000..2fac72f2c --- /dev/null +++ b/i18n/ko.toml @@ -0,0 +1,36 @@ +[categories] +other = "์นดํ…Œ๊ณ ๋ฆฌ" + +[authors] +other = "๊ธ€์“ด์ด" + +[tags] +other = "ํƒœ๊ทธ" + +[socialMedia] +other = "์†Œ์…œ ๋ฏธ๋””์–ด" + +[latestPosts] +other = "์ตœ๊ทผ ๊ธ€" + +[search] +other = "๊ฒ€์ƒ‰ ..." + +[noSearchResults] +other = "๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค." + +[olderPosts] +other = "์ด์ „ ๊ธ€" + +[newerPosts] +other = "์ตœ๊ทผ ๊ธ€" + +[footnoteReturnText] +other = "[๋˜๋Œ์•„๊ฐ€๊ธฐ]" + +[continueReading] +other = "๋”๋ณด๊ธฐ" + +[otherLanguages] +other = "๋‹ค๊ตญ์–ด" + diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml new file mode 100644 index 000000000..70c667526 --- /dev/null +++ b/i18n/zh-CN.toml @@ -0,0 +1,36 @@ +[categories] +other = "ๅˆ†็ฑป" + +[authors] +other = "ไฝœ่€…" + +[tags] +other = "ๆ ‡็ญพ" + +[socialMedia] +other = "็คพไบคๅช’ไฝ“" + +[latestPosts] +other = "ๆœ€ๆ–ฐๅธ–ๅญ" + +[search] +other = "ๆœ็ดข" + +[noSearchResults] +other = "ไป€ไนˆ้ƒฝๆฒกๆ‰พๅˆฐ" + +[olderPosts] +other = "ไปฅๅ‰็š„ๅธ–ๅญ" + +[newerPosts] +other = "่พƒๆ–ฐ็š„ๅธ–ๅญ" + +[footnoteReturnText] +other = "ใ€่ฟ”ๅ›žใ€‘" + +[continueReading] +other = "็ปง็ปญ้˜…่ฏป" + +[otherLanguages] +other = "ๅ…ถไป–่ฏญ่จ€" + diff --git a/i18n/zh-TW.toml b/i18n/zh-TW.toml new file mode 100644 index 000000000..d7879c751 --- /dev/null +++ b/i18n/zh-TW.toml @@ -0,0 +1,36 @@ +[categories] +other = "ๅˆ†้กž" + +[authors] +other = "ไฝœ่€…" + +[tags] +other = "ๆจ™็ฑค" + +[socialMedia] +other = "็คพไบคๅช’้ซ”" + +[latestPosts] +other = "ๆœ€ๆ–ฐๅธ–ๅญ" + +[search] +other = "ๆœ็ดข..." + +[noSearchResults] +other = "ไป€้บผ้ƒฝๆฒ’ๆ‰พๅˆฐใ€‚" + +[olderPosts] +other = "ไปฅๅ‰็š„ๅธ–ๅญ" + +[newerPosts] +other = "่ผƒๆ–ฐ็š„ๅธ–ๅญ" + +[footnoteReturnText] +other = "[่ฟ”ๅ›ž]" + +[continueReading] +other = "็นผ็บŒ้–ฑ่ฎ€" + +[otherLanguages] +other = "ๅ…ถไป–่ชž่จ€" + diff --git a/images/patreon-button.png b/images/patreon-button.png deleted file mode 100644 index 26895d01e..000000000 Binary files a/images/patreon-button.png and /dev/null differ diff --git a/images/screenshot.png b/images/screenshot.png index eb321d3cd..ed04979be 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 46b623ef7..8d467084e 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/layouts/index.json b/layouts/index.json index 2ee91845d..5a7b51eac 100644 --- a/layouts/index.json +++ b/layouts/index.json @@ -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") -}} @@ -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 -}} diff --git a/theme.toml b/theme.toml index 03b64834f..267313d67 100644 --- a/theme.toml +++ b/theme.toml @@ -5,7 +5,7 @@ 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.43" +min_version = "0.46" theme_version = "1.10.0"