Browse Source

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

Josh Habdas 3 months ago
parent
commit
b9705f0530
Signed by: Josh Habdas <jhabdas@protonmail.com> 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 @@
3 3
   src="https://git.habd.as/comfusion/after-dark/raw/branch/master/static/images/logo-dark.png"
4 4
   width="358">
5 5
 
6
-**Hugo Dark Theme Website Generator**
6
+**Hugo Dark Theme Site Generator**
7 7
 <br>[Docs](https://after-dark.habd.as) • [Releases](https://git.habd.as/comfusion/after-dark/releases) • [Community](https://t.me/afterdarkhugo)
8 8
 
9 9
 ## After Dark

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

@@ -1,6 +1,6 @@
1 1
 +++
2 2
 title = "After Dark"
3
-description = "After Dark is an extensible, robust templating system for Hugo written from the ground up for speed, privacy and security."
3
+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."
4 4
 images = [
5 5
   "https://after-dark.habd.as/images/screenshots/after-dark-v6.15.0-homepage-fs8.png"
6 6
 ]
@@ -104,7 +104,7 @@ images = [
104 104
   beta = true
105 105
   [[spotlight.link]]
106 106
     href = "/module/toxic-swamp/#installation"
107
-    text = "Get Started"
107
+    text = "Installation"
108 108
   [[spotlight.link]]
109 109
     href = "/module/toxic-swamp/"
110 110
     text = "Learn More"
@@ -136,7 +136,7 @@ images = [
136 136
   {{< hackcss-button type="primary" isghost="true" >}}
137 137
     <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">
138 138
       <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>
139
-    </svg>&nbsp;&nbsp;Quick Install
139
+    </svg>&nbsp;&nbsp;Get Started
140 140
   {{< /hackcss-button >}}
141 141
   {{< hackcss-helpblock >}}
142 142
     <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."
4 4
 categories = ["core"]
5 5
 tags = ["setup", "installation", "scripts"]
6 6
 features = ["code highlighter", "snippets", "related content"]
7
-notes = [
8
-  "review 'module-system' when adding or removing installed add-ons",
9
-  "also review selection of pre-installed modules (see front matter)"
10
-]
11 7
 aliases = [
12 8
   "/feature/quick-installer/"
13 9
 ]
@@ -17,6 +13,14 @@ aliases = [
17 13
   license = "agpl-3.0-or-later"
18 14
 +++
19 15
 
16
+{{< hackcss-alert type="success" >}}
17
+{{< highlight shell >}}wget -qO - https://go.habd.as/after-dark | sh{{< /highlight >}}
18
+{{< /hackcss-alert >}}
19
+
20
+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.
21
+
22
+---
23
+
20 24
 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:
21 25
 
22 26
 {{< hackcss-alert >}}

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

@@ -18,7 +18,7 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
18 18
 */}}
19 19
 
20 20
 {{ define "title" -}}
21
-  {{ .Params.title }} | Hugo Dark Theme Website Generator
21
+  Hugo Dark Theme Site Generator | {{ .Params.title }}
22 22
 {{- end }}
23 23
 {{ define "header" }}
24 24
   {{ partial "masthead.html" . }}
@@ -29,7 +29,7 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
29 29
   {{ end }}
30 30
   <header>
31 31
     <h1>{{ .Title }}<sup class="muted">v{{ .Site.Data.npm.latest.version }}</sup></h1>
32
-    <h2 class="muted">Hugo Dark Theme Website Generator</h2>
32
+    <h2 class="muted">Hugo Dark Theme Site Generator</h2>
33 33
   </header>
34 34
   <section class="grid logo">
35 35
     <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 @@
1 1
 {
2 2
   "name": "after-dark",
3 3
   "version": "9.0.0",
4
-  "description": "Hugo Dark Theme Website Generator.",
4
+  "description": "Hugo Dark Theme Site Generator",
5 5
   "author": "Josh Habdas <jhabdas@protonmail.com> (https://habd.as)",
6 6
   "keywords": [
7 7
     "hugo",
8
-    "libre",
8
+    "dark",
9
+    "theme",
9 10
     "website",
10
-    "generator"
11
+    "blog"
11 12
   ],
12 13
   "homepage": "https://after-dark.habd.as",
13 14
   "repository": {

Loading…
Cancel
Save