Giter Site home page Giter Site logo

ppoffice / hexo-theme-minos Goto Github PK

View Code? Open in Web Editor NEW
757.0 22.0 199.0 8.52 MB

A simple and retro styled Hexo theme, concentrated more on your ideas.

Home Page: http://ppoffice.github.io/hexo-theme-minos

License: MIT License

JavaScript 48.77% EJS 37.00% SCSS 14.23%
hexo hexo-theme theme static-site

hexo-theme-minos's People

Contributors

201507 avatar aishenghuomeidaoli avatar bartoszlitwiniuk avatar ckcks12 avatar dexteryan avatar heruns avatar ignaciocastro avatar kocomic avatar lirc572 avatar m2thearcin avatar novate avatar phunatix avatar poying avatar ppoffice avatar wenheqi avatar yuri-sn avatar zhutmost 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

hexo-theme-minos's Issues

Disqus can't be loaded.

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.

How can I change default Google search to swifttype search of search box?

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.

This is my way of installation.

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: '&#xF002;'}) %>
        </div>

How can I switch the search engine?

Error When Run Hexo

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 改成我自己的域名?
源码看了老半天 不知从何下手…

谢谢!

手机端菜单显示

在手机端菜单显示只是在左侧 一个带有三个横杠的 按钮 ,点击它就返回主页,点击中间的空格菜单 也亦返回主页,手机端将电脑端的 菜单显示完全怎么办?

导航栏等其他内容均不显示

你好,我将源码上传到GitHub,再从GitHub下载,会导致导航栏、搜索功能、评论功能消失。
还请看下我的仓库,它在source分支。

Read More?

作者你好:
我的首页文章列表中,把文章的所有内容都输出了。
我想要像你的例子里那样,展示出来一部分,然后有一个“文章详情”的链接,可是在你的配置说明中没有找到。
是在其他地方配置吗?

How to open RSS function?

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 .

unsure how to add "Read More", categories, tags

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?

About configuring Valine Comment document Errors

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.

如何添加社交网络的小logo链接

您好,我想把linkedin,facebook等社交网络的链接放在网站的下面,就是powered by hexo的旁边,然后通过小图标点击,请问如何做?

如何添加disqus评论?

您好,很喜欢这个主题!可是我安装以后怎么没有demo里的disqus评论了呢,求告知怎么添加disqus,感谢!

多语言支持不好

尝试了各种i18n的插件,包括官方i18n的,但是基本上不能正确显示。
不知道将来有没有这个计划支持多语言(界面、同一篇文章不同语言)?

Sass

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.

文章发布时间不变

比如文章发布时间是8小时前,过了第二天还是显示8小时前,这个时间始终不会变。

报错

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

Showing pages

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.

Can't support markdown sequence diagram?

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

无法打开链接

最近两天使用这个theme直接无法使用http打开链接了,本来以为是github的问题。换了theme才知道,是minos的问题,但是无法排查,请看看是什么问题。

Display on mobile phone

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!

移动端视频不能自适应,窗口显示不完整

文章里包含youtube视频,在手机端不能自适应分辨率,而且窗口不能完整显示,
视频代码<iframe width="560" height="315" src="https://www.youtube.com/embed/-YGDyPAwQz0" frameborder="0" allowfullscreen></iframe>
使用android默认浏览器和chrome均有次问题

如何添加百度统计

由于网上的文章都是针对某个主题,所以它不适合我。我也曾效仿你的其他作品从而进行设置,可惜依然不行。
想请问一下对于该主题如何添加百度统计?就像Google统计那样,可以在主题配置文件中通过“id”进行一键设置。

[Feature Request] Copyright Section

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?

post.content Encoding error

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 &#x000.
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.

2.0 pre测试中的一些小问题

我更新到了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里:

  1. 缺失categories、tags、about三个页面的模板,所以出问题了
  2. archives没有生成双语版,之前1.0很完美的双语
  3. 有一部分界面语言还没有中文翻译

参见:https://dengcb.com
期待完善~

jQuery not loading in Demo

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

deprecation warning

运行时报错
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.
请问这个怎么解决?

新增功能意见

希望能够新增 多说品论、百度分享、Swiftype搜索 功能。

留言功能?

作者您好
很高興您做出這麼有質感的主題,我們也很喜歡。
只是不知道您有沒有多加留言的功能呢?

我自己是Google許久,嘗試許多方式,還是無法看到留言功能出現QQ

搜索修改

个人需求需要修改主题的搜索栏,修改成为 Google CSE,但是找很久都没有找到需改的地方,请问在哪里修改呢。

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.