Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cesarsalazar/Sinatra-Markdown-Blog
A simple blogging mechanism for writers that code.
https://github.com/cesarsalazar/Sinatra-Markdown-Blog
Last synced: 3 months ago
JSON representation
A simple blogging mechanism for writers that code.
- Host: GitHub
- URL: https://github.com/cesarsalazar/Sinatra-Markdown-Blog
- Owner: cesarsalazar
- Created: 2012-01-03T21:45:06.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-10T22:21:59.000Z (over 11 years ago)
- Last Synced: 2024-05-31T19:59:45.758Z (6 months ago)
- Language: Ruby
- Homepage:
- Size: 472 KB
- Stars: 11
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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 SalazarPermission 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.