Git Product home page Git Product logo

hexo-theme-bluelake's People

Contributors

arialyy avatar chaooo avatar kengdingxiaoman avatar siworae 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-bluelake's Issues

WARN No layout: index.html

作者, 你好,挺喜欢这个主题的。
但是按照文档操作运行后,出错:WARN No layout: index.html
请问怎么解决?

fontstatic.useso.com unsupport https.

error:

Mixed Content: The page at 'https://www.zxcjkl.com/' was loaded over HTTPS, but requested an insecure font 'http://fontstatic.useso.com/s/sourcecodepro/v6/mrl8jkM18OlOQN8JLgasD9Hq-FFgoDNV3GTKpHwuvtI.woff'. This request has been blocked; the content must be served over HTTPS.

分析:

https://github.com/chaooo/hexo-theme-BlueLake/search?utf8=%E2%9C%93&q=useso

解决:

替换为公益库,详参:https://ttt.tt/185/

cd /your-blog/
vim theme/BlueLake/layout/base.jade

link(rel="stylesheet", type="text/css", href="//fonts.useso.com/css?family=Source+Code+Pro")
更改
link(rel="stylesheet", type="text/css", href="//fonts.css.network/css?family=Source+Code+Pro")

反馈个bug:序号下一段的文字不会换行

网页上显示是这样的,例如:

经典的软件设计原则:

1、保持简单,愚蠢(KISS)
2、不要重复自己(DRY)
然后是Red Hat的云原生容器设计原则:

楼主可能把代码写反了,序号的文字应该跟上一段靠拢,而不是跟下一段靠拢。

some error occur when i change theme to BlueLake

the error stack trace like this:

        <a id="main-nav-toggle" class="nav-icon"></a>
         <% for (var i in theme.menu){ %>
           <a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
         <% } %>
      </nav>
    <nav id="sub-nav">

path.substring is not a function

my env :

hexo: 3.2.2
hexo-cli: 1.0.2
os: Darwin 16.1.0 darwin x64
http_parser: 2.7.0
node: 6.9.1
v8: 5.1.281.84
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2j

配置了category, 没有显示分类模块

配置是正确的,但是没有出现‘分类’模块

##########################
## Site Config Settings ##
##########################

# Theme version
version: 2.0.0

# Header
menu:
  - page: home
    directory: .
    icon: fa-home
  - page: archive
    directory: archives/
    icon: fa-archive
  - page: about
    directory: about/
    icon: fa-user
  - page: rss
    directory: atom.xml
    icon: fa-rss

# Sidebar
widgets:
  - recent_posts
  - category
  - tag
  - archive
  #- weibo
  - links

...

image

网易云跟帖集成不显示

我的操作:
在 themes\BlueLake_config.yml 中添加了网易云跟贴的 productKey 如下

cloudTie: c4cd25e250584e1fxxxxxxxxx ## 网易云跟帖(productKey)

其它任何地方没修改,运行起来的时候不显示。但是看到 themes\BlueLake\layout_partial\comments.jade 中网易云跟帖注释了,这个有影响吗?

if theme.comment.cloudTie
   #cloud-tie-wrapper.cloud-tie-wrapper

RSS 订阅导航栏不显示

如题。

Chrome 版本:

Version 65.0.3325.162 (Official Build) (64-bit)

然而 Safari、Firefox 均可以正常显示。

文章多级分类问题

大神能不能加个文章多级别分类功能啊 现在只能一级分类 有些情况下不太好用了 感谢

本地运行也是错误,别的主题没有问题。

本地运行,页面出现 两个插件都装过了。试过重装 还是不行
extends base - var current_title = page.title || tag.name || category.name || site.title block title if config.subtitle title= config.title + ' | ' + config.subtitle else title= config.title block content for post in page.posts.toArray() .post h1.post-title include _partial/helpers a(href=url_for(post.path)) +title(post) .post-meta= post.date.format(config.date_format) if theme.duoshuo a.ds-thread-count(data-thread-key=post.path, href=url_for(post.path) + '#comments') if theme.disqus a.disqus-comment-count(data-disqus-identifier=post.path, href=url_for(post.path) + '#disqus_thread') if post.description .post-content != post.description else if post.excerpt .post-content != post.excerpt else if post.content - var br = 0 - for (var i = 0; i < 5; ++i) { - br = post.content.indexOf('\n',br+1) if br<0 - break if br >150 - break - } if br < 0 .post-content != post.content else .post-content != post.content.substring(0, br) p(class='readmore') a(href=url_for(post.path))= __('Readmore') include _partial/paginator if theme.disqus script(id='dsq-count-scr', src='//#{theme.disqus}.disqus.com/count.js', async)

