https://github.com/arjkb/basics
Hugo theme. Now available from official hugo theme site!
https://github.com/arjkb/basics
hugo hugo-theme website-theme
Last synced: 5 months ago
JSON representation
Hugo theme. Now available from official hugo theme site!
- Host: GitHub
- URL: https://github.com/arjkb/basics
- Owner: arjkb
- License: mit
- Created: 2018-06-27T06:13:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-07-01T17:05:18.000Z (12 months ago)
- Last Synced: 2025-07-01T18:22:57.761Z (12 months ago)
- Topics: hugo, hugo-theme, website-theme
- Language: HTML
- Homepage: https://themes.gohugo.io/basics
- Size: 253 KB
- Stars: 48
- Watchers: 2
- Forks: 34
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Basics
A minimal theme for those who like to keep it simple. Makes use of bootstrap.
Based on the [Elephants theme](https://themes.gohugo.io/elephants/).
## Features
* Responsive theme
* High contrast
* Focus on content and readability
## Installation
From your hugo site, run:
```
git submodule add https://github.com/arjunkrishnababu96/basics.git themes/basics
```
### Writing Posts
Posts that should show up in the home page must be inside `contents/post`. Or you can change this behavior by tweaking `themes/basics/layouts/_default/list.html`.
You should also add an about page at `contents/about.md`.
Your directory should look something like this:
```
├── archetypes
│ └── default.md
├── config.toml
├── content
│ ├── about.md
│ └── post
│ ├── my-first-post.md
│ └── my-second-post.md
├── data
├── layouts
├── static
│ └── images
└── themes
└── basics
```
### Configurations
#### Add author name
Add author name to the `.Site.Params.author` parameter in your `config.toml` file.
See below for an example:
```
baseURL = ""
languageCode = "en-us"
title = "Basics Theme Demo"
theme = "basics"
[params]
author = "Author Name"
```
#### Add Links to GitHub and GitLab
Add GitHub and GitLab usernames to `.Site.Params.github` and `.Site.Params.gitlab` parameters in your `config.toml` file. Links to these accounts would show up in the top navigation bar. If these parameters are not present or is left blank, the links would disappear.
See below for an example:
```
baseURL = ""
languageCode = "en-us"
title = "Basics Theme Demo"
theme = "basics"
[params]
author = "Author Name"
github = "username1"
gitlab = "username2"
```
## License
Released under the [MIT License.](https://github.com/arjunkrishnababu96/basics/blob/master/LICENSE.md)