{% extends "base.html" %}
{% load comments i18n %}

{% block meta_title %}{{ title }}{% endblock %}

{% block title %}{{page.title}}{% endblock %}

{% block opengraph %}
  <meta property="og:type" content="website" />
  <meta property="og:title" content="{{page.title}}" />
  <meta property="og:url" content="http://www.kasu.at{{ page.get_absolute_url }}" />
  <meta property="og:image" content="http://www.kasu.at/static/img/logo.png" />
  <meta property="og:description" content="{{ page.content|striptags|truncatewords:25 }}" />
{% endblock %}

{% block maincontent %}
  {{ page.content }}
{% endblock %}

{% block comments %}{% if page.enable_comments %}
  {% render_comment_list for page %}
  {% render_comment_form for page %}
{% endif %}{% endblock %}
