A simple blog generator for your ~
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Matt Baer 543eb0203c Add install and new entry util script 9 years ago
entries Simple squigglelog generator 9 years ago
html Simple squigglelog generator 9 years ago
templates Simple squigglelog generator 9 years ago
util Add install and new entry util script 9 years ago
LICENSE Simple squigglelog generator 9 years ago
README.md Simple squigglelog generator 9 years ago
install.sh Add install and new entry util script 9 years ago
squigglelog.go Remove unfinished configuration initialization 9 years ago

README.md

~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}}