GitUse
前言Git版本控制的使用命令集堪比Linux,这里对我自己常用的命令进行一个归纳整理
正文基本指令查看文件状态:git status添加所有更改后的文件:git add --all对这些文件进行 commit:git commit -m "你要commit的内容"拉取仓库内的最新版本:git pull margin main同步到 Github 云端仓库:git push
Django入门
引言
hexo添加全局音乐播放器
添加全局吸顶aplayer如何获取网易云音乐歌单数据id这里音乐播放器选择导入网易云歌单数据在网页端的歌单页面网址栏可以看到?id=...,这里的数字id就是后面要用到的data_id里面的数据
安装hexo-tag-aplayer插件在博客部署根路径打开终端下载npm i hexo-tag-aplayer --save
修改_config.yml配置1.由于需要全局都插入 aplayer 和 meting 资源,为了防止插入重复的资源,需要把 asset_inject 设为false。
123aplayer: meting: true asset_inject: false
2.关闭asset_inject由于需要全局都插入 aplayer 和 meting 资源,为了防止插入重复的资源,需要把 asset_inject 设为false。
123aplayer: meting: true asset_inject: false
3.开启主题设置中的aplayerInject
12345# Inject the css and script (aplayer/m ...
MyFirstArticle
We can write a column of words in this area.
Hello World
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 StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment