Giter VIP home page Giter VIP logo

hexo-theme-daily's Introduction

hexo-theme-Daily

GitHub version

A simple theme for Hexo(version 4.x). Demo: 👉 Demo Site or 国内访问 👈

ScreenShot

Daily

Usage

  1. (Optional) Specify Hexo version in the root directory

❗️ This theme maximum supported hexo version 4

$ hexo version # check version
$ npm i [email protected]
  1. In the root directory:
$ git clone https://github.com/GallenHu/hexo-theme-Daily.git themes/Daily
$ npm install --save hexo-renderer-sass
  1. Change the theme property in the config.yml file.
# theme: landscape
theme: Daily
  1. Run:
$ hexo server

Documentation

文档

Browser Support

IE9+

Inspired by

WordPress theme Daily Any Question,Please Contact: gallenhu#foxmail.com

hexo-theme-daily's People

Contributors

chaifie avatar cheng-kang avatar gallenhu avatar gundamew avatar psalaets 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

hexo-theme-daily's Issues

How do I remove date from page?

Hi,

Thank you for your beautiful theme!

My question is in the title : How do I remove date from pages but not from posts?
Should I create a new page.ejs and remove :
<p class="posted-on"> <%= page.date.format(config.date_format) %> </p>

Thanks for your answer.
Regards

使用source/_data/替代_config.yml中的自定义修改

Hexo 3 引入了数据文件夹: https://hexo.io/docs/data-files.html

使用source/_data/可以灵活配置,而不需要修改_config.yml。开发过程中,修改_config.yml不能实时生效,需要重启服务器,而source/_data/里面的文件修改是可以立即生效的。

可否考虑使用source/_data/来配置主题相关的项目?这样只需要把模板里的config.xxx换成site.data.xxx就可以了。

主题建议

比较喜欢daily主题,但是文章页面显示的有些窄个人觉得。建议可以加宽一点

about code highlight ?

你好,想要請問一下
使用程式碼的時候,怎麼出現像 demo 的 code highlight

image

我只有單一的顏色

image

No logo image when opening post

Hi, I run into the following issue:
image specified in logo: tag is visible only on the main page.
When I open any post logo image is not found. Where it should be placed?

站内搜索

请问怎么在该主题下做站内搜索(不跳转google),谢谢!

首页预览图无法显示

-  <img src="<%- config.root %><%- item.photos[0] %>" alt="<%- item.title %>" class="attachment-post-thumbnail">
+ <img src="<%- item.photos[0] %>" alt="<%- item.title %>" class="attachment-post-thumbnail">

原因是有config/root 若引用外链图片则会在前面加个/导致无法显示,除非外链图片使用//www.pic.com开头自动判断使用的协议,这里我用的七牛云图片在微信无法正确显示,所以只能把config.root删去。希望作者能加上判断是否是外链图片的

Disqus

How can I make disqus commenting appear only on posts and not on home page or archive page?

请问如何创建nav-about?

请教如何创建nav里面的About目录?
是直接在public下新建About文件夹?还是用git创建?

谢谢。

归档排序有问题

例如:从上到下
2016-3-10
2016-5-10
2016-4-10
2016-3-10
2016-3-10
2016-3-10
2016-2-10
2016-1-10
2016-9-10
2016-8-10
2016-7-10

How can I add a new page to the navigation bar?

Thank you for provide this clean and elegant themes.

But I wander how can I add new pages such as about page to the navigation bar?
Just like this:

screen shot 2017-04-25 at 10 05 43 am

Should I add something to the theme?
And how can I route to mysite.com/newpage with certain ejs files?

有个疑问

如何设置的:
在首页显示图片,进入文章之后图片不显示?

关于归档页面

Hi !

感谢你制作的这款主题,以前我用WP就很喜欢这个设计,当时从别人的博客扒皮就是这款,(可能他因为某些原因博主去掉了版权,我误以为是他的原创设计,还专门发邮件过去征得同意)。

由于我没有任何前端功底,所以只能做些“寻章摘句”的修改。

现在能在hexo用这款主题十分高兴,但由于强迫症,有些不满足的地方,在此冒昧的提出来,希望你有时间继续完善优化。

一个是导航栏的字体,我自己搞了一个;还有底部的搜索栏,我把按钮去掉了显得整齐点;还有归档页面,我觉得NexT这款主题的归档页设计很好,不知能否借鉴改进Daily主题。

谢谢!

图片缩放功能

很喜欢你的主题,请问怎么加入图片缩放功能?

谢谢!

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.