a

artalk

LiuShen
Last active 2 months ago artalk html

清羽飞扬站点中的Artalk邮件模板

1 0 2
1 <div>
2 <div id="liushen-mail-content" style="margin-top: 20px;margin-bottom: 20px">
3 <div style="background: #ddefff;width: 95%;max-width: 800px;margin: auto auto;border-radius: 12px;border: #49b1f5 1px solid;overflow: hidden;-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4); ">
4 <header style="overflow: hidden"><img class="banner-img" src="https://i.p-i.vip/30/20250419-68031ec68f419.webp" style="width: 100%; z-index: 666"></header>
5 <div style="padding: 5px 20px">
6 <div class="dear" style="border-radius: 30px;position: relative;color: white;float: left;z-index: 999;background: #347aa9;padding: 5px 30px;margin: -20px auto 0;box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);">亲爱的{{nick}}:</div><br>
7 <center>
8 <h3>你收到了来自&nbsp;<a style="text-decoration: none; color: #9c515b">{{reply_nick}}</a>&nbsp;的回复</h3>
9 </center>
10 <hr style="width:200px;border:0;border-bottom:1px solid #e5e5e5;margin:12px auto;"><br>&nbsp;&nbsp;<p>您曾在<a href="{{page_url}}" style="text-decoration: none;color: #49b1f5" target="_blank">&nbsp;『{{page_title}}』&nbsp;</a>上发表的评论:</p>
LiuShen
Last active 2 months ago artalk javascript lsky picbed

hexo-theme-butterfly中,artalk实现前端上传图片,不使用upgit(不会QAQ,如果有谁会请联系我呜呜呜)

1 0 1
1 // 请使用该文件替换“[root]\themes\butterfly\layout\includes\third-party\comments\artalk.pug”
2 - const { server, site, option } = theme.artalk
3 - const { use, lazyload } = theme.comments
4
5 script.
6 (() => {
7 let artalkItem = null
8 const option = !{JSON.stringify(option)}
9 const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo'