Giter Site home page Giter Site logo

hugo-theme-shoka's Introduction

Birdgg wakatime

I'm Birdgg 👋, a Front-end Developer / Console Gamer.

Skills

Web Developer

React TypeScript Sass npm html5 TailwindCSS React Native

DevOps

git github actions Docker

Environment

macOS vscode emacs

Open Source...

🎁 Projects⭐ Stars📚 Forks🛎 Issues📬 Pull requests💡 Last Commit
Crossbell-Box/xLogStarsForksIssuesPull RequestsLast Commits

Toys...

🎁 Projects⭐ Stars🕐 Create At📅 Last Active At
birdgg/react-github 🔗Stars5/11/20235/12/2023
birdgg/xLog-custom-css-debuggerStars4/30/20235/13/2023

Current Learning

  • Web extension develop
  • Vue.js

Recent Writing...

  • 5/2/23 - 重构了 xLog custom css debugger

    在 debugger 首个版本发布之后,我注意到通过弹出式窗口(popup)打开的编辑器在失去焦点时会关闭,这给用户体验带来了很大的不便。通过 @DIYgod,我了解到了 Stylebot 这个插件。在安装、体验和阅读源码之后,我学会了运用 content scripts…

  • 5/1/23 - 写了一个 chrome extension 尝试解决 xLog custom css 调试困难

    在 xLog 中,要定制页面需要通过设置中的自定义 CSS 功能。然而,目前在设置界面编写 CSS 时无法实时预览效果,而通过浏览器的检查功能进行调试也并非一个良好的体验。所以下午一边补番一边撸了这个插件。 目前这个插件有两个功能: 实时预览调试你的自定义 css 查看他人的自…

  • 4/29/23 - 分享下我的 xLog 自定义 css

    效果测试 字体测试 使用的是霞鹜文楷 庆历四年春,滕子京谪守巴陵郡。越明年,政通人和,百废具兴,乃重修岳阳楼,增其旧制,刻唐贤今人诗赋于其上;属予作文以记之。   予观夫巴陵胜状,在洞庭一湖。衔远山,吞长江,浩浩汤汤,横无际涯;朝晖夕阴,气象万千;此则岳阳楼之大观也,前人之述备矣…

  • 4/28/23 - 记录解决 xLog github actions 权限问题

    周三向 xLog 提交 PR 时,发现一项检测没有通过。打开报错信息一看, 是 Next.js Bundle Analysis 工作流尝试创建评论失败。 Copy Run peter-evans/create-or-update-comment@v2 Error: Resource…

  • 4/25/23 - Weekly 2023-04-23

    代码 给 astro-commuty/component-template 提 pr,更新 astro 版本 给 xLog 提了 pr: 富文本编辑器报错的时候对用户进行错误提示 使用 pangujs 给中英文排版添加空格 修复了侧栏目录高亮显示 给 xLog-mobile…

Recent Star...

Review Stared...

Can you find me?

Github Twitter


この歌声が UNION!!

Big thanks to Innei for the project

此文件 README 间隔 24 小时自动刷新生成!
刷新于:5/15/23, 12:24 AM
下一次刷新:5/16/23, 12:24 AM

hugo-theme-shoka's People

Contributors

birdgg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hugo-theme-shoka's Issues

Bug 除法计算的除数没有判断除数是否为0,并处理异常。

问题现象:
运行服务器时,报错
Start building sites …
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended windows/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
Error: Error building site: failed to render pages: render of "taxonomy" failed: "...\www\themes\hugo-theme-shoka\layouts_default\terms.html:40:24": execute of template failed: template: _default/terms.html:40:24: executing "main" at <div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min))>: error calling div: can't divide the value by 0
Built in 185 ms

问题原因分析:

  • 问题代码位置:
    ...\www\themes\hugo-theme-shoka\layouts_default\terms.html:40:24

  • 原因
    除数没有接收为0时的异常

在部署blog中遇到的兩個issus

在運行hugo server -D 出現兩個error,如下
[black@archlinux test]$ hugo server --disableFastRender
Start building sites …
hugo v0.109.0+extended linux/amd64 BuildDate=unknown
Error: Error building site: failed to render pages: render of "section" failed: "/home/black/test/themes/hugo-theme-shoka/layouts/section/categories.html:2:5": execute of template failed: template: section/categories.html:2:5: executing "main" at <partial "pages/tree-sections.html" .>: error calling partial: "/home/black/test/themes/hugo-theme-shoka/layouts/partials/pages/tree-sections.html:8:42": execute of template failed: template: partials/pages/tree-sections.html:8:42: executing "partials/pages/tree-sections.html" at <len $pages>: error calling len: reflect: call of reflect.Value.Type on zero Value
Built in 73 ms
將themes/hugo-theme-shoka/layouts/section/categories.html刪除後出現warnig
hugo v0.109.0+extended linux/amd64 BuildDate=unknown
WARN 2023/01/26 08:00:47 found no layout file for "JSON" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination,如上
在成功部署github action之後,主題無法正常顯示,我不知道是不是自己缺少關鍵步驟,現在正在用meme主題,真的很喜歡這個主題但我習慣用hugo,謝謝製作這個主題

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.