NEO@i4N-H4CKD3CK MINGW64 ~/Desktop $ ssh-keygen -t rsa -C "i4Nomercyshown@outlook.com" Generating public/private rsa key pair. Enter file inwhich to save the key (/c/Users/NEO/.ssh/id_rsa): Created directory '/c/Users/NEO/.ssh'. Enter passphrase for"/c/Users/NEO/.ssh/id_rsa" (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /c/Users/NEO/.ssh/id_rsa Your public key has been saved in /c/Users/NEO/.ssh/id_rsa.pub The key fingerprint is: SHA256:Qn1rmYCeW8q5gcv0eLr0wHjTQeaa9JMuE9f/bXfuoRA i4Nomercyshown@outlook.com The key's randomart image is: +---[RSA 3072]----+ | | | o | | = o . | | * . o + | | . *.S =E | | +.B.O.. . | | . @o@ . . . | | =oO.+ . ..o +| | **= ..o.++| +----[SHA256]-----+
1 2
$ ssh -T git@github.com ssh: connect to host github.com port 22: Connection timed out
1 2 3 4 5 6 7 8 9 10 11 12 13 14
NEO@i4N-H4CKD3CK MINGW64 ~/Desktop $ ssh -T -p 443 git@ssh.github.com The authenticity of host '[ssh.github.com]:443 ([20.205.243.160]:443)' can't be established. ED25519 key fingerprint is: SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? Host key verification failed. NEO@i4N-H4CKD3CK MINGW64 ~/Desktop $ ssh-keyscan -p 443 ssh.github.com >> ~/.ssh/known_hosts NEO@i4N-H4CKD3CK MINGW64 ~/Desktop $ ssh -T -p 443 git@ssh.github.com Hi Jav1ki4N! You've successfully authenticated, but GitHub does not provide shell access.
NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ hexo install INFO Validating config Usage: hexo <command> Commands: clean Remove generated files and cache. config Get or set configurations. deploy Deploy your website. generate Generate static files. help Get help on a command. init Create a new Hexo folder. list List the information of the site migrate Migrate your site from other system to Hexo. new Create a new post. publish Moves a draft post from _drafts to _posts folder. render Render files with renderer plugins. server Start the server. version Display version information. Global Options: --config Specify config file instead of using _config.yml --cwd Specify the CWD --debug Display all verbose messages in the terminal --draft Display draft posts --safe Disable all plugins and scripts --silent Hide output on console For more help, you can use 'hexo help [command]' for the detailed information or you can check the docs: https://hexo.io/docs/
NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ hexo g INFO Validating config INFO Start processing INFO Files loaded in 713 ms INFO Generated: archives/index.html INFO Generated: archives/2026/index.html INFO Generated: index.html INFO Generated: fancybox/jquery.fancybox.min.js INFO Generated: css/style.css INFO Generated: archives/2026/01/index.html INFO Generated: js/jquery-3.6.4.min.js INFO Generated: fancybox/jquery.fancybox.min.css INFO Generated: js/script.js INFO Generated: 2026/01/01/hello-world/index.html INFO Generated: css/images/banner.jpg INFO 11 files generated in 945 ms NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ hexo s INFO Validating config INFO Start processing INFO Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop.
NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ npm install hexo-deployer-git --save added 17 packages, and audited 258 packages in 10s 44 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
这个时候本地文件上传的时候会透过 ssh 上传到 Jav1ki4N.github.io 这个仓库的 main 分支。
NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ hexo g -d INFO Validating config INFO Start processing INFO Files loaded in 139 ms INFO Generated: archives/2026/index.html INFO Generated: archives/index.html INFO Generated: index.html INFO Generated: archives/2026/01/index.html INFO Generated: fancybox/jquery.fancybox.min.css INFO Generated: js/script.js INFO Generated: css/style.css INFO Generated: js/jquery-3.6.4.min.js INFO Generated: fancybox/jquery.fancybox.min.js INFO Generated: css/images/banner.jpg INFO Generated: 2026/01/01/hello-world/index.html INFO 11 files generated in 286 ms INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... warning: in the working copy of '2026/01/01/hello-world/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/2026/01/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/2026/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'archives/index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'css/style.css', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'fancybox/jquery.fancybox.min.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'index.html', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'js/jquery-3.6.4.min.js', LF will be replaced by CRLF the next time Git touches it warning: in the working copy of 'js/script.js', LF will be replaced by CRLF the next time Git touches it [master 30fed87] Site updated: 2026-01-01 16:56:23 2 files changed, 2 insertions(+), 2 deletions(-) Enumerating objects: 43, done. Counting objects: 100% (43/43), done. Delta compression using up to 12 threads Compressing objects: 100% (27/27), done. Writing objects: 100% (43/43), 280.12 KiB | 8.75 MiB/s, done. Total 43 (delta 8), reused 0 (delta 0), pack-reused 0 (from 0) remote: Resolving deltas: 100% (8/8), done. To https://github.com/Jav1ki4N/Jav1ki4N.github.io.git + 9bffe02...30fed87 HEAD -> main (forced update) branch 'master' set up to track 'https://github.com/Jav1ki4N/Jav1ki4N.github.io.git/main'. INFO Deploy done: git
# theme - the specific theme blog will use theme: butterfly # theme: landscape
安装渲染器
1 2 3 4 5 6 7 8 9
NEO@i4N-H4CKD3CK MINGW64 /d/Project.i4N/WebSites/Baphomet's Pit $ npm install hexo-renderer-pug hexo-renderer-stylus --save added 34 packages, and audited 292 packages in 12s 46 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
重新部署一次发现主题已经应用。
3.1 首页大标题处理
1 2 3 4 5 6 7 8
# Site # title - name of my blog, will be displayed in the top bar of the browser title:Baphomet'sHideaway
# subtitle - if added, browser's top bar info will be 'title - subtitle' subtitle:'巴弗滅之隱' description:'' keywords:
#site-title /* prevent the site title from being selected*/ user-select: none -webkit-user-select:none -moz-user-select:none -ms-user-select:none /* Custom */ /* font & weight */ font-family: 'Dukeplus', serif font-weight: 350 /* Pure color */ //color: var(--Sulfur-Fire)
# The subtitle on homepage subtitle: enable:true # Typewriter Effect effect:false # Customize typed.js # https://github.com/mattboldt/typed.js/#customization typed_option: # Source - Call the third-party service API (Chinese only) # It will show the source first, then show the content of sub # Choose: false/1/2/3 # false - disable the function # 1 - hitokoto.cn # 2 - https://api.aa1.cn/doc/yiyan.html # 3 - jinrishici.com source:false # If you close the typewriter effect, the subtitle will only show the first line of sub sub: -巴弗滅之隱
# Website Background # Can set it to color, image URL or an array containing colors and/or image URLs # If an array is provided, a random background will be selected from the array on each load background:
# Website Background # Can set it to color, image URL or an array containing colors and/or image URLs # If an array is provided, a random background will be selected from the array on each load background:/img/Apocalypse_vasnetsov.webp
3.3.2 顶图与遮罩
\butterfly\_config.yaml :
1 2 3 4 5
# Disable all banner images disable_top_img:false
# If the banner of page not setting, it will show the default_top_img default_top_img:/img/Apocalypse_vasnetsov.webp