Skip to content

Commit be83dd8

Browse files
authored
customise landing page and link to landing page (#5)
1 parent e770a75 commit be83dd8

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@import "theme-learn.css";
2+
3+
:root {
4+
--MENU-HEADER-BORDER-color: var(--MENU-SECTIONS-BG-color); /*Color of menu header border */
5+
}
6+
7+
#R-topics {
8+
/* override value from theme.css - no padding between home and menu items */
9+
padding-top: 0rem;
10+
}

content/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
+++
22
archetype = "home"
3-
title = "flatgraph"
3+
title = "Overview"
4+
weight = 1
45
+++
56

67
[flatgraph](https://github.com/joernio/flatgraph) is a fast and memory efficient columnar graph database with a framework to generate domain specific and typesafe traversals.

content/getting-started/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Getting started"
33
weight = 2
44
+++
55

6-
Let's take a look at a complete setup for a domain called "GenericDomain" that demonstrates a few more features than fit on the [landing page](index.html#glimpse-of-a-simple-use-case). The entire example project is also available here: TODO LINK.
6+
Let's take a look at a complete setup for a domain called "GenericDomain" that demonstrates a few more features than fit on the [landing page](../index.html#glimpse-of-a-simple-use-case). The entire example project is also available here: TODO LINK.
77

88

99
TODO continue: get project to work and describe here

hugo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ title = 'flatgraph'
44
theme = 'relearn'
55

66
[params]
7-
themeVariant = 'learn'
8-
disableLandingPageButton = true
7+
themeVariant = 'learn-customized'
8+
disableLandingPageButton = false
9+
landingPageName = 'Overview'
10+
showVisitedLinks = false
911
disableShortcutsTitle = true
12+
disableInlineCopyToClipBoard=true
13+
disableToc = false
14+
disableBreadcrumb = true
15+
disableNextPrev = true
1016

1117
[[menu.shortcuts]]
1218
name = "<i class='fa-fw fab fa-github'></i> git repository"

0 commit comments

Comments
 (0)