:lock: Secure and accessible dark theme static website generator for Hugo https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Habdas 88feb9b8a0
chore(docker): upgrade build environment
5 months ago
archetypes docs(archetypes/post): remove superfluous word 1 year ago
assets fix: collapse whitespace inside goldmark code blocks, alerts and cards 10 months ago
bin fix: print out the full table of contents 10 months ago
data feat(feature/custom-homepage): add custom homepage and docs in english 1 year ago
docker build(docker): update for hugo release 0.61.0 10 months ago
docs chore(docker): upgrade build environment 5 months ago
layouts fix(layouts/_default): show posts on homepage as expected 8 months ago
static chore(static/js): update fuse and ls to latest releases 1 year ago
.gitignore feat(feat/extended-builds): add dockerfile and docker-compose 1 year ago
CHANGELOG.md chore(release): 9.2.2 8 months ago
COPYING feat(license): wtfpl -> agpl-3.0-or-later 1 year ago
Dockerfile chore(docker): upgrade build environment 5 months ago
README.md docs(feature/quick-install): simplify quick install 1 year ago
docker-compose.yml build(feature/extended-builds): upgrade extended build to hugo@0.60.0, go@1.13.4 and alpine@3.10 10 months ago
package-lock.json chore(release): 9.2.2 8 months ago
package.json chore(release): 9.2.2 8 months ago

README.md

After Dark

Hugo Dark Theme Site Generator
DocsReleasesCommunity

After Dark

Latest NPM version Monthly downloads Minimum Hugo version IRC chat AGPL licensed

One command is all you need to start a new website:

wget -qO - https://go.habd.as/after-dark | sh

After Dark is an extensible, robust templating system for Hugo written from the ground up for speed, privacy and security.

Features

Click a link below to learn more:

Screenshot

Demo

Demo

Visit the official docs for demo and documentation. For an example site see habd.as. Additional examples listed in the source repository Wiki.

Getting Started

Install Hugo 0.51 or greater on your machine before getting started unless starting with After Dark K3s or creating an Extended Build.

Installation

For fastest installation use the provided Quick Install script. Quick Install is ideal for first-time users and does not require use of git. Use it to automatically set-up, configure and run a sample After Dark website you may re-purpose as your own.

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

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

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

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

Usage

Review the Online Help to learn how to set-up and customize After Dark. Docs included with installation and may be served locally.

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

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.

Credits

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

Rights

Copyright © 2019 Josh Habdas jhabdas@protonmail.com

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