Fixed some minor error in several templates

This commit is contained in:
pmoreno.rodriguez 2023-01-09 21:24:19 +01:00
parent d0f71738a2
commit 3d2c5166f5
3 changed files with 6 additions and 4 deletions

View file

@ -1,9 +1,9 @@
{% set miniposts_category = theme_var('miniposts_category') %} {% set miniposts_category = theme_var('miniposts_category') %}
{% set miniposts_number = config.theme.miniposts_number %} {% set miniposts_number = config.theme.miniposts_number %}
<section> <section>
<header class=""> <header class="">
<h3>{{ 'FUTURE.FEATURED'|t }}</h3> <h3>{{ 'FUTURE.FEATURED'|t }}</h3>
</header> </header>
<div class="mini-posts"> <div class="mini-posts">
@ -11,7 +11,7 @@
<article class="mini-post"> <article class="mini-post">
<header> <header>
<h3><a href="{{ p.url }}">{{ p.title }}</a></h3> <h3><a href="{{ p.url }}">{{ p.title }}</a></h3>
<time class="published" datetime="2015-10-20">{{ p.date|date("M j, Y")}}</time> <time class="published" datetime="{{p.date|date("Y-m-d")}}">{{ p.date|date("M j, Y")}}</time>
<a href="{{ p.url }}" class="author"><img src="{{ p.media[p.header.avatarImage].url}}" alt="" /></a> <a href="{{ p.url }}" class="author"><img src="{{ p.media[p.header.avatarImage].url}}" alt="" /></a>
</header> </header>
<a href="{{ p.url }}" class="image"> <a href="{{ p.url }}" class="image">

View file

@ -14,6 +14,7 @@
{% endblock %} {% endblock %}
{% endif %} {% endif %}
<!-- About --> <!-- About -->
{% if theme_config.footer.title or theme_config.footer.description %}
<section class="blurb"> <section class="blurb">
<h2>{{theme_config.footer.title}}</h2> <h2>{{theme_config.footer.title}}</h2>
<p>{{theme_config.footer.description}}</p> <p>{{theme_config.footer.description}}</p>
@ -21,6 +22,7 @@
<li><a href="{{theme_config.footer.button_url}}" class="button">{{theme_config.footer.button_text}}</a></li> <li><a href="{{theme_config.footer.button_url}}" class="button">{{theme_config.footer.button_text}}</a></li>
</ul> </ul>
</section> </section>
{% endif %}
<!-- Footer --> <!-- Footer -->
<section id="footer"> <section id="footer">
{% block footer %} {% block footer %}

View file

@ -25,7 +25,7 @@
<ul class="menulink"> <ul class="menulink">
{{ _self.loop(pages) }} {{ _self.loop(pages) }}
{% if theme_var('displaycustommenus.enabled') %} {% if theme_var('displaycustommenus.enabled') %}
{% for mitem in theme_var('menu') %} {% for mitem in theme_var('custommenu') %}
<li> <li>
<a href="{{ mitem.url }}" target="{{ mitem.target }}"> <a href="{{ mitem.url }}" target="{{ mitem.target }}">
{% if mitem.icon %} {% if mitem.icon %}