如何快速创建静态WEB站点

推荐两个开源的快速创建web站点的工具

VuePress

官网链接

  1. 给企业建站挺快,只要主题定制好;
  2. 基于Markdown制作页面,挺舒服;

HUGO

官网链接

    1. Hugo 非常适合博客,文档等等网站的生成。
    2. 基于Markdown制作页面,挺舒服;
    3. 有大量模板;

使用HUGO举个例子,在mac系统上:

brew install hugo
hugo version

# Create site and cd into it
hugo new site my-site && cd my-site

# Clone the ReFresh theme into the themes folder
git init
git submodule add https://github.com/PippoRJ/hugo-refresh themes/hugo-refresh

# Remove the default config
rm config.toml

# Copy the Example site content and configuration in my-site
cp -R themes/hugo-refresh/exampleSite/* ./

# Open the site in your browser
hugo server -D

 

使用vuepress制作的个人站点

使用hugo制作的例子

 

 

posted @ 2020-04-11 10:46  执着的卫星  阅读(471)  评论(0编辑  收藏  举报