summaryrefslogtreecommitdiff
path: root/README.md
blob: b0b1e953eb2f67f7f1017209e12b6d6695a5de1a (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
# seen

*A simple blog generator written in bash*

### How to use

First, install `markdown` because this script uses it heavily.

Put your markdown files on `articles/<name of file>.md` (create the directory if it doesn't exist).

You also need to create a config file. Put it in `articles/<name of file>.cfg`. It should use the same name your markdown file uses.

Example :

	name="Hello World"
	desc="Welcome to my blog!"
	date="9th December 2021"

And run the following:

	$ chmod +x seen.sh
	$ ./seen.sh

Your blog is in the `www/` directory. You can make your webserver use it.
You can also use CSS files, just put them into the `templates/` directory.

Feel free to customize other html files present in that directory.

Seen supports other options too, for more info, run the following:

	$ ./seen.sh --help