aboutsummaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 18:19:13 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 18:19:13 +0000
commit20fd32fcf3bfa8653fb876117970ebd07cc1bb35 (patch)
treeb96e148158ef8c2f779b702928dc8347dc005562 /basewiki
parenta56eda6878a761e4438bf50687bdbd10672c38b2 (diff)
downloadikiwiki-20fd32fcf3bfa8653fb876117970ebd07cc1bb35.tar
ikiwiki-20fd32fcf3bfa8653fb876117970ebd07cc1bb35.tar.gz
updates from src
Diffstat (limited to 'basewiki')
-rw-r--r--basewiki/blog.mdwn20
-rw-r--r--basewiki/markdown.mdwn5
-rw-r--r--basewiki/style.css5
-rw-r--r--basewiki/wikilink.mdwn4
4 files changed, 27 insertions, 7 deletions
diff --git a/basewiki/blog.mdwn b/basewiki/blog.mdwn
index d300736a8..9c490fcb3 100644
--- a/basewiki/blog.mdwn
+++ b/basewiki/blog.mdwn
@@ -1,8 +1,22 @@
You can turn any page on this wiki into a weblog by inserting a
[[PostProcessorDirective]]. Like this:
-\\[[inline pages="blog/*" show="10"]]
+\\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
-Any pages that match the specified [[GlobList]] (in the exaple, any
-[[SubPages]] of "blog") will be part of the blog, and the newest 10
+Any pages that match the specified [[GlobList]] (in the example, any
+[[SubPage]] of "blog") will be part of the blog, and the newest 10
of them will appear in the page.
+
+The optional `rootpage` setting tells the wiki that new posts to this blog
+should default to being [[SubPage]] of "blog", and enables a form at the
+top of the blog that can be used to add new items.
+
+If you want your blog to have an archive page listing every post ever made
+to it, you can accomplish that like this:
+
+\\[[inline pages="blog/* !*/Discussion" archive="yes"]]
+
+You can even create an automatically generated list of all the pages on the
+wiki, with the most recently added at the top, like this:
+
+\\[[inline pages="* !*/Discussion" archive="yes"]]
diff --git a/basewiki/markdown.mdwn b/basewiki/markdown.mdwn
index 9a0fff198..3684fe5c1 100644
--- a/basewiki/markdown.mdwn
+++ b/basewiki/markdown.mdwn
@@ -2,8 +2,7 @@
is a minimal markup language that resembles plain text as used in
email messages. It is the markup language used by this wiki.
-For documentation about the markdown syntax, see
+For documentation about the markdown syntax, see [[HelpOnFormatting]] and
[Markdown: syntax](http://daringfireball.net/projects/markdown/syntax).
-Note that [[WikiLink]]s are not part of the markdown syntax, and are the
-only bit of markup that this wiki handles internally.
+Note that [[WikiLink]]s and [[PostProcessorDirective]]s are not part of the markdown syntax, and are the only bit of markup that this wiki handles internally.
diff --git a/basewiki/style.css b/basewiki/style.css
index 82a01d8a0..97b30fbf8 100644
--- a/basewiki/style.css
+++ b/basewiki/style.css
@@ -23,6 +23,7 @@
#blogform {
padding: 10px 10px;
border: 1px solid #aaa;
+ color: black !important;;
background: #eee;
}
@@ -41,11 +42,12 @@
/* Used for invalid form fields. */
.fb_invalid {
color: red;
+ background: white !important;
}
/* Used for required form fields. */
.fb_required {
- fornt-style: bold;
+ font-weight: bold;
}
/* RSS button. */
@@ -64,5 +66,6 @@
margin-top: 1em;
}
.rssbutton:hover {
+ color: white !important;
background: #ff9900;
}
diff --git a/basewiki/wikilink.mdwn b/basewiki/wikilink.mdwn
index ac0ec9d56..6051fe120 100644
--- a/basewiki/wikilink.mdwn
+++ b/basewiki/wikilink.mdwn
@@ -13,3 +13,7 @@ always lowercased.
Note that if the file linked to by a WikiLink looks like an image, it will
be displayed inline on the page.
+
+It's also possible to write a WikiLink that uses something other than the
+page name as the link text. For example "\[[foo|SandBox]]" links to the
+SandBox page, but the link will appear like this: [[foo|SandBox]]