summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules3
-rw-r--r--templates/blogpost.tmpl9
-rw-r--r--templates/inlinepage.tmpl3
4 files changed, 12 insertions, 5 deletions
diff --git a/debian/control b/debian/control
index 4abae5dbf..1d69e55a5 100644
--- a/debian/control
+++ b/debian/control
@@ -18,4 +18,4 @@ Description: a wiki compiler
.
ikiwiki implements most of the other standard features of a wiki, including
web-based page editing, user registration and logins, and a RecentChanges
- page.
+ page. It also supports generating weblogs.
diff --git a/debian/rules b/debian/rules
index b1ae6dd1f..6ca612c9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,11 +24,12 @@ binary-indep: build
$(MAKE) pure_install INSTALLDIRS=vendor \
PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
dh_installdocs html
+ dh_link usr/share/common-licenses/GPL usr/share/doc/ikiwiki/html/GPL
dh_link usr/share/ikiwiki/basewiki \
usr/share/doc/ikiwiki/examples/basewiki
dh_installman ikiwiki.man
dh_installchangelogs
- dh_compress
+ dh_compress -X html
dh_fixperms
dh_perl
dh_installdeb
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl
new file mode 100644
index 000000000..5ded359a1
--- /dev/null
+++ b/templates/blogpost.tmpl
@@ -0,0 +1,9 @@
+<hr>
+<form action="<TMPL_VAR CGIURL>" method="GET">
+<input type="hidden" name="do" value="blog">
+<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>">
+<input type="hidden" name="subpage" value="1">
+Add a new post titled: <input name=title size=40>
+<input type="submit" value="Edit">
+</form>
+<hr>
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index 4999c3248..38834c0b2 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -1,6 +1,3 @@
-
-<hr>
-
<h1><TMPL_VAR PAGELINK></h1>
<TMPL_VAR CONTENT>