代码块背景

您好,这个主题代码块背景颜色是白色的,能不能让用户自己设置这个代码块的颜色啊?我想让代码块的背景颜色是黑色。谢谢

by UnixFBI

unixfbi.com

搜索不能用?

本地搜索js报错,第三方搜索,一个官网打不开,另一个引用js文件404

对表格的支持似乎不太友好

在其他主题下能正常显示为表格的内容。
但此主题下似乎并不行。比如:

|Keyword  |Description (Default)       |Keyword      |Description (Default)|
|---------|:--------------------------:|:-----------:|:-------------------:|
|USERID   |username/password           |FULL         |import entire file (N)|
|BUFFER   |size of data buffer         |FROMUSER     |list of owner usernames|
|FILE     |input files (EXPDAT.DMP)    |TOUSER       |list of usernames|
|SHOW     |just list file contents (N) |TABLES       |list of table names|
|IGNORE   |ignore create errors (N)    |RECORDLENGTH |length of IO record|
|GRANTS   |import grants (Y)           |INCTYPE      |incremental import type|
|INDEXES  |import indexes (Y)          |COMMIT       |commit array insert (N)|
|ROWS     |import data rows (Y)        |PARFILE      |parameter filename|
|LOG      |log file of screen output   |CONSTRAINTS  |import constraints (Y)|

并不能被渲染为表格

不支持<!--more--> 添加后hexo g 会报错

不支持 添加后hexo g 会报错

hexo g 
INFO  Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Language must be one of [danish,dutch,english,french,galician,german,italian,polish,portuguese,russian,spanish,swedish]
    at Object._extract [as extract] (/Users/ZYB/Hexo/node_modules/keyword-extractor/lib/keyword_extractor.js:24:15)
    at getKeywords (/Users/ZYB/Hexo/node_modules/hexo-generator-json-content/index.js:58:19)
    at setContent (/Users/ZYB/Hexo/node_modules/hexo-generator-json-content/index.js:77:21)
    at postsNames.reduce (/Users/ZYB/Hexo/node_modules/hexo-generator-json-content/index.js:125:52)
    at Array.reduce (native)
    at site.posts.sort.filter.map.post (/Users/ZYB/Hexo/node_modules/hexo-generator-json-content/index.js:125:30)
    at Model._Query.Query.Query.map (/Users/ZYB/Hexo/node_modules/warehouse/lib/query.js:229:17)
    at Hexo.hexo.extend.generator.register.site (/Users/ZYB/Hexo/node_modules/hexo-generator-json-content/index.js:125:7)
    at Hexo.tryCatcher (/Users/ZYB/Hexo/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/Users/ZYB/Hexo/node_modules/bluebird/js/release/method.js:15:34)
    at /Users/ZYB/Hexo/node_modules/hexo/lib/hexo/index.js:340:24
    at tryCatcher (/Users/ZYB/Hexo/node_modules/bluebird/js/release/util.js:16:23)
    at MappingPromiseArray._promiseFulfilled (/Users/ZYB/Hexo/node_modules/bluebird/js/release/map.js:61:38)
    at MappingPromiseArray.PromiseArray._iterate (/Users/ZYB/Hexo/node_modules/bluebird/js/release/promise_array.js:114:31)
    at MappingPromiseArray.init (/Users/ZYB/Hexo/node_modules/bluebird/js/release/promise_array.js:78:10)
    at MappingPromiseArray._asyncInit (/Users/ZYB/Hexo/node_modules/bluebird/js/release/map.js:30:10)
    at Async._drainQueue (/Users/ZYB/Hexo/node_modules/bluebird/js/release/async.js:138:12)
    at Async._drainQueues (/Users/ZYB/Hexo/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/Users/ZYB/Hexo/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)

评论功能

在themes下的_config.yml设置了disqus的值,结果访问的时候出现:
We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
啥原因呢?还要做其他操作?

裝了本地搜尋插件後,hexo g 會報錯

安裝 2.2.0版本
npm install [email protected] --save

