on master help sign in
Removing search overlay because it's in base
commit21f6b5faa2ed6a336dcde5c5413587bb6c240563 authorMatilde Park <matilde@tlon.io> dateThu 5 Sep 2019, 15:23 (7 years ago) parenteccc5b7
6 files changed+2−59
static/scripts.js+2−4 templates/doc.html−3 templates/partials/navigation.html templates/sections/docs.html−3 templates/sections/docs/chapters.html−3 templates/sections/index.html−46
static/scripts.js+2−4
@@ -1,5 +1,3 @@
1−
2−
31function initHotKeys() {
42
53 var bodyEl = document.body;
@@ -325,10 +323,10 @@ if (document.readyState === "complete" ||
325323// docsNav[link].scrollIntoView()
326324// }
327325// }
328−//}
326+//}
329327
330328if (window.location.href.includes("docs")) {
331− docsNavScroll();
329+// docsNavScroll();
332330 tippy('.tooltip', {
333331 content(reference) {
334332 const title = reference.getAttribute('title')
templates/doc.html−3
@@ -2,9 +2,6 @@
22{% block title %} {{ page.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
85<!-- content -->
96 {% include "partials/navigation-docs.html" %}
107 <article class="mt6">
templates/partials/navigation.htmldeleted

No changes to the content.

templates/sections/docs.html−3
@@ -2,9 +2,6 @@
22{% block title %} {{ section.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
85<!-- content -->
96 {% include "partials/navigation-docs.html" %}
107 <article class="mt6">
templates/sections/docs/chapters.html−3
@@ -2,9 +2,6 @@
22{% block title %} {{ section.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
5−{% include "partials/navigation.html" %}
6−<!-- search overlay (btn to activate located in navigations-docs partial) -->
7−{% include "partials/search-overlay.html" %}
85<!-- content -->
96 {% include "partials/navigation-docs.html" %}
107 <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 %}