Skip to content

Commit

Permalink
Revert "patch: toc fix"
Browse files Browse the repository at this point in the history
This reverts commit 4915f34.
  • Loading branch information
TalhaFaisalglor committed Dec 12, 2023
1 parent 4915f34 commit 9c60438
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 131 deletions.
24 changes: 0 additions & 24 deletions src/pages/_includes/markdown-layout.njk

This file was deleted.

28 changes: 15 additions & 13 deletions src/pages/_includes/parts/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@
<a href="{{ '/' | url }}" id="home-link">
<picture>
<source srcset="{{ '/assets/img/logo.png' | url }}" media="(min-width: 900px)">
<img src="{{ '/assets/img/logo.png' | url }}" alt="logo"></picture>
</a>
<a href="/">Developer Portal</a>
</div>
{{ headerNavList(navigation.headerNav, page) }}
{{ hamburgerButton() }}
</div>
<div id="page-header-bar">
<nav id="other-nav">
<a href="{{ '/search/' | url }}" title="Search the site">{{ mdiSearch() }}</a>
</nav>
</div>
</header>
<img src="{{ '/assets/img/logo.png' | url }}" alt="logo">
</picture>
</a>
</div>

{{ headerNavList(navigation.headerNav, page) }}
{{ hamburgerButton() }}
</div>

<div id="page-header-bar">
<nav id="other-nav">
<a href="{{ '/search' | url }}" title="Search the site">{{ mdiSearch() }}</a>
</nav>
</div>
</header>
3 changes: 2 additions & 1 deletion src/pages/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ surpressH1InLayout: true
<div id="page-bg" role="presentation"></div>
<section id="greeting">
<div id="greeting-bg"></div>
<h1>Get Started</h1>
<h1>Developer Portal</h1>
<p>Welcome to the developer portal of the Lumena Platform, powered by Sprucebot.</p>
<p>This guide is designed to be a self-serve tool that will enable both individuals and teams to use, develop, and
expand on the Lumena Platform.</p>
<h1>Get Started</h1>
<div id="buttons">
<a class="btn" href="{{ '/getting-started/' | url }}">Ruby</a>
<a class="btn" href="{{ '/getting-started/' | url }}">Python</a>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/pages.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"layout": "markdown-layout.njk"
"layout": "default-page-layout.njk"
}
6 changes: 3 additions & 3 deletions src/pages/search.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ layout: default-page-layout.njk
pageStyleId: search
---

<link href="{{ '/_pagefind/pagefind-ui.css' | url }}" rel="stylesheet">
<script src="{{ '/_pagefind/pagefind-ui.js' | url }}" type="text/javascript"></script>
<link href="/_pagefind/pagefind-ui.css" rel="stylesheet">
<script src="/_pagefind/pagefind-ui.js" type="text/javascript"></script>

<div id="search"></div>
<script defer="true" src="{{ '/scripts/page-search.js' | url }}"></script>
<script defer="true" src="/scripts/page-search.js"></script>
2 changes: 1 addition & 1 deletion src/scss/_header.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$top-nav-img-height: 22px;
$top-nav-img-height: 24px;
$cl-header-bar-primary: black;

header#page-header {
Expand Down
87 changes: 0 additions & 87 deletions src/scss/page-specific/_markdown-layout.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/scss/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ body {
// two section content, right side bar, main chunk on left.
@import 'page-specific/default-page-type';
@import 'page-specific/ds-layout-type';
@import 'page-specific/markdown-layout';

// }

Expand Down

0 comments on commit 9c60438

Please sign in to comment.