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
2023-11-30
今天的第一篇笔记,用来记录昨天 使用 gitlab 的坑
项目名称必须是 ko25891wan.gitlab.io
window 错误的123456789101112131415161718concurrent = 1check_interval = 0shutdown_timeout = 0[session_server] session_timeout = 1800[[runners]] name = "DESKTOP-MN6T2AP" url = "https://gitlab.com/" id = 29871500 token = "z-hiKyXHW9yhuuJzriFZ" token_obtained_at = 2023-11-29T13:49:41Z token_expires_at = 0001-01-01T00:00:00Z executor = "shell" 或者 wsgt 都是错误的 shell = "shell" [runners.cach ...
添加第二篇博客
第二遍博客是关于gitlab 部署 hexo的![[测试使用/images/Pasted image 20231129220015.png]]博客参考 2022年最新教程!Hexo + GitLab搭建个人博客详细教程_hexo gitlab_靖待的博客-CSDN博客![[测试使用/images/Pasted image 20231129220122.png]]剩下的都是废话
Obsition + Hexo 上传
已完成教程:
https://zhuanlan.zhihu.com/p/554333805
Hexo + Obsidian + Git 完美的博客部署与编辑方案 - 掘金 (juejin.cn)未完成教程:Hexo&Obsidian不完全工作流 | 𝓐𝓮𝓻𝓸𝓼𝓪𝓷𝓭 (aerosand.cn)
1.目录结构
打开 obsition
2.忽略多余的文件我们主要是编辑和管理Markdown文件,所以一些多余的文件要忽略掉,这样在知识库里搜索文件、关键字时才不会搜索到多余的,也能有效提高检索效率。
打开 设置>文件与链接>Exclude Files
文章都在source下,所以只保留source,其它的忽略掉
3.博客文章管理3.1 新建文章新建Markdown文件就很方便了:
可以设置下新建Markdown文件生成的位置:
3.2 快速插入Front-matter模板Obsidian有一个模板功能,允许我们预先写好一些内容模板,写文章时可以随时快捷插入。
在核心插件中开启模板功能:
打开模板插件的设置界面,设置模板文件夹位置以及日期格式:
...
内容1
阿斯顿发生大是大非阿萨德佛我IE哦i
第一篇博客
Front-matterFront-matter 是 markdown 文件最上方以 — 分隔的区域,用于指定个别档案的变数。
Page Front-matter 用于页面配置Post Front-matter 用于文章页配置如果标注可选的参数,可根据自己需要添加,不用全部都写在 markdown 里
Page Front-matterMARKDOWN12345678910111213141516title:date:updated:type:comments:description:keywords:top_img:mathjax:katex:aside:aplayer:highlight_shrink:random:写法 解释title 【必需】页面标题date 【必需】页面创建日期type 【必需】标签、分类和友情链接三个页面需要配置updated 【可选】页面更新日期description 【可选】页面描述keywords 【可选】页面关键字comments 【可选】显示页面评论模块 (默认 true)top_img 【可选】页面顶部图片mathjax 【可选】显示mathja ...
