Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
hexo-butterfly-envelope
Advanced tools
Readme
给hexo-theme-butterfly
添加 信封样式留言板
[Blogroot]
下打开终端,运行以下指令:npm install hexo-butterfly-envelope --save
_config.yml
或者主题配置文件_config.butterfly.yml
中添加 # envelope_comment
# see https://akilar.top/posts/e2d3c450/
envelope_comment:
enable: true #控制开关
custom_pic:
cover: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/violet.jpg #信笺头部图片
line: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/line.png #信笺底部图片
beforeimg: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/before.png # 信封前半部分
afterimg: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/after.png # 信封后半部分
message: #信笺正文,多行文本,写法如下
- 有什么想问的?
- 有什么想说的?
- 有什么想吐槽的?
- 哪怕是有什么想吃的,都可以告诉我哦~
bottom: 自动书记人偶竭诚为您服务! #仅支持单行文本
height: #1050px,信封划出的高度
path: #【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html
front_matter: #【可选】comments页面的 front_matter 配置
title: 留言板
comments: true
参数 | 备选值/类型 | 释义 |
---|---|---|
enable | true/false | 控制开关 |
custom_pic.cover | URL | 信笺头部图片链接 |
custom_pic.line | URL | 信笺底部图片链接 |
custom_pic.beforeimg | URL | 信封前半部分图片链接 |
custom_pic.afterimg | URL | 信封后半部分图片链接 |
message | text | 信笺正文,支持多行文本,写法见上文示例 |
bottom | text | 信笺底部信息,仅支持单行文本 |
height | 1050px | 默认1050px,信封划出的高度 |
path | comments | 【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html |
front_matter | object | 【可选】comments页面的 front_matter 配置,写法见上文示例 |
FAQs
A commentsbar beautify plugin for theme-butterfly
The npm package hexo-butterfly-envelope receives a total of 383 weekly downloads. As such, hexo-butterfly-envelope popularity was classified as not popular.
We found that hexo-butterfly-envelope demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.