diff options
| author | eltrac <hi@eltr.ac> | 2026-04-07 17:58:45 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-07 17:58:45 +0800 |
| commit | 97d73da80b775c8e4bc5fe5f523cd11d876fc67c (patch) | |
| tree | dc675ca734566515fe7e821247761e521f1ee86e | |
| parent | 1b0d62e6f9e08ab6a6d1be02c4c1b96feeaf9c40 (diff) | |
docs: add README.md
| -rw-r--r-- | README.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..515785f --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# ☠︎ *Venin* + +> [!warning] +> This theme is only meant for [my personal website](https://www.geedea.pro/). You're free to use this under MIT license but you should be warned: 1) it may contain **awkward solutions, hard-coded values, and peculiar use cases**; 2) while feature-rich, not everything is configurable; 3) you will **need to code your own build script** (referrence [this Babashka script](https://src.eltr.ac/eltrac/geedeapro/src/branch/master/build.clj)) and make sure you run pre-build and post-build [scripts](build.clj) of this theme. +> +> In short, **don't use this unless you're experienced with Hugo and willing to get your hands dirty with my source code**. Also, feel free to create a fork that's more user-friendly. + +[Demo (English)](https://www.geedea.pro/en) | [演示(中文)](https://www.geedea.pro/) + +## Prerequisites + +- [Hugo](https://gohugo.io/) v1.156+ +- [PNPM](https://pnpm.io/) +- [Babashka](https://babashka.org/), unless you write your own [build script](build.clj) + +## Usage + +1. Add this theme as a submodule. + ```sh + git submodule add https://src.eltr.ac/eltrac/hugo-theme-venin.git themes/venin + ``` +2. In `hugo.toml` or wherever your config is, put `theme = 'venin'`. +3. Create a build script, use whatever scripting language you like (Bash, Babashka...). Make sure you: + 1. Run `bb themes/venin/build.clj pre-build` before Hugo + 2. Run `bb themes/venin/build.clj post-build` after Hugo +4. Run this build script. This should build the theme and your site. Remember to configure your PaaS provider or CI/CD workflow to use this script. + +## Configuration + +See [my configuration files](https://src.eltr.ac/eltrac/geedeapro/src/branch/master/config/_default). + +## The Name + +*Venin* is French for "Venom". + |
