EagleYing's Blog

copyright@blog.yingeagle.com

Hugo & GitHub Pages Blog搭建 PART 1

基础配置

系统 本机:MacOS Catania 10.15.6,以及已经安装Git; 服务器:Ubuntu 16.04.6 安装Hugo MacOS 安装 Homebrew % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 官网详情:Homebrew 安

Hugo & Github Pages Blog搭建 PART2

运行localhost

新建文章 在 Blog 文件夹下: hugo new post/hello.md 这时候你的 content 文件夹下会多一个名叫 post 的文件夹,里面有你的 Markdown 文件: vim content/post/hello.md 输入你的内容,比如 Hello world!, 然后 Hugo server -w 就能预览到你的