[pluginlist-update] Adding lektor-tags for plugins, adding assets for another webpack build, plugin template tweaks.
This commit is contained in:
parent
ae9e7090eb
commit
460693eccb
|
@ -16,3 +16,4 @@ lektor-markdown-header-anchors = 0.1
|
||||||
lektor-markdown-highlighter = 0.1
|
lektor-markdown-highlighter = 0.1
|
||||||
lektor-markdown-admonition = 0.1
|
lektor-markdown-admonition = 0.1
|
||||||
lektor-atom = 0.2
|
lektor-atom = 0.2
|
||||||
|
lektor-tags = 0.1
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,2 @@
|
||||||
|
parent = /plugins
|
||||||
|
template = plugin-tag.html
|
|
@ -1,3 +1,11 @@
|
||||||
name: lektor-jinja-content
|
name: lektor-jinja-content
|
||||||
---
|
---
|
||||||
categories: content
|
categories: content
|
||||||
|
---
|
||||||
|
tags:
|
||||||
|
|
||||||
|
before-build
|
||||||
|
jinja
|
||||||
|
templates
|
||||||
|
content
|
||||||
|
markdown
|
||||||
|
|
|
@ -33,3 +33,6 @@ width = 1/4
|
||||||
label = Categories
|
label = Categories
|
||||||
type = select
|
type = select
|
||||||
source = site.query('/plugin-categories')
|
source = site.query('/plugin-categories')
|
||||||
|
|
||||||
|
[fields.tags]
|
||||||
|
type = strings
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{% extends "plugins.html" %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<h1>Tag: {{ this.tag }}</h1>
|
||||||
|
<h2>Plugins:</h2>
|
||||||
|
<ul>
|
||||||
|
{% for i in this.items %}
|
||||||
|
<li><a href="{{ i|url }}">{{ i._id }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><em>No items.</em></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endblock %}
|
|
@ -15,32 +15,37 @@
|
||||||
<h1>Plugin – {{ pd.name }} {{ pd.version }}</h1>
|
<h1>Plugin – {{ pd.name }} {{ pd.version }}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-1"></div>
|
<div class="col-sm-1"></div>
|
||||||
<div class="col-sm-11">
|
<div class="col-sm-11">
|
||||||
<p>{{ summary }}<p>
|
<p>{{ summary }}<p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-3" style="padding-top: 25px;">
|
|
||||||
<div>
|
|
||||||
<h4>Project links</h4>
|
|
||||||
<ul class="tree-nav">
|
|
||||||
<li><a href="{{ pd.home_page }}">Homepage</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{% if 'github' in pd.home_page %}
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4>GitHub statistics</h4>
|
<div class="row">
|
||||||
<ul class="button-nav">
|
<div class="col-sm-3 plugin-margin">
|
||||||
<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">Star</a></p></li>
|
<h4>Project links</h4>
|
||||||
<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">Fork</a></p></li>
|
<ul class="tree-nav">
|
||||||
<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">Open Issues</a></p></li>
|
<li><a href="{{ pd.home_page }}">Homepage</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% if 'github' in pd.home_page %}
|
||||||
|
<div class="separator">
|
||||||
|
<h4>GitHub Statistics</h4>
|
||||||
</div>
|
</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">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">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">Open Issues</a></p></li>
|
||||||
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h4>Meta</h4>
|
|
||||||
|
<div class="separator">
|
||||||
|
<h4>Meta</h4>
|
||||||
|
</div>
|
||||||
<p><strong>Version:</strong> {{ pd.version }}</p>
|
<p><strong>Version:</strong> {{ pd.version }}</p>
|
||||||
<p><strong>Author:</strong>
|
<p><strong>Author:</strong>
|
||||||
{% if pd.author_email %}
|
{% if pd.author_email %}
|
||||||
|
@ -49,7 +54,21 @@
|
||||||
{{ pd.author }}
|
{{ pd.author }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="separator">
|
||||||
|
<h4>Tags</h4>
|
||||||
|
</div>
|
||||||
|
{% if this.tags %}
|
||||||
|
{% for t in this.tags -%}
|
||||||
|
{{ "and " if loop.last }}
|
||||||
|
<a href="{{ ('/plugins/tag/' ~ t.lower() ~ '/')|url }}">{{ t }}</a>{{ ", " if not loop.last }}
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<p>Plugin has no tags.</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-9 doc-styling">
|
<div class="col-sm-9 doc-styling">
|
||||||
<h2>Project Description</h2>
|
<h2>Project Description</h2>
|
||||||
{% if pd.description %}
|
{% if pd.description %}
|
||||||
|
|
|
@ -671,6 +671,17 @@ ul.tree-nav {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.plugin-margin {
|
||||||
|
h4 {
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
div.separator {
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
|
||||||
div.comment-box {
|
div.comment-box {
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
margin-top: 35px;
|
margin-top: 35px;
|
||||||
|
|
Loading…
Reference in New Issue