The theme doesn’t require any advanced configuration. Just copy:
baseurl = "/"
languageCode = "en-us"
theme = "hello-friend-ng"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
# Set disableReadOtherPosts to true in order to hide the links to other posts.
disableReadOtherPosts = false
# Metadata mostly used in document's head
description = "Homepage and blog by Djordje Atlialp"
keywords = "homepage, blog, science, informatics, development, programming"
images = [""]
# Directory name of your blog content (default is `content/posts`)
contentTypeName = "posts"
# Default theme "light" or "dark"
defaultTheme = "dark"
title = "Hello Friend NG"
subtitle = "A simple theme for Hugo"
keywords = ""
copyright = ""
readOtherPosts = "Read other posts"
logoText = "hello friend ng"
logoHomeLink = "/"
# path = "/img/your-example-logo.svg"
# alt = "Your example logo alt text"
# And you can even create generic menu
identifier = "blog"
name = "Blog"
url = "/posts"
How to run your site
From your Hugo root directory run:
$ hugo server -t hello-friend-ng
and go to localhost:1313 in your browser. From now on all the changes you make will go live, so you don’t need to refresh your browser every single time.
Available Social Icons:
If you need another one, just open an issue or create a pull request with your wished icon. :)
There is a bug in Hugo that sometimes causes the main page not to render correctly. The reason is an empty taxonomy part.
Related issue tickets: !14!59.
Either you comment it out completely or you write the following in
tag = "tags"
category = "categories"
How to edit the theme
If you really want to edit the theme, you need to install Node dependencies. To do this, go to the theme directory (from your Hugo root directory):
$ cd themes/hello-friend-ng
and then run:
$ npm install
How to contribute
If you spot any bugs, please use Issue Tracker or if you want to add a new feature directly please create a new Pull Request.