2018-04-23 23:44:05 +02:00
|
|
|
{% extends "plugins.html" %}
|
2018-05-03 22:51:52 +02:00
|
|
|
{% from "macros/docs.html" import get_doc_icon, get_doc_link %}
|
2018-04-23 23:44:05 +02:00
|
|
|
{% block body %}
|
2018-04-23 19:10:46 +02:00
|
|
|
{% set pd = project_data(this.name) %}
|
2018-05-03 22:51:52 +02:00
|
|
|
{% if this.summary %}
|
|
|
|
{% set summary = this.summary %}
|
|
|
|
{% elif pd.summary %}
|
|
|
|
{% set summary = pd.summary %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Place this tag in your head or just before your close body tag. -->
|
2018-05-07 22:18:41 +02:00
|
|
|
{# <script async defer src="https://buttons.github.io/buttons.js"></script>#}
|
|
|
|
<div class="plugin">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h1>Plugin – {{ pd.name }} {{ pd.version }}</h1>
|
|
|
|
</div>
|
2018-05-03 22:51:52 +02:00
|
|
|
</div>
|
2018-05-04 06:50:36 +02:00
|
|
|
|
|
|
|
|
2018-05-07 22:18:41 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-1"></div>
|
|
|
|
<div class="col-sm-11">
|
|
|
|
<p>{{ summary }}<p>
|
|
|
|
</div>
|
2018-05-03 22:51:52 +02:00
|
|
|
</div>
|
2018-05-04 06:50:36 +02:00
|
|
|
|
|
|
|
|
2018-05-07 22:18:41 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-3 plugin-margin">
|
|
|
|
<h4>Project links</h4>
|
|
|
|
<ul class="tree-nav">
|
|
|
|
<li><a href="{{ pd.home_page }}" class="ext">Homepage</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{% if 'github' in pd.home_page %}
|
|
|
|
<div class="separator">
|
|
|
|
<h4>GitHub Statistics</h4>
|
|
|
|
</div>
|
|
|
|
<ul class="button-nav">
|
|
|
|
<li><p><a class="github-button" href="{{ pd.home_page }}" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star {{ this.name }} on GitHub" target="_blank">Star</a></p></li>
|
|
|
|
<li><p><a class="github-button" href="{{ pd.home_page }}/fork" data-icon="octicon-repo-forked" data-show-count="true" data-size="large" data-show="true" aria-label="Open Issues" target="_blank">Fork</a></p></li>
|
|
|
|
<li><p><a class="github-button" href="{{ pd.home_page }}/issues" data-icon="octicon-issue-opened" data-show-count="true" data-size="large" data-show="true" aria-label="Open Issues" target="_blank">Open Issues</a></p></li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2018-05-03 22:51:52 +02:00
|
|
|
|
2018-05-04 06:50:36 +02:00
|
|
|
<div class="separator">
|
2018-05-07 22:18:41 +02:00
|
|
|
<h4>Meta</h4>
|
2018-05-03 22:51:52 +02:00
|
|
|
</div>
|
2018-05-07 22:18:41 +02:00
|
|
|
<p><strong>Version:</strong> {{ pd.version }}</p>
|
|
|
|
<p><strong>Author:</strong>
|
|
|
|
{% if pd.author_email %}
|
|
|
|
<a href = "mailto:{{ pd.author_email }}">{{ pd.author }}</a>
|
|
|
|
{% else %}
|
|
|
|
{{ pd.author }}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2018-05-04 06:50:36 +02:00
|
|
|
|
2018-05-07 22:18:41 +02:00
|
|
|
|
|
|
|
<div class="separator">
|
|
|
|
<h4>Tags</h4>
|
|
|
|
</div>
|
|
|
|
{% if this.tags %}
|
|
|
|
{% for t in this.tags|sort %}
|
2021-02-07 23:25:18 +01:00
|
|
|
{{ "and " if loop.last and not loop.first }}
|
2018-12-15 19:14:42 +01:00
|
|
|
<a href="{{ ('/plugins@tag/' ~ t ~ '/')|url }}">{{ t }}</a>{{ ", " if not loop.last }}
|
2018-05-07 22:18:41 +02:00
|
|
|
{% endfor %}
|
2018-05-03 22:51:52 +02:00
|
|
|
{% else %}
|
2018-05-07 22:18:41 +02:00
|
|
|
<p>Plugin has no tags.</p>
|
2018-05-03 22:51:52 +02:00
|
|
|
{% endif %}
|
2018-12-15 19:33:16 +01:00
|
|
|
<p>View <a href="/plugins/tags" class="ref">all tags</a>.</p>
|
2018-05-04 06:50:36 +02:00
|
|
|
</div>
|
|
|
|
|
2018-05-07 22:18:41 +02:00
|
|
|
<div class="col-sm-9 doc-styling">
|
|
|
|
<h2>Project Description</h2>
|
|
|
|
{% if pd.description %}
|
|
|
|
{{ pd.description|safe }} {# comes out as a text string always #}
|
|
|
|
{% else %}
|
|
|
|
<i>Plugin has no long_description</i>
|
|
|
|
{% endif %}
|
2018-04-23 19:10:46 +02:00
|
|
|
|
2018-05-07 22:18:41 +02:00
|
|
|
{% if this.allow_comments %}
|
|
|
|
<div class="comment-box">
|
|
|
|
<h2>Comments</h2>
|
|
|
|
{{ render_disqus_comments() }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2018-05-03 22:51:52 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-21 00:52:22 +02:00
|
|
|
{% endblock %}
|