and install the bookmarklets from there. Make a file in drafts/ named as post-slug-you-want-to-create.md like this: The path to templates/ should be assigned to Template::$template_dir. It's already fast with Apache, but it can be even faster and capable of even more burst traffic if you put a caching proxy such as Varnish in front of it.Ĭheck this directory out on the server (or locally on Mac or Linux for testing, if you'd like).Īdd a line like this to your crontab, replacing ) should be set as Updater::$source_path. Second Crack requires PHP 5.3+ and has only been tested so far on Mac OS X and CentOS 5.5, with Apache httpd. To propagate a template's changes across the whole site, do a full rebuild by clearing the cache/ directory and running the updater. If a template is edited, the changes won't propagate to the entire site automatically - only new posts and updated pages will show the changes.Footnote anchors need some kind of unique per-post prefix. If you have multiple posts on the frontpage or an archive/tag page that use footnotes, the anchors will be repeated between posts and they won't work properly.These can usually be fixed temporarily by clearing the cache/ directory's contents and running the updater for a full rebuild. Editing slugs after publishing is unreliable.If you have a day with multiple posts, and you delete one of them in the middle, sometimes the others don't reorder themselves properly.The month archives sometimes only contain a few posts.There are also still significant known bugs that I haven't had time to fix yet. Even though I've run with it for a long time, it's still rough and unfriendly. Second Crack should be considered an early alpha. Second Crack is a basic static-file blog engine using Markdown-formatted text files as input.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |