Update README.md
This commit is contained in:
parent
0b6cca8ba9
commit
bb2c330877
1 changed files with 18 additions and 12 deletions
26
README.md
26
README.md
|
@ -2,13 +2,10 @@
|
|||
|
||||

|
||||
|
||||
|
||||
|
||||
## General informations
|
||||
|
||||
This theme was highly inspired by the [hello-friend](https://github.com/panr/hugo-theme-hello-friend) and [hermit](https://github.com/Track3/hermit).
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
- Theming: **dark/light mode**, depending on your preferences (dark is default, but you can change it)
|
||||
|
@ -43,13 +40,13 @@ You can download the theme manually by going to [https://github.com/rhazdon/hugo
|
|||
|
||||
You can also clone it directly to your Hugo folder:
|
||||
|
||||
```
|
||||
``` bash
|
||||
$ git clone https://github.com/rhazdon/hugo-theme-hello-friend-ng.git themes/hello-friend-ng
|
||||
```
|
||||
|
||||
If you don't want to make any radical changes, it's the best option, because you can get new updates when they are available. To do so, include it as a git submodule:
|
||||
|
||||
```
|
||||
``` bash
|
||||
$ git submodule add https://github.com/rhazdon/hugo-theme-hello-friend-ng.git themes/hello-friend-ng
|
||||
```
|
||||
### Favicon
|
||||
|
@ -70,7 +67,7 @@ Use [RealFaviconGenerator](https://realfavicongenerator.net/) to generate these
|
|||
|
||||
The theme doesn't require any advanced configuration. Just copy:
|
||||
|
||||
```
|
||||
``` toml
|
||||
baseurl = "/"
|
||||
languageCode = "en-us"
|
||||
theme = "hello-friend-ng"
|
||||
|
@ -88,6 +85,7 @@ theme = "hello-friend-ng"
|
|||
|
||||
# Directory name of your blog content (default is `content/posts`)
|
||||
contentTypeName = "posts"
|
||||
|
||||
# Default theme "light" or "dark"
|
||||
defaultTheme = "dark"
|
||||
|
||||
|
@ -130,7 +128,6 @@ theme = "hello-friend-ng"
|
|||
url = "/posts"
|
||||
```
|
||||
|
||||
|
||||
## How to run your site
|
||||
|
||||
From your Hugo root directory run:
|
||||
|
@ -141,6 +138,18 @@ $ 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.
|
||||
|
||||
## Known issues
|
||||
|
||||
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](https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/14) [!59](https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/59).
|
||||
|
||||
Either you comment it out completely or you write the following in
|
||||
|
||||
``` toml
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
```
|
||||
|
||||
## How to edit the theme
|
||||
|
||||
|
@ -156,12 +165,10 @@ and then run:
|
|||
$ npm install
|
||||
```
|
||||
|
||||
|
||||
## How to contribute
|
||||
|
||||
If you spot any bugs, please use [Issue Tracker](https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues) or if you want to add a new feature directly please create a new [Pull Request](https://github.com/rhazdon/hugo-theme-hello-friend-ng/pulls).
|
||||
|
||||
|
||||
## Third Party
|
||||
|
||||
- [normalize.css](https://github.com/necolas/normalize.css)
|
||||
|
@ -169,7 +176,6 @@ If you spot any bugs, please use [Issue Tracker](https://github.com/rhazdon/hugo
|
|||
- [Simple Icons](https://simpleicons.org/)
|
||||
- [Flag Icon](https://github.com/lipis/flag-icon-css)
|
||||
|
||||
|
||||
## Licence
|
||||
|
||||
Copyright © 2019 Djordje Atlialp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue