mirror of https://github.com/getzola/zola
44 lines
1.7 KiB
HTML
44 lines
1.7 KiB
HTML
{% extends "themes.html" %}
|
|
|
|
{% block title %}{{ page.title }} | Zola {% endblock title %}
|
|
{% block theme_content %}
|
|
<div class="theme-info">
|
|
<img src="{{page.permalink}}screenshot.png" class="thumb">
|
|
<div class="metadata">
|
|
<h1>{{ page.title }}</h1>
|
|
<p>{{ page.description }}</p>
|
|
<p><b>Author:</b>
|
|
{% if page.extra.author.homepage %}
|
|
<a href="{{ page.extra.author.homepage }}">{{ page.extra.author.name }}</a>
|
|
{% else %}
|
|
{{ page.extra.author.name }}
|
|
{% endif %}
|
|
</p>
|
|
{% if page.extra.minimum_version %}
|
|
<p>This theme requires Zola version {{ page.extra.minimum_version }} and above</p>
|
|
{% endif %}
|
|
<p><b>License:</b> {{page.extra.license}}</p>
|
|
<p><b>Homepage:</b> <a href="{{page.extra.homepage}}">{{page.extra.homepage}}</a></p>
|
|
{% if page.extra.demo %}
|
|
<p><b>Live Demo:</b> <a href="{{page.extra.demo}}">{{page.extra.demo}}</a></p>
|
|
{% endif %}
|
|
{% if page.taxonomies["theme-tags"] %}
|
|
<div>
|
|
<p>Tags:</p>
|
|
<ul style="list-style-type: none;">
|
|
{% for termname in page.taxonomies["theme-tags"] %}
|
|
{% set termurl = get_taxonomy_url(kind="theme-tags", name=termname, required=false) %}
|
|
{% if termurl %}
|
|
<li><a href="{{ termurl }}">{{ termname }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
<p><b>Last updated:</b> {{page.extra.updated }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
{{page.content | safe}}
|
|
{% endblock theme_content %}
|