Skip to content

Commit a65b07a

Browse files
committed
Added count in twitter desc
1 parent 33a2044 commit a65b07a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

templates/base.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
<meta property="og:description" content="The on-line encyclopedia of databases systems from Carnegie Mellon University." />
2929
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'core/images/dbdb_io_twitter.png' %}" />
3030
<meta name="twitter:title" content="Database of Databases" />
31-
<meta name="twitter:description" content="The encyclopedia of databases systems from Carnegie Mellon University. Curated by @andy_pavlo" />
31+
{% if num_systems %}
32+
<meta name="twitter:description" content="Encyclopedia of {{ num_systems }} databases systems from Carnegie Mellon University. Curated by @andy_pavlo" />
33+
{% else %}
34+
<meta name="twitter:description" content="Encyclopedia of databases systems from Carnegie Mellon University. Curated by @andy_pavlo" />
35+
{% endif %}
36+
3237
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'core/images/dbdb_io_twitter.png' %}" />
3338
{% endblock %}
3439

0 commit comments

Comments
 (0)