layouts: add GitHub sponsors card

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-09 11:52:21 +05:30
parent edcf620757
commit e3be562888
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,7 @@
</article>
{{ partial "tags.html" .}}
{{ partial "post-pagination.html" .}}
{{ partial "sponsors.html" .}}
{{ if or .Site.BuildDrafts .Site.IsServer -}}
<footer class="post__footer">
{{ partial "openring.html" . }}

View File

@ -0,0 +1,4 @@
<p style="margin: 0.5em 0 0; font-style: italic">
You can sponsor me through GitHub for my work on the articles on this blog as well as my other Android, Kotlin and Rust projects.
</p>
<iframe src="https://github.com/sponsors/msfjarvis/card" title="Sponsor msfjarvis" height="225" width="100%" style="border: 0; margin: 1em 0 0"></iframe>