commit 0e14937d311b8424b9185877ecfeea9255a1b5e1
parent 661243194d1e8a6d75d15d777cf4370ac1f3f01b
Author: panr <radoslaw.koziel@gmail.com>
Date: Sun, 23 Oct 2022 11:18:31 +0200
Update Meta and README
Diffstat:
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
@@ -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.
+⚠️ 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**.
## How to run your site
-If you installed all needed `npm` dependencies, then you can run:
-
```bash
hugo server -t terminal
```
@@ -140,6 +146,8 @@ The theme doesn't require any advanced configuration. Just copy:
```toml
baseurl = "/"
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"
paginate = 5
diff --git a/package.json b/package.json
@@ -1,5 +1,12 @@
{
+ "name": "terminal",
+ "version": "3.0.0",
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
+ "main": "index.js",
+ "license": "MIT",
+ "scripts": {
+ "test": "echo 'Test'"
+ },
"browserslist": [
"last 2 versions",
">1%",
@@ -29,11 +36,4 @@
"eslint-plugin-jsx-a11y": "^6.2.1",
"husky": "^5.1.3"
},
- "license": "MIT",
- "main": "index.js",
- "name": "terminal",
- "scripts": {
- "test": "echo 'Test'"
- },
- "version": "2.1.0"
}
diff --git a/theme.toml b/theme.toml
@@ -5,7 +5,7 @@ description = "A simple, retro theme for Hugo."
homepage = "https://github.com/panr/hugo-theme-terminal/"
tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "monotone", "multilingual", "personal", "responsive", "simple", "technical", "retro"]
features = ["blog", "shortcode", "syntax highlighting"]
-min_version = 0.74
+min_version = 0.90
[author]
name = "panr"