A Clean, Lightweight, Minimalist Hugo Theme for personal web and blog.
Step 1: First you have to install Hugo on your machine. Note: You need to have the extended version of Hugo v0.99.1 or above. You can install it by following these instructions based on your device.
Step 2: After your installation finished, verify it by running this in your terminal
hugo version
Step 3: Create the Hugo website template
hugo new site your-site-name
Step 4: Add Mayhugo theme by entering your folder then create folder named themes
Step 5: Add this repository as your submodule project. Type this inside /themes
git submodule add https://github.com/fajarwz/mayhugo.git
For more information read the official setup guide of the Hugo themes.
- Post
- Project showcase
- Skills list
- Social media links
- Tags
- Post by tags
- Disqus (Comment for spesific post)
- Share post
- Trakteer
- Google Tag Manager (GTM)
- Favicon
- Image optimization
- Automated meta link settings for SEO
- Syntax Highlighter
- Switchable Light/Dark Mode
- Post Pagination
- Featured image of post
- Responsive
- Green lighthouse
I use this theme on my personal website fajarwz.com
Set the theme option in your config.toml
for using this theme:
theme = "mayhugo"
There is an example site in /exampleSite
folder inside the theme folder
- Copy the
/content
folder to your/content
folder project - Copy
/data
folder to your root folder project - Also copy
package.json
andtailwind.config.js
to your folder project - You can also copy the entire content of
config.toml
there to yourconfig.toml
project in your root folder - To customize the avatar and default image for post, create folder named
/assets
in your project root and copy your desired image inside it. - To customize the skills, edit it in the
/data/skills.toml
- Create new post by typing
hugo new blog/my-cool-post/index.md
- You can add featured image by copying your image to your post folder, name it, and type the name in
featured_image
params - You can add post image also by inserting your desired image to post folder, name it, insert it in the markdown with
{{< imgresize "wireframe-mode-page2.jpg" >}}
shortcode - Create new project by typing
hugo new project/my-cool-project/index.md
- Customize projects like in the
exampleSite
All site setting can be found in config.toml
In your root folder, start Hugo development server by typing this in the terminal:
hugo server
You can go to your website by typing this in your browser localhost:1313
If you use Mayhugo as your Hugo site theme, please tell me in this discussion. Thank you!
- Developed by fajarwz.