on master help sign in
Removing search overlay because it's in base
21f6b5fMatilde Park
static/scripts.js+2−4
@@ -1,5 +1,3 @@
1−
2−
3function initHotKeys() {
1function initHotKeys() {
4
2
5 var bodyEl = document.body;
3 var bodyEl = document.body;
@@ -325,10 +323,10 @@ if (document.readyState === "complete" ||
325// docsNav[link].scrollIntoView()
323// docsNav[link].scrollIntoView()
326// }
324// }
327// }
325// }
328−//}
326+//}
329
327
330if (window.location.href.includes("docs")) {
328if (window.location.href.includes("docs")) {
331− docsNavScroll();
329+// docsNavScroll();
332 tippy('.tooltip', {
330 tippy('.tooltip', {
333 content(reference) {
331 content(reference) {
334 const title = reference.getAttribute('title')
332 const title = reference.getAttribute('title')
templates/doc.html−3
@@ -2,9 +2,6 @@
2{% block title %} {{ page.title }} {% endblock title %}
2{% block title %} {{ page.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
8<!-- content -->
5<!-- content -->
9 {% include "partials/navigation-docs.html" %}
6 {% include "partials/navigation-docs.html" %}
10 <article class="mt6">
7 <article class="mt6">
templates/partials/navigation.htmldeleted

No changes to the content.

templates/sections/docs.html−3
@@ -2,9 +2,6 @@
2{% block title %} {{ section.title }} {% endblock title %}
2{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
8<!-- content -->
5<!-- content -->
9 {% include "partials/navigation-docs.html" %}
6 {% include "partials/navigation-docs.html" %}
10 <article class="mt6">
7 <article class="mt6">
templates/sections/docs/chapters.html−3
@@ -2,9 +2,6 @@
2{% block title %} {{ section.title }} {% endblock title %}
2{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
8<!-- content -->
5<!-- content -->
9 {% include "partials/navigation-docs.html" %}
6 {% include "partials/navigation-docs.html" %}
10 <article class="mt6">
7 <article class="mt6">
templates/sections/index.html−46
@@ -1,46 +0,0 @@
1−{% extends "base.html" %}
2−
3−{% block content %}
4−<div>
5− <div>
6− <div>
7− <h1>Urbit</h1>
8− <p>A personal server built from scratch.</p>
9− <ul>
10− <li>
11− <h2>
12− <a href="{{config.base_url ~ "/primer/"}}">
13− Primer
14− </a>
15− </h2>
16− <p>
17− A 10-minute read on what Urbit is and why it exists.
18− </p>
19− </li>
20− <li>
21− <h2>
22− <a href="{{config.base_url ~ "/posts/"}}">
23− Posts
24− </a>
25− </h2>
26− <p>
27− Regular updates, occasional essays and media.
28− </p>
29− </li>
30− <li>
31− <h2>
32− <a href="{{config.base_url ~ "/docs/"}}">
33− Docs
34− </a>
35− </h2>
36− <p>
37− Installation instructions and complete system documentation.
38− </p>
39− </li>
40− </ul>
41− <!-- footer -->
42− {% include "partials/footer.html" %}
43− </div>
44− </div>
45−</div>
46−{% endblock content %}