0
0
Fork 0
Commit Graph

152 Commits

Author SHA1 Message Date
Gibheer 5b54051db6 fix namespace leak 2013-10-27 19:46:02 +01:00
Gibheer 6c1cb50af0 add layouts to renderer
The renderer is now able to render templates in the context of their
layouts.
2013-10-27 19:45:12 +01:00
Gibheer 5a65a3dc40 reroute atom controller to post
This is not really good, but okay for the moment until the template is
extracted into its own namespace.
2013-10-27 13:39:44 +01:00
Gibheer 1e26faa84a extend regex for catching files 2013-10-27 13:09:44 +01:00
Gibheer d8fe8a97bc compile markdown for each request
The problem here is, that the markdown code can't be compiled and
therefore does not get executed when the page is rendered. So this
change directly calls Kramdown to compile the code.
It should be replaced later by a mechanism which compiles the markdown
when the post is loaded.
2013-10-26 23:01:22 +02:00
Gibheer fb3d0b51c0 add markdown support
This is to pretty print the markdown posts.
2013-10-26 22:36:17 +02:00
Gibheer 4e04cce391 add atom feed 2013-10-26 17:52:52 +02:00
Gibheer 0e547febf1 add post controller
This adds the post controller to get the posts from the database and
make apply all filters needed to make it a workable result.
2013-10-26 14:56:55 +02:00
Gibheer 8d7938d108 add first test for database usage in the template 2013-10-26 12:33:50 +02:00
Gibheer 30b931aa3f fix content type of the result 2013-10-26 12:33:30 +02:00
Gibheer d9ea69f026 add database support 2013-10-26 12:33:15 +02:00
Gibheer b79d967a55 remove debug output 2013-10-20 22:08:56 +02:00
Gibheer 2ac3320d34 the beginning of a new blog 2013-10-20 22:04:01 +02:00
Gibheer 0254610fcf add database gems 2013-08-05 21:55:50 +02:00
Gibheer 5e0b87164d restart blog by using zero and puma 2013-08-05 21:51:23 +02:00
Gibheer d6ec7051d7 seperate code from text 2012-09-28 12:01:57 +02:00
Gibheer 5586b3179b wait with rack until rack-flash is fixed 2012-01-30 21:42:00 +01:00
Gibheer 3c2d0d32d9 there is no preset? 2012-01-30 21:41:20 +01:00
Gibheer 18281e5098 use 303 for redirects or else chromium lands in the cache hell 2012-01-30 21:40:36 +01:00
Gibheer 92f0b94696 issue #10 added the domain to all page links 2011-09-29 19:48:59 +02:00
Gibheer e478a71c32 issue #10 fix "add tags to posts" 2011-09-28 15:07:05 +02:00
Gibheer 41a470c4c0 issue #10 using any? is clearer 2011-09-28 14:38:17 +02:00
Gibheer 52eaaf0f6f issue #10 use all_written 2011-09-28 14:36:14 +02:00
Gibheer 51ea33c778 use get instead of first 2011-09-28 14:35:25 +02:00
Gibheer 8f19146aa4 clean up the released functions 2011-09-28 14:33:08 +02:00
Gibheer 82f88e8025 update of gems 2011-09-28 14:28:12 +02:00
Gibheer 689c64d40f update of the gems 2011-09-13 16:26:44 +02:00
Gibheer 59a6f72fd0 ignore the .rbx 2011-09-13 14:35:23 +02:00
Gibheer e824647eb1 added some flags for the feed, so that it works more correctly 2011-08-11 13:25:04 +02:00
Gibheer d91aa60bfd the creation of a new blog was borked, as the set_tags wanted @post
instead of self
2011-08-11 13:02:59 +02:00
Gibheer fa1d2ecd8f compress everything with gzip 2011-08-10 20:05:45 +02:00
Gibheer 2594d43843 ignore the pictures 2011-08-10 20:03:55 +02:00
Gibheer 26a609d44a added an image dir, just to support images a little bit 2011-08-10 19:52:47 +02:00
Gibheer a0a2c5266f the pagination was wrong and posts disappeard 2011-08-10 19:49:28 +02:00
Gibheer e0833de4a5 make an initial setup with the console, so that the passwords do not
apear anywhere
2011-08-10 19:49:02 +02:00
Gibheer 88f8fadc9e - fixed an error an creating a post with tags
- set the account to the current user, when account is nil
2011-08-10 09:45:39 +02:00
Gibheer f618c927a5 added the atom feed 2011-08-09 22:18:34 +02:00
Gibheer b06381fdfc mark the tags, when some were set 2011-08-09 18:05:59 +02:00
Gibheer c716db616b read, create and everything else with tags 2011-08-09 14:59:55 +02:00
Gibheer 573ac89d78 gem updates 2011-08-09 11:08:44 +02:00
Gibheer 0cbaecd5dd some layout changes 2011-08-09 11:06:53 +02:00
Gibheer 326fb46236 added tag support for models 2011-07-27 18:03:53 +02:00
Gibheer a8660e01d5 don't use the pool at this place (why is it even there?) 2011-07-27 18:03:17 +02:00
Gibheer d4cedc908d template tags get replaced when importing 2011-07-25 15:08:16 +02:00
Gibheer 1d1a66cd51 added some missing css elements
* added some css design for elements from the old blog
* added list formatting
2011-07-20 20:40:33 +02:00
Gibheer cd65fe811e formatted the date
fixes #6
2011-07-20 20:09:28 +02:00
Gibheer 9949d409f8 * changed the links to relative paths
* added links to the headings of the posts
2011-07-19 20:22:50 +02:00
Gibheer 6ebe31e6fb added minimalystic support for importing old blog entries from jekyll 2011-07-19 19:14:32 +02:00
Gibheer 7517ca6819 added syntax highlighting for code 2011-07-19 19:14:10 +02:00
Gibheer b2a6dddb0c added styling for the pages 2011-07-18 12:32:36 +02:00