init
This commit is contained in:
commit
c9def51b7e
38 changed files with 5755 additions and 0 deletions
templates/partials/blog
5
templates/partials/blog/date.html.twig
Normal file
5
templates/partials/blog/date.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ page.date|date("c") }}">
|
||||
<i class="fa fa-calendar"></i> {{ page.date|date(system.pages.dateformat.short) }}
|
||||
</time>
|
||||
</span>
|
8
templates/partials/blog/page-summary.html.twig
Normal file
8
templates/partials/blog/page-summary.html.twig
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="p-summary e-content">
|
||||
{% if page.summary != page.content %}
|
||||
{{ page.summary|raw }}
|
||||
{% else %}
|
||||
{{ page.content|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
7
templates/partials/blog/taxonomy.html.twig
Normal file
7
templates/partials/blog/taxonomy.html.twig
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% if page.taxonomy.tag %}
|
||||
<span class="tags">
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
<a class="badge badge-secondary" href="{{ blog.url|rtrim('/') }}/tag{{ config.system.param_sep }}{{ tag }}#body-wrapper">{{ tag }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
11
templates/partials/blog/title.html.twig
Normal file
11
templates/partials/blog/title.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% set title_level = title_level ?: 'h2' %}
|
||||
{% if page.header.link %}
|
||||
<{{ title_level }} class="p-name">
|
||||
{% if page.header.continue_link is not same as(false) %}
|
||||
<a href="{{ page.url }}"><i class="fa fa-angle-double-right u-url"></i></a>
|
||||
{% endif %}
|
||||
<a href="{{ page.header.link }}" class="u-url">{{ page.title }}</a>
|
||||
</{{ title_level }}>
|
||||
{% else %}
|
||||
<{{ title_level }} class="p-name my-1"><a href="{{ page.url }}" class="u-url">{{ page.title }}</a></{{ title_level }}>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue