uriel
e3e9fd0754
Whitespace change.
2009-07-28 23:58:32 +02:00
uriel
345cd6b545
Further HTML5-fication, plus fix some case consistency mismatches.
2009-07-28 20:49:53 +02:00
uriel
3302281612
Add example of formatter option using md2html.awk.
2009-07-28 20:48:18 +02:00
uriel
8cd04dd184
New context var 'local_file' that will point to the on-disk-file that represents the main content of a given page request (if such exists, otherwise it is '' or ()).
...
Move title extracting functions from sitemap.tpl to werclib.rc.
Rewrite .md title extraction code to only match first lines when 'underlines' with =.
Use the changes above to generate better page titles when possible.
2009-07-28 20:28:35 +02:00
uriel
9afb192c91
Add yiyus md2html.awk script as an alternative to markdown.pl
2009-07-28 14:49:52 +02:00
uriel
f5474bcc0d
Implement dir listing headers and footers. Just add a _header.md or _footer.md
...
file to any directory and their contents will be displayed together with the
directory listing.
2009-07-28 14:36:38 +02:00
uriel
1b56834736
Don't include domain in sitemap links, this avoid breaking when port is not 80.
2009-07-25 01:11:15 +00:00
uriel
59e181b036
Enable pubsub on test blagh feed.
2009-07-20 04:01:51 +00:00
uriel
904c11dbb4
Further work on pubsubhub support. I think we now have all we are supposed to, but I'm not sure it works yet.
2009-07-20 04:01:36 +00:00
uriel
8f76833a08
Add url_encode function to cgilib.rc
2009-07-20 03:59:49 +00:00
uriel
ef84f6915e
Add a dummy file to etc/users/ so hg doesn't swallow it.
2009-07-20 02:17:07 +00:00
uriel
a18e815468
Test pages for title generation.
2009-07-19 08:02:11 +02:00
uriel
328c6a394e
Properly handle dashes in paths the same way we treated underscores when generating page titles. This includes sitemaps, sidebar nav trees and the page title header itself.
2009-07-19 08:01:42 +02:00
uriel
5dbd9b27e2
When using a path element to generate a page title, replace '[a-z]-[a-z]' with '[a-z] [a-z]', this allows us to use dashes in paths that are more SEO-friendly than underscores.
2009-07-19 07:42:45 +02:00
uriel
352958bef3
Initial commit of tst.cat-v.org test suite.
2009-07-19 04:48:41 +02:00
uriel
4cf713e5a6
Start to convert templates to HTML 5
2009-07-19 04:02:30 +02:00
uriel
1ddf17b4bb
Experimental support for Google's pubsubhubbub
2009-07-19 03:27:26 +02:00
convert-repo
299c6db460
update tags
2009-07-01 07:59:37 +00:00
uriel
6b11f6271a
Added tag LATEST-RELEASE for changeset f0ca5ef9c3f8
2009-07-01 07:52:14 +02:00
uriel
45dfce19a4
Added tag LATEST-RELEASE for changeset 0848be7b72e8
2009-07-01 07:36:00 +02:00
uriel
29dab44353
New release
2009-07-01 07:36:00 +02:00
uriel
0685513d9b
Mention required lighttpd modules in docs.
2009-07-14 22:54:28 +00:00
uriel
d18c901035
s/ninetimes/9times/ in top bar to save space.
2009-07-14 22:54:09 +00:00
uriel
513f34cba7
Add extra new line between posts to avoid formatting from one post to extend to the next.
2009-07-14 22:53:23 +00:00
uriel
f2f07437bf
Merge.
2009-07-10 02:53:52 +00:00
uriel
f6ca42a934
Documentation updates.
...
- Fix dumb mistake in wman docs
- Document Plan 9's httpd setup.
2009-07-10 02:53:18 +00:00
uriel
3e0fda9b5d
Documentation fixes and additions.
2009-06-26 20:32:02 +00:00
uriel
0a92d150ca
Merge docs changes and fixes.
2009-06-20 11:56:12 +02:00
uriel
e7295877af
Fix two typos, thanks echoline!
2009-06-20 11:55:26 +02:00
uriel
5d1e87a659
Added tag LATEST-RELEASE for changeset d57a4b0d249e
2009-06-14 20:21:17 +02:00
uriel
ed80e98013
New release
2009-06-14 20:21:17 +02:00
uriel
7f12eb95a8
Strip title from rss/atom 'summary'(ie., body).
...
This used to look really ugly in most feed readers.
2009-06-13 15:59:43 +02:00
uriel
4b3e31dcce
Remove the obsolete feed templates, they were moved to apps/blagh/ a while ago.
2009-06-13 06:28:12 +02:00
uriel
861c35f7d5
Allo to set blagh conf_ options from initrc.local as well.
2009-06-12 23:59:47 +02:00
uriel
0cf525b85d
Optimization/fix to only pass the content of all blog posts at once to $formatter
...
This seems to some how fix a strange bug I have seen on my test setup, need to investigate more.
2009-06-12 23:56:48 +02:00
uriel
cd07f595c8
Merge tags.
2009-06-12 23:45:27 +02:00
uriel
bcbdb852f2
New configuration variable for blagh: conf_max_posts_per_page sets the maximum numbers to display in a blog feed, default is 32. Note that this also affects rss feeds.
2009-06-12 23:44:21 +02:00
uriel
76014cf63e
Added tag LATEST-RELEASE for changeset 9fc8f17498d1
2009-06-10 04:23:16 +02:00
uriel
1114422292
New release
2009-06-10 04:23:16 +02:00
uriel
85e7156d9d
Urldecode '_' (ie., %5F) in request paths to make stackoverflow.com links happy.
2009-06-10 02:58:36 +02:00
uriel
a745a8bd28
I'm a retard, fix brown paper bag bug from the last commit.
2009-06-07 10:40:35 +02:00
uriel
5e2170a691
Move shared .tpl files to tpl/ from lib/, this fixes a DoS vulneravility where master_template.tpl could be accessed as a standalone .tpl file that recursively called itself.
2009-06-06 16:20:02 +02:00
uriel
8f1a306a8a
Add a simple wrapper to log stderr in broken http servers.
2009-06-06 16:15:56 +02:00
uriel
9c37554a9f
Optimization: avoid using a temporary file to calculate the hash in md_handler.
2009-06-01 07:00:11 +02:00
uriel
939eec5452
Add hiawatha sample config.
2009-05-31 11:46:28 +00:00
uriel
808c48d7f0
Documentation spelling fixes.
2009-05-31 04:52:59 +00:00
uriel
5ab035a922
Document setup for nginx.
2009-05-31 06:48:48 +02:00
uriel
58b48192a4
Move setup of main handler for 404 to a setup_404_handler function that can be more easily overriden, for example from config files!
2009-05-29 10:07:01 +00:00
uriel
310c350d3f
Do not set handler if man page doesn't exist so we can provide proper 404 (or other fall-back)
...
Make 'Intro' page title fixing case-insensitive to deal with Plan B man pages.
2009-05-29 10:04:27 +00:00
uriel
013523e980
Minor update to 'Add This' link in site's top header.
2009-05-28 22:00:28 +00:00