Matt Baer 543eb0203c | há 9 anos | |
---|---|---|
entries | há 9 anos | |
html | há 9 anos | |
templates | há 9 anos | |
util | há 9 anos | |
LICENSE | há 9 anos | |
README.md | há 9 anos | |
install.sh | há 9 anos | |
squigglelog.go | há 9 anos |
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.
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}}