Skip to content

Commit 3824da7

Browse files
Fixing the js include
1 parent 0f3ff47 commit 3824da7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

backend/blog/templates/blog/blog_detail.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<!-- Featured Image -->
2222
{% if post.large_image_webp or post.large_image_jpeg %}
23-
<div class="mb-14">
23+
<div class="mb-16">
2424
<picture>
2525
{% if post.large_image_webp %}
2626
<source
@@ -47,7 +47,7 @@
4747
<!-- Blog Header -->
4848
<div class="mb-12 text-center">
4949
<h1 class="text-4xl font-bold tracking-tight text-gray-900 font-display">{{ post.title }}</h1>
50-
<div class="mt-4 text-gray-600">
50+
<div class="mt-6 text-gray-600">
5151
<span>Published on {{ post.datetime_created|date:"F j, Y" }}</span>
5252
{% if post.categories.exists %}
5353
<span> | Categories:
@@ -78,7 +78,7 @@ <h2 class="text-2xl font-bold text-gray-900">Comments</h2>
7878
</div>
7979
{% endblock %}
8080

81-
{% block js %}
81+
{% block javascript %}
8282
<script>
8383
document.addEventListener('DOMContentLoaded', function () {
8484
const tables = document.querySelectorAll('.prose table');
@@ -138,4 +138,4 @@ <h2 class="text-2xl font-bold text-gray-900">Comments</h2>
138138
});
139139
});
140140
</script>
141-
{% endblock js %}
141+
{% endblock javascript %}

backend/static/css/styles.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/static/js/main.bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/static/js/main.bundle.js.gz

-1 Bytes
Binary file not shown.

frontend/src/styles/styles.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)