Code Monkey home page Code Monkey logo

hexo-theme-light_cn's People

Contributors

pengloo53 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-light_cn's Issues

我的微博 小部件出现问题

以下是代码报错:

/Users/felixxiong/FelixXiongHexoFolder/themes/light/layout/_widget/weibo.ejs:4
    2|   <h3 class="title">我的微博</h3>
    3|     <ul class="weibo">
 >> 4| 	<iframe width="100%" height="<%= theme.weibo.height%>" class="share_self"  frameborder="0" scrolling="no" src="<%- theme.weibo.url %>"></iframe>
    5|     </ul>
    6| </div>

Cannot read property 'height' of undefined
    at eval (eval at compile (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:584:12), <anonymous>:11:38)
    at returnedFn (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:615:17)
    at Theme._View.View._compiledSync.locals [as _compiledSync] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:120:22)
    at Theme._View.View.View.renderSync (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:48:23)
    at Object.partial (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/plugins/helper/partial.js:39:15)
    at Object.wrapper [as partial] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/lodash/lodash.js:4941:19)
    at eval (eval at compile (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:584:12), <anonymous>:12:17)
    at Array.forEach (<anonymous>)
    at eval (eval at compile (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:584:12), <anonymous>:9:22)
    at returnedFn (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:615:17)
    at Theme._View.View._compiledSync.locals [as _compiledSync] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:120:22)
    at Theme._View.View.View.renderSync (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:48:23)
    at fragment_cache (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/plugins/helper/partial.js:36:52)
    at Object.fragmentCache (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/plugins/helper/fragment_cache.js:9:32)
    at Object.wrapper [as fragment_cache] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/lodash/lodash.js:4941:19)
    at Object.partial (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/plugins/helper/partial.js:36:17)
    at Object.wrapper [as partial] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/lodash/lodash.js:4941:19)
    at eval (eval at compile (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:584:12), <anonymous>:18:17)
    at returnedFn (/Users/felixxiong/FelixXiongHexoFolder/node_modules/ejs/lib/ejs.js:615:17)
    at Theme._View.View._compiled.locals [as _compiled] (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:124:48)
    at Theme._View.View.View.render (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:29:15)
    at _compiled.then.result (/Users/felixxiong/FelixXiongHexoFolder/node_modules/hexo/lib/theme/view.js:40:23)

即使设定了之后依然无法显示,设定的值为“200%”。

还有其他的小部件,我想保留国外和国内的服务,我应该如何配置里面的_widget.ejs?
是使用你这里的小部件代码加进去吗?谢谢

请问Calendar模块在本地显示正常,但是发布到github上看不见日历了

首先感谢作者的辛勤劳动,我很喜欢这个主题。

目前只是简单套用,正在一点点的修改。

有个奇怪的问题,日历模块在本地多次测试都能正常显示,但是发布到github 上只能看见“Calendar”一行字,下边的日历没有显示。是否需要设置?

我的地址是https://bg4vrg.github.io/

如果有空,请帮忙测试下。

这是本地测试显示内容,正常
image

这是发布后的内容,没有显示日历

image

日历云功能无法显示

你好,我安装了这个theme以后,发现右侧栏的日历云无法显示,这可能是什么原因?看到你的demo是显示出来的。

怎样在widgets上添加照片?

你好!

我在themes/light/layout/_widget目录下添加了照片“kiwenlau.jpg”以及“photo.ejs”文件,以下为“photo.ejs”文件代码:

<div class="widget tag">
<h3 class="title">KiwenLau</h3>
<ul class="entry">
<li><body><img src="kiwenlau.jpg" style="width:150px; height:150px;"></body></li>
</ul>

然后修改了light主题的_config.yml文件,增加photo widgets:

widgets:
- photo
- link
- tag
- recent_posts

但是部署后的无法显示
hexo_widgets_image

点击图片显示““The requested content cannot be loaded. Please try again later.””

你可以查看我的站点:http://kiwenlau.com/

谢谢!

目录功能

你好目录功能在哪实现?想修改一下,看看能不能显示在左侧。

如何使用 codeblock ?

如何使用hexo提供的标签插件(Tag Plugins)中的 Code Block ?

添加一个文章,并且在其中加入 {% codeblock %} {% endcodeblock %}之后,hexo g 就会报错,执行失败。

文件内容如下:

title: Test Tag plugins

date: 2015-10-17 11:37:42

测试 page 布局

这是使用 page 布局创建的,命令如下:
hexo new page "Page name"

测试代码区块

{% codeblock %}
<script> 
  var test="This is a test for display code."
  (function(){ 
   var tmp=45;
  })();
</script>
{% codeblock %}

显示效果如下:

{% codeblock %}
<script> 
  var test="This is a test for display code."
  (function(){ 
    var tmp=45;
  })();
</script>
{% </codeblock %}

light主题下公示显示

您好,我使用的是light主题,但是不知道如何配置可以在博客中显示公式,您能否给下指导

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.