Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
furo321 committed Nov 19, 2024
1 parent 8d05cb2 commit 75783ef
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions templates/single-page-view.html.tera
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@

{% block head %}
<title>{{ page.title }} – {{ get_env(name="SITE_TITLE") }}</title>
{# <meta name="description" content="{{ text.lead_paragraph }}"> #}
{% endblock head %}

{% block main %}

{# {% if is_logged_in and not text.is_published %}
<div class="box pad warning">
<h2 icon="warning">Artikeln är inte publicerad</h2>
<p>Denna artikel är inte publicerad. Endast inloggade skribenter kan se den.</p>
</div>
{% endif %} #}

<article class="box">
<h1 itemprop="headline">{{ page.title }}</h1>
<div class="text-body" itemprop="articleBody">
<h1>{{ page.title }}</h1>
<div class="text-body">
{{ rendered_blocks | safe }}
</div>
</article>
Expand Down

0 comments on commit 75783ef

Please sign in to comment.