feat: ajoute les réseaux sociaux à l'accueil
This commit is contained in:
parent
e43024cd15
commit
349e54ab84
2 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
[
|
[
|
||||||
{"name":"Mastodon / Fedivers", "url":"https://corneill.es/@Kazhnuz"},
|
{"name":"Mastodon", "url":"https://corneill.es/@Kazhnuz", "showHome":true},
|
||||||
{"name":"Mastodon / Fedivers (perso)", "url":"https://toot.kobold.cafe/@Kazhnuz"},
|
{"name":"Fedivers (perso)", "url":"https://toot.kobold.cafe/@Kazhnuz", "showHome":true},
|
||||||
{"name":"Github", "url":"https://github.com/Kazhnuz"},
|
{"name":"Sheezy.art", "url":"https://sheezy.art/kazhnuz", "showHome":true},
|
||||||
{"name":"Sheezy.art", "url":"https://sheezy.art/kazhnuz"}
|
{"name":"Github", "url":"https://github.com/Kazhnuz", "showHome":false}
|
||||||
]
|
]
|
|
@ -18,6 +18,14 @@ layout: layouts/base.njk
|
||||||
<iframe id="iframe-rss" src="/rss/frame.php">
|
<iframe id="iframe-rss" src="/rss/frame.php">
|
||||||
|
|
||||||
</iframe>
|
</iframe>
|
||||||
|
|
||||||
|
<div class="align-center mt-1">
|
||||||
|
{%- for link in social -%}
|
||||||
|
{%- if (link.showHome == true) -%}
|
||||||
|
<a href="{{link.url}}" class="btn btn-primary ml-1 mr-1">{{link.name}}</a>
|
||||||
|
{%- endif -%}
|
||||||
|
{%- endfor -%}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% renderFile "./_includes/buttons.md" %}
|
{% renderFile "./_includes/buttons.md" %}
|
||||||
</main>
|
</main>
|
Loading…
Reference in a new issue