after-dark

A retro dark theme for Hugo.
8,864
Install
npm install after-dark
Latest Version:10.3.2
Vue:2
License:AGPL-3.0-or-later
Last Updated:Dec 17, 2023
Links: Repository  ·  npm
Maintainer: vhsdev

After Dark

A retro dark theme for Hugo.

Latest NPM version Weekly downloads Minimum Hugo version AGPL licensed

Highlights

  • 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.

Screenshot

Requirements

Hugo 0.51+ required. Run make hugo for extended build, or visit Install Hugo for official steps.

Installation

The easiest 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 will ensure the machine is running a supported Hugo version, download the latest signed after-dark release, download the latest signed fractal-forest, and configure a sample After Dark site with welcome post.

By convention After Dark may also be installed as a Hugo Theme Component:

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

Usage

Run the online help server after installing for After Dark usage instructions:

./themes/after-dark/bin/help

Also visit the Hugo docs, the Hugo community forum and Stack Overflow.

Upgrading

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

./themes/after-dark/bin/upgrade

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.

Verifying

Use the Release Validator from https://localhost:1414/validate/ while the online help server is running 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 to learn more.

Credits

Thanks to エゴイスト for hack.css; Dan Klammer for bytesize icons; Vincent Prouillet for creating a Zola port of After Dark; the author, maintainers and contributors to hugo; and thanks to the SiliconValley homesteaders on Geocities, and Berkeley Systems, for the design inspiration.

Rights

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.

See file COPYING for warranty disclaimer and full license text.

Related Packages

vue-dark-switch

多合一的开箱即用 vue3 暗黑模式开关组件 | A versatile vue3 dark mode switch compo...

12,846 89
vitepress-theme-vuejsblog

A personal-blog theme for VitePress in the style of blog.vuejs.org

1,154 1
@jcamp/vitepress-blog-theme

VitePress easy to use blog theme

958 28
gridsome

A JAMstack framework for building blazing fast websites with Vue.js

145,288 8,461
vuepress-theme-vdoing

Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。

67,019 4,885

Version History

Version Released Vue License
10.3.2 ^2.7.15 AGPL-3.0-or-later
10.3.1 ^2.7.15 AGPL-3.0-or-later
10.3.0 ^2.7.15 AGPL-3.0-or-later
10.2.0 ^2.7.15 AGPL-3.0-or-later
10.1.6 ^2.6.12 AGPL-3.0-or-later