Remove unused org-music as an indexable content type from Khoj

Org-music was just a custom content type that worked with org-music.
It was mostly only useful for me.

Cleaning up that code will reduce number of content types for khoj to
manage.
This commit is contained in:
Debanjum Singh Solanky
2023-07-02 16:21:21 -07:00
parent 30459ee4ba
commit c9db5321e7
10 changed files with 9 additions and 67 deletions

View File

@@ -88,8 +88,6 @@
results = render_markdown(query, data);
} else if (type === "org") {
results = render_org(query, data, "org-");
} else if (type === "music") {
results = render_org(query, data, "music-");
} else if (type === "image") {
results = data.map(render_image).join('');
} else if (type === "ledger") {
@@ -371,17 +369,14 @@
.results-github {
text-align: left;
}
.results-music,
.results-org {
text-align: left;
white-space: pre-line;
}
.results-music h3,
.results-org h3 {
margin: 20px 0 0 0;
font-size: larger;
}
span.music-task-status,
span.org-task-status {
color: white;
padding: 3.5px 3.5px 0;
@@ -390,15 +385,12 @@
background-color: #eab308;
font-size: medium;
}
span.music-task-status.todo,
span.org-task-status.todo {
background-color: #3b82f6
}
span.music-task-status.done,
span.org-task-status.done {
background-color: #22c55e;
}
span.music-task-tag,
span.org-task-tag {
color: white;
padding: 3.5px 3.5px 0;