1
0
mirror of https://github.com/thebaer/squigglelog synced 2018-07-20 10:45:21 +00:00
A simple blog generator for your ~
Go to file
2015-01-29 01:28:54 -05:00
entries Ignore entries 2015-01-29 01:28:54 -05:00
html Simple squigglelog generator 2015-01-27 21:35:07 -05:00
templates Simple squigglelog generator 2015-01-27 21:35:07 -05:00
util Add install and new entry util script 2015-01-29 01:28:13 -05:00
install.sh Add install and new entry util script 2015-01-29 01:28:13 -05:00
LICENSE Simple squigglelog generator 2015-01-27 21:35:07 -05:00
README.md Simple squigglelog generator 2015-01-27 21:35:07 -05:00
squigglelog.go Remove unfinished configuration initialization 2015-01-29 01:26:36 -05:00

~log

Use squigglelog to easily create a simple log for your tilde. Create new posts in the entries/ folder, then run this:

go build squigglelog.go
./squigglelog -template mysquigglelog

This will use any template in templates/ defined with mysquigglelog (see below) to generate your full squigglelog page.

templates

Your template should look like this.

{{define "mysquigglelog"}}
<html>
	<head>
		<title>My ~log!</title>
	</head>
	<body>
		<h1>~log</h1>
		<p>Welcome to my ~log.</p>
		{{template "log" .}}
	</body>
</html>
{{end}}