123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <div class="w-100" style="background-color: white; border: 1px solid black;">
- <h1>{{ brand.display_name }}</h1>
- {% if 'logo_href' in brand %}
- <img src="{{ brand.logo_href }}" style="max-width: 25%">
- {% endif %}
- {% if brand.description %}
- {% for para in brand.description.split('\n') %}
- <p>{{ para }}</p>
- {% endfor %}
- {% endif %}
- {% if venmo %}
- <h2>Tips</h2>
- <ul>
- {% if venmo %}
- <li><a href="{{ venmo.href }}">Venmo</a> (@{{ venmo.id }})</li>
- {% endif %}
- </ul>
- {% endif %}
- {% if patreon or (gumroad and gumroad.subscriptions and len(gumroad.subscriptions)) %}
- <h2>Subscriptions</h2>
- <ul>
- {% if patreon %}
- <li><a href="{{ patreon.href }}">Patreon</a> (@{{ patreon.id }})</li>
- {% endif %}
- {% for sub in gumroad.subscriptions %}
- {% if sub.tiers %}
- <li>{{ sub.name }}
- <ul>
- {% for tier in sub.tiers %}
- <li><a href="{{ sub.href }}?option={{ tier.option }}">{{ tier.name }}</a> ({{ tier.yearly }}/yr or {{ tier.monthly }}/mo)</li>
- {% endfor %}
- </ul>
- </li>
- {% else %}
- <li><a href="{{ sub.href }}">{{ sub.name }} ({{ sub.yearly }}/yr or {{ sub.monthly }}/mo)</a></li>
- {% endif %}
- {% endfor %}
- </ul>
- {% endif %}
- {% if gumroad and gumroad.products %}
- <h2>Products</h2>
-
- <ul>
- {% for product in gumroad.products %}
- <li><a href="{{ product.href }}">{{ product.name }}</a> ({{ product.price }})</li>
-
- {% endfor %}
- </ul>
- {% endif %}
- {% if twitter or youtube or mastodon or receipt_tracker %}
- <h2>On Hogumathi</h2>
- <ul>
- {% if twitter %}
- <li><a href="{{ twitter.hogu_href }}">Twitter</a> (@{{ twitter.username }}) [<a href="{{ twitter.href }}">source</a>]</li>
- {% endif %}
- {% if youtube %}
- <li><a href="{{ youtube.hogu_href }}">YouTube</a> (@{{ youtube.username }}) [<a href="{{ youtube.href }}">source</a>]</li>
- {% endif %}
- {% if mastodon %}
- <li><a href="{{ mastodon.hogu_href }}">Mastodon</a> (@{{ mastodon.username }}@{{ mastodon.instance }}) [<a href="{{ mastodon.href }}">source</a>]</li>
- {% endif %}
- {% if receipt_tracker %}
- <li><a href="{{ receipt_tracker.hogu_href }}">Receipts</a> [<a href="{{ receipt_tracker.href }}">source</a>]</li>
- {% endif %}
- </ul>
- {% endif %}
- {% if mailchimp or discord %}
- <h2>Community</h2>
- <ul>
- {% if mailchimp %}
- <li><a href="{{ mailchimp.href }}">Mailchimp</a></li>
- {% endif %}
- {% if discord %}
- <li><a href="{{ discord.href }}">Discord</a></li>
- {% endif %}
- </ul>
- {% endif %}
- {% if twitch or instagram %}
- <h2>Other Socials</h2>
- <ul>
- {% if twitch %}
- <li><a href="{{ twitch.href }}">Twitch</a> (@{{ twitch.id }})</a></li>
- {% endif %}
- {% if instagram %}
- <li><a href="{{ instagram.href }}">Instagram</a> (@{{ instagram.id }})</a></li>
- {% endif %}
- </ul>
- {% endif %}
- {% if contributors %}
- <h2>Contributors</h2>
-
- <p>Thanks to our kind contributors for helping support development:</p>
-
- <table>
- <thead>
- <tr>
- <th>Name</th>
- <th>Amount (Est)</th>
- </tr>
- </thead>
- <tbody>
- {% for contributor in contributors %}
- <tr>
- <td>{{ contributor.name }}</td>
- <td>{{ contributor.amount }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endif %}
- </div>
|