feat: Update leaderboard highlight to extract model from URL query

This commit is contained in:
Paul Gauthier (aider) 2025-01-30 08:37:01 -08:00
parent 1be1274d40
commit c60ec18f34

View file

@ -69,7 +69,7 @@ The model also has to successfully apply all its changes to the source file with
<script>
{% assign data_source = edit_sorted %}
{% assign pass_rate_field = "pass_rate_2" %}
{% assign highlight_model = include.highlight | default: "xxx xxx" %}
{% assign highlight_model = page.url | split: '?' | last | split: '=' | last %}
{% include leaderboard.js %}
</script>
<style>