Giter VIP home page Giter VIP logo

hexo-theme-spfk's Introduction

luuman-ipad-iphone

没想到,这么多人喜欢黑色版本的,建议不是每个人都喜欢我的这些功能,所以准备个基础版本,插件可以看教程自行安装。

注意:使用本主题请仔细查看Hexo 主题:SPFK

没有使用过Hexo的同学可以看看GitHub Hexo搭建,另外还有一个我自己搭建时,插件的安装教程Hexo插件安装

正如前辈们所说,我们使用博客的目的是分享经验,总结自己,督促自己不断提升。如果你有不喜欢,不断的改进吧。只要你玩的开心!(请不要再这浪费太多精力,去丰富你的博客内容吧,*年!)

声明:由于博主一直使用,关于Blog仓库,需要设置_config.yml

## If your site is put in a subdirectory, set url as 'http://luuman.github.io/child' and root as '/child/'
url: http://luuman.github.io/Blog
root: /Blog/
# url: http://luuman.github.io
# root: /

作品展示

关于作品展示页面,直接去看看hexo仓库,将必要的页面放置进去即可,样式主题已经配置。里面只要配置些图片,链接即可!

hexo-theme-spfk's People

Contributors

lmintlcx avatar luuman avatar ninpl avatar poberwong avatar renanborgez avatar waterstrong avatar zgeek 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-spfk's Issues

新版本更新Blog

注意配置:

# URL #这项暂不配置,绑定域名后,欲创建sitemap.xml需要配置该项
## If your site is put in a subdirectory, set url as 'http://luuman.github.io/child' and root as '/child/'
url: http://luuman.github.io/Blog
root: /Blog/
# url: http://luuman.github.io
# root: /
permalink: :year/:month/:day/:title/
permalink_defaults:

每次提交新文章的时候都会失败

`Unhandled rejection Error: Uncaught, unspecified "error" event. (Parse Error: <

      个人简历
    
  </div>
</a>
) at RouteStream.emit (events.js:164:17) at /Users/tardis_tao/tardistaoBlogs/node_modules/hexo/lib/hexo/router.js:157:10 at tryCatcher (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/promise.js:689:18) at Async._drainQueue (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues (/Users/tardis_tao/tardistaoBlogs/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:651:20) at tryOnImmediate (timers.js:624:5) at processImmediate [as _immediateCallback] (timers.js:596:5)`

additional localization needed.

Additional localization / translated needed

./layout/_partial/post/nav.ejs
./layout/_partial/post/share.ejs
./layout/_partial/post/showshare.ejs
./layout/_partial/left-col.ejs

TypeError: Cannot read property 'compile' of undefined on Windows10

When I use hexo -g

INFO  Start processing
ERROR Process failed: layout/archive.ejs
TypeError: Cannot read property 'compile' of undefined
    at View._precompile (C:\Users\lomom\Documents\GitHub\blog\node_modules\hexo\lib\theme\view.js:104:22)
    at View (C:\Users\lomom\Documents\GitHub\blog\node_modules\hexo\lib\theme\view.js:13:8)
    at new Theme._View.View (C:\Users\lomom\Documents\GitHub\blog\node_modules\hexo\lib\theme\index.js:37:10)
    ...
INFO  Files loaded in 4.31 s

WARN  No layout: about/index.html
WARN  No layout: 2016/03/13/queue-i/index.html
...
INFO  Generated: background/bg-21.jpg
INFO  Generated: background/bg-16.jpg
INFO  140 files generated in 2.8 s

but when use landscape no error happens.

那么问题来了,这是主题的问题还是hexo的问题呢

样式显示问题,请教一下(我不是学前端的)

您好!我在写文章的时候,有时候需要用到列表嵌套,由此出现了下面的一些疑惑,希望您能帮我看下。
这个是我写的MD文件的某部分,嵌套了一个列表
md
但是显示出来缺略有不足
web
我用浏览器开发者模式找到了样式的代码
css
接着找到了文章样式设置的文件
csscode
然后重新 编译或者直接刷新浏览器 就出现了下面的问题
hexoerror

希望您能帮我看一下

多说配置失败了啊

