forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugins.html
More file actions
46 lines (41 loc) · 1.44 KB
/
plugins.html
File metadata and controls
46 lines (41 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: page
title: 'Plugins Index'
---
{%- for p in site.data.plugins -%}
<a href="#{{- p[0] -}}" class="btn btn-primary plugin-btn" title="{{- p[0] -}} plugin version {{- p[1].version -}}"><i class="fa fa-plug" aria-hidden="true"></i> {{- p[0] -}}</a>
{%- endfor -%}
<div id="full-plugins-list" class="posts-list">
{%- for p in site.data.plugins -%}
{% assign name = p[0] %}
{% assign plugin = p[1] %}
<article class="post-preview">
<a href="https://github.com/metgem/plugins-{{- name -}}/archive/v{{plugin.version}}.zip/">
<h2 id="{{- name -}}" class="linked-section">
<i class="fa fa-plug" aria-hidden="true"></i> {{- name -}} v{{- plugin.version -}}
</h2>
</a>
{% if plugin.author %}
<p class="post-meta">
{% if plugin.email %}
Author: <a href="mailto:{{- plugin.email -}}">{{plugin.author}}</a>
{% else %}
Author: {{plugin.author}}
{% endif %}
</p>
{% endif %}
{% if plugin.copyright %}
<p class="post-meta">
{{plugin.copyright}}
</p>
{% endif %}
{% if plugin.description %}
<div class="post-entry-container">
<div class="post-entry">
{{- plugin.description -}}
</div>
</div>
{% endif %}
</article>
{%- endfor -%}
</div>