Skip to main content

Ralsina.Me — Roberto Alsina's website

Nikola 3 is out and it is good.

I just re­leased ver­sion 3 of my stat­ic site gen­er­a­tor, Niko­la

It's a ma­jor re­lease, there is hard­ly any code from the pre­vi­ous ver­sion that was not moved, prod­ded, bro­ken or fixed!

The main fea­tures of Niko­la:

  • Blogs, with tags, feed­s, archives, com­­ments, etc.

  • Themable

  • Fast build­s, thanks to doit

  • Flex­i­ble

  • Small code­base (pro­­gram­mers can un­der­­s­tand all of Niko­la in a few hours)

  • re­Struc­­tured­­Text and Mark­­down as in­­put lan­guages

  • Easy im­age gal­­leries (just drop files in a fold­er!)

  • Syn­­tax high­­­light­ing for al­­most any pro­­gram­ming lan­guage or markup

  • Mul­ti­lin­gual sites

  • Does­n't rein­vent wheel­s, lev­er­ages ex­ist­ing tool­s.

Changes for this re­lease (not ex­haus­tive!):

  • New op­­tion­al tem­­plate ar­gu­­ment for "niko­la init"

  • New "in­stal­l_the­me" task

  • Op­­tion­al ad­­dress op­­tion for the "serve" task

  • Bet­ter look­ing code­blocks

  • Rus­sian tran­s­la­­tion

  • Use mark­­down/reSt com­pil­er based on post ex­ten­­sion

  • Don't fail when there are no post­s/s­­to­ries/­­gal­­leries/­­tags

  • Use con­­fig­u­ra­­tion op­­tions as de­pen­­den­­cies

  • Use more rel­a­­tive links for eas­i­er site rel­lo­ca­­tion

  • Syn­­tax high­­­light for mark­­down

  • Bet­ter mul­ti­­core builds (make the -n 2 or -n 4 op­­tions work)

  • Con­­fig­urable out­­put fold­er

  • Don't fail on posts with pe­ri­ods in the name

  • Dif­fer­­ent page names for dif­fer­­ent lan­guages

  • Rec­og­nize (some) Mako tem­­plate de­pen­­den­­cies

  • Is now a more "nor­­mal" python pack­­age.

I Must Be Doing it Wrong

It has been said that if noone hates you, you are do­ing it wrong. I must be do­ing it quite wrong be­cause there seem to be a lot of peo­ple who like me, for some rea­son. For ex­am­ple, to­day I was in a dark mood all af­ter­noon. I wrote ag­gres­sive stuff on twit­ter and IR­C.

And what do I get? Peo­ple ask­ing me what was wrong and of­fer­ing help. It's un­fair. Un­fair to them be­cause they should not be sub­ject to the moods of any ass­hole (in­clud­ing me). I can on­ly claim, in the way of ex­cus­es, that my wife no longer works next to me all day.

If she were there, and saw me act­ing like that, she would have slapped me back in­to sen­si­ble be­hav­iour by re­mind­ing me that I am a lucky bas­tard. She does­n't even have to say any­thing, she just has to be there. So, she ar­rived, I no­ticed I am a lucky bas­tard, and I am all mel­low now.

So, if I act­ed like a bas­tard with you to­day, or any oth­er day, sor­ry dude, I am a bit of a bas­tard. But I am a lucky one, and when I don't for­get that, I am, I think, bear­able.


Contents © 2000-2023 Roberto Alsina