使用hugo建立静态个人网站

安装Hugo Hugo程序可以从这里下载 Windows建议下载hugo_extended_0.81.0_Windows-64bit.zip,其他系统可下载对应版本。 另,CentOS安装hugo可参考此文 使用hugo 首先使用hugo new test来建立新的站点。 $ hugo new site test Congratulations! Your new Hugo site is created in D:\test. Just a few more steps and you're ready to go: 1. Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme <THEMENAME>" command. 2. Perhaps you want to add some content. You can add single files with "hugo new <SECTIONNAME>\<FILENAME>.<FORMAT>". 3. Start the built-in live server via "hugo server". Visit https://gohugo.io/ for quickstart guide and full documentation. 新建的站点没有任何内容,也没有主题,下来需要添加主题。 ...

三月 13, 2021 · JQX