Wednesday, 18 January, 2012

The body now has an ID

Today we added the template tag {{ body_id }} to the Skrivr templates.

To use it you just add it to the body-tag like this:

<body id="{{ body_id }}"> 

And then you add the actual id at the very first line in your posts/text-files like this:

This how you declare the id

Then Skrivr will pickup the ID from your post, add it to the bodytag and finally remove the whole line from the article.