# Sortle static page generator

Generates static web content from sortle repos.

## static-sortle.sh

The shell script `static-sortle.sh` generates a folder with static pages
from a sortle repository.
It expects the current working directory to be a repository.

**Usage:**
`static-sortle.sh`

The script looks for *header.html*, *footer.html* and *stylesheet.css* in
`~/.config/static-sortle/`.
The output folder name is taken from the parent folder.

## projects.sh

Searches the current working directory for sortle repos and generates a
html page with links to the directories.
The page is printed to stdout.

```
<div class=project-entry>
  <a class=project-name href="folder-name">readme.md headline</a><br/>
  <p class=project-summary>First line in readme.md</p>
</div>
```