A simple blog generator for your ~
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
Matt Baer 543eb0203c Add install and new entry util script 9 anni fa
entries Simple squigglelog generator 9 anni fa
html Simple squigglelog generator 9 anni fa
templates Simple squigglelog generator 9 anni fa
util Add install and new entry util script 9 anni fa
LICENSE Simple squigglelog generator 9 anni fa
README.md Simple squigglelog generator 9 anni fa
install.sh Add install and new entry util script 9 anni fa
squigglelog.go Remove unfinished configuration initialization 9 anni fa

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