我的建站过程

我的建站过程

缘起

有了个服务器,看到朋友建了一个博客,萌生想法

各处搜罗找到了hexo

主题

本意是要好看炫酷,兼顾速度
第一个找到的 aurora 主题在我的电脑上有点bug
后来看到了 E=mc²的博客很帅气,便确定了建站主题
fluid

主题的首页图像

这是我在刷知乎的时候看到的一个网站
Draw all roads in a city:可以把全球主要城市的路网导出图片,用作插图
改用北京传统的皇家配色

修改主题配置,得到了博客的半成品

添加域名

上传源码

字体

字体选用了自己喜欢的,但弊端是用户要在线加载
导致加载会卡顿

一些TIPS

要跟着官方文档来,不要着急,善用百度谷歌

注意图床等能否国内访问

hexo自带欢迎页

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


我的建站过程
http://blog.1314171.xyz/post/220326hello-myblog.html
作者
TT2TER
发布于
2022年3月26日
许可协议