frontend-learn

Frontend learning ...

MIT License

Stars
127

frontend-learn

Frontend learning ...

Usage

Development:

# init submodule, set the URLs and paths of the submodules based on the information in the .gitmodules file, 
# but will not download the submodule's content
# after cloning a repository containing submodules, run this command to initialize the submodules.
git submodule init

# Update the submodule's content to the latest commit in the branch specified in the .gitmodules file
# Run this command after initializing a submodule, or when you need to update the contents of a submodule.
git submodule update

# git submodule add [email protected]:alex-shpak/hugo-book.git themes/book

# start server
hugo server --minify --theme book

Manually deploy:

./deploy.sh

Any changes in the content directory will automatically trigger a deployment.

Menu

By default, the hugo-book theme will render pages from the content/docs section as a menu in a tree structure. You can set title and weight in the front matter of pages to adjust the order and titles in the menu.