雪花 在\themes\butterfly\source\js目录下新建snow.js文件,添加: 1if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) { 2 // 移动端不显示 3 } 4else { 5 (function($){ 6 $.fn.snow = function(options){ 7
...
前言 虽然Hexo部署博客很方便,但是当我们更换电脑时呢,在github中的其实只是在我们本地目录里的.deploy_git里面的内容,显然我
...
参考文章:https://blog.zhheo.com/p/32776e99.html 资源文件 CodePen 配置 在主题配置文件_config.butte
...
在/themes/butterfly/source/js文件夹中新建mouse_move.js文件 1(function () { 2 function t() { 3 i(), a(); 4 } 5 function i() { 6 document.addEventListener("mousemove", o), 7 document.addEventListener("touchmove",
...
参考文章:Hexo页脚养鱼效果 引入必须的jquery文件 https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js 把上述文件保存在\themes\butterfly\source\js并命名为jq
...
在/themes/butterfly/layout/includes/footer.pug文件中添加以下代码 1.framework-info 2 img(src = 'https://static.dy208.cn/o_1dfilp8ruo521thr1hvf18ji17soa.png') 3 span= ' ' 4 a(href='https://beian.miit.gov.cn/')= '
...
The fastest math typesetting library for the web. Katex 在网页中如何插入公式?如 $x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$ 一个办法是图片,但是极不方便,最好的办法还是用文字来描述数学公式,把渲染的工作交给引擎。LaTe
...
注册 和风天气 生成代码 根据个人需求自定义创建天气插件,最后点击生成代码。 1<div id="he-plugin-simple"></div> 2<script> 3WIDGET = { 4 "CONFIG": { 5 "modules": "01234", 6 "background": "5", 7 "tmpColor": "FF9900", 8 "tmpSize": "16", 9 "cityColor": "CCCCCC", 10 "citySize": "16", 11 "aqiColor": "D9D9D9", 12 "aqiSize": "16", 13 "weatherIconSize":
...
质数 质数和合数是针对所有大于 $1$ 的「自然数」来定义的(所有小于等于 $1$ 的数都不是质数)。 所有小于等于 $1$ 的整数既不是质数也不是合数。 质数的判定——
...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start Create a new post 1$ hexo new "My New Post" More info: Writing
Run server 1$ hexo server More info: Server
Generate static files 1$ hexo generate More info: Generating
Deploy to remote sites 1$ hexo deploy More info: Deployment