{% if entries %}
<div id="blog">
{% for entry in entries %}
	<div class="message">
		<a name="{{ entry.id }}"><h2>{{ entry.title }}</h2></a>
		<time datetime="{{ entry.date|date:"Y-m-d\TH:i" }}" class="date">{{ entry.date|date:"d.m.Y \k\l\o\. H:i" }}</time> 
		{{ entry.text|safe }}
	</div>
{% endfor %}
</div>
{% else %}
<p>Blogissa ei ole entryjä!</p>
{% endif %}

{% if entries %}
<div id="blog">
{% for entry in entries %}
	<div class="message" id="{{ entry.id }}">
		<h2>{{ entry.title }}</h2>
		<time datetime="{{ entry.date|date:"Y-m-d\TH:i" }}" class="date">{{ entry.date|date:"d.m.Y \k\l\o\. H:i" }}</time> 
		{{ entry.text|safe }}
	</div>
{% endfor %}
</div>
{% else %}
<p>Blogissa ei ole entryjä!</p>
{% endif %}

Use ID instead of anchor name.
ext_blog: Use ID instead of anchor name.
