Skip to content

curvenote-themes/landing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curvenote-landing

A professional landing page theme by Curvenote

Features

  • Hero and Footer parts enable content to be pulled out or full width at desired positions
  • Options to adjust TopBar height and styling
  • Hide or show Known MyST parts like footnote, bibliography
  • Honors standard MyST options for logos and analytics (google & plausible)
  • Supports the Curvenote Website Components and Discourse custom directives.

Usage

Parts

Use the hero and footer parts to identify the repective content, this will be pulled out tf the normal document flow and applied full width a the top and bottom of the page.

Recommended using this in conjunction with the hero and footer directives from the Curvenote Website Components Package. For example:

---
title: My Project Landing Page
---

+++ { "part": "hero" }
:::{hero} My New Project
banner: hero.png
tagline: cool as a berg!
:::
+++

This is the main body of content in the site.

+++ { "part": "footer" }
:::{footer}
:logo: logo.png
:background-color: #666
:text-color: #eee

[{scienceicon}`website`](https://curvenote.com)
[{scienceicon}`twitter`](https://x.com/curvnote)
[{scienceicon}`github`](https://github.com/curvenote)

- - [Learn](https://docs.curvenote.com)
  - [Discover](https://library.curvenote.com)
  - [Extend](https://develop.curvenote.com)
- - [About](https://curvenote.com/about)
  - [Contributors](https://github.com/curvenote)

:::

Options

topbar_height
(Number) Height of the top bar area in pixels.
topbar_floating
(Boolean) Top bar will be transparent, borderless and will overlay content.
topbar_fixed
(Boolean) Top bar will be fixed.
curvenote_tag
(Boolean) Show the Curvenote tag in the top navigation area
curvenote_footer
(Enum) Choose the type of footer to display `full`, `support` or `design`(default).
show_bibliography
(Boolean) A Bibliography will be rendered at the foot of the page.
show_footnotes
(Boolean) A list of footnotes will be rendered at the foot of the page. Footnotes will continue work as expected within the main content, irrespective of this option.
favicon
(Boolean) Local path to favicon image.
logo
(Boolean) Local path to logo image.
logo_dark
(Boolean) Local path to logo image for dark mode.
logo_text
(Boolean) Short text to display next to logo at the top of all pages.
analytics_google
(Boolean) Google analytics key.
analytics_plausible
(Boolean) Plausible analytics key.

About

A landing page theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published