Hugo Themes
hugonews
A hugo theme for a personal bookmarking website
- Author: Welington Maposa
- Minimum Hugo Version: 0.57.0
- GitHub Stars: 45
- Updated: 2020-02-29
- License: GNU General Public License v2.0
- Tags: Minimal
hugonews
a hugo theme for a personal bookmarking website
hugonews is a Hugo theme that I primarily use for my absurd bookmarking website - https://bookmarks.wews.co. Its aesthetic was inspired by that of Hacker News
Getting Started
Prerequisites
- Hugo
- Git
Usage
Create a new Hugo website
hugo new site <sitename>
Initialise the website source folder as a Git repository
cd <sitename> && git init
Add the hugonews theme as a submodule to your website repo
git submodule add https://github.com/spaghettiwews/hugonews.git themes/hugonews
Set your site theme to hugonews by editing
config.toml
and adding the following linetheme = "hugonews"
baseURL = "http://example.org/" languageCode = "en-us" title = "My New Hugo Site" theme = "hugonews"
Now, from the root of your website, create a bookmark item using the
hugo
CLIhugo new items/dark-mode-website-css.md
Edit the newly created file to add the necessary metadata. The file will be in your content directory in
/content/items/
--- title: "Dark mode in a website with CSS" date: 2019-10-09T12:13:32+02:00 itemurl: "https://tombrow.com/dark-mode-website-css" sites: "tombrow.com" tags: ["frontend", "css", "dark mode"] draft: false ---
Repeat steps 5 and 6 to add new/more bookmarks.
Build the site using
hugo
and deploy the/public
folder following any one of the guides that can be found in the Hugo documentation (Hosting & Deployment).