~evan-hoose/SSSSS

ref: 1c864b1bdf031d4d810fb77ad2d1de45d96d2a1a SSSSS/s5-generate.sh -rwxr-xr-x 324 bytes
1c864b1bEvan On branch master 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh
#Make a directory to hold the site
mkdir $1

#Create templates for templates
echo "<doctype html>\n<head>\n<title>$1</title>\n<style>\n</style>\n</head>" > $1/html-header.html
echo "<body>" > $1/document-header.html
echo "</body>" > $1/document-footer.html

#This is the top level of the actual site
mkdir $1/top