mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-16 06:58:56 +00:00
Fixed some minor error in several templates
This commit is contained in:
parent
d0f71738a2
commit
3d2c5166f5
3 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
{% set miniposts_category = theme_var('miniposts_category') %}
|
||||
{% set miniposts_number = config.theme.miniposts_number %}
|
||||
{% set miniposts_number = config.theme.miniposts_number %}
|
||||
|
||||
<section>
|
||||
<header class="">
|
||||
<h3>{{ 'FUTURE.FEATURED'|t }}</h3>
|
||||
<h3>{{ 'FUTURE.FEATURED'|t }}</h3>
|
||||
</header>
|
||||
<div class="mini-posts">
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
<article class="mini-post">
|
||||
<header>
|
||||
<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>
|
||||
</header>
|
||||
<a href="{{ p.url }}" class="image">
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
{% endblock %}
|
||||
{% endif %}
|
||||
<!-- About -->
|
||||
{% if theme_config.footer.title or theme_config.footer.description %}
|
||||
<section class="blurb">
|
||||
<h2>{{theme_config.footer.title}}</h2>
|
||||
<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>
|
||||
</ul>
|
||||
</section>
|
||||
{% endif %}
|
||||
<!-- Footer -->
|
||||
<section id="footer">
|
||||
{% block footer %}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<ul class="menulink">
|
||||
{{ _self.loop(pages) }}
|
||||
{% if theme_var('displaycustommenus.enabled') %}
|
||||
{% for mitem in theme_var('menu') %}
|
||||
{% for mitem in theme_var('custommenu') %}
|
||||
<li>
|
||||
<a href="{{ mitem.url }}" target="{{ mitem.target }}">
|
||||
{% if mitem.icon %}
|
||||
|
|
Loading…
Add table
Reference in a new issue