Skip to content

Commit 8ef2012

Browse files
committed
Add Ssg SSG
1 parent 9e2418d commit 8ef2012

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/site/generators/ssg.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Ssg
3+
repo: romanzolotarev/ssg
4+
homepage: https://romanzolotarev.com/ssg.html
5+
language:
6+
- Bash
7+
license:
8+
- ISC
9+
templates:
10+
- Markdown
11+
- HTML
12+
description: a static site generator written in shell.
13+
---
14+
15+
ssg converts markdown files to html with lowdown(1) or markdown.pl,
16+
copies *.html files with <HTML> tag as they are. for the rest of
17+
.html files ssg extracts their titles from <H1> tag, prepends
18+
_header.html, appends _footer.html, copies from src to dst directory,
19+
and generates sitemap.xml, ignores files with name .* or listed in
20+
src/.ssgignore

0 commit comments

Comments
 (0)