mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
no html entity in description
This commit is contained in:
parent
900ce5ada4
commit
2ffff9d50d
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
<!-- Only embed katex if there is an equation on the page -->
|
<!-- Only embed katex if there is an equation on the page -->
|
||||||
<link rel="stylesheet" href="{% static "libs/katex.min.css" %}">
|
<link rel="stylesheet" href="{% static "libs/katex.min.css" %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:title" content="{{ acro.name }}: {{ acro.full_name }} ‐ Acronomy"/>
|
<meta property="og:title" content="{{ acro.name }}: {{ acro.full_name }} - Acronomy"/>
|
||||||
<meta property="og:type" content="website"/>
|
<meta property="og:type" content="website"/>
|
||||||
<meta property="og:url" content="https://acronomy.lw1.at{{ acro.get_absolute_url }}"/>
|
<meta property="og:url" content="https://acronomy.lw1.at{{ acro.get_absolute_url }}"/>
|
||||||
<meta property="og:locale" content="en_GB"/>
|
<meta property="og:locale" content="en_GB"/>
|
||||||
|
|
|
@ -52,7 +52,6 @@ class DetailView(generic.DetailView):
|
||||||
queryset = Acronym.objects.prefetch_related('wiki_articles')
|
queryset = Acronym.objects.prefetch_related('wiki_articles')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class EditView(LoginRequiredMixin, SuccessMessageMixin, generic.UpdateView):
|
class EditView(LoginRequiredMixin, SuccessMessageMixin, generic.UpdateView):
|
||||||
template_name = 'acros/edit.html'
|
template_name = 'acros/edit.html'
|
||||||
context_object_name = 'acro'
|
context_object_name = 'acro'
|
||||||
|
|
Loading…
Reference in a new issue