<p><b>@eht16</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/www.geany.org/pull/8#discussion_r298792493">static_docs/views.py</a>:</p>
<pre style='color:#555'>> +class ThemesView(StaticDocsView):
+    """
+    Fetch the Geany-Themes index from https://github.com/geany/geany-themes/tree/master/index
+    """
+
+    template_name = "pages/download/themes.html"
+
+    # ----------------------------------------------------------------------
+    def get_context_data(self, **kwargs):
+        theme_index = self._get_theme_index()
+        context = super(ThemesView, self).get_context_data(**kwargs)
+        context['theme_index'] = theme_index
+        return context
+
+    # ----------------------------------------------------------------------
+    @cache_function(CACHE_TIMEOUT_1HOUR)
</pre>
<p>I don't know if it's worth, too.<br>
But just implemented it in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/www.geany.org/commit/c5a12415d902bdcb5d66538a885e1ca90ea52d88/hovercard" href="https://github.com/geany/www.geany.org/commit/c5a12415d902bdcb5d66538a885e1ca90ea52d88"><tt>c5a1241</tt></a>. Besides reducing traffic between us and Github, it probably won't make much difference: the request durations of the MD5 hash and the whole index JSON are almost equal. But anyway, it probably won't hurt and in case of theme index updates, the preview page will update quicker.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/www.geany.org/pull/8?email_source=notifications&email_token=AAIOWJ5SVTAZRPGY6XCDZHLP44L63A5CNFSM4H2YPTPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5BLFEY#discussion_r298792493">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYNGBTVVHKBZ7RXYVLP44L63ANCNFSM4H2YPTPA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYPUPDF27TC7UPWTS3P44L63A5CNFSM4H2YPTPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5BLFEY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/www.geany.org/pull/8?email_source=notifications\u0026email_token=AAIOWJ5SVTAZRPGY6XCDZHLP44L63A5CNFSM4H2YPTPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5BLFEY#discussion_r298792493",
"url": "https://github.com/geany/www.geany.org/pull/8?email_source=notifications\u0026email_token=AAIOWJ5SVTAZRPGY6XCDZHLP44L63A5CNFSM4H2YPTPKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5BLFEY#discussion_r298792493",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>