home
·
contact
·
privacy
projects
/
redo-blog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make add_dir.sh more tolerant of pre-existing installations.
[redo-blog]
/
processor
/
metadata
/
index.tmpl.do
diff --git
a/processor/metadata/index.tmpl.do
b/processor/metadata/index.tmpl.do
index 275ca2b1f4727cee3cb84acb19df1fdd15836956..67cebb209bb133c3ae0db3f46480ba554118b487 100644
(file)
--- a/
processor/metadata/index.tmpl.do
+++ b/
processor/metadata/index.tmpl.do
@@
-3,18
+3,16
@@
if [ ! -f "$1" ]; then
cat << EOF
<!DOCTYPE html>
if [ ! -f "$1" ]; then
cat << EOF
<!DOCTYPE html>
-<html>
-<head>
+<meta charset="UTF-8">
+<style type="text/css">
+h1 { font-size: 2em; }
+</style>
<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
-<title>%TITLE%</title>
-</head>
-<body>
-<h1>%TITLE%</h1>
+<title>%BLOG_TITLE%</title>
+<h1>%BLOG_TITLE%</h1>
<p><a href="feed.xml">feed</a></p>
<ul>
<p><a href="feed.xml">feed</a></p>
<ul>
-%
LIST
%
+%
INDEX
%
</ul>
</ul>
-</body>
-</html>
EOF
fi
EOF
fi