mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
feat: update plugins.yml
This commit is contained in:
20
.github/stale.yml
vendored
20
.github/stale.yml
vendored
@@ -1,20 +0,0 @@
|
|||||||
# Number of days of inactivity before an issue becomes stale
|
|
||||||
daysUntilStale: 30
|
|
||||||
# Number of days of inactivity before a stale issue is closed
|
|
||||||
daysUntilClose: 7
|
|
||||||
# Issues with these labels will never be considered stale
|
|
||||||
exemptLabels:
|
|
||||||
- pinned
|
|
||||||
- security
|
|
||||||
- bug
|
|
||||||
- enhancement
|
|
||||||
- documentation
|
|
||||||
# Label to use when marking an issue as stale
|
|
||||||
staleLabel: stale
|
|
||||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
||||||
markComment: >
|
|
||||||
This issue has been automatically marked as stale because it has not had
|
|
||||||
recent activity. It will be closed if no further activity occurs. Thank you
|
|
||||||
for your contributions.
|
|
||||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
||||||
closeComment: false
|
|
||||||
19
.github/workflows/stale.yml
vendored
Normal file
19
.github/workflows/stale.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: 'Close stale issues and PRs'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '30 1 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v5
|
||||||
|
with:
|
||||||
|
days-before-issue-stale: 30
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
days-before-close: 7
|
||||||
|
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
|
||||||
|
close-pr-message: 'This issue has not seen any activity since it was marked stale. Closing.'
|
||||||
|
stale-issue-label: 'Stale'
|
||||||
|
exempt-issue-labels: 'pinned,bug,enhancement,documentation,Plan'
|
||||||
|
operations-per-run: 1000
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
- const { server, site } = theme.artalk
|
- const { server, site, option } = theme.artalk
|
||||||
|
|
||||||
script.
|
script.
|
||||||
function addArtalkSource () {
|
function addArtalkSource () {
|
||||||
@@ -10,14 +10,14 @@ script.
|
|||||||
|
|
||||||
function loadArtalk () {
|
function loadArtalk () {
|
||||||
function initArtalk () {
|
function initArtalk () {
|
||||||
window.artalkItem = new Artalk({
|
window.artalkItem = new Artalk(Object.assign({
|
||||||
el: '#artalk-wrap',
|
el: '#artalk-wrap',
|
||||||
server: '!{server}',
|
server: '!{server}',
|
||||||
site: '!{site}',
|
site: '!{site}',
|
||||||
pageKey: location.pathname,
|
pageKey: location.pathname,
|
||||||
darkMode: document.documentElement.getAttribute('data-theme') === 'dark',
|
darkMode: document.documentElement.getAttribute('data-theme') === 'dark',
|
||||||
countEl: '.artalk-count'
|
countEl: '.artalk-count'
|
||||||
})
|
},!{JSON.stringify(option)}))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof window.artalkItem === 'object') setTimeout(()=>{initArtalk()},200)
|
if (typeof window.artalkItem === 'object') setTimeout(()=>{initArtalk()},200)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hexo-theme-butterfly",
|
"name": "hexo-theme-butterfly",
|
||||||
"version": "4.4.0-b1",
|
"version": "4.4.0-b2",
|
||||||
"description": "A Simple and Card UI Design theme for Hexo",
|
"description": "A Simple and Card UI Design theme for Hexo",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
22
plugins.yml
22
plugins.yml
@@ -1,11 +1,11 @@
|
|||||||
algolia_search_v4:
|
algolia_search_v4:
|
||||||
name: algoliasearch
|
name: algoliasearch
|
||||||
file: dist/algoliasearch-lite.umd.js
|
file: dist/algoliasearch-lite.umd.js
|
||||||
version: 4.13.1
|
version: 4.14.2
|
||||||
instantsearch_v4:
|
instantsearch_v4:
|
||||||
name: instantsearch.js
|
name: instantsearch.js
|
||||||
file: dist/instantsearch.production.min.js
|
file: dist/instantsearch.production.min.js
|
||||||
version: 4.43.1
|
version: 4.44.0
|
||||||
pjax:
|
pjax:
|
||||||
name: pjax
|
name: pjax
|
||||||
file: pjax.min.js
|
file: pjax.min.js
|
||||||
@@ -25,7 +25,7 @@ blueimp_md5:
|
|||||||
valine:
|
valine:
|
||||||
name: valine
|
name: valine
|
||||||
file: dist/Valine.min.js
|
file: dist/Valine.min.js
|
||||||
version: 1.5.0
|
version: 1.5.1
|
||||||
disqusjs:
|
disqusjs:
|
||||||
name: disqusjs
|
name: disqusjs
|
||||||
file: dist/browser/disqusjs.es2015.umd.min.js
|
file: dist/browser/disqusjs.es2015.umd.min.js
|
||||||
@@ -37,17 +37,17 @@ disqusjs_css:
|
|||||||
twikoo:
|
twikoo:
|
||||||
name: twikoo
|
name: twikoo
|
||||||
file: dist/twikoo.all.min.js
|
file: dist/twikoo.all.min.js
|
||||||
version: 1.5.11
|
version: 1.6.5
|
||||||
waline_js:
|
waline_js:
|
||||||
name: '@waline/client'
|
name: '@waline/client'
|
||||||
file: dist/waline.js
|
file: dist/waline.js
|
||||||
other_name: waline
|
other_name: waline
|
||||||
version: 2.6.1
|
version: 2.6.3
|
||||||
waline_css:
|
waline_css:
|
||||||
name: '@waline/client'
|
name: '@waline/client'
|
||||||
file: dist/waline.css
|
file: dist/waline.css
|
||||||
other_name: waline
|
other_name: waline
|
||||||
version: 2.6.1
|
version: 2.6.3
|
||||||
sharejs:
|
sharejs:
|
||||||
name: butterfly-extsrc
|
name: butterfly-extsrc
|
||||||
file: sharejs/dist/js/social-share.min.js
|
file: sharejs/dist/js/social-share.min.js
|
||||||
@@ -73,7 +73,7 @@ katex_copytex:
|
|||||||
mermaid:
|
mermaid:
|
||||||
name: mermaid
|
name: mermaid
|
||||||
file: dist/mermaid.min.js
|
file: dist/mermaid.min.js
|
||||||
version: 9.1.3
|
version: 9.1.5
|
||||||
canvas_ribbon:
|
canvas_ribbon:
|
||||||
name: butterfly-extsrc
|
name: butterfly-extsrc
|
||||||
file: dist/canvas-ribbon.min.js
|
file: dist/canvas-ribbon.min.js
|
||||||
@@ -105,7 +105,7 @@ ClickShowText:
|
|||||||
lazyload:
|
lazyload:
|
||||||
name: vanilla-lazyload
|
name: vanilla-lazyload
|
||||||
file: dist/lazyload.iife.min.js
|
file: dist/lazyload.iife.min.js
|
||||||
version: 17.8.2
|
version: 17.3.1
|
||||||
instantpage:
|
instantpage:
|
||||||
name: instant.page
|
name: instant.page
|
||||||
file: instantpage.js
|
file: instantpage.js
|
||||||
@@ -121,12 +121,12 @@ pangu:
|
|||||||
fancybox_css_v4:
|
fancybox_css_v4:
|
||||||
name: '@fancyapps/ui'
|
name: '@fancyapps/ui'
|
||||||
file: dist/fancybox.css
|
file: dist/fancybox.css
|
||||||
version: 4.0.27
|
version: 4.0.31
|
||||||
other_name: fancyapps-ui
|
other_name: fancyapps-ui
|
||||||
fancybox_v4:
|
fancybox_v4:
|
||||||
name: '@fancyapps/ui'
|
name: '@fancyapps/ui'
|
||||||
file: dist/fancybox.umd.js
|
file: dist/fancybox.umd.js
|
||||||
version: 4.0.27
|
version: 4.0.31
|
||||||
other_name: fancyapps-ui
|
other_name: fancyapps-ui
|
||||||
medium_zoom:
|
medium_zoom:
|
||||||
name: medium-zoom
|
name: medium-zoom
|
||||||
@@ -144,7 +144,7 @@ fontawesomeV6:
|
|||||||
name: '@fortawesome/fontawesome-free'
|
name: '@fortawesome/fontawesome-free'
|
||||||
file: css/all.min.css
|
file: css/all.min.css
|
||||||
other_name: font-awesome
|
other_name: font-awesome
|
||||||
version: 6.1.1
|
version: 6.1.2
|
||||||
flickr_justified_gallery_js:
|
flickr_justified_gallery_js:
|
||||||
name: flickr-justified-gallery
|
name: flickr-justified-gallery
|
||||||
file: dist/fjGallery.min.js
|
file: dist/fjGallery.min.js
|
||||||
|
|||||||
@@ -301,10 +301,10 @@
|
|||||||
margin-top: 8px
|
margin-top: 8px
|
||||||
padding: 0
|
padding: 0
|
||||||
width: max-content
|
width: max-content
|
||||||
|
border-radius: 5px
|
||||||
background-color: var(--sidebar-bg)
|
background-color: var(--sidebar-bg)
|
||||||
box-shadow: 0 5px 20px -4px rgba($dark-black, .5)
|
box-shadow: 0 5px 20px -4px rgba($dark-black, .5)
|
||||||
animation: sub_menus .3s .1s ease both
|
animation: sub_menus .3s .1s ease both
|
||||||
border-radius: 5px
|
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
position: absolute
|
position: absolute
|
||||||
@@ -321,9 +321,13 @@
|
|||||||
background: var(--text-bg-hover)
|
background: var(--text-bg-hover)
|
||||||
|
|
||||||
&:first-child
|
&:first-child
|
||||||
border-radius: 5px 5px 0 0
|
border-top-left-radius: 5px
|
||||||
|
border-top-right-radius: 5px
|
||||||
|
|
||||||
&:last-child
|
&:last-child
|
||||||
border-radius: 0 0 5px 5px
|
border-bottom-right-radius: 5px
|
||||||
|
border-bottom-left-radius: 5px
|
||||||
|
|
||||||
a
|
a
|
||||||
display: inline-block
|
display: inline-block
|
||||||
padding: 8px 16px
|
padding: 8px 16px
|
||||||
|
|||||||
Reference in New Issue
Block a user