Browse Source

docs(feature/quick-install): simplify quick install

pull/198/head
Josh Habdas 1 year ago
parent
commit
b9705f0530
Signed by: jhabdas GPG Key ID: B148B31154C75A74
5 changed files with 18 additions and 13 deletions
  1. +1
    -1
      README.md
  2. +3
    -3
      docs/content/_index.md
  3. +8
    -4
      docs/content/feature/quick-install.md
  4. +2
    -2
      docs/layouts/index.html
  5. +4
    -3
      package.json

+ 1
- 1
README.md View File

@ -3,7 +3,7 @@
src="https://git.habd.as/comfusion/after-dark/raw/branch/master/static/images/logo-dark.png"
width="358">
**Hugo Dark Theme Website Generator**
**Hugo Dark Theme Site Generator**
<br>[Docs](https://after-dark.habd.as) • [Releases](https://git.habd.as/comfusion/after-dark/releases) • [Community](https://t.me/afterdarkhugo)
## After Dark

+ 3
- 3
docs/content/_index.md View File

@ -1,6 +1,6 @@
+++
title = "After Dark"
description = "After Dark is an extensible, robust templating system for Hugo written from the ground up for speed, privacy and security."
description = "After Dark is open source software you can use to build a secure website, blog or app. One command is all you need to start a new website."
images = [
"https://after-dark.habd.as/images/screenshots/after-dark-v6.15.0-homepage-fs8.png"
]
@ -104,7 +104,7 @@ images = [
beta = true
[[spotlight.link]]
href = "/module/toxic-swamp/#installation"
text = "Get Started"
text = "Installation"
[[spotlight.link]]
href = "/module/toxic-swamp/"
text = "Learn More"
@ -136,7 +136,7 @@ images = [
{{< hackcss-button type="primary" isghost="true" >}}
<svg class="i-download" viewBox="0 0 32 32" width="24" height="24" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M9 22 C0 23 1 12 9 13 6 2 23 2 22 10 32 7 32 23 23 22 M11 26 L16 30 21 26 M16 16 L16 30"></path>
</svg>&nbsp;&nbsp;Quick Install
</svg>&nbsp;&nbsp;Get Started
{{< /hackcss-button >}}
{{< hackcss-helpblock >}}
<small>English and <a href="/id/feature/quick-install">Bahasa</a></small>

+ 8
- 4
docs/content/feature/quick-install.md View File

@ -4,10 +4,6 @@ description = "One command is all you need to start a new website."
categories = ["core"]
tags = ["setup", "installation", "scripts"]
features = ["code highlighter", "snippets", "related content"]
notes = [
"review 'module-system' when adding or removing installed add-ons",
"also review selection of pre-installed modules (see front matter)"
]
aliases = [
"/feature/quick-installer/"
]
@ -17,6 +13,14 @@ aliases = [
license = "agpl-3.0-or-later"
+++
{{< hackcss-alert type="success" >}}
{{< highlight shell >}}wget -qO - https://go.habd.as/after-dark | sh{{< /highlight >}}
{{< /hackcss-alert >}}
Run the above command in a terminal emulator after {{< external href="https://gohugo.io/getting-started/installing" text="installing Hugo" />}} to start a new website in 5-10 seconds. Hugo version `0.51` or greater required.
---
After Dark includes a portable installation script for quick set-up. Please install {{< external href="https://gohugo.io" text="Hugo" />}} `0.51` or greater before running:
{{< hackcss-alert >}}

+ 2
- 2
docs/layouts/index.html View File

@ -18,7 +18,7 @@ along with this program. If not, see .
*/}}
{{ define "title" -}}
{{ .Params.title }} | Hugo Dark Theme Website Generator
Hugo Dark Theme Site Generator | {{ .Params.title }}
{{- end }}
{{ define "header" }}
{{ partial "masthead.html" . }}
@ -29,7 +29,7 @@ along with this program. If not, see .
{{ end }}
<header>
<h1>{{ .Title }}<sup class="muted">v{{ .Site.Data.npm.latest.version }}</sup></h1>
<h2 class="muted">Hugo Dark Theme Website Generator</h2>
<h2 class="muted">Hugo Dark Theme Site Generator</h2>
</header>
<section class="grid logo">
<a class="cell -12of12" rel="author" target="_self" href="https://habd.as/code/after-dark/">

+ 4
- 3
package.json View File

@ -1,13 +1,14 @@
{
"name": "after-dark",
"version": "9.0.0",
"description": "Hugo Dark Theme Website Generator.",
"description": "Hugo Dark Theme Site Generator",
"author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
"keywords": [
"hugo",
"libre",
"dark",
"theme",
"website",
"generator"
"blog"
],
"homepage": "https://after-dark.habd.as",
"repository": {

Loading…
Cancel
Save