updates from src
parent
a56eda6878
commit
20fd32fcf3
|
@ -1,8 +1,22 @@
|
||||||
You can turn any page on this wiki into a weblog by inserting a
|
You can turn any page on this wiki into a weblog by inserting a
|
||||||
[[PostProcessorDirective]]. Like this:
|
[[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
|
Any pages that match the specified [[GlobList]] (in the example, any
|
||||||
[[SubPages]] of "blog") will be part of the blog, and the newest 10
|
[[SubPage]] of "blog") will be part of the blog, and the newest 10
|
||||||
of them will appear in the page.
|
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"]]
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
is a minimal markup language that resembles plain text as used in
|
is a minimal markup language that resembles plain text as used in
|
||||||
email messages. It is the markup language used by this wiki.
|
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).
|
[Markdown: syntax](http://daringfireball.net/projects/markdown/syntax).
|
||||||
|
|
||||||
Note that [[WikiLink]]s are not part of the markdown syntax, and are the
|
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.
|
||||||
only bit of markup that this wiki handles internally.
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#blogform {
|
#blogform {
|
||||||
padding: 10px 10px;
|
padding: 10px 10px;
|
||||||
border: 1px solid #aaa;
|
border: 1px solid #aaa;
|
||||||
|
color: black !important;;
|
||||||
background: #eee;
|
background: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,11 +42,12 @@
|
||||||
/* Used for invalid form fields. */
|
/* Used for invalid form fields. */
|
||||||
.fb_invalid {
|
.fb_invalid {
|
||||||
color: red;
|
color: red;
|
||||||
|
background: white !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Used for required form fields. */
|
/* Used for required form fields. */
|
||||||
.fb_required {
|
.fb_required {
|
||||||
fornt-style: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* RSS button. */
|
/* RSS button. */
|
||||||
|
@ -64,5 +66,6 @@
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
.rssbutton:hover {
|
.rssbutton:hover {
|
||||||
|
color: white !important;
|
||||||
background: #ff9900;
|
background: #ff9900;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,3 +13,7 @@ always lowercased.
|
||||||
|
|
||||||
Note that if the file linked to by a WikiLink looks like an image, it will
|
Note that if the file linked to by a WikiLink looks like an image, it will
|
||||||
be displayed inline on the page.
|
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]]
|
||||||
|
|
Loading…
Reference in New Issue