aboutsummaryrefslogtreecommitdiffstats
path: root/man/ssg-init.1
blob: 47dd2bb01ffdbd7fc7259c80a1b58c50356fe0c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.TH SSG-INIT 1 "2026-01-01" "ssg" "General Commands Manual"
.SH NAME
ssg-init \- initialize a new site
.SH SYNOPSIS
.B ssg init
.RI [ directory ]
.SH DESCRIPTION
Create a new site with the standard directory structure:
.PP
.RS
.nf
data/
templates/
static/
.fi
.RE
.PP
If no directory is specified, initializes in the current directory.
A sample
.I templates/index.html
is created if one does not exist.
.SH EXAMPLES
Initialize in the current directory:
.PP
.RS
.nf
$ ssg init
.fi
.RE
.PP
Initialize a new site:
.PP
.RS
.nf
$ ssg init mysite
$ cd mysite
$ ssg build
.fi
.RE
.SH SEE ALSO
.BR ssg-build (1)
.SH SSG
Part of the
.BR ssg (1)
suite.