Initial Public Release
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<article class="{{ include.type | default: "post" }}">
|
||||
{% if include.title %}
|
||||
<div class="title">
|
||||
{% if include.index %}
|
||||
<a href="{{ include.permalink | absolute_url }}">
|
||||
{% endif %}
|
||||
{{ include.title }}
|
||||
{% if include.index %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="content">
|
||||
{{ include.content }}
|
||||
</div>
|
||||
{% if include.index %}
|
||||
<div class="readmore">
|
||||
<a class="readmore" href="{{ include.permalink | absolute_url }}">
|
||||
{{ site.xaymar.index.readmore }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if site.xaymar.meta.permalink.enabled and include.permalink != nil %}
|
||||
{% assign has_meta_permalink=true %}
|
||||
{% endif %}
|
||||
{% if site.xaymar.meta.tags.enabled and include.tags != nil %}
|
||||
{% assign has_meta_tags=true %}
|
||||
{% endif %}
|
||||
{% if site.xaymar.meta.enabled and has_meta_permalink or has_meta_tags %}
|
||||
<div class="meta">
|
||||
{% if has_meta_permalink %}
|
||||
<a class="permalink" href="{{ include.permalink | absolute_url }}">
|
||||
{% if include.date %}<time datetime="{{ include.date | date_to_xmlschema }}">{% endif %}
|
||||
Permalink
|
||||
{% if include.date %}</time>{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if has_meta_tags %}
|
||||
<div class="tags">
|
||||
<span>Tags:</span>
|
||||
{% for entry in include.tags %}
|
||||
{% assign tag=entry | slugify: site.xaymar.links.tag.slugify %}
|
||||
<span class="tag">
|
||||
<a href="{{ site.xaymar.links.tag.permalink | replace: ":tag", tag | absolute_url }}">
|
||||
{{ entry }}
|
||||
</a>
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</article>
|
||||
Reference in New Issue
Block a user