feat(forgejo.liquid): add forgejo repo banner block
This commit is contained in:
parent
835e49a89e
commit
d5c31a87d3
8 changed files with 28 additions and 7 deletions
3
src/includes/blocks/banners/forgejo.liquid
Normal file
3
src/includes/blocks/banners/forgejo.liquid
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="banner forgejo">
|
||||
<p>{% tablericon "git-merge" %} Take a look at <a href="{{ url }}">the repository for this project</a> on my <a href="https://forgejo.org">Forgejo</a> instance.</p>
|
||||
</div>
|
|
@ -4,6 +4,10 @@
|
|||
{% render "blocks/youtube-player.liquid",
|
||||
url:block.url
|
||||
%}
|
||||
{%- when "forgejo_banner" -%}
|
||||
{% render "blocks/banners/forgejo.liquid",
|
||||
url:block.url
|
||||
%}
|
||||
{%- when "github_banner" -%}
|
||||
{% render "blocks/banners/github.liquid",
|
||||
url:block.url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue