Giter VIP home page Giter VIP logo

hexo-theme-ochuunn's Introduction

  • 👋 Hi, I’m @ochukai
  • 👀 I’m interested in JS
  • 🌱 I’m currently learning
  • 💞️ I’m looking to collaborate on
  • 📫 How to reach me

hexo-theme-ochuunn's People

Contributors

egkv avatar ihewro avatar imgbotapp avatar leewp14 avatar meowcolm024 avatar ochukai avatar yue-plus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hexo-theme-ochuunn's Issues

error

Unhandled rejection TypeError: E:\ryuujo\blog\blog\themes\ochuunn\layout\views\nav.pug:3
1| nav.head-nav.u-fr
2| ul.head-nav__list

3| each val, index in theme.menu
4| li.head-nav__item: a.head-nav__link(href = url_for(val))
5| = index

Cannot read property 'length' of undefined
at eval (eval at wrap (E:\ryuujo\blog\blog\node_modules\pug-runtime\wrap.js:6:10), :79:33)
at template (eval at wrap (E:\ryuujo\blog\blog\node_modules\pug-runtime\wrap.js:6:10), :132:72)
at Theme._View.View._compiled.locals [as _compiled] (E:\ryuujo\blog\blog\node_modules\hexo\lib\theme\view.js:125:48)
at Theme._View.View.View.render (E:\ryuujo\blog\blog\node_modules\hexo\lib\theme\view.js:30:15)
at route.set (E:\ryuujo\blog\blog\node_modules\hexo\lib\hexo\index.js:394:29)
at tryCatcher (E:\ryuujo\blog\blog\node_modules\bluebird\js\release\util.js:16:23)
at E:\ryuujo\blog\blog\node_modules\bluebird\js\release\method.js:15:34
at RouteStream._read (E:\ryuujo\blog\blog\node_modules\hexo\lib\hexo\router.js:134:3)
at RouteStream.Readable.read (stream_readable.js:442:10)
at resume
(_stream_readable.js:822:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

anything goes wrong?

部署路径问题

这个主题的css和js引用都是用"/"在根目录引用,如果部署二级目录就不行了,为什么不用相对路径啊

主题应用不成功

我安装之后运行报错这个 是什么原因呢 include _views/post include _views/menu extends _views/index block head title = config.title

自定义方式~

大佬你这个主题好好看,但是readme里面给的信息太少了QAQ,能不能麻烦再丰富一下自定义的内容呢QAQ

无法使用

正常安装但是无法使用,页面显示:
include _views/post include _views/menu extends _views/index block head title = config.title

关于 link 类型文章的疑问

在您所说的不足中有这么一条

  • 不支持 link 类型的文章

不太理解,这个是啥,能不能解释一下呢

感谢

live2d 开启后生成静态文件报错

详细报错信息:

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:394:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:397:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:394:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:397:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:350:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:353:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:350:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:353:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:350:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:353:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:363:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:366:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:363:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:366:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:363:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:366:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled rejection TypeError: /home/zacco/Blog/themes/ochuunn/layout/_views/foot.pug:18
    16| if theme.live2d && !env.debug
    17|   canvas#live2dcanvas(width="400", height="800", class="live2d")
  > 18|   != live2d("live2dcanvas")
    19| 
    20| block foot
    21| 

live2d is not a function
    at eval (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:363:46)
    at template (eval at wrap (/home/zacco/Blog/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:366:72)
    at _compiled (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:127:30)
    at View.render (/home/zacco/Blog/node_modules/hexo/lib/theme/view.js:29:15)
    at /home/zacco/Blog/node_modules/hexo/lib/hexo/index.js:390:25
    at tryCatcher (/home/zacco/Blog/node_modules/bluebird/js/release/util.js:16:23)
    at /home/zacco/Blog/node_modules/bluebird/js/release/method.js:15:34
    at RouteStream._read (/home/zacco/Blog/node_modules/hexo/lib/hexo/router.js:134:3)
    at RouteStream.Readable.read (_stream_readable.js:349:10)
    at resume_ (_stream_readable.js:738:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

页面问题

hexo g没问题。
但是hexo s后,访问本地页面,出现:
include _views/post include _views/menu extends _views/index block head title = config.title

这是什么问题,菜鸟一个,希望解答,谢谢。

安装问题

安装后网页异常,
image
显示如图。
image
image
这是配置。

tag页面问题

感谢大佬的主题,已经用上了,很香。
不过有个小问题,按照git界面的步骤安装,在source/_post里的index.md里添加了
type: "tags"

微信截图_20200705134300
但是在博客界面里的tag页面没有出现tag的效果,而是.....
微信截图_20200705134616
请问是可能是哪里配置的问题呢?

想知道...

能不能在 menu 那里加一个新的标签,然后点击跳转到指定的页面,这就相当于分类了,一个点击之后跳转到博客,一个点击跳转到日志之类的

如何加入照片?以及如何限制页面post的数量

我在_config.yml 开启了post assets folder 功能,现在是使用{% asset_img "照片.jpg" %}来加入照片。有更简单的方法吗?(如,别的theme有的是写photos: -https://xxx.jpg
我已设置pagination 在 _config.yml,该生成的pagination的file也在hexo generate时生成了 但首页的post数量还是没有受限制。
谢谢

请教评论区配置的问题

你好~我配置完评论区之后请求一直返回{"code":101,"error":"Class or object doesn't exists."},请问可能是什么原因呢?

image

谢谢!

Live2d 还有东西没删完吧

/themes/ochuunn/source/css/partial/_post.styl 内:

.live2d
  position: fixed
  bottom: -30px
  right: 0px
  z-index: 999
  height: 500px
  pointer-events: none

这段可不可以删掉啊?我待会提个PR。

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.