Skip to content
Snippets Groups Projects
Commit 6b89ce20 authored by jan.bednarik's avatar jan.bednarik
Browse files

Shared article info tweaks

parent e538d2be
No related branches found
No related tags found
2 merge requests!816Release,!814Shared article info tweaks
Pipeline #14290 passed
......@@ -12,8 +12,6 @@
{{ page.title }}
</h1>
{% include "shared/article_shared_link.html" %}
<div class="flex flex-col md:flex-row md:items-center">
<div class="inline-flex divide-x flex-grow">
<span class="pr-2">{{ page.date|date:"DATE_FORMAT" }}</span>
......@@ -75,6 +73,8 @@
</div>
</div>
</div>
{% include "shared/article_shared_link.html" %}
</article>
{% if related_articles|length %}
......
......@@ -29,7 +29,6 @@
<div class="grid-content leading-6">
<p class="font-condensed text-xl leading-7 mb-5">
{{ page.perex }}
{% include "shared/article_shared_link.html" %}
</p>
</div>
{% if page.author_page.title or page.author %}
......@@ -39,6 +38,21 @@
{% for block in page.content %}
{% include_block block %}
{% endfor %}
{% if page.shared_from %}
<div class="grid-container mb-5">
<div class="grid-content">
<div class="prose max-w-none 3xl:text-lg">
<div class="content-block">
<p>
<em>Tento článek byl sdílen z&nbsp;jiného webu. Originál si můžete přečíst <a href="{{ page.get_original_url }}">zde</a>.</em>
</p>
</div>
</div>
</div>
</div>
{% endif %}
</main>
{% include 'main/includes/newsletter_section.html' %}
......
{% if page.shared_from %}
<div>
Tento článek byl sdílen z&nbsp;externího zdroje. Originál si můžete přečíst <a href="{{ page.get_original_url }}">zde</a>.
<div class="alert alert--light content-block">
<p>
<em>Tento článek byl sdílen z&nbsp;jiného webu. Originál si můžete přečíst <a href="{{ page.get_original_url }}">zde</a>.</em>
</p>
</div>
{% endif %}
......@@ -11,8 +11,6 @@
<h1 itemprop="headline" class="head-alt-md md:head-alt-lg mb-4">{{ page.title }}</h1>
{% include "shared/article_shared_link.html" %}
<div class="flex flex-col md:flex-row md:items-center">
<div class="inline-flex divide-x flex-grow my-4">
<span class="pr-2">{{ page.date|date:"SHORT_DATE_FORMAT" }}</span>
......@@ -47,6 +45,8 @@
{% endfor %}
</div>
</div>
{% include "shared/article_shared_link.html" %}
</article>
<section class="mt-16 md:mt-24">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment