Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customise landing page and link to landing page #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions assets/css/theme-learn-customized.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@import "theme-learn.css";

:root {
--MENU-HEADER-BORDER-color: var(--MENU-SECTIONS-BG-color); /*Color of menu header border */
}

#R-topics {
/* override value from theme.css - no padding between home and menu items */
padding-top: 0rem;
}
3 changes: 2 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
+++
archetype = "home"
title = "flatgraph"
title = "Overview"
weight = 1
+++

[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.
Expand Down
2 changes: 1 addition & 1 deletion content/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Getting started"
weight = 2
+++

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.
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.


TODO continue: get project to work and describe here
Expand Down
10 changes: 8 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ title = 'flatgraph'
theme = 'relearn'

[params]
themeVariant = 'learn'
disableLandingPageButton = true
themeVariant = 'learn-customized'
disableLandingPageButton = false
landingPageName = 'Overview'
showVisitedLinks = false
disableShortcutsTitle = true
disableInlineCopyToClipBoard=true
disableToc = false
disableBreadcrumb = true
disableNextPrev = true

[[menu.shortcuts]]
name = "<i class='fa-fw fab fa-github'></i> GitHub repo"
Expand Down