0
0
Fork 0
Commit Graph

121 Commits

Author SHA1 Message Date
Gibheer 390c02c011 change the example line to use postgres only 2014-01-02 21:42:10 +01:00
Gibheer 810a16eea8 use / for the index page in the logo 2014-01-02 21:41:28 +01:00
Gibheer 6aa8f1c2a2 new next and previous buttons
When selecting only one post buttons to select the previous and next
blog posts are added. These can then be used to read one blog post per
page.
2014-01-02 21:38:21 +01:00
Gibheer dac1a7ec28 replace do_postgres with pg for better timestamps
do_postgres is using DateTime to fetch timestamps which results in
loosing the milliseconds. But we need the exact timestamp to fetch the
previous and next posts.
2014-01-02 21:36:10 +01:00
Gibheer 7b9576216c don't wrap lines in code and pre elements 2013-12-03 21:45:12 +01:00
Gibheer ada397900f add utf-8 meta header 2013-11-14 16:57:48 +01:00
Gibheer 33c5439cd2 render the html in the atom feed 2013-11-08 19:55:17 +01:00
Gibheer 7ca8100d23 mark headers in section
This commit makes the headers in a section a bit smaller and underlines
them over 75% over the article width, which gives them a nicer look.
2013-11-08 19:53:44 +01:00
Gibheer bcb992b231 adjust the pagination design and header 2013-11-04 20:19:39 +01:00
Gibheer b47acdeb14 make the pagination look nicer 2013-10-29 20:42:25 +01:00
Gibheer 294625f251 add pagination to the page 2013-10-29 20:39:47 +01:00
Gibheer 6e412a6aa9 reduce size of background 2013-10-29 19:51:15 +01:00
Gibheer 19a3c4b238 use picture with real color 2013-10-29 19:47:52 +01:00
Gibheer 693e118a84 add basics for pagination 2013-10-29 19:47:17 +01:00
Gibheer 49ba15dbab remove the relative positioning
This fixes the background picture only shown on the body.
2013-10-29 19:04:38 +01:00
Gibheer 1a0c2b70f7 remove single scss files to include in index
The separation didn't help in this case, as the css is much too small.
Maybe I will split it up later again.
2013-10-28 06:36:13 +01:00
Gibheer 77053f05d8 add first draft of design
This adds the first couple css rules for the new design.
2013-10-27 19:50:32 +01:00
Gibheer e488b155e4 add layout for the posts 2013-10-27 19:47:51 +01:00
Gibheer fcb995b0f0 small controller to deliver images
This is nice for development, but should not be used in production. Most
webservers can do better.
2013-10-27 19:46:16 +01:00
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