Update Meta and README

This commit is contained in:
panr 2022-10-23 11:18:31 +02:00
parent 661243194d
commit 0e14937d31
3 changed files with 18 additions and 10 deletions

View File

@ -121,12 +121,18 @@ git submodule add -f https://github.com/panr/hugo-theme-terminal.git themes/term
This will install the repository as a sumbodule in the `themes/terminal` directory. This will install the repository as a sumbodule in the `themes/terminal` directory.
⚠️ If you encounter any issues with:
```bash
Error: module "terminal" not found; either add it as a Hugo Module or store it in "[...your custom path]/themes".: module does not exist
```
then please try to remove `theme = "terminal"` from your config file.
⚠️ **The theme needs at least Hugo version 0.90.x**. ⚠️ **The theme needs at least Hugo version 0.90.x**.
## How to run your site ## How to run your site
If you installed all needed `npm` dependencies, then you can run:
```bash ```bash
hugo server -t terminal hugo server -t terminal
``` ```
@ -140,6 +146,8 @@ The theme doesn't require any advanced configuration. Just copy:
```toml ```toml
baseurl = "/" baseurl = "/"
languageCode = "en-us" languageCode = "en-us"
# Add it only if you keep the theme in the `themes` directory.
# Remove it if you use the theme as a remote Hugo Module.
theme = "terminal" theme = "terminal"
paginate = 5 paginate = 5

View File

@ -1,5 +1,12 @@
{ {
"name": "terminal",
"version": "3.0.0",
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>", "author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "echo 'Test'"
},
"browserslist": [ "browserslist": [
"last 2 versions", "last 2 versions",
">1%", ">1%",
@ -29,11 +36,4 @@
"eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-jsx-a11y": "^6.2.1",
"husky": "^5.1.3" "husky": "^5.1.3"
}, },
"license": "MIT",
"main": "index.js",
"name": "terminal",
"scripts": {
"test": "echo 'Test'"
},
"version": "2.1.0"
} }

View File

@ -5,7 +5,7 @@ description = "A simple, retro theme for Hugo."
homepage = "https://github.com/panr/hugo-theme-terminal/" homepage = "https://github.com/panr/hugo-theme-terminal/"
tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "monotone", "multilingual", "personal", "responsive", "simple", "technical", "retro"] tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "monotone", "multilingual", "personal", "responsive", "simple", "technical", "retro"]
features = ["blog", "shortcode", "syntax highlighting"] features = ["blog", "shortcode", "syntax highlighting"]
min_version = 0.74 min_version = 0.90
[author] [author]
name = "panr" name = "panr"