Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vhscom/after-dark
🍞 A retro dark theme for Hugo. Mirror of After Dark on Codeberg. CANONICAL :point_down:
https://github.com/vhscom/after-dark
css dark-theme docker gohugo html5 hugo hugo-theme javascript javascript-modules vuejs
Last synced: 14 days ago
JSON representation
🍞 A retro dark theme for Hugo. Mirror of After Dark on Codeberg. CANONICAL :point_down:
- Host: GitHub
- URL: https://github.com/vhscom/after-dark
- Owner: vhscom
- License: agpl-3.0
- Created: 2022-02-19T05:48:59.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2023-12-17T17:43:14.000Z (about 1 year ago)
- Last Synced: 2023-12-17T18:35:30.685Z (about 1 year ago)
- Topics: css, dark-theme, docker, gohugo, html5, hugo, hugo-theme, javascript, javascript-modules, vuejs
- Language: HTML
- Homepage: https://codeberg.org/vhs/after-dark
- Size: 26.8 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
# After Dark
[![Latest NPM version](https://flat.badgen.net/npm/v/after-dark)](https://www.npmjs.com/after-dark)
[![Weekly downloads](https://flat.badgen.net/npm/dw/after-dark)](https://www.npmjs.com/after-dark)
[![Minimum Hugo version](https://flat.badgen.net/badge/hugo/>=0.51/FF4088)](https://gohugo.io)
[![AGPL licensed](https://img.shields.io/npm/l/after-dark.svg?style=flat-square&longCache=true)](https://codeberg.org/vhs/after-dark/src/branch/trunk/COPYING)## 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
[![](https://codeberg.org/vhs/after-dark/raw/branch/trunk/docs/static/images/screenshots/after-dark-v6.15.0-homepage-fs8.png)](https://codeberg.org/vhs/after-dark)
## Requirements
Hugo 0.51+ is the only requirement. ([Install Hugo](https://gohugo.io/getting-started/installing/)).
### Installation
The fastest installation method is to run the quick install script:
```sh
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:
```sh
hugo-site
├── static
└── themes
└── after-dark # git clone or submodule
```See [Install a Single Theme](https://gohugo.io/themes/installing-and-using-themes/#install-a-single-theme) on the Hugo docs site for additional instructions.
After Dark releases are tagged in git and [packaged on NPM](https://www.npmjs.com/package/after-dark). Use the NPM package to integrate After Dark into existing workflows.
### Usage
Run the online help server after installing for detailed instructions:
```
./themes/after-dark/bin/help
```See the [Hugo docs](https://gohugo.io/documentation/) as well. There's also a [Hugo community forum](https://discourse.gohugo.io/) in case you get stuck.
### Upgrading
Run the [Upgrade Script](https://vhs.codeberg.page/after-dark/feature/upgrade-script/) to check for updates and upgrade automatically:
```sh
./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
If installed or upgraded via script you may use the [Release Validator](https://vhs.codeberg.page/after-dark/validate/) 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](https://vhs.codeberg.page/after-dark/feature/release-hashes/) for more info.
## Credits
Special thanks to エゴイスト for [hackcss](https://codeberg.org/vhs/mirrors/hack), Dan Klammer for the [bytesize icons](https://codeberg.org/vhs/mirrors/bytesize-icons) and Vincent Prouillet for the [Zola port](https://www.getzola.org/themes/after-dark/).
## Rights
After Dark - A retro dark theme for Hugo.
Copyright (C) 2019 VHS <[email protected]> (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 .