🍞 A retro dark theme for Hugo. https://vhs.codeberg.page/after-dark/
Go to file
vhs 03c3c9a45f
chore(release): 🚀 10.1.0
2022-03-17 15:14:13 +08:00
archetypes docs(archetypes/post): remove superfluous word 2019-08-24 17:05:52 +08:00
assets fix: 🐛 import fetchInject where needed 2022-03-17 14:09:13 +08:00
bin fix: 🐛 allow unbound variables in upgrade script 2022-03-17 03:39:20 +08:00
data feat(feature/custom-homepage): add custom homepage and docs in english 2019-07-12 21:14:39 +08:00
docker build(docker): update for hugo release 0.61.0 2019-12-13 19:51:05 +08:00
docs chore: 🔧 remove toxic-swamp beta 2022-03-17 14:47:34 +08:00
layouts chore: 🔧 remove toxic-swamp beta 2022-03-17 14:47:34 +08:00
static chore(deps): 🔗 upgrade fetch-inject to v3.2.0 2022-03-16 17:13:33 +08:00
.gitignore feat(feat/extended-builds): add dockerfile and docker-compose 2019-10-03 22:29:05 +08:00
CHANGELOG.md chore(release): 🚀 10.1.0 2022-03-17 15:14:13 +08:00
COPYING feat(license): wtfpl -> agpl-3.0-or-later 2019-05-17 19:05:18 +08:00
Dockerfile chore(docker): upgrade build environment 2020-05-22 21:37:11 +08:00
README.md docs: 📚️ simplify install instructions 2022-03-17 15:13:28 +08:00
docker-compose.yml build(feature/extended-builds): upgrade extended build to hugo@0.60.0, go@1.13.4 and alpine@3.10 2019-11-28 14:57:49 +08:00
package.json chore(release): 🚀 10.1.0 2022-03-17 15:14:13 +08:00
pnpm-lock.yaml chore(deps): 🔗 upgrade fetch-inject to v3.2.0 2022-03-16 17:13:33 +08:00


After Dark

Latest NPM version Weekly downloads Minimum Hugo version AGPL licensed


  • Developer Focused: Cross-platform, 1 dependency, single-codebase.
  • Incredibly Fast: ~0.615s average build time and decisecond page loads.
  • Privacy Aware: No cookies, no trackers, no external requests.
  • Securely Designed: Source-level integrity checking and strict content security policy.
  • Advanced Graphics: BPG image support, PhotoSwipe support, aggressive lazy-loading.
  • Easily Customized: Override any theme template to compose your own views.
  • Fuzzy Search: Offline, automatic and no third-parties.
  • Batteries Included: Integrates with Gitea, Kubernetes, Traefik and Fathom Analytics.
  • Extended Builds: Add Sass support to your project and decrease built times.
  • Detailed Docs: Includes example documentation website written using After Dark.



Hugo 0.51+ is the only requirement. (Install Hugo).


The fastest installation method is to run the quick install script:

wget -qO - https://codeberg.org/vhs/after-dark/raw/branch/trunk/bin/install | sh

Quick Install is ideal for first-time users and does not require use of git. Quick install will help you create and configure your site, install an example After Dark module, and generate a welcome post and online help documentation for offline use.

By convention After Dark may also be used with an existing Hugo site by git cloning to or adding as a submodule:

├── static
└── themes
    └── after-dark # git clone or submodule

See Install a Single Theme on the Hugo docs site for additional instructions.

After Dark releases are tagged in git and packaged on NPM. Use the NPM package to integrate After Dark into existing workflows.


Run the online help server after installing for detailed instructions:

sh ./themes/after-dark/bin/help

See the Hugo docs as well. There's also a Hugo community forum in case you get stuck.


Run the Upgrade Script to check for updates and upgrade automatically:


Upgrading replaces the file contents of the theme as a whole for security reasons. If you wish to modify the source please create a fork.


If installed or upgraded via script you may use the Release Validator to verify you're running a PGP-signed and SHA-verified release. Integrity is checked at the source level and may be performed offline. See Release Hashes for more info.


Special thanks to エゴイスト for hackcss, Dan Klammer for the bytesize icons and Vincent Prouillet for the Zola port.


After Dark - A retro dark theme for Hugo.
Copyright (C) 2019  VHS <vhsdev@tutanota.com> (https://vhs.codeberg.page)

After Dark is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

After Dark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.