Skip to content

Commit 534d676

Browse files
authored
Revert "ListPage: Add initial mf list page"
This reverts commit 2b8f65b.
1 parent 2b8f65b commit 534d676

File tree

3 files changed

+3
-59
lines changed

3 files changed

+3
-59
lines changed

assets/css/v2/style.css

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -454,19 +454,6 @@ nav {
454454
}
455455
}
456456

457-
.list-page {
458-
--flow-gap: .5rem;
459-
460-
h2 {
461-
font-size: 1.5rem;
462-
margin: 1rem 0 0rem 0;
463-
}
464-
465-
hr {
466-
margin: 1rem 0;
467-
}
468-
}
469-
470457
.api {
471458
margin: 2rem 0 2rem 2rem;
472459
width: 100%;
@@ -1360,7 +1347,7 @@ figure {
13601347
/* HR Lines */
13611348
hr {
13621349
width: 100%;
1363-
border-top: 1px solid var(--color-divider);
1350+
border: 1px solid var(--color-divider);
13641351
}
13651352

13661353
/* FILTHY HACKS BEGIN */

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
});
5858

5959
// swap out v1 and v2 elements
60-
const v1ElementIds = ["sidebar", "footer", "toc", "api", "search-v1", "breadcrumb-v1", "list-v1"]
60+
const v1ElementIds = ["sidebar", "footer", "toc", "api", "search-v1", "breadcrumb-v1"]
6161

6262
v1ElementIds.forEach((elementId) => {
6363
const element = document.getElementById(elementId);

layouts/_default/list.html

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,10 @@
11
{{ define "main" }}
2-
<div class="row flex-xl-nowrap" id="list-v1">
2+
<div class="row flex-xl-nowrap">
33
<nav class="sidenav overflow-auto col-md-3 d-none d-xl-block d-print-none">
44
{{ partial "sidebar.html" . }}
55
</nav>
66
<main class="content col-xl-9 d-block" role="main">
77
{{ partial "list-main" . }}
88
</main>
99
</div>
10-
11-
{{/* mf list page */}}
12-
13-
<main class="content col d-block align-top content-has-toc" role="main" data-mf="true" style="display: none">
14-
<section class="main-layout">
15-
<div class="sidebar-layout">
16-
<nav data-mf="true" id="sidebar-v2" class="sidebar" style="display:none;">
17-
{{ partial "sidebar-v2.html" . }}
18-
</nav>
19-
</div>
20-
21-
22-
23-
<section class="content-layout" data-mf="true" style="display: none">
24-
<section class="breadcrumb-layout">
25-
{{ if not .IsHome }}
26-
{{ if not (in .Params.display_breadcrumb "false" ) }}
27-
{{ partial "breadcrumb" .}}
28-
{{ end }}
29-
{{ end }}
30-
</section>
31-
<div class="text-content list-page">
32-
<h1>{{ .Title }}</h1>
33-
{{ .Content }}
34-
35-
<hr>
36-
{{ if .Page.Lastmod }}
37-
<div class="last-modified">
38-
Last modified {{ .Page.Lastmod.Format "January 2, 2006" }}
39-
</div>
40-
{{ end }}
41-
42-
</main>
43-
44-
</div>
45-
</section>
46-
</section>
47-
48-
49-
50-
</section>
51-
</main>
5210
{{ end }}
53-

0 commit comments

Comments
 (0)