Skip to content

Commit 76c66c4

Browse files
committed
Allow including logo by relative URL, amend contribute
1 parent dabcef2 commit 76c66c4

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

content/how-to-contribute.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
title: Contribute!
33
description:
44
heading: How to edit and add new templates
5+
description: Add new templates
56
# We add the page to the listing for better UX
67
tags:
78
- all
89
- featured
910
tags_weight: 999
11+
logoPath: "/images/add.svg"
1012
---
1113

1214
## If you would like to contribute

layouts/partials/card-api.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
{{ end }}
1313
</div>
1414
{{ end }}
15+
{{ if .Params.logoPath }}
16+
<div class="svg-logo border border-slate-200 p-2 rounded justify-center">
17+
<img src="{{ .Params.logoPath | relLangURL }}" width="82px" height="82px">
18+
</div>
19+
{{ end }}
1520
<div class="relative text-center">
1621
<h3 class="text-xl font-medium break-words">{{ .Title }}</h3>
1722
{{ with .Params.description }}

static/images/add.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)