> [email protected] postinstall /usr/share/nginx/html/hexoblog/node_modules/hexo-generator-json-content/node_modules/hexo-util
> npm run build:highlight

> [email protected] build:highlight /usr/share/nginx/html/hexoblog/node_modules/hexo-generator-json-content/node_modules/hexo-util
> node scripts/build_highlight_alias.js > highlight_alias.json

[email protected] node_modules/hexo-generator-json-content
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

裝完之後,執行 hexo g 會報錯

[root@3cx1 hexoblog]# hexo g
INFO  Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Object  has no method 'find'
    at site.posts.sort.filter.filter.map.actualPost (/usr/share/nginx/html/hexoblog/node_modules/hexo-generator-json-content/index.js:126:20)
    at Query.filter (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/warehouse/lib/query.js:305:9)
    at Hexo.hexo_generator_json_content (/usr/share/nginx/html/hexoblog/node_modules/hexo-generator-json-content/index.js:124:7)
    at Hexo.tryCatcher (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/method.js:15:34)
    at /usr/share/nginx/html/hexoblog/node_modules/hexo/lib/hexo/index.js:340:24
    at tryCatcher (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
    at MappingPromiseArray._promiseFulfilled (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/map.js:61:38)
    at MappingPromiseArray.PromiseArray._iterate (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/promise_array.js:114:31)
    at MappingPromiseArray.init [as _init$] (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/promise_array.js:78:10)
    at MappingPromiseArray._asyncInit (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/map.js:30:10)
    at Async._drainQueue (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:12)
    at Async._drainQueues (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/async.js:143:10)
    at Async.drainQueues (/usr/share/nginx/html/hexoblog/node_modules/hexo/node_modules/bluebird/js/release/async.js:17:14)
    at process._tickCallback (node.js:458:13)

請問該怎麼解決?

主题添加 Gitment 评论

看了 Gitment 相关 使用说明,但不清楚应该将以下代码放在什么地方。

<div id="container"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
var gitment = new Gitment({
  id: '页面 ID', // 可选。默认为 location.href
  owner: '你的 GitHub ID',
  repo: '存储评论的 repo',
  oauth: {
    client_id: '你的 client ID',
    client_secret: '你的 client secret',
  },
})
gitment.render('container')
</script>

非常感谢。

标签命名问题

无意中发现,当标签为nullNULL时,主题无法处理和显示,为NuLl及类似词时没有问题。虽然无伤大雅,但还是提一下:p

markdown无序列表语法渲染不符合预期

markdown语法

 - 反射调用构造方法初始化新的变量

渲染H5

<ul>
<li><p>反射调用构造方法初始化新的变量</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line"><span class="function"><span class="keyword">private</span> <span class="keyword">void</span> <span class="title">newInstance</span><span class="params">()</span> <span class="keyword">throws</span> IllegalAccessException, InstantiationException </span>&#123;</div><div class="line">        FileIO fileIO = FileIO.class.newInstance();</div><div class="line"> &#125;</div></pre></td></tr></table></figure>
<p>​</p>
</li>

显示结果

markdown

参考网站

https://xiaoqinyu0000.github.io/Java/JavaSingleton/

多级无序列表缩进问题

  • markdown:
- 代表产品:
  - [科技美学](http://www.dingdone.com/case/2016-01-13/970191.html)
  - [都市云阳](http://www.dingdone.com/case/2016-02-15/1045425.html)
  - [么上兼职](http://www.dingdone.com/case/2015-11-30/838092.html)
  • 期待效果:
    image

  • 实际显示效果:
    image

  • H5:

<li><p>代表产品:</p>

<ul>

<li>科技美学</li>

<li>都市云阳</li>

<li>么上兼职</li>

</ul>

</li>

  • 使用浏览器:

chrome 56.0.2924.87 (64-bit)

安装RSS和siteMap的错误:

站主你好,
我按照你的说明安装了feed,sitemap,baidu-sitemap插件后,也在public目录下生成了atom.xml,在网页上rss链接也是指向这个atom.xml的,点击过去后就是浏览器找开了这个atom.xml文件的效果。
请问这是安装插件或者其它哪儿的问题吗?

页面打开速度过慢

打开网页的速度过慢,其实网页是加载出来了,就是不显示出来,等叉掉转圈的状态页面就立马显示出来了

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.