OK, the time has come for a website refresh – it’s something that I like to try and do annually (well, I say annually, what I really mean is that I did it last year). The question, is do I roll my own, as I have always done, or jump into the CMS world?

There are many CMS systems out there, and I have had a used several of them (varying levels of experience); to summarise:

  • Wordpress (I have built a few sites, but never really felt totally “at home” with php)
  • Umbraco (I love it, but it is a pretty huge system)
  • Orchard (again, I love it, but it is pretty heavyweight)
  • Ghost (new kid on the block – tempting, it would be a nice introduction to some nodejs, which I really want to learn more about)
  • Miniblog (another new kid on the block, from the genius that is Mads Kristensen; a minimalistic blogging platform)

To be honest, the list could go on; but the question really was, do I use a CMS or not?

I heard about Miniblog after listening to an excellent Dot Net Rocks show with Mads, and it caught my interest.  Let’s be straight, I am not a coding genius, however, I do have what I believe to me an excellent understanding of modern patterns and practices, and can spot a well written (or not, as the case may be) system.  I am impressed with Miniblog.

It took me a few hours looking through the code and following the work flows to fully understand how it all hangs together – but what I saw was a really neat piece of work that utilised modern HTML practices and decent caching (and cache-busting!) – it sits on top of Bootstrap 3, so has all the wonderful responsive design juice and goodness provided with that framework; to be honest the list is impressive and is better checked out from the readme file.

I did find I had to tweak a few bits and bobs, some out of necessity and some out of preference.  One main necessity issue was with the paging, for some strange reason the paging, which allows you to go back and forth between posts, stopped too early, thus not allowing you to go back to the last few posts.  For good or ill, I managed to resolve this by changing the below in the  _Layout.cshtml:


Other issues were more out of preference; for example, I am a stickler for cdn fall-backs, and whilst it is great that Miniblog utilises the Bootstrap cdn (and jQuery), I just had to implement a fall-back.  This was achieved with a small amount of JavaScript (and HTML) as below:

Other preferences were alteration of styling (overriding some Bootstrap classes, adding tweet buttons to the bottom of posts etc) and the implementation of a “recent” articles option, on the navigation bar, this was achieved using the below code:

Add some Less CSS support and use the bundling options of Web Essentials (again from Mads Kristensen) and away you go!

So far, I am really impressed with Miniblog – it has been a bit of a journey over the past few days, getting to grips with it all, but I am look forward to blogging more in the future!

…….and the best part, is that I can use Windows Live Writer to create blogs – it fully integrates….no hacking away in a webpage….lovely!

  Share Post