theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.17k stars 2.05k forks source link

为 cc 添加 标准 或 紧凑 的图标样式,并且可以 修改宽度 #1605

Closed ghost closed 3 years ago

ghost commented 3 years ago

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Expected behavior

Note: Since the theme usually uses git submodules for maintenance, it is hoped that only the theme configuration file can be modified to achieve this function without changing the theme/next file. 注意: 由于 主题 通常使用 git 子模块 进行维护,因此希望 仅修改 主题配置文件 即可实现此功能,而 无需更改 theme/next 中的文件。

Idea source: Please select the style you want to display on the page: standard or compact 想法出处: 请选择要在网页上显示的图标样式:标准紧凑

Creative commons sidebar style, hope is standard style and modify the width, for example: Creative commons 侧边栏图标样式,希望是 标准 的图标样式,并且 可以修改宽度,例如: Creative Commons License Agreement

Actual behavior

Actually provides compact style. 实际上是 紧凑 的图标样式。

Steps to reproduce the behavior

  1. Edit _config.next.yml 编辑 _config.next.yml

    creative_commons:
    license: by
    sidebar: true
    post: true
    language: deed.zh
  2. Start service 启动服务

    $ hexo s --incremental --draft

Other Information

OS: macOS 10.13.6 (High Sierra) Browser: Firefox 84.0.2 hexo-theme-next: 7.8.0

standard 标准

standard

compact 紧凑

compact

Coding 代码

see PR https://github.com/theme-next/hexo-theme-next/pull/1610

welcome[bot] commented 3 years ago

Thanks for opening this issue, maintainers will get back to you as soon as possible!

jiangtj commented 3 years ago

May contribute to https://github.com/next-theme/hexo-theme-next ?

GitHub
next-theme/hexo-theme-next
🎉 Elegant and powerful theme for Hexo. Contribute to next-theme/hexo-theme-next development by creating an account on GitHub.