ppoffice / hexo-theme-minos Goto Github PK
View Code? Open in Web Editor NEWA simple and retro styled Hexo theme, concentrated more on your ideas.
Home Page: http://ppoffice.github.io/hexo-theme-minos
License: MIT License
A simple and retro styled Hexo theme, concentrated more on your ideas.
Home Page: http://ppoffice.github.io/hexo-theme-minos
License: MIT License
I've got pages as well as posts (in docs treated as separate "layouts"), and want to show the these pages from the theme's menu bar, similar to the Archives page. Though this is not strictly a theme issue, more how to in its extension, do you know how this might be done, or know of a relevant article that may help? In the theme there's a page.ejs, but it's content refers to a post.
我更新到了2.0 pre,同时使用hexo-multilingual做全站多语言,发现了一些小问题。
包配置如下:
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.7.0"
},
"dependencies": {
"deepmerge": "^2.1.0",
"hexo": "^3.7.0",
"hexo-deployer-git": "^0.3.1",
"hexo-generator-json-content": "^3.0.1",
"hexo-generator-multilingual-archive": "^0.2.0",
"hexo-generator-multilingual-category": "^0.3.2",
"hexo-generator-multilingual-feed": "^1.2.2",
"hexo-generator-multilingual-index": "^0.3.1",
"hexo-generator-tag": "^0.2.0",
"hexo-multilingual": "^0.6.0",
"hexo-pagination": "^0.1.0",
"hexo-renderer-ejs": "^0.3.0",
"hexo-renderer-marked": "^0.3.0",
"hexo-renderer-sass": "^0.3.2",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.2.0",
"lodash": "^4.17.5",
"underscore": "^1.8.3"
}
}
hexo-multilingual
系列在minos1.0里很好地完成了全站双语化,但是在2.0里:
参见:https://dengcb.com
期待完善~
Just like NeXT theme, add comments: false
to .md files.
Minos provides any this function? Can someone know this?
I use disqus on my web.
Added the contents from _config.yml.example
, but I still don't get the "Read More" links on the homepage & categories / tags pages.
Could you upload the source of your demo/`gh-pages' if you won't want to write a full tutorial please?
您好,我想把linkedin,facebook等社交网络的链接放在网站的下面,就是powered by hexo的旁边,然后通过小图标点击,请问如何做?
文章里包含youtube视频,在手机端不能自适应分辨率,而且窗口不能完整显示,
视频代码<iframe width="560" height="315" src="https://www.youtube.com/embed/-YGDyPAwQz0" frameborder="0" allowfullscreen></iframe>
使用android默认浏览器和chrome均有次问题
Hello! I really think that it is a good hexo theme which stands out. And I have tried it in my blog.
But there are some problems.
Firstly, the search button and the button linking to github become a blank block on my mobile phone.
Secondly, I tried 'mathjax: true' but failed and I chose hexo-math plugin using mathjax engine. But in the html-css output format, I think its output's size is smaller. How can I sovle it?
Finally, I am an English learner and there may be some grammar mistakes. I am sorry for this. Thanks!
个人需求需要修改主题的搜索栏,修改成为 Google CSE,但是找很久都没有找到需改的地方,请问在哪里修改呢。
按照说明文档弄好了tags和categories页面,可是不知道该怎么设置about页面?谢谢
最近两天使用这个theme直接无法使用http打开链接了,本来以为是github的问题。换了theme才知道,是minos的问题,但是无法排查,请看看是什么问题。
怎么试都没有成功,能不能告知下方法
由于网上的文章都是针对某个主题,所以它不适合我。我也曾效仿你的其他作品从而进行设置,可惜依然不行。
想请问一下对于该主题如何添加百度统计?就像Google统计那样,可以在主题配置文件中通过“id”进行一键设置。
Hello. I got a problem when run Hexo after install minox
Error
Script ERROR Script load failed: themes/minos/scripts/01_check.js ReferenceError: hexo is not defined
Hexo version
hexo: 3.7.1
hexo-cli: 1.1.0
Why this error Occur?
我的github pages绑定了一个cname域名。
minos主题的默认搜索站点是 xxx.github.io 但是google显示不出来任何搜索结果,若改成:关键字 site:http://x.zyx.im google才会搜索出站点的相关内容。
请问如何将搜索地址由xxx.github.io 改成我自己的域名?
源码看了老半天 不知从何下手…
谢谢!
类似直接向作者付费这样的功能。
作者您好
很高興您做出這麼有質感的主題,我們也很喜歡。
只是不知道您有沒有多加留言的功能呢?
我自己是Google許久,嘗試許多方式,還是無法看到留言功能出現QQ
ReferenceError: hexo is not defined
at Object. (C:\Users\63479\leeblog\themes\minos\scripts\10_i18n.js:103:1)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (C:\Users\63479\leeblog\node_modules\hexo\lib\hexo\index.js:219:21)
at C:\Users\63479\leeblog\themes\minos\scripts\99_content.js:4:92
at fs.readFile.then.script (C:\Users\63479\leeblog\node_modules\hexo\lib\hexo\index.js:232:12)
at tryCatcher (C:\Users\63479\leeblog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:638:18)
at Promise._resolveCallback (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:432:57)
at Promise._settlePromiseFromHandler (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:693:18)
at Promise._fulfill (C:\Users\63479\leeblog\node_modules\bluebird\js\release\promise.js:638:18)
ERROR Script load failed: themes\minos\scripts\01_check.js
DEPRECATION WARNING on line 5, column 8 of D:/05_Server/02_blog/me/themes/minos/ source/css/style.scss: Including .css files with @import is non-standard behaviour which will be remove d in future versions of LibSass. Use a custom importer to maintain this behaviour. Check your implementations doc umentation on how to create a custom importer.
Hi.
I got some encoding issue.
Title and some additional info are printed pretty well, but content isn't.
I attached two images. Minos theme and Landscape(default theme).
이런글자
is printed properly but Minos theme does like �
.
It is important to be crawled. Document is not recognized well by crawler.
Also insight plugin doesn't work well cuz its content is not readable character.
I thought that article.ejs
has the key but two theme have some source code
<%- post.content %>
So I hope you can help me.
运行时报错
DEPRECATION WARNING on line 5, column 8 of D:/hexo/themes/minos/source/css/style.scss:
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass.
Use a custom importer to maintain this behaviour. Check your implementations documentation on how to create a custom importer.
请问这个怎么解决?
您好,很喜欢这个主题!可是我安装以后怎么没有demo里的disqus评论了呢,求告知怎么添加disqus,感谢!
如题。
非常感谢。
I added the disqus_shortname:shawlang
to the _config.yml, but Disqus can't be loaded.
The error is
we are unable to load Disqus. If you are a moderator please see our troubleshooting....
Then I copyed the universal code from Disqus to the end of file "article.ejs".It works.
I think there is something wrong the code of Minos.
I write a post with sequence diagram, but it seems it can't render the diagram. Can you please add this feature?
Example:
participant A
participant B
A->B: hello
还是木有解决呀。。
I haved installed hexo-migrator-rss
, added plugins: - hexo-generator-feed
to _config.yml
and excuted hexo g
, but there doesn't have atom.xml
.
希望能够新增 多说品论、百度分享、Swiftype搜索 功能。
There is an error in configuring Valine Comment service documentation in MINOS
Source Document
comment:
type: valine
app_id: xxxxxxxx # (required) LeanCloud application id
app_key: xxxxxxxx # (required) LeanCloud application key
notify: false # (optional) receive email notification
verify: false # (optional) show verification code
placeholder: xxxxxxxx # (optional) comment box placeholder text
In fact, this will show the AppID and Appkey in the comments area of Minos
This should be the correct configuration
comment:
type: valine
appId: xxxxxxxx # (required) LeanCloud application id
appKey: xxxxxxxx # (required) LeanCloud application key
notify: false # (optional) receive email notification
verify: false # (optional) show verification code
placeholder: xxxxxxxx # (optional) comment box placeholder text
Thank you for your work.
请问,如何在文章中添加category和tag,我没有在README中看到相关说明啊
作者你好:
我的首页文章列表中,把文章的所有内容都输出了。
我想要像你的例子里那样,展示出来一部分,然后有一个“文章详情”的链接,可是在你的配置说明中没有找到。
是在其他地方配置吗?
Hi.
To verify site ownership from google search console, Google analytics should be placed at <head>
.
See this https://support.google.com/webmasters/answer/35179?hl=en
Hi,
I'm just getting started using this theme.
My previous theme contains a copyright claim section, which helps my reader know whether they can reuse my post.
But I haven't found that in minos.
If there is any plan for implementing this feature?
比如文章发布时间是8小时前,过了第二天还是显示8小时前,这个时间始终不会变。
主题配置文件里好像没有?
想手动添加,不知道要添加到哪个文件里?
Google is blocked in China. So I have to change the Google search to other search engine and I take swifttype a try.
But I followed the guide of https://swiftype.com and installed it. But when I search something in search box. It still used Google engine.
step1. copy the code of installation code from swifttype.com to the end of file footer.ejs
.
<script type="text/javascript">
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
_st('install','hpwehiRPuuBriefhgg56','2.0.0');
</script>
setp2. add a new class name for tag div
in the file header.ejs
<div class="st-default-search-input" id="search-form-wrap">
<%- search_form({button: ''}) %>
</div>
How can I switch the search engine?
你好,我将源码上传到GitHub,再从GitHub下载,会导致导航栏、搜索功能、评论功能消失。
还请看下我的仓库,它在source分支。
When I write posts like this:
But the result in post is like this:
I think it should be like this:
It worked!
Congratulations on your first Django-powered page.
So what's the problem with theme? This is my post website:
Thanks in advance!
尝试了各种i18n的插件,包括官方i18n的,但是基本上不能正确显示。
不知道将来有没有这个计划支持多语言(界面、同一篇文章不同语言)?
在手机端菜单显示只是在左侧 一个带有三个横杠的 按钮 ,点击它就返回主页,点击中间的空格菜单 也亦返回主页,手机端将电脑端的 菜单显示完全怎么办?
如题。但是由文章点入某一个具体的categories是可以显示页面的,例如categories/mycategories
Does Minos support rendering a table of contents, like in hexojs/hexo#408?
It looks like tranquilpeak supports the TOC by using a <!-- toc -->
tag:
为什么“--”或者“---”多条横杠会解析显示成“-”一条横杠
In the Demo ("Preview") site provided in the readme, which is http://blog.zhangruipeng.me/hexo-theme-minos/ , jQuery is not loading because of a wrong js src path. This causes the navigation drawer button to not work.
Current problematic version:
<script src="/hexo-theme-minos//hexo-theme-minos/js/jquery.min.js"></script>
While it is supposed to be:
<script src="/hexo-theme-minos/js/jquery.min.js"></script>
Note that this does not affect any of the theme users. This bug only appears in the demo page. I would suggest you to regenerate the demo page.
By the way, I am porting this theme to hugo. Thanks for all the hard work. Here is the repo of the port: https://github.com/carsonip/hugo-theme-minos
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.