Skip to content

amineHY/aminehy.github.io

Repository files navigation

README

Deploy Hugo site to Pages

Installation

  • Installation of Go

  • Installation of Hugo

Important
  • Make sure to install Go first, then install Hugo

  • Add env variable ao ~/.bashrc

    export PATH=$PATH:/usr/local/go/bin

Run website in development

git clone --recurse-submodules https://github.com/amineHY/aminehy.github.io.git

hugo server --port=8080

Quick start

Hugo Theme

Adding content to the website

  • Use the command

    hugo new posts/my-first-post.md
  • Build the website (including draft posts)

    hugo server --buildDrafts
    hugo server -D

Adding content

Edit the Landing Page Content: Open the content/_index.md file and edit the content according to your needs. This file is written in Markdown format, so you can use Markdown syntax to structure your content, add headings, lists, images, etc.