aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-12-29 04:30:57 -0500
committerBobby <[email protected]>2022-12-29 04:30:57 -0500
commitad7dccdc12b4a7dfca8d1b7225e985486e01af08 (patch)
tree8a68d0617bcb811728a6fa6c94d9835260d54537
parentc0c50dda0537115e7028f367eb8d7fa346a4b958 (diff)
downloadthatcomputerscientist-ad7dccdc12b4a7dfca8d1b7225e985486e01af08.tar.xz
thatcomputerscientist-ad7dccdc12b4a7dfca8d1b7225e985486e01af08.zip
Fix Blog Posts and Edit Post Should Mimic New Post
-rw-r--r--templates/blog/post.html2
-rw-r--r--templates/blog_admin/edit_post.html14
2 files changed, 1 insertions, 15 deletions
diff --git a/templates/blog/post.html b/templates/blog/post.html
index afe47d1f..5647068a 100644
--- a/templates/blog/post.html
+++ b/templates/blog/post.html
@@ -66,7 +66,7 @@
{% else %}
<div id="new-comment" class="mtsbitem">
<h2>Leave a Comment</h2>
- <p>You must be logged in to leave a comment. <a href="{% url 'blog:login' %}">Login</a> or <a href="{% url 'blog:register' %}">Register</a>.</p>
+ <p><em>You must be logged in to leave a comment.</em></p>
</div>
{% endif %}
diff --git a/templates/blog_admin/edit_post.html b/templates/blog_admin/edit_post.html
index 5d113d9f..88f91cb9 100644
--- a/templates/blog_admin/edit_post.html
+++ b/templates/blog_admin/edit_post.html
@@ -1,15 +1,5 @@
{% extends 'blog/partials/base.html' %} {% block content %}
{% load subdomain %}
-<link
- rel="stylesheet"
- href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai-sublime.min.css"
-/>
-<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet" />
-<style>
- .ql-editor {
- font-family: "Times New Roman", Times, serif;
- }
-</style>
<div class="main">
<section>
{% include 'blog_admin/partials/posts_topbar.html' %}
@@ -147,9 +137,6 @@
</form>
</section>
</div>
-
-<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
-<script src="https://cdn.quilljs.com/1.3.6/quill.min.js"></script>
<script>
const Parchment = Quill.import("parchment");
const Delta = Quill.import("delta");
@@ -231,7 +218,6 @@
var quill = new Quill("#editor-container", {
modules: {
- syntax: true,
toolbar: {
container: "#toolbar-container",
handlers: {