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)

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: