Skip to main content
Ctrl+K
⚠️The latest release refactored our HTML, so double-check your custom CSS rules!⚠️
Logo image
  • Executable Books
  • PyPI

Topic Areas

  • Get started
  • Content and formatting
    • Special content blocks
    • PyData Theme Elements
    • Jupyter notebooks
    • Launch buttons for interactivity
  • Layout and major sections
    • Primary sidebar and navigation
    • Secondary sidebar and table of contents
    • Header and navbar
    • Content footer
    • Page footer
    • Announcement banners
  • Component customization
    • Logo and branding
    • Icon links and badges
    • Add a download page button
    • Buttons that link to source files
    • Add your own CSS rules
  • Reference of theme options
  • Contributing guide
    • Set up your development workflow
    • Architecture of the repository
    • Style and design
    • Testing infrastructure
    • Releases and version numbers
    • Translation workflow
    • Creating sub-themes
  • Changelog

Example pages

  • Kitchen Sink
    • Admonitions
    • API documentation
    • Blocks
    • Generic items
    • Images & Figures
    • Lists
    • Really Long Page Title because we should test sidebar wrapping
    • Structural Elements
    • Tables
    • Typography
  • Theme-specific elements
  • Sphinx extension styles
  • Jupyter notebooks
  • Thebe
  • Reference for Blog
  • NumPy docstrings
  • Comments
  • Show source
  • Suggest edit
  • Open issue
  • .md

Content footer

Contents

  • Add extra HTML to your content footer

Content footer#

There is a content footer that spans the width of the page, and is visibile when you scroll to the bottom of the content.

By default, the content footer has the following items:

  • author.html: Display the author of the page, if present.

  • copyright.html: Display copyright information about the website.

  • last-updated.html: Display the latest date that the website was updated.

  • extra-footer.html: A placeholder for arbitrary HTML you may add (see Add extra HTML to your content footer).

Add extra HTML to your content footer#

You may add custom HTML to the content footer via conf.py. This is a shortcut in case you wish to avoid defining your own HTML template.

To do so, use the extra_footer configuration and provide any HTML that you wish. For example:

html_theme_options = {
    ...
    "extra_footer": "<div>hi there!</div>",
}

previous

Header and navbar

next

Page footer

Contents
  • Add extra HTML to your content footer

By the Executable Book Project

© Copyright 2023.

Last updated on Mar 31, 2023.