Spaces:
Runtime error
Runtime error
derek-thomas
commited on
Commit
·
15a7e5e
1
Parent(s):
3014aa6
Adding links
Browse files
templates/template_html.j2
CHANGED
@@ -19,6 +19,11 @@
|
|
19 |
color: #111 !important;
|
20 |
}
|
21 |
|
|
|
|
|
|
|
|
|
|
|
22 |
.dark {
|
23 |
background: #111;
|
24 |
color: white;
|
@@ -72,7 +77,8 @@ Below is the prompt that is given to the model. <hr>
|
|
72 |
{% for doc in documents %}
|
73 |
<details class="doc-box">
|
74 |
<summary>
|
75 |
-
|
|
|
76 |
</summary>
|
77 |
<div class="doc-full">{{ doc.content }}</div>
|
78 |
</details>
|
|
|
19 |
color: #111 !important;
|
20 |
}
|
21 |
|
22 |
+
details.doc-box a {
|
23 |
+
color: #0000EE !important; /* This is a common blue color for links */
|
24 |
+
text-decoration: underline; /* This underlines the link */
|
25 |
+
}
|
26 |
+
|
27 |
.dark {
|
28 |
background: #111;
|
29 |
color: white;
|
|
|
77 |
{% for doc in documents %}
|
78 |
<details class="doc-box">
|
79 |
<summary>
|
80 |
+
<b>Doc_{{ loop.index }} | <a href="{{ doc.meta.url }}">{{ doc.meta.title }}</a>:</b> <span
|
81 |
+
class="doc-short">{{ doc.content[:100] }}...</span>
|
82 |
</summary>
|
83 |
<div class="doc-full">{{ doc.content }}</div>
|
84 |
</details>
|