{"id":18024029,"url":"https://github.com/lete114/hexo-theme-yilia-pro","last_synced_at":"2025-03-27T00:30:48.361Z","repository":{"id":109798526,"uuid":"293097358","full_name":"Lete114/hexo-theme-yilia-pro","owner":"Lete114","description":"一个简洁优雅的hexo主题 A simple and elegant theme for hexo.","archived":false,"fork":false,"pushed_at":"2020-10-13T04:11:44.000Z","size":326,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T18:11:19.211Z","etag":null,"topics":["artalk","hexo","hexo-theme-yilia","valine","yilia","yilia-pro"],"latest_commit_sha":null,"homepage":"https://yilia.lete114.top","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lete114.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLogs.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-05T14:58:05.000Z","updated_at":"2025-01-14T11:35:59.000Z","dependencies_parsed_at":"2023-04-15T11:54:36.406Z","dependency_job_id":null,"html_url":"https://github.com/Lete114/hexo-theme-yilia-pro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2Fhexo-theme-yilia-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2Fhexo-theme-yilia-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2Fhexo-theme-yilia-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lete114%2Fhexo-theme-yilia-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lete114","download_url":"https://codeload.github.com/Lete114/hexo-theme-yilia-pro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245760564,"owners_count":20667886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artalk","hexo","hexo-theme-yilia","valine","yilia","yilia-pro"],"created_at":"2024-10-30T07:11:43.334Z","updated_at":"2025-03-27T00:30:48.349Z","avatar_url":"https://github.com/Lete114.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"hexo-theme-yilia-pro\n================\nYilia 是崇尚简约优雅，以及极致的性能\n\n\nYilia 是由 **[litten](https://github.com/litten)** 在2014年9月开发\n\nYilia-Pro 由 **[Lete乐特](https://github.com/lete114)** 在2020年9月进行优化更新\n\n                        \n## 使用\n\n#### 安装\n\n``` bash\ngit clone https://github.com/lete114/hexo-theme-yilia-pro.git themes/Yilia-Pro\n```\n\n#### 配置\n\n修改hexo根目录下的 `_config.yml` ： `theme: Yilia-Pro`\n\n## 配置\n\n在原Yilia基础上增加的功能(下方是第一个版本添加的功能，详细更新日志：[更新日志](ChangeLogs.md))\n\n1. 标题前添加图标(可旋转)\n2. 自定义图标\n3. 自定义图标大小\n4. 添加主题样式(搞自由度定制)\n5. 代码块样式(default | darker | pale night | light | ocean | mac | mac light)\n6. 代码框(default | darker | pale night | light | ocean | mac | mac light)\n7. 字数统计\n8. 阅读时长统计\n9. 访问量统计(不蒜子)\n10. 文章最新更新时间\n11. 自定义标题切换\n12. 自定义搜索框desc\n13. 网站启动年份\n14. 网站运行时间\n15. ICP备案\n16. CDN加速\n17. 版权声明\n18. Valine评论系统(移除其他评论系统、目前只有valine、计划未来添加其他评论系统)\n19. 自定义引入css、js\n20. 百度分析\u0026谷歌分析\n21. 页脚自定义字体颜色\n22. 自定义文章封面\n23. 页脚小红心\n24. 其他细节优化\n\n\n\u003e如果你有好的主意或者新功能欢迎与我交流\n\u003e\n\u003e下面是配置文件全部内容\n\n``` yml\n# Header\nmenu:\n 首页: /\n 主页: https://lete114.top/\n 说说: /say/\n 导航网: https://nav.lete114.top/\n 蝴蝶主题: https://butterfly.lete114.top\n\n# 搜索框描述\nsearch:\n desc: find something…\n\n# 昵称\nauthor: Lete乐特\nauthor_color: '#ff7242' # 左侧栏昵称颜色\nfooter_author: / # 点击跳转到  输入 '/' 跳转到首页\nfooter_author_newPage: false # 点击后是否打开新页面\n\n# 图标\nfavicon: /img/favicon.ico\n\n# 你的头像url\navatar: /img/avatar.png\n# 邮箱\nmail: lete@lete114.top\n\n# 版权\ncopy: true #md文件里设置copy:false属性，此文章无版权\n# 网站启动年份\nCopyright: 2019\n# 网站运行时间\nrun_time:\n enable: true\n create_time: '04/15/2020 12:00:00' #此处修改你的建站时间或者网站上线时间\n\n# 参考：https://getkit.cn/resources/font-awesome/\n# 标题icon图标\nrotate_sec: '1s' # 旋转速度默认1秒，留空不不旋转\nrotate_deg: '-360deg' # 旋转方向 正数顺时针，负数逆时针，留空不旋转\ntitle_prefix_icon: '\\f863' # 图标Unicode编码\ntitle_prefix_icon_color: '#00c4b6' # 图标颜色\n\n# SubNav\nfont_size: 20px # 图标大小\nsubnav:\n fab fa-github: https://github.com/lete114\n fas fa-book: https://blog.lete114.top\n fas fa-link: https://blog.lete114.top/link/\n\n# 自定义标题切换\namusing_title:\n enable: true\n leave_title: '(つェ⊂) 我藏好了哦~ '\n return_title: '(*´∇｀*) 被你发现啦~ '\n\n\n## 代码块样式\nhighlight_theme: mac # default / darker / pale night / light / ocean / mac / mac light / false\n\n# 样式定制 - 一般不需要修改，除非有很强的定制欲望…\nthemes:\n entirety_color: '#e58a8a' # 主题色\n article_more: '#4d4d4d' # 展开更多\n # 背景图片\n bg_img: url(\"https://cdn.jsdelivr.net/gh/lete114/CDN2/img/wei_er_li_te/3.jpg\")\n mobile_bg_img: url(\"https://cdn.jsdelivr.net/gh/lete114/CDN/Use/JAKWhn.png\")\n article: rgba(255,255,255,.7) # 文章透明度\n rightside: '#ccc' # 右侧按钮背景颜色\n a_color: '#00c4b6' # 超链接颜色\n a_color_hover: '#e58a8a'\n scrollbar_color: '#e58a8a' # 滚动条\n slider: '#e58a8a' # 所有文章板块背景，使用渐变色直接 slider: 'linear-gradient(200deg,#fff,#e58a8a)'\n footer_text: '#212121' # 页脚文字颜色\n footer_text_a:\n selection_text_bg: '#00c4b6 '  # 选中文字的背景颜色\n selection_text: '#fff'\n mobile_nav: '#00c4b6' # 头像下方导航文字颜色\n pc_nav: '#00c4b6'\n\n# ICP备案\nICP:\n enable: false\n icon: /img/icp.png\n url: http://www.beian.miit.gov.cn/\n text:\n\n# CDN加速\nCDN:\n enable: false\n icon: https://cdn.jsdelivr.net/gh/lete114/CDN/upyun/%E5%8F%88%E6%8B%8D%E4%BA%91_logo5.png\n url: https://www.upyun.com/?utm_source=lianmeng\u0026utm_medium=referral\n text: 提供加速服务\n\n\n# 字数统计\nword_count:\n enable: true\n wordcount: true # 字数统计\n min2read: true # 阅读时长统计\n\n# 访问量统计功能(不蒜子)\nbusuanzi:\n enable: true\n read: false # 开启阅读数\n\n# 是否开启文章最新更新时间\nupdate: true\n\n\n\n# Content\n# 展开全文\nshow_all_link: '展开全文'\n# 数学公式\nmathjax: false\n# 是否在新窗口打开链接\nopen_in_new: false\n\n# 打赏\nreward: true #  md文件里有reward: false属性则当前文章不显示打赏\n# 打赏wording\nreward_wording: '谢谢你请我吃糖果'\n# 支付宝二维码图片地址，跟你设置头像的方式一样。比如：/assets/img/alipay.jpg\nalipay: https://cdn.jsdelivr.net/gh/lete114/CDN@2.0/Use/zfb.png\n# 微信二维码图片地址\nweixin: https://cdn.jsdelivr.net/gh/lete114/CDN@2.0/Use/wzf.png\n\n# 目录\n# 目录设定：0-不显示目录； 1-文章对应的md文件里有toc:true属性，才有目录； 2-所有文章均显示目录\ntoc: 2\n# 根据自己的习惯来设置，如果你的目录标题习惯有标号，置为true即可隐藏hexo重复的序号；否则置为false\ntoc_hide_index: true\n# 目录为空时的提示\ntoc_empty_wording: '目录，不存在的…'\n\n#是否开启分享\nshare_jia: true\n\n\n## Artitalk 说说\n## https://artitalk.js.org/settings.html\nsay:\n enable: true\n title: 唠叨唠叨 # 标题\n desc: # 描述(副标题)\n appId: Wxxxxxxxhd1Ba9xxxxxxxxxxYXbMMI #你的 leancloud app id\n appKey: M9PBnxxxxxxxxxxxggr3Kvs #你的 leancloud app key\n serverURL: ''# 如果你是国内版 LeanCloud 用户，此项必填\n lang: ''# 语言设置 默认：zh（中文）选项：en（英语），es（西班牙语）\n pageSize: 5 # 默认值：5 每页显示说说的数量\n shuoPla: ''# 在编辑说说的输入框中的占位符\n avatarPla: ''# 自定义头像 url 的输入框的的占位符\n motion: 0 # 加载动画的开关 选项：0（关闭），1（开启）\n bgImg: ''# 说说输入框背景图片\n cssUrl: ''# 自定义css接口\n atComment: 1 # 评论功能的开关 选项：0（关闭），1（开启）\n color1: '' # 说说背景颜色 1 \u0026 按钮颜色 1\n color2: '' # 说说背景颜色 2 \u0026 按钮颜色 2\n color3: '' # 说说字体颜色 1\n atEmoji: # 自定义表情包(如下示例)\n  baiyan: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/baiyan.png\n  bishi: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/bishi.png\n  bizui: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/bizui.png\n  chan: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/chan.png\n  daku: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/daku.png\n  dalao: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/dalao.png\n  dalian: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/dalian.png\n  dianzan: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/dianzan.png\n  doge: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/doge.png\n  facai: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/facai.png\n  fadai: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fadai.png\n  fanu: https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fanu.png\n\n# 评论\ncomments: true #md文件里设置comments:false属性，此文章无评论\n\n# Valine\n# https://valine.js.org\nvaline:\n master: 2a776xxxxxxxxx4cd7f4442e2 # 你的邮箱md5加密(百度搜索md5在线加密)\n friends: ed5bb6xxxxxxxxxab7c3aaee6893b,d24719e3b7a6xxxxxxxxac991457 # 你的小伙伴的md5邮箱加密\n appId: qvkfTxFxxxxxxxxxxn-MdYXbMMI # 你的 leancloud app id\n appKey: WOUxxxxxxxxxyWJrog # 你的 leancloud app key\n pageSize: 5 # 评论列表分页，每页条数。\n lang: zh-CN # i18n: zh-CN/zh-TW/en/ja 语言\n placeholder: 建议使用QQ邮箱，评论头像采用QQ头像，其他邮箱会随机分配头像 #评论框占位符\n recordIP: true # 记录评论者IP\n serverURLs: # 该配置适用于国内自定义域名用户, 海外版本会自动检测(无需手动填写)\n emojiCDN:  # 设置表情包CDN，参考自定义表情(https://valine.js.org/emoji.html)\n enableQQ: true # 使昵称框自动获得QQ昵称和QQ头像\n emojiMaps: # 表情包图片\n\n\n## Artalk\n## https://artalk.js.org\nArtalk:\n enable: false\n placeholder: 开车不规范，亲人两行泪 # 评论框占位字符\n noComment: 快来沙发！ # 评论为空时显示字符\n sendBtn: 发送 # 发送按钮文字\n defaultAvatar: mp #默认头像类型\n pageKey: location.pathname # 页面唯一标识\n serverUrl: https://artalk.lete114.top # 服务器地址\n cdn: https://dn-qiniu-avatar.qbox.me/avatar/ # 头像CDN地址\n pageSize: 5 # 每次请求获取评论数量数量\n autoLoad: true # 滚动到底部自动加载\n emoticons: '{\"滑稽\":{\"inputType\":\"image\",\"container\":{\"原味稽\":\"https://i.loli.net/2019/02/01/5c53d26b7ae13.png\",\"还是算了\":\"https://i.loli.net/2020/04/30/riySFlu75fJdG4p.png\",\"蓝纹稽\":\"https://i.loli.net/2020/04/30/jyh5IVzpqXsHuvU.jpg\",\"随稽应变\":\"https://i.loli.net/2017/02/05/5896e6ec1d528.jpg\",\"蠕动\":\"https://i.loli.net/2017/02/05/5896e9712a3c1.gif\",\"束手无稽\":\"https://i.loli.net/2020/04/30/dF8sTOpgomj7qf5.jpg\",\"微笑默叹以为妙绝\":\"https://i.loli.net/2019/02/01/5c53daa84f24a.png\",\"喝嘤料\":\"https://i.loli.net/2019/02/01/5c53d63d8c6af.jpg\",\"暗中观察\":\"https://i.loli.net/2019/02/01/5c53dd21a2e7b.jpg\",\"高兴\":\"https://i.loli.net/2019/02/01/5c53d1b9e5f38.jpg\",\"惊稽\":\"https://i.loli.net/2019/02/01/5c53d1e2ad89f.jpg\",\"可这和我的帅有什么关系\":\"https://i.loli.net/2017/02/05/5896ece29a8e0.jpg\",\"狱稽\":\"https://i.loli.net/2020/04/30/cUEQrVYGFiDjqhy.jpg\",\"梆\":\"https://i.loli.net/2020/04/30/TlAGjm6IvJSMVpq.jpg\",\"吃鱼摆摆\":\"https://i.loli.net/2017/02/05/5896ec2cb7f39.gif\",\"跃跃欲试 3\":\"https://i.loli.net/2017/02/05/5896ece2ac5a2.gif\",\"突然滑稽\":\"https://i.loli.net/2019/02/01/5c53cf2a457f1.jpg\",\"扶墙怂\":\"https://i.loli.net/2017/02/05/5896ece2ab57a.jpg\",\"阔以\":\"https://i.loli.net/2020/04/30/7EYyq1TcBKa3eQ2.jpg\",\"不得行\":\"https://i.loli.net/2020/04/30/KoqBGauX7TEfeyn.jpg\",\"少儿不宜\":\"https://i.loli.net/2020/04/30/nt2ZWRozUNjBxAK.jpg\",\"稽日可期\":\"https://i.loli.net/2020/04/30/FmfYcoMJesi2Ddq.jpg\",\"哎\":\"https://i.loli.net/2020/04/30/ps7PTIANgSErqnU.jpg\",\"别看丢人\":\"https://i.loli.net/2019/02/01/5c53d4f89ea29.jpg\",\"地稽 2\":\"https://i.loli.net/2019/02/01/5c53dbae85687.jpg\",\"地稽\":\"https://i.loli.net/2020/04/30/BnTMX35EPxleVmA.jpg\",\"老阔有点扣\":\"https://i.loli.net/2020/04/30/fhDXbA9T1zJPlKk.gif\",\"啊哈哈\":\"https://i.loli.net/2019/02/01/5c53dc2947d84.jpg\",\"无稽可奈\":\"https://i.loli.net/2020/04/30/UyxTzB2fS3LtH7Q.jpg\",\"老实巴交\":\"https://i.loli.net/2020/04/30/7DgSoyqwtYBxchE.jpg\",\"紧张\":\"https://i.loli.net/2017/02/05/5896e8a408253.jpg\",\"摇摆稽\":\"https://i.loli.net/2019/02/01/5c53d1904dcb2.gif\",\"又不是不能用\":\"https://i.loli.net/2019/02/01/5c53ce897ab55.jpg\",\"一时滑稽\":\"https://i.loli.net/2019/02/01/5c53d5d28e22c.jpg\",\"无法接受\":\"https://i.loli.net/2019/02/01/5c53cee8422fc.jpg\",\"嘤雄豪稽\":\"https://i.loli.net/2020/04/30/sbtw6o7iKaM4Nmq.jpg\",\"相视双稽\":\"https://i.loli.net/2019/02/01/5c53d5a093149.jpg\",\"稽皮发麻\":\"https://i.loli.net/2017/02/05/5896ece2a019f.jpg\",\"地稽 3\":\"https://i.loli.net/2019/02/01/5c53dbe510bcf.jpg\",\"地稽委屈\":\"https://i.loli.net/2019/02/01/5c53d76e250da.jpg\",\"地稽抚摸\":\"https://i.loli.net/2020/04/30/cavZ6nNzMPimLy7.gif\",\"地稽捶打\":\"https://i.loli.net/2020/04/30/vFVPynXaHR5sitk.gif\",\"绝望\":\"https://i.loli.net/2019/02/01/5c53dc0ba2303.jpg\",\"气稽败坏\":\"https://i.loli.net/2019/02/01/5c53d216f3c60.jpg\",\"当场去世\":\"https://i.loli.net/2020/04/30/sogxHMTFWbE2lrP.jpg\",\"喝酒\":\"https://i.loli.net/2019/02/01/5c53d78c3f4a5.jpg\",\"老衲摆摊算命\":\"https://i.loli.net/2017/02/05/5896ece29d8a5.gif\",\"老哥，稳\":\"https://i.loli.net/2017/02/05/5896ece29ebb0.jpg\",\"自闭稽\":\"https://i.loli.net/2019/02/01/5c53d6603ee24.jpg\",\"无话可说\":\"https://i.loli.net/2019/02/01/5c53d6a77b7e4.jpg\",\"跃跃欲试\":\"https://i.loli.net/2017/02/05/5896e9710dfd5.jpg\",\"跃跃欲试 2\":\"https://i.loli.net/2019/02/01/5c53dcc057350.jpg\",\"满脑子骚操作\":\"https://i.loli.net/2020/04/30/xJXcUtO2BryHAsa.gif\",\"稽之舞\":\"https://i.loli.net/2019/02/01/5c53de1a4d14d.gif\",\"将稽就稽\":\"https://i.loli.net/2020/04/30/KVwf8qCrZts6WOT.gif\"}}}'\n # 表情包 如上示例使用json 空的话使用默认表情包\n # 压缩和验证json：https://www.bejson.com/\n\n# 自定义css js\nimport:\n css:\n  - \u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css\"\u003e\n js:\n  -\n  #- \u003cscript src=\"https://blog.lete114.top/js/Lete.js\"\u003e\u003c/script\u003e\n style_script:\n  -\n  - \u003cstyle\u003e/*修改图标颜色*/ .fa-github{color:#000} .fa-book{color:#709fb0} .fa-link{color:#a37eba} \u003c/style\u003e\n  # (如上)不想另建css文件引入可以直接写样式\n\n# 百度统计\u0026谷歌统计\nanalytics:\n baidu: 'ab2d808c5ec8e10d08db3396ec9ac2b9'\n google:\n\n# 404 page\nerror_404:\n enable: true\n sec: 30\n name_color: '#80bdab'\n color: '#e58a8a'\n text: '404！页面君找不到这个网页！！'\n bg_img: url(\"https://cdn.jsdelivr.net/gh/lete114/CDN2/img/wei_er_li_te/3.jpg\")\n music:\n   ### autoplay=自动播放 | loop=循环播放 | controls=显示控件 | muted=静音 | src=音频地址\n   ### 不推荐：controls、muted、preload\n   ### preload=音频在页面加载时进行加载，并预备播放。如果使用 \"autoplay\"，则忽略该属性\n  autoplay\n  loop\n  src=\"https://656e-env-jxscvzag-1301xxxxxxxxxxxxxxxxxud.la/music/zenyang.mp3\"\n\n\n\n## --------------------没事就别动下面的配置了--------------------\n\n# slider的设置\nslider:\n # 是否默认展开tags板块\n showTags: true\n\n# 智能菜单\n# 如不需要，将该对应项置为false\n# 比如\n#smart_menu:\n#  friends: false\nsmart_menu:\n innerArchive: '所有文章'\n #friends: '友链'\n #aboutme: '关于我'\n\nfriends:\n 友情链接1: http://localhost:4000/\n 友情链接2: http://localhost:4000/\n 友情链接3: http://localhost:4000/\n 友情链接4: http://localhost:4000/\n 友情链接5: http://localhost:4000/\n 友情链接6: http://localhost:4000/\n\naboutme: 很惭愧\u003cbr\u003e\u003cbr\u003e只做了一点微小的工作\u003cbr\u003e谢谢大家\n\n```\n\n## 其他项目\n\nHomePage：[https://github.com/lete114/hexo-theme-MengD](https://github.com/lete114/hexo-theme-MengD)\n\n获取屏幕颜色(Java): [https://github.com/lete114/Java.Tools](https://github.com/lete114/Java.Tools)\n\n获取屏幕颜色(C#): [https://github.com/lete114/C.Tools](https://github.com/lete114/C.Tools)\n\n谷歌浏览器插件批量下载器：[https://github.com/lete114/GetThemAll](https://github.com/lete114/GetThemAll)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flete114%2Fhexo-theme-yilia-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flete114%2Fhexo-theme-yilia-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flete114%2Fhexo-theme-yilia-pro/lists"}