Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic hexo

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
LiuShen's Avatar

LiuShen / github action构建hexo源码

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1744361423
github action构建hexo源码,yml文件分享
action github hexo npm
1 name: 自动部署
2
3 on:
4 push:
5 branches:
6 - main
7
8 release:
9 types:
10 - published
LiuShen's Avatar

LiuShen / 友链friend.json生成新方式

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1744361444
通过HEXO内置Generator生成,更加快捷,不需要json包
hexo json script
1 const blacklist = ["友站名称1", "友站名称2", "友站名称3"];
2 const path = "friend.json";
3
4 function genFriendJSON(locals) {
5 var friends = [];
6 var data = locals.data.link;
7 data.forEach((entry, index) => {
8 let lastIndex = 2;
9 if (index < lastIndex) {
10 const filteredLinkList = entry.link_list.filter(
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 45ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客