只要配置下域名前面的名称,就好了,样式要自己去多说平台里面设置样式@还有 tags也有问题

當螢幕較小時,首頁文章無法正常載入

測試環境 Chrome51 dev, Edge

這一個版本明顯,只有兩篇文章,一個是預設的Hello World,一個是我的文章,非常的長,沒有使用 more
https://github.com/LFsWang/lfswang.github.io/tree/4b57f8f1555d9b9380b62360ec47a35377ac8c3f

1366x768顯示效果
image

1680x1050效果
image

加了more
1366x768顯示效果
image

1680x1050效果
image

發現當螢幕尺寸較小時,首頁可顯示的文章會被判別為未顯示,結果就被拿掉了,但是其實是應該要顯示出來的。

1366x768是我寫code的筆電,是1680x1050是我demo用的,我push後才發現這一件事

其實還有一些細瑣的issue我先修掉了,不過這個我解不出來

评论系统的问题

因为多说现在说要关停服务,我就启用了友言,也设置了友言的id,但部署服务器上仍然显示不出友言,不知还需要什么设置?...

圆片显示问题

先谢谢你的主题,真的很好看。我不知道是不是bug还是我自己改错了。圆片在首页的时候可以正常显示,到了阅读文章的页面时,就只显示了一个带颜色的圆,没有head.jpg图片显示。望您可以抽时间帮忙解决下,再次感谢!

教程404

.md指向博主的两个文章都404了

生成新的文件路径

你好,我看了一下,hexo的原理是将主题下的node项目编译到pulibc文件目录下,在node项目中如何生成特定的文件到pulibc文件下呢?

GitHub 圖片顯示問題

Hexo deploy 後,
GitHub link 的圖片顯示不出來,只會呈現黑色的樣式。

ps. Local 端測試時,圖片顯示正常。

打赏图片预览的问题

点击打赏,然后点击二维码图片,不管下面选择时支付宝还是微信,都显示支付宝的img.

your bolg background color?

why I use you theme in my blog,but the backgroud color is white?
I think your blog background is pretty good?Could you give me the css sample?Tks!

[请教]侧边栏背景自定义

想自定义一下自己基于Yilia的侧边栏背景,自己在指定目录下添加了指定图片资源,以及修改了主题下的_config.yml文件,请问还要做哪些操作呢?要不要添加Js文件?

Thx

链接的样式

看到你的博客里面出现了两种链接
2016-12-11 4 24 44

2016-12-11 4 39 44
我用 Markdown 写的链接默认是使用第二种形式,请问怎么写才能召唤出第一种形式的链接?
谢谢

文章中的菜单导航不显示

J:\Hexo\Hexo\themes\spfk\layout_partial\article.ejs

修改为
<% if (!index && post.toc != false && !is_page()){ %>
<%- partial('post/toc') %>
<% } %>

代码高亮显示问题

我的怎么折腾都是
_001

但是您的会在左上角多一个语言种类,请问这是怎么办到的呢?

我的代码格式是这样的:

# 将输入的字符大写转换为小写
echo 'THIS IS SHIYANLOU!' | tr ‘A-Z’ ‘a-z’
# 将输入的字符中的数字删除
echo 'THIS 123 IS S1HIY5ANLOU!' | tr -d ‘0-9’

不是bug,有个问题

我看到你的/about/tags下面都有一个index.html,请问一下这个是自己生成的吗,还是要自己写啊?我找不到相关的教程。

关于搜索功能的疑问

这个主题是我发现的最最最最精美的主题了,没有之一,感谢大大的作品!
唯一的缺憾就是目前搜索功能不能用,希望大大能够添加搜索功能谢谢!
另外:能否增加置顶的功能,目前发现只有freemind主题支持置顶功能,希望大大考虑,谢谢!

顯示繁體中文

已在 _config.yml 中,
設定 language: zh-tw
但是仍然顯示為簡體中文。

文本颜色问题

文本看起来是灰色的,配合黑色的背景读起来比较费力。请问还有别的配色吗? 我在配置文件里改过

highlight_style:
   on: true
   inline_code: 9  # Value: 0 - 9 可选
   code_block: 2  # Value: 0 - 4 

