Skip to content

Commit

Permalink
fix: also use highlight_language on user pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Clemens committed Jul 9, 2018
1 parent 64b23ce commit 292345d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver/web/templates/user/index.html.tera
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<span class="is-not-displayed" id="{{ file.id }}-title">{{ file.name }}</span>
<pre
class="file-source"
{% if file.language %}lang="{{ file.language }}"{% endif %}
{% if file.highlight_language %}lang="{{ file.highlight_language }}"{% endif %}
id="{{ file.id }}"><code>{{ file.content.value }}</code></pre>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 292345d

Please sign in to comment.