mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-05 22:42:00 +08:00
Compare commits
59
Commits
5.5.0
..
81275828f6
No files matched your search
@@ -3,17 +3,25 @@ name: npm publish
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # OIDC 必須
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
# Setup .npmrc file to publish to npm
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '20.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npm install
|
||||
- run: npm publish
|
||||
|
||||
- run: npm publish --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
+10
-4
@@ -91,7 +91,8 @@ category_per_img:
|
||||
footer_img: false
|
||||
|
||||
# Website Background
|
||||
# Can set it to color or image url
|
||||
# Can set it to color, image URL or an array containing colors and/or image URLs
|
||||
# If an array is provided, a random background will be selected from the array on each load
|
||||
background:
|
||||
|
||||
cover:
|
||||
@@ -318,6 +319,7 @@ aside:
|
||||
# If set 0 will show all
|
||||
limit: 40
|
||||
color: false
|
||||
custom_colors:
|
||||
# Order of tags, random/name/length
|
||||
orderby: random
|
||||
# Sort of order. 1, asc for ascending; -1, desc for descending
|
||||
@@ -515,12 +517,12 @@ share:
|
||||
# Share.js
|
||||
# https://github.com/overtrue/share.js
|
||||
sharejs:
|
||||
sites: facebook,twitter,wechat,weibo,qq
|
||||
sites: facebook,x,wechat,weibo,qq
|
||||
|
||||
# AddToAny
|
||||
# https://www.addtoany.com/
|
||||
addtoany:
|
||||
item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
|
||||
item: facebook,x,wechat,sina_weibo,facebook_messenger,email,copy_link
|
||||
|
||||
# --------------------------------------
|
||||
# Comments System
|
||||
@@ -938,6 +940,10 @@ mermaid:
|
||||
theme:
|
||||
light: default
|
||||
dark: dark
|
||||
# Enable "Open in New Tab" button to view diagram in a separate window
|
||||
open_in_new_tab: true
|
||||
# Enable zoom and pan interactions on diagrams
|
||||
zoom_pan: true
|
||||
|
||||
# chartjs
|
||||
# see https://www.chartjs.org/docs/latest/
|
||||
@@ -1067,7 +1073,7 @@ CDN:
|
||||
third_party_provider: jsdelivr
|
||||
|
||||
# Add version number to url, true or false
|
||||
version: false
|
||||
version: true
|
||||
|
||||
# Custom format
|
||||
# For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ search:
|
||||
pagination:
|
||||
prev: 上一篇
|
||||
next: 下一篇
|
||||
page_info: '第 ${current} 頁 / 共 ${total} 頁'
|
||||
page_info: '第 ${current} 页 / 共 ${total} 页'
|
||||
|
||||
comment: 评论
|
||||
|
||||
|
||||
Loaded 3 of 47 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user