Skip to content

Custom Title/Landing Page #162

@chrisjsewell

Description

@chrisjsewell

Most books that I've seen have a front cover 😉

I think it would be great to have an (optional) front page which has a very distinctly different layout to the rest of the pages.
It might even be better if (somehow) this page is not even parsed from a standard rST/Markdown page (like the current index.html),
but is related to a bunch of variables, and a separate HTML template (similar to LaTeX title pages).
e.g. something like you specify the variables:

title: This is my title
author: My Name
abstract: |
    This is my abstract

which get parsed into a standard or custom frontpage template:

<h1>{{ title }}</h1>
<p>by {{ author }}</p>
</br>
<p>{{ abstract }}</p>

(but obviously more fancy like https://dev.to/davidepacilio/40-free-html-landing-page-templates-3gfp)

I don't know if this needs to be something implemented upstream (like pydata/pydata-sphinx-theme#146) or we can do here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions