Skip to content

marioBonales/Sinatra-Markdown-Blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown based blog

After years of blogging over my own Wordpress and working with fantastic themes such as Hybrid, I decided to port my blog to Sinatra. The reason behind this move is that I'm not happy anymore with the amount of markup and styling generated by Wordpress. It's not bad, but at this point is not for me.

Considering that now I would tweak my site directly from the source, and because I use a git workflow, I decided to keep the contents in the source code as well. I know, I know, that's what databases were designed for. However, I feel that it's cleaner and simpler to keep it this way. As I'm using git, now I also have the advantage of having my content versioned as a default.

From the authoring perspective, I feel Markdown is the way to go. I'm tired of all those WYSIWYG menus and options. As a designer, I want to keep it simple and Markdown forces me to do this. It's also easier to write in Write Room and just copy the plain text to Textmate.

For those of you wondering what about advanced blogging features such as paging, cross-referencing, tagging, related posts and categories, here is my take. I feel blogging is evolving and such mechanisms belong somewhere else. Perhaps because I think about my blog as a crafted collection of short essays, I don't care about fancy navigation styles. What I care about is content and order.

This piece of Sinatra + Markdown (with templating support of HAML and SASS) is what I feel will bring my writing back to life. Let's see if such thing happens.

The MIT License (MIT)

Copyright (c) 2012 César Salazar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple blogging mechanism for writers that code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%