medelin / old2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-page-maker

Quickstarts the creation and publishing of GitHub Pages with Hugo. Contributions are welcome!

Tutorial em português disponível aqui.

Requisites

This Makefile assumes that you have:

  • Open source distributed version control system git properly configured.
  • Open-source static site generator Hugo installed. If you don't, simply run: brew install hugo

Instructions

  • Use this template to create a new repository for your site.
  • The Repository name must be username.github.io (where username should be replaced with your GitHub username).
  • Clone the repository locally and run the following commands one by one to create and publish your page.

Commands

make new

Creates a new Hugo project.

make add theme=[repository-url]

Includes the informed Hugo theme repository as a submodule. Find available themes here.

Make sure you update the configuration file at .hugo/config.toml with the selected theme settings. Most themes will include a reference file at .hugo/themes/theme-name/exampleSite/config.toml that you can copy to get started.

make update

Updates included themes.

make run

Serves website at http://localhost:1313.

make build

Builds deployable version of the website.

make publish

Creates a commit and pushes changes to repository.

License

2020 MIT License.

About

License:MIT License


Languages

Language:Makefile 100.0%