From 0ea88c5c740ba04b88591eb2f84dba9ed5351f9a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 22 Feb 2021 23:16:59 -0500 Subject: html: eliminated a lot of inline JS --- app/posts/templates/posts/essay_detail.html | 75 +------------------------ app/posts/templates/posts/fieldnote_detail.html | 19 +------ app/posts/templates/posts/post_detail.html | 73 +----------------------- app/posts/templates/posts/src_detail.html | 27 +-------- 4 files changed, 9 insertions(+), 185 deletions(-) (limited to 'app/posts') diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html index b6a0db8..c4d2b66 100644 --- a/app/posts/templates/posts/essay_detail.html +++ b/app/posts/templates/posts/essay_detail.html @@ -128,77 +128,6 @@ {%endif%} {% endblock %} {% block js %} - + + {%endblock%} diff --git a/app/posts/templates/posts/fieldnote_detail.html b/app/posts/templates/posts/fieldnote_detail.html index a645e86..f678400 100644 --- a/app/posts/templates/posts/fieldnote_detail.html +++ b/app/posts/templates/posts/fieldnote_detail.html @@ -47,22 +47,7 @@ {% endblock %} - {% block js %} - + + {%endblock%} diff --git a/app/posts/templates/posts/post_detail.html b/app/posts/templates/posts/post_detail.html index 4c897fc..b7c31fa 100644 --- a/app/posts/templates/posts/post_detail.html +++ b/app/posts/templates/posts/post_detail.html @@ -109,75 +109,6 @@ {%endif%} {% endblock %} {% block js %} - + + {%endblock%} diff --git a/app/posts/templates/posts/src_detail.html b/app/posts/templates/posts/src_detail.html index 675531c..232bba0 100644 --- a/app/posts/templates/posts/src_detail.html +++ b/app/posts/templates/posts/src_detail.html @@ -111,27 +111,6 @@ {% endblock %} {% block js %} - -{% if object.has_code %} -{%endif %} -{% endblock %} + + +{%endblock%} -- cgit v1.2.3-70-g09d2