shithub: img

ref: 3f07f5f7ba3cadd1e9863f465198f57d91f28cb8
dir: /mkindex.rc/

View raw version
#!/bin/rc

cat <<EOF
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
body{
	background-color: black;
}
a{
	color: white;
}
div{
	float: left;
	text-align: center;
	padding: 0.25cm;
	width: 200px;
	height: 200px;
}
img{
	width: 160px;
	height: 160px;
}
</style>
</head>
<body>
<p>&nbsp;</p>
EOF

for(d)
	echo '<div><a href="'^$d^'/index.html"><img src="'^$d^'/montage.jpg"/><p>'^$d^'</p></a></div>'

cat <<EOF
</body>
</html>
EOF