Add simple README for generating cards
authorVik Fearing <vik@chouppes.com>
Thu, 24 Aug 2023 19:15:09 +0000 (21:15 +0200)
committerVik Fearing <vik@chouppes.com>
Thu, 24 Aug 2023 19:16:13 +0000 (21:16 +0200)
static/img/ogp/README [new file with mode: 0644]

diff --git a/static/img/ogp/README b/static/img/ogp/README
new file mode 100644 (file)
index 0000000..f0aa742
--- /dev/null
@@ -0,0 +1,19 @@
+In order to create these cards, a development environent is required.
+
+In `templates/base.html`, uncomment the line
+
+    {#% block ogp %}{% endblock ogp %#}
+
+so that it looks like
+
+    {% block ogp %}{% endblock ogp #}
+
+and then open the page `/ogp/`.  With FireFix, right click on the page and
+select "Take Screenshot".  Select the element containing the card and download
+it.
+
+All "Interview with <sponsor>" cards are automatically generated for all
+sponsors (whether they get an interview or not).  For other, more general
+cards, edit the list in `templates/pages/ogp.html`.
+
+Do not commit the change to `templates/base.html`.