Initial commit
This commit is contained in:
30
layouts/index.html
Normal file
30
layouts/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Maubot Plugins</title>
|
||||
<link rel="icon" href="/favicon.png" type="image/png"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="A list of maubot plugins."/>
|
||||
<meta property="og:title" content="Maubot Plugins"/>
|
||||
<meta property="og:description" content="A list of maubot plugins."/>
|
||||
<meta property="og:url" content="https://plugins.maubot.xyz/"/>
|
||||
<meta property="og:image" content="/favicon.png"/>
|
||||
<link rel="stylesheet" type="text/css" href="/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Maubot Plugins</h1>
|
||||
<main>
|
||||
{{ range index $.Site.Data.plugins.official }}
|
||||
{{ partial "plugin.html" . }}
|
||||
{{ end }}
|
||||
{{ range index $.Site.Data.plugins.thirdparty }}
|
||||
{{ partial "plugin.html" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
<footer>
|
||||
<a href="https://github.com/maubot/plugins">Website source</a>
|
||||
- Licensed under <a href="https://mau.fi/LICENSE">CC-BY-SA-4.0</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
11
layouts/partials/plugin.html
Normal file
11
layouts/partials/plugin.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="plugin">
|
||||
<h3>{{ .name }}</h3>
|
||||
<div class="metadata">
|
||||
<div class="author">Author: {{ .author }}</div>
|
||||
<div class="license">License: {{ or .license "unknown" }}</div>
|
||||
</div>
|
||||
<div class="description">{{ .description | markdownify }}</div>
|
||||
<div class="buttons">
|
||||
<a href="{{ .repo }}">View repo</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user