这几个选项,好像不是调节这个的。

首页没有阅读全文功能

发布多篇文章之后发现所有的文章都是展示的全文,并没有阅读全文功能,是否需要其他额外的设置?

generate出错

但是可以用hexo s -g在本地查看,不知道为什么,错误信息如下,求助呀!

$ hexo g
INFO  Start processing
INFO  Files loaded in 307 ms
Unhandled rejection TypeError: D:\Cloud\Web\Hexo\themes\spfk\layout\post.ejs:1
 >> 1| <%- partial('_partial/article', {post: page, index: false}) %>
    2|

D:\Cloud\Web\Hexo\themes\spfk\layout\_partial\article.ejs:91
    89| <% } %>
    90|
 >> 91| <%- partial('_partial/post-nav-button') %>
    92|
    93| <% if (!index) { %>
    94|     <script>

D:\Cloud\Web\Hexo\themes\spfk\layout\_partial\post-nav-button.ejs:16
    14|             </a>
    15|         <% } else { %>
 >> 16|             <a href="<%- url_for(post.next.path) %>" title="下一篇: <%= post.next.title %>">
    17|                 <i class="fa fa-angle-right"></i>
    18|             </a>
    19|         <% } %>

Cannot read property 'path' of undefined
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:1014)
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:2194)
    at null._compiledSync (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:255:15)
    at View.renderSync (D:\Cloud\Web\Hexo\node_modules\hexo\lib\theme\view.js:50:21)
    at Object.partial (D:\Cloud\Web\Hexo\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
    at Object.wrapper (D:\Cloud\Web\Hexo\node_modules\lodash\lodash.js:4167:19)
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:38:126)
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:38:454)
    at null._compiledSync (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:255:15)
    at View.renderSync (D:\Cloud\Web\Hexo\node_modules\hexo\lib\theme\view.js:50:21)
    at Object.partial (D:\Cloud\Web\Hexo\node_modules\hexo\lib\plugins\helper\partial.js:42:17)
    at Object.wrapper (D:\Cloud\Web\Hexo\node_modules\lodash\lodash.js:4167:19)
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:35)
    at eval (eval at <anonymous> (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:103)
    at null._compiledSync (D:\Cloud\Web\Hexo\node_modules\ejs\lib\ejs.js:255:15)
    at tryCatcher (D:\Cloud\Web\Hexo\node_modules\bluebird\js\release\util.js:16:23)
    at null._compiled (D:\Cloud\Web\Hexo\node_modules\bluebird\js\release\method.js:15:34)
    at View.render (D:\Cloud\Web\Hexo\node_modules\hexo\lib\theme\view.js:29:15)
    at D:\Cloud\Web\Hexo\node_modules\hexo\lib\hexo\index.js:387:25
    at tryCatcher (D:\Cloud\Web\Hexo\node_modules\bluebird\js\release\util.js:16:23)
    at D:\Cloud\Web\Hexo\node_modules\bluebird\js\release\method.js:15:34
    at RouteStream._read (D:\Cloud\Web\Hexo\node_modules\hexo\lib\hexo\router.js:134:3)
INFO  Generated: 2016/04/13/corcpp/index.html
INFO  Generated: 2016/03/20/dream/index.html
INFO  Generated: 2016/03/19/markdown/index.html

Baidu分析硬编码,不支持Github子项目

主题及配色很酷,也想用一下,不过发现两个小问题。其中Baidu Analytics写的Hard Code,另外也不支持Subdirectory,比如xxx.github.io/blog这种情况资源找不到,路径没有加进去。
我修复了这两个问题,可以提Pull Request否?

StackOverflow不显示

在配置文件中设置StackOverflow,之后在页面中有stackoverflow出现,就是不显示图标!

本地和网页显示不一样

**你好,非常感谢你的主题。**我是一个新手,今天刚搭建了博客,觉得这个主题很好看。

以下是我的问题:
修改主题文件后,本地端可以显示改变,但是网页端很多效果出不来。

包括:
1.修改的头像,本地端可以,网页端从开始就只是纯色图片。
2.本地端有动画效果,背景也会随机变。网页端从来不变背景,也没有动画效果。

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.