Skip to content

Commit 15df12a

Browse files
committed
Added disclosures section to my /about/ page, closes #541
1 parent 6a426d6 commit 15df12a

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

blog/templatetags/blog_tags.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from django import template
2+
from django.utils.safestring import mark_safe
3+
from markdown import markdown
24

35
register = template.Library()
46

@@ -80,3 +82,11 @@ def replace_qsarg(context, name, value):
8082
query_dict = context["request"].GET.copy()
8183
query_dict[name] = value
8284
return "?" + query_dict.urlencode()
85+
86+
87+
@register.filter
88+
def markdownify(text):
89+
"""
90+
Convert Markdown text to HTML.
91+
"""
92+
return mark_safe(markdown(text))

templates/about.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% block rel_canonical %}{% endblock %}
66

7-
{% block item_content %}
7+
{% block item_content %}{% load blog_tags %}
88
<h2>About me</h2>
99

1010
<p>Here's my most recent conference bio:</p>
@@ -59,6 +59,25 @@ <h3 id="atom">Atom feeds</h3>
5959

6060
<p><code>https://simonwillison.net/tags/datasette.atom</code></p>
6161

62+
<h3 id="disclosures">Disclosures</h3>
63+
64+
{% filter markdownify %}
65+
I do not receive any compensation for my writing on this blog - no sponsored content! If I ever do I will disclose that both here and in the post itself.
66+
67+
Parts of work on [Datasette Cloud](https://www.datasette.cloud/) is sponsored by [Fly.io](https://fly.io/). I have a generous set of [GitHub Sponsors](https://github.com/sponsors/simonw) who support my work on Datasette and other open source projects.
68+
69+
I am a [GitHub Star](https://stars.github.com/profiles/simonw/) (an unpaid position). GitHub paid me as a participant of their [GitHub Accelerator](https://github.blog/news-insights/company-news/github-accelerator-our-first-cohort-and-whats-next/) program in 2023.
70+
71+
Mozilla supported my work as part of [their MIECO program](https://web.archive.org/web/20240917063820/https://future.mozilla.org/mieco2023/) (Internet Ecosystem program) in 2023-2024.
72+
73+
I have not accepted payments from LLM vendors, but I am frequently invited to preview new LLM products and features from organizations that include OpenAI, Anthropic, Gemini and Mistral, often under NDA or subject to an embargo. This often also includes free API credits.
74+
75+
I run ads on my blog using [EthicalAds](https://www.ethicalads.io/). I also earn money from Twitter's [Creator Revenue Sharing](https://help.x.com/en/using-x/creator-revenue-sharing) program, and try not to let that incentivize me to post engagement bait!
76+
77+
I provide ad-hoc consulting and training services to a number of different companies and organizations. If any of those represent a conflict of interest with my writing here I will disclose that in the relevant post.
78+
79+
{% endfilter %}
80+
6281
<h2 id="about-site">About this site</h2>
6382

6483
<p>This site is a custom web application built using <a href="https://www.djangoproject.com/">Django</a>. The source code can be found on GitHub at <a href="https://github.com/simonw/simonwillisonblog">simonw/simonwillisonblog</a>.</p>

0 commit comments

Comments
 (0)