Proper Display Lexer name.

This commit is contained in:
Martin Mahner 2018-04-05 19:45:50 +02:00
parent a9ea06345d
commit 8598343e98

View file

@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% block title %}dpaste/{{ snippet.secret_id }} ({{ snippet.lexer }}){% endblock %} {% block title %}dpaste/{{ snippet.secret_id }} ({{ snippet.lexer_name }}){% endblock %}
{% block headline %} {% block headline %}
<a href="{{ request.build_absolute_uri }}">{{ request.build_absolute_uri }}</a> <a href="{{ request.build_absolute_uri }}">{{ request.build_absolute_uri }}</a>