Skip to content

cgutierr-zgz/cgutierr-zgz.github.io

Repository files navigation

Web

pages-build-deployment

Built with hugo


Adding a new post

hugo new --kind post posts/my_post.md

For emojis please refer to: gitmoji, or this cheatsheet For thumbnails please refer to: Snappa

Start Hugo server

hugo server -D --noHTTPCache

Deploying

Run hugo and use the public/ directory to upload to the production server

Theme

Making use of congo Install the theme

  1. Install go https://go.dev/dl/
  2. Install hugo https://gohugo.io/getting-started/installing/
  3. Install the theme
# If you're managing your project on GitHub
hugo mod init github.com/<username>/<repo-name>

# If you're managing your project locally
hugo mod init my-project

To update the theme run:

hugo mod get -u

# You can also run this to delete cache
hugo mod clean

Favicon

Favicon(s) can be generated by Favicon.io and can be simply put in /static folder.