ikeq / hexo-theme-inside Goto Github PK
View Code? Open in Web Editor NEW🌈 SPA, Flat and clean theme for Hexo https://blog.oniuo.com/theme-inside
License: MIT License
🌈 SPA, Flat and clean theme for Hexo https://blog.oniuo.com/theme-inside
License: MIT License
hi,你好:
感谢你的工作,inside是一个十分漂亮的主题.
在我clone到theme文件夹并按照提示修改配置后,页面只有一张背景图片.请问我应该怎么修复?
我需改hexo的_config.yml中的permalink,
将其改为:
permalink: :category/:title.html
然后重新生成,查看页面还是“https://域名/post/文章名”
我切换官方自带那个主题,就可以实现“目录/文章名.html”的效果
希望能得到您的指点。
希望加入文章页图片点击放大功能。
DISQUS被墙了,就很难受 :(
因为这款主题不支持Hexo-blog-encrypt 这款插件!>_<
感觉好像不是很好做seo....想了解一下百度收录的情况怎么样
Firefox for mac 66.0.5下,右下角圆形按钮内的三个圆点不显示。
控制台报错:
Chrome,Safari均显示正常。
很喜欢作者的主题
插件地址:hexo-douban
比如我的想法是在每个文章的 front matter 添加一个自定义字段:
---
title: Hello World
slug: d77abc78
---
使生成的文章是 post/d77abc78
而不是 post/Hello-World
。
因为有些文章的题目是中文的,导致生成的 URL 也是中文的,有些不美观。
请问可以实现吗?
以你的Blog为例:关于页面Url为:https://blog.oniuo.com/about
如果此时我访问
https://blog.oniuo.com/about11
这是一个不存在的页面,并不会显示404页面,而是给出
Not Found The requested URL /about1 was not found on this server.
而在coding page部署的博客则会显示coding page的404页面。
怎么样才能使用主题自带的404页面?
I'm back again! XD
You can check this article: https://sh.yorushika.xyz/post/code-of-markdown
The first method of code block(markdown default) looks so terrible!
当文章中代码使用```包裹时,例如:
```
这里时代码块
```
代码单行长度过长时,在手机端浏览时,代码块并不会以“横拉框”的形式显示,导致页面宽度变的和代码长度一样宽。不能自适应。
而在使用{% codeblock lang:python %} {% endcodeblock %}包裹代码就不会出现该问题。
请问是不是主题配置或hexo配置的原因?
第一篇 文章 会出现 Cannot GET /post/hello-world
你好!请问能否增加markdown的[TOC]功能,或者在文章侧边加个目录呢?方便直接看到文章整体结构也可快速定位位置。:laughing:
ERROR Plugin load failed: hexo-theme-inside
Error: EISDIR: illegal operation on a directory, read
INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'substring' of undefined
at exports.getPagePath (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\themes\hexo-theme-inside\lib\utils.js:67:44)
at config.routes.locals.pages.map.page (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\themes\hexo-theme-inside\lib\generator\config.js:23:46)
at Model._Query.Query.Query.map (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\warehouse\lib\query.js:229:17)
at Hexo.module.exports (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\themes\hexo-theme-inside\lib\generator\config.js:23:34)
at Hexo.tryCatcher (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\util.js:16:23)
at Hexo. (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\method.js:15:34)
at Promise.map.key (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\hexo\lib\hexo\index.js:336:26)
at tryCatcher (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\util.js:16:23)
at MappingPromiseArray._promiseFulfilled (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\map.js:61:38)
at MappingPromiseArray.PromiseArray._iterate (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\promise_array.js:114:31)
at MappingPromiseArray.init (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\promise_array.js:78:10)
at MappingPromiseArray._asyncInit (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\map.js:30:10)
at _drainQueueStep (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\async.js:142:12)
at _drainQueue (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.Async.drainQueues (C:\Users\Ennis-PC\EnnisWu\EnnisWu-projects\Hexo\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
我是从作者github上克隆的,然后复制在theme下,然后npm运行后,出现插件加载失败,目录无效,但是浏览器能正常打开博客,也没有发现错误。但就是存在那个错误,我有点纠结,然后我翻遍了那个文件,没有找到插件在那个目录,希望得到作者指点一下。
另外今天(2018.11.21)打开作者博客时,提示新浪云资源加载失败。
下面是命令行提示:
`
E:\我的文件\Blog>npm start
[email protected] start E:\我的文件\Blog
hexo g && hexo s
ERROR Plugin load failed: hexo-theme-inside
Error: EISDIR: illegal operation on a directory, read
INFO Start processing
INFO Files loaded in 143 ms
INFO 0 files generated in 39 ms
ERROR Plugin load failed: hexo-theme-inside
Error: EISDIR: illegal operation on a directory, read
INFO Start processing
INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
`
1.存在h4,h5...等标题时,生成的toc有问题。
2.[建议] 能否兼容hexo-abbrlink plugin?
报错如下
ERROR Plugin load failed: hexo-theme-inside
Error: EISDIR: illegal operation on a directory, read
INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'substring' of undefined
at exports.getPagePath (/Users/bingo/Dropbox/Talk2it_D/talk2.it/themes/inside/lib/utils.js:67:44)
at config.routes.locals.pages.map.page (/Users/bingo/Dropbox/Talk2it_D/talk2.it/themes/inside/lib/generator/config.js:23:46)
at Model._Query.Query.Query.map (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/warehouse/lib/query.js:229:17)
at Hexo.module.exports (/Users/bingo/Dropbox/Talk2it_D/talk2.it/themes/inside/lib/generator/config.js:23:34)
at Hexo.tryCatcher (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/util.js:16:23)
at Hexo. (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/method.js:15:34)
at Promise.map.key (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/hexo/lib/hexo/index.js:344:26)
at tryCatcher (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/map.js:61:38)
at MappingPromiseArray.PromiseArray._iterate (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/promise_array.js:114:31)
at MappingPromiseArray.init (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/promise_array.js:78:10)
at MappingPromiseArray._asyncInit (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/map.js:30:10)
at Async._drainQueue (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/async.js:138:12)
at Async._drainQueues (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/bingo/Dropbox/Talk2it_D/talk2.it/node_modules/bluebird/js/release/async.js:17:14)
at processImmediate (internal/timers.js:443:21)
主题很好看,但是我的文章里面很多都带了音乐,所以对这个插件的需求有点高。
懒得打英文了Orz
目前发现添加进menu里的页面(about, link等等)都没有办法开启评论系统,无论是否添加comments条目
感觉about里加一个评论还好昂,可以拿来当和博主的直接留言.
然后就是日期问题,如果md里没有date表头,那显示的日期固定为文件修改日期.但about啊link啊这种地方应该不需要日期才对Orz
插入一个比较宽的视频,然后发现在小屏上右边出现越界了,视频右边紧靠屏幕边界,没有间隙。
利用markdown编辑,采用键盘上的tab键代替```格式化一段文字,发现某行文字太长没有折行产生越界了,不能左右滑动。
以你的博客这篇文章为例:https://blog.oniuo.com/post/grunt-beginner。
该文章有一个锚点名为 准备工作
。
当在地址栏输入 https://blog.oniuo.com/post/grunt-beginner#准备工作
的时候,应该正确跳转到 准备工作
的锚点位置,即和右侧的菜单点击 准备工作
相同的位置。就像这样:
但实际并不会跳转到指定位置,而是直接跳至文章顶部。
可以通过 Github 的 “Issue” 系统来管理文章的评论 感觉很直观的说
这些问题主要因为自己不会js,css,还望作者大大解决
格式:需求/问题,尝试/描述
main.js
中max-width=900
生效pre-thumbnail
{% gist 5bd5a2f0c126d8f60833973ca4b41749 find_cycle_in_graph.cpp %}
index.ejs
使之支持mathjax公式 修改后index.ejs 遇到的问题:第一次载入网页无法渲染公式需手动刷新,例如从归档页跳转到post , 查了下是Angular无法动态加载第三方脚本在配置 menu:下的 Search : /search,出现404。如何显示对应的搜索页面
你好,
如果帖子里面不想要 comments plugin 的话,2.0.1版本帖子底部会显示 Load comments undefined
能否在 config 里面添加一个 comments = false 的选项,或者说,当 comments 被 comment 掉的时候 (e.g., # comments), 主题就不会出现 Load comments undefined
谢谢!
列表页的图片怎么加
hexo g时提示:
(node:7852) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Wherever I add these lines into /_config.yml or inside/_config.yml:
feed:
path: atom.xml
The rss share button doesn't appear at all, perhaps I didn't look for it at proper place?
Btw, hexo-generator-feed installed already.
手机浏览器上看一篇比较长的文章发生错位!
https://blog.xujiaji.com/post/learn-dagger
主题如果再添加一个搜索功能就完美了
-1.当存在自己自定义的404页面时,utils.js 会编译不过。
我的尝试的方法
inside/layout/index.ejs的<head>
<% if (theme.plugins.mathjax) { %>
<!-- Edit here -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
</script>
<%- js('https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML') %>
<% } %>
plugins:
mathjax: true
mathjax:
enable: true
per_page: true
cdn: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML
公式插件:hexo-renderer-mathjax
测试网页或
问题:第一次网页打开是不加载公式, 刷新一下才能正确加载
The theme is not picking up on the manifest.json file I created.
能不能显示文章阅读数、网站浏览量等统计数据功能?
https://lilpig.site/post/vscode-command
比如这篇文章,第一个代码块是正常的,第二个就有问题了,但是我看了css也没啥不一样的地方啊,不知道为啥显示会出错。
博客部署在coding上,怎样添加
Hosted by Coding Pages
在footerRight here. https://bitbucket.org/ikeq/hexo-theme-inside-ng
I downloaded release file,rename to inside and copy to my themes but it doesn't show anything
Site link: https://sharp-villani-dc8730.netlify.com/en/
嗯。。再问一个问题,😂这个主题支持多级分类嘛,支持的话怎么操作。
以您的博客页面为例,当请求 https://blog.oniuo.com/about
时,实际上会先经过两次 301 跳转 about/
,才能正常显示页面(见下图):
但是如果手动给 URL 加上 /
(比如 https://blog.oniuo.com/about/
)后访问,就不会有 301 跳转的请求,但地址栏显示的 URL 后缀仍然是不带 /
的(https://blog.oniuo.com/about
)(见下图):
两次 301 跳转对首次进入网站或者刷新页面带来的体验不是很好,请问能否使生成路由的 URL 后缀末尾包含 /
,比如直接生成 about 页面的 URL 为 https://blog.oniuo.com/about/
而不是 https://blog.oniuo.com/about
?
由于对 Angular Router 的不了解,我自己尝试改了,但点击就会跳转到 404 页面,希望告知修改方法
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.