summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.cgi1
-rw-r--r--themes/html5/index.tmpl7
2 files changed, 3 insertions, 5 deletions
diff --git a/index.cgi b/index.cgi
index 6d7adef..d23a588 100755
--- a/index.cgi
+++ b/index.cgi
@@ -86,6 +86,7 @@ sub output_article {
my $tagcloud = get_tag_cloud();
my @status = ();
+ $template->param( script_name => $cgi->script_name() );
$template->param( archives => $archives );
$template->param( tagcloud => $tagcloud );
$template->param( theme => $blog_theme );
diff --git a/themes/html5/index.tmpl b/themes/html5/index.tmpl
index 23ba13e..2ef7902 100644
--- a/themes/html5/index.tmpl
+++ b/themes/html5/index.tmpl
@@ -107,10 +107,7 @@
<section id="feeds">
<h3>Feeds</h3>
<ul>
- <li><a href="/rss.xml">
- <img src="/themes/<TMPL_VAR name="theme">/feed-icon-12x12.png" alt="RSS">RSS 1.0</a></li>
- <li><a href="/rss2.xml">
- <img src="/themes/<TMPL_VAR name="theme">/feed-icon-12x12.png" alt="RSS">RSS 2.0</a></li>
+ <li><a href="/rss.xml">RSS Feed</a></li>
</ul>
</section>
@@ -195,7 +192,7 @@
<h5>Add a comment</h5>
<p>max length <TMPL_VAR name="comment_max_length"> chars</p>
</header>
- <form action="/index.cgi" method="post">
+ <form action="<TMPL_VAR name="script_name">" method="post">
<p><input name="name" size="40" maxlength="100" value="<TMPL_VAR name="name">"> Name</p>
<p><input name="email" size="40" maxlength="100" value="<TMPL_VAR name="email">"> eMail</p>
<p><input name="url" size="40" maxlength="100" value="<TMPL_VAR name="url">"> URL</p>