diff options
author | Y4er <45418382@qq.com> | 2019-11-06 15:37:14 +0300 |
---|---|---|
committer | Y4er <45418382@qq.com> | 2019-11-06 15:37:14 +0300 |
commit | 181d32dad2d16aa64c818c2120ef4592b166c2ef (patch) | |
tree | 96e5ae1f81189a98f04fc5c054d6395512855074 | |
parent | ec4b558779e76066c4324d89dc0bfa3d41c2f2fc (diff) |
fix again. gohugoio/hugoThemes#725
-rw-r--r-- | README.md (renamed from README_EN.MD) | 15 | ||||
-rw-r--r-- | README_ZH.md (renamed from README.MD) | 5 | ||||
-rw-r--r-- | exampleSite/config.toml | 10 | ||||
-rw-r--r-- | exampleSite/static/avatar.jpg | bin | 0 -> 7934 bytes | |||
-rw-r--r-- | layouts/partials/header.html | 2 |
5 files changed, 15 insertions, 17 deletions
@@ -1,14 +1,15 @@ # EasyBook -EasyBook is ported from [jekyll-theme-EasyBook] (https://github.com/laobubu/jekyll-theme-EasyBook), simple but powerful. Passed the test in Hugo v0.58.3. -[Demo](http://Y4er.com) [中文README](./README.MD) +EasyBook is ported from [jekyll-theme-EasyBook](https://github.com/laobubu/jekyll-theme-EasyBook), simple but powerful. Passed the test in Hugo v0.58.3. + +[Demo](http://y4er.com) [中文README](https://github.com/Y4er/hugo-theme-easybook/blob/master/README_ZH.md) # Screenshots -![Screenshots](./images/screenshot.png) +![Screenshots](https://raw.githubusercontent.com/Y4er/hugo-theme-easybook/master/images/screenshot.png) # Start -Please refer to [Official Document] before starting (https://gohugo.io/getting-started/quick-start/) +Please refer to [Official Document](https://gohugo.io/getting-started/quick-start/) before starting. ``` hugo new site myblog @@ -36,11 +37,11 @@ hugo server # THINKS This warehouse is based on a number of open source topics, and I would like to thank you. -- [jekyll-theme-EasyBook] (https://github.com/laobubu/jekyll-theme-EasyBook) +- [jekyll-theme-EasyBook](https://github.com/laobubu/jekyll-theme-EasyBook) - [hugo-theme-even](https://github.com/olOwOlo/hugo-theme-even) -Many references to the [Official Theme Development Document](https://gohugo.io/templates/) during development +Many references to the [Official Theme Development Document](https://gohugo.io/templates/) during development. # LICENSE -[The MIT License (MIT)] (https://github.com/Y4er/hugo-theme-easybook/blob/master/LICENSE)
\ No newline at end of file +[The MIT License (MIT)](https://github.com/Y4er/hugo-theme-easybook/blob/master/LICENSE)
\ No newline at end of file @@ -1,10 +1,11 @@ # EasyBook EasyBook移植自[jekyll-theme-EasyBook](https://github.com/laobubu/jekyll-theme-EasyBook),简洁但强大。在Hugo v0.58.3中测试通过。 -[Demo](http://Y4er.com) [English Document](./README_EN.MD) + +[Demo](http://y4er.com) [English Document](https://github.com/Y4er/hugo-theme-easybook/blob/master/README.md) # 截图 -![Screenshots](./images/screenshot.png) +![Screenshots](https://raw.githubusercontent.com/Y4er/hugo-theme-easybook/master/images/screenshot.png) # 开始 diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 46fe9f6..f97fe29 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,23 +19,19 @@ googleAnalytics = "UA-XXXXXXXX-X" # UA-XXXXXXXX-X weight = 20 url = "/post/" [[menu.main]] - name = "Words" - weight = 30 - url = "/words" -[[menu.main]] name = "About" - weight = 40 + weight = 30 url = "/about" [[menu.main]] name = "ChaBug" - weight = 50 + weight = 40 url = "http://www.chabug.org" # site info [params] author = "Y4er" whoami = "哀吾生之须臾,羡长江之无穷." - avatar = "https://y4er.com/img/uploads/20190430191344.png" + avatar = "images/avatar.jpg" keywords = ["Y4er","信息安全","网络安全","红蓝攻防","渗透测试","bypass","waf","注入","黑客","chabug"] description = "伪程序员,信安爱好者,专注于网络攻防和信息安全." diff --git a/exampleSite/static/avatar.jpg b/exampleSite/static/avatar.jpg Binary files differnew file mode 100644 index 0000000..a16704f --- /dev/null +++ b/exampleSite/static/avatar.jpg diff --git a/layouts/partials/header.html b/layouts/partials/header.html index bfc2944..eab9527 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@ <div class="wrapper"> <div id="sidebar-toggle">TOC</div> {{/* 首页左上角作者名 */}} - <a class="site-title" href="{{ "" | absURL }}">{{ .Site.Params.author }}</a> + <a class="site-title" href="{{ "." | absURL }}">{{ .Params.author }}</a> {{/* 右上角导航 */}} <nav class="site-nav"> {{ range .Site.Menus.main -}} |