mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-01-12 22:49:53 +08:00
plugins => apps
This commit is contained in:
@@ -18,16 +18,16 @@ sass:
|
||||
- node_modules/**/*/node_modules
|
||||
|
||||
collections:
|
||||
plugins:
|
||||
apps:
|
||||
output: true
|
||||
permalink: /apps/:name/
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: ""
|
||||
type: plugins
|
||||
type: apps
|
||||
values:
|
||||
layout: plugin
|
||||
layout: app
|
||||
- scope:
|
||||
path: "docs"
|
||||
values:
|
||||
|
||||
14
index.html
14
index.html
@@ -42,17 +42,17 @@ layout: default
|
||||
</p>
|
||||
|
||||
<div class="d-md-flex flex-wrap gutter flex-auto">
|
||||
{% for plugin in site.plugins limit:6 %}
|
||||
{% for app in site.apps limit:6 %}
|
||||
<div class="col-lg-4 col-md-6 mb-3 mt-3">
|
||||
<a href="{{ plugin.url }}" class="d-flex flex-column bg-white rounded-1 box-shadow border text-inherit no-underline" style="height:100%">
|
||||
<h3 class="h4 px-3 pt-3">{{ plugin.title }}</h3>
|
||||
<p class="text-gray lh-condensed px-3 pb-3">{{ plugin.description }}</p>
|
||||
<a href="{{ app.url }}" class="d-flex flex-column bg-white rounded-1 box-shadow border text-inherit no-underline" style="height:100%">
|
||||
<h3 class="h4 px-3 pt-3">{{ app.title }}</h3>
|
||||
<p class="text-gray lh-condensed px-3 pb-3">{{ app.description }}</p>
|
||||
<div class="text-gray-light pl-3 pr-2 py-2 bg-gray-light border-top" style="margin-top: auto;">
|
||||
<div class="d-flex flex-row">
|
||||
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ plugin.installs }} installations">{% octicon cloud-download width:14 class:"v-align-middle" %} <span class="">{{ plugin.installs }}</span></div>
|
||||
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ plugin.stars }} stars">{% octicon star heigh:16 class:"v-align-middle" %} <span class="">{{ plugin.stars }}</span></div>
|
||||
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ app.installs }} installations">{% octicon cloud-download width:14 class:"v-align-middle" %} <span class="">{{ app.installs }}</span></div>
|
||||
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ app.stars }} stars">{% octicon star heigh:16 class:"v-align-middle" %} <span class="">{{ app.stars }}</span></div>
|
||||
<div class="col-6 text-right">
|
||||
<img class="avatar tooltipped tooltipped-s" aria-label="Made by {{ plugin.author }}" height="24" src="https://github.com/{{ plugin.author }}.png">
|
||||
<img class="avatar tooltipped tooltipped-s" aria-label="Made by {{ app.author }}" height="24" src="https://github.com/{{ app.author }}.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user