How to quickly create a static WEB site

Recommend two open source tools for quickly creating web sites

VuePress

Official website link

  1. It is very fast to build a website for an enterprise, as long as the theme is customized;
  2. Creating pages based on Markdown is very comfortable;

HUGO

Official website link

    1. Hugo is very suitable for the generation of blogs, documents and other websites.
    2. Creating pages based on Markdown is very comfortable;
    3. There are a lot of templates;

Using HUGO as an example, on mac system:

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

 

Personal site made with vuepress

Examples made using hugo

 

 

Guess you like

Origin www.cnblogs.com/yrcn/p/12678120.html