You can set a main image on the homepage.
Add the image URL in the [params] section of hugo.toml under mainImageUrl.
If you don’t want a main image, set showMainImage to false.
mainImageUrl = "https://i.imgur.com/URQWyyY.png"
showMainImage = true
You can also show your GitHub contribution graph on the homepage.
Add your GitHub username to githubUsername in the [params] section of hugo.toml.
Control visibility with showGithubChart.
githubUsername = "elecbrandy"
showGithubChart = true
By default, the primary color is set to freshpink.
You can change it to any color you like in hugo.toml using a hex code.
primaryColor = "#fa8b84"
Each post can have a featured image.
At the top of your .md file, add the following in TOML format. This will display the image above your post.
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
featured_image = "/basic.png"
tags = ['tag1']
draft = true
+++
In the front matter of each .md file, you’ll see a tags = [] field.
Use this to assign tags to your post.
tags = ['tag_a']
You can assign multiple tags ->
tags = ['tag_a', 'tag_c']
To browse posts by tag, create a Tags page:
content/tags (create it if it doesn’t exist).unix).
This makes content/tags/unix and completes the setup.The theme includes a TOC on the left side of the post. By default, it is transparent so it doesn’t distract while reading. When you hover over it, it becomes visible and clickable.
A “Back to Top” button is included with Vanilla Back to Top. It makes navigation easier by letting readers quickly return to the top of the page.