Configuration
Just the Docs has some specific configuration parameters that can be defined in your Jekyll site's _config.yml file.
Table of contents
View this site's _config.yml file as an example.
Site logo
# Set a path/url to a logo that will be displayed instead of the title
logo: "/assets/images/just-the-docs.png"
Search
# Enable or disable the site search
build_search_index = true
Aux links
# Aux links for the upper right navigation
[extra]
links = [
{ title = 'GitHub', url = 'https://github.com/jakeswenson/zola-just-the-docs/' },
{ title = 'Demo', url = 'https://zola-jtd-demo.jakeswenson.now.sh/' }
]
Heading anchor links
# Heading anchor links appear on hover over h1-h6 tags in page content
# allowing users to deep link to a particular heading on a page.
insert_anchor_links = true
Footer content
[extra]
# Footer content appears at the bottom of every page's main content
footer = "Copyright © 2020 Jake Swenson. Distributed by an <a href=\"https://github.com/jakeswenson/zola-just-the-docs/tree/master/LICENSE.txt\">MIT license.</a>"
See Customization for more information.