mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
46072c6047
Sounds a bit like begging, but I was told it actually works. Let's see...
46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{% block extrahead %}
|
|
{% set title = config.site_name %}
|
|
{% if page and page.title and not page.is_homepage %}
|
|
{% set title = config.site_name ~ " - " ~ page.title | striptags %}
|
|
{% endif %}
|
|
{% set image = config.site_url ~ '/static/card.png' %}
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="{{ title }}">
|
|
<meta property="og:description" content="{{ config.site_description }}">
|
|
<meta property="og:url" content="{{ page.canonical_url }}">
|
|
<meta property="og:image" content="{{ image }}">
|
|
<meta property="og:image:type" content="image/png">
|
|
<meta property="og:image:width" content="1200">
|
|
<meta property="og:image:height" content="630">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:site" content="@goreleaser">
|
|
<meta name="twitter:creator" content="@goreleaser">
|
|
<meta name="twitter:title" content="{{ title }}">
|
|
<meta name="twitter:description" content="{{ config.site_description }}">
|
|
<meta name="twitter:image" content="{{ image }}">
|
|
{% endblock %}
|
|
|
|
<!-- Announcement bar -->
|
|
{% block announce %}
|
|
<p>
|
|
I use <strong>a lot</strong> of my time making GoReleaser better, and
|
|
can only continue to do so thanks to the support of people like you.
|
|
</p>
|
|
<p>
|
|
If you'd like to contribute, you can choose between
|
|
<a href="/sponsors">
|
|
<strong>sponsoring me</strong>
|
|
</a>
|
|
or
|
|
<a href="/pro">
|
|
<strong>buying a Pro license</strong>
|
|
</a>
|
|
.
|
|
</p>
|
|
<p>
|
|
Thanks for your support 💜
|
|
</p>
|
|
{% endblock %}
|
|
|