publishing Paxover to Codeberg
This commit is contained in:
22
templates/en/partials/comments.html.twig
Normal file
22
templates/en/partials/comments.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% if theme_config.cusdis.domain %}
|
||||
<h2 class="left">{{ theme_config.cusdis.title_en|raw }}</h2>
|
||||
{% if page.header.disableComments %}
|
||||
<p class="left">{{ theme_config.cusdis.disable_comments_en|raw }}</p>
|
||||
{% else %}
|
||||
{% if theme_config.cusdis.lang_en %}
|
||||
<script>{{ theme_config.cusdis.lang_en|raw }}</script>
|
||||
{% endif %}
|
||||
<div id="cusdis_thread"
|
||||
data-host="https://{{ theme_config.cusdis.domain }}"
|
||||
data-app-id="{{ theme_config.cusdis.app_id }}"
|
||||
data-page-id="{{ page.slug }}"
|
||||
data-page-url="{{ page.url(true) }}"
|
||||
data-page-title="{{ page.title }}"
|
||||
data-theme="auto"
|
||||
></div>
|
||||
<script async defer src="https://{{ theme_config.cusdis.domain }}/js/cusdis.es.js"></script>
|
||||
{% if theme_config.cusdis.legal_info_en %}
|
||||
<p class="annotation">{{ theme_config.cusdis.legal_info_en|raw }}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
10
templates/en/partials/footer.html.twig
Normal file
10
templates/en/partials/footer.html.twig
Normal file
@@ -0,0 +1,10 @@
|
||||
{% if theme_config.footer.year == "now"|date("Y") %}
|
||||
{% set year = "now"|date("Y") %}
|
||||
{% else %}
|
||||
{% set year = theme_config.footer.year ~ "-" ~ "now"|date("y") %}
|
||||
{% endif %}
|
||||
<span class="footer-copyright">© {{ year }}</span>
|
||||
<span class="footer-link">
|
||||
<a href="/en{{ theme_config.footer.url }}">{{ theme_config.footer.title_en }}</a>
|
||||
</span>
|
||||
{{ theme_config.analytics|raw }}
|
||||
8
templates/en/partials/share.html.twig
Normal file
8
templates/en/partials/share.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="left">
|
||||
<h2>{{ theme_config.blog.share_en|raw }}</h2>
|
||||
<div class="share">
|
||||
{% for button in theme_config.blog.share_buttons %}
|
||||
<a class="btn {{ button.class }}" target="_blank" rel="nofollow noopener noreferrer" href="{{ button.link }}?{{ button.url_param }}={{ page.url(true) }}" title="{{ button.title_en }}">{{ button.name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user