Github_pages & Hugo & Academic theme

Introduction

做了许多尝试,但是最后发现,安装好hugo_v53+之后,只要按照Deployment一步一步来就可以。 基于之前win10PC中已有git等.

Study Process-with learning links

https://pages.github.com/

https://gohugo.io/

https://gohugo.io/getting-started/quick-start/

Install hugo

选择hugo而不是其他的,有一个原因是适用于windows环境(呜呜因为在服务器权限什么的限制很多比较麻烦,其实可能也不麻烦吧),下载好对应的版本修改环境变量就可以在command中使用。 (不过我都在git bash下使用,方便许多) windows 下安装好hugo并进行test(这只是test,最后不是这样进行的,只是一个熟悉hugo的过程)

C:\Users\rthua>d:
D:\>hugo new site Rongting_Page
D:\>cd Rongting_Page
D:\Rongting_Page>git init
D:\Rongting_Page>git submodule add https://github.com/sourcethemes/academic-kickstart.git themes/academic
D:\Rongting_Page>
echo 'theme = "academic"' >> config.toml

Theme usage-Academic

https://sourcethemes.com/academic/docs/ https://sourcethemes.com/academic/docs/get-started/#themes

  • Getting Started
  • Create Content
  • Deployment
  • Features
  • Migrate

Github_pages+Hugo

Why you should create your personal website with Academic and Hugo Deployment