{% extends theme/article.html %} {% block title %}{{ $article["title"] }} - Reading Article page{% endblock %} {% block description %}{{ $article["description"] }}{% endblock %} {% block navigation %} {% endblock %} {% block content %} {% if($hideH1 == true) { preg_match_all('/]*>(.*)<\/h1>/', $article["html"], $H1s); $articleContentsNew = str_replace($H1s[0][0], "", $article["html"], $count); } else { $articleContentsNew = $article["html"]; } %}{{ $articleContentsNew }}{% endblock %} {% block articleimage %}image{% endblock %} {% block articletitle %}{{ $article["title"] }} {% endblock %} {% block articleauthorname %}{{ $article["authorname"] }}{% endblock %} {% block articleauthorslug %}{{ $article["authorslug"] }}{% endblock %} {% block articledate %}{{ date("d F Y", strtotime($article['created'])) }} {% endblock %} {% incrementViews($article["id"]) %}