mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-29 14:48:55 +00:00
Revert "Add twigs for downloads, gallery (unite) and guestbook"
This reverts commit af8a941b9c
.
This commit is contained in:
parent
adf56d5c8d
commit
714134f704
2 changed files with 0 additions and 42 deletions
|
@ -1,21 +0,0 @@
|
|||
{% set size = file.size/1024 %}
|
||||
{% set unit = "kB" %}
|
||||
{% if size > 1023 %}
|
||||
{% set size = size/1024 %}
|
||||
{% set unit = "MB" %}
|
||||
{% endif %}
|
||||
<td style="text-align: right; vertical-align: middle;">
|
||||
<a href="{{ file.url }}">
|
||||
<!--<ul class="icons">
|
||||
<li><i class="fa fa-file-pdf"></i></li>
|
||||
</ul>-->
|
||||
<img src="https://github.com/r00t0vi4/mime-icons-packs/raw/master/mime-icons-pack-1/src/{{file.extension}}.png">
|
||||
</a>
|
||||
</td>
|
||||
<td style="text-align: left; vertical-align: middle;">
|
||||
<a href="{{ file.url }}">
|
||||
{{ file.filename }}<br/>
|
||||
{{ size|number_format(2, '.', ',') }}{{ unit }} |
|
||||
{{ file.modified|dateTranslate(grav.config.system.pages.dateformat.long) }}
|
||||
</a>
|
||||
</td>
|
|
@ -1,21 +0,0 @@
|
|||
{# based on future2021 blog_item.html.twig and heavily stripped down #}
|
||||
|
||||
<article class="post" itemprop="liveBlogUpdate" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<header>
|
||||
<div class="title">
|
||||
<h2 itemprop="headline">{{ page.title }}</h2>
|
||||
</div>
|
||||
<div class="meta">
|
||||
<time class="published" itemprop="datePublished" datetime="{{page.date|dateTranslate(grav.config.system.pages.dateformat.short)}}">{{ page.date|dateTranslate(grav.config.system.pages.dateformat.short)}}</time>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div itemprop="articleBody">
|
||||
{{ page.content|raw }}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<ul class="stats"> {# for bottom spacing #}
|
||||
</ul>
|
||||
</footer>
|
||||
</article>
|
Loading…
Add table
Reference in a new issue