Skip to content

70v-Yoyo/hexo-everyday-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: ISC Required Hexo version

This is a practical calendar plugin for hexo bloggers. It automatically counts the number of articles you publish each day and displays them in different color grades, like contribution statistics on GitHub.

It also features built-in responsive layout adaptation for mobile devices, requiring no manual operation.

Getting Started

  1. Install it directly with npm
npm install hexo-everyday-calendar
  1. (If it cannot be displayed normally,) please ensure that you have a tag <body> in your homepage. The calendar will automatically be placed within this div.
  2. (Only for version <=1.3.9) This plugin supports custom placement on your homepage. To use it, identify the div block where you want the plugin, and set its classname to 'site-body'. You'll typically find div block within your index.html file, located in your blog folder.
  3. check the effects: hexo clean&&hexo g&&hexo s

使用

  1. 直接用npm安装即可
npm install hexo-everyday-calendar
  1. (如果不能正常显示) 同时放入与source同级的目录plugins下

  2. (如果不能正常显示) 确保你的首页中有<body>标签,日历模块会自动放入这里

  3. 自定义放入位置:在你想要放入的位置中,设置div块的classname为'site-body',即可放入(仅适用于版本<=1.3.9)

  4. 查看效果 hexo clean&&hexo g&&hexo s

更新 Update

  • 2.14
  1. 修复select居中情况
  2. 增加打卡墙块根据提交数量形成颜色变化功能
  • 2.21
  1. 增加响应式布局,适配移动端
  2. 修复select组件垂直不居中的问题
  3. 国际化
  • 3.6
  1. 修复上下和左右���距不一致问题
  • 4.15
  1. 修复web端/移动端整体组件过小的问题
  • 5.5
  1. 修复宽屏显示器显示组件过大的问题
  2. 压缩npm包
  • 5.10
  1. 修改README
  • 6.17
  1. 更普遍适用于各类主题,放入body内而不是site-body中 more common
  • 6.28
  1. 增加显示某日发表数量
  2. 修复弹出提示被遮挡问题
  3. 修复提示位置

效果 Example

image-20250211172548584

The above picture shows the comparison of this plugin on desktop and mobile devices.

Recommendations

  • hexo-auto-toc:A plugin automatically generates a responsive table of contents that fixes to the side of the article page or above the articles, depending on the user's device.

About

A practical calendar for hexo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published