The logo option should link to the configured site_url #238
The site logo currently has html source that looks like this
Expected behavior would be that the yml configuration for site_url would be here if it is configured.
The site_url configuration is not made available anywhere within the material theme.
Steps to reproduce the bug
# Project information site_name: My Docs Example site_url: https://www.mysite.com site_description: My Test Documentation Site site_author: John Do repo_name: 'My Docs Example' repo_url: 'https://www.mysite.com' # Copyright copyright: 'Copyright © 2016 - 2017 John Doe' # Theme theme: 'material' theme_dir: 'theme' extra_css: - 'css/extra.css' # Options extra: logo: 'assets/images/logo.svg' palette: primary: 'blue grey' accent: 'deep orange' font: text: 'Roboto' code: 'Roboto Mono' # Settings docs_dir: 'docs' site_dir: 'site' # Extensions markdown_extensions: - admonition - smarty - codehilite - footnotes - meta - toc(permalink=true) - pymdownx.arithmatex - pymdownx.betterem(smart_enable=all) - pymdownx.caret - pymdownx.critic - pymdownx.inlinehilite - pymdownx.magiclink - pymdownx.mark - pymdownx.smartsymbols - pymdownx.superfences - pymdownx.tasklist(custom_checkbox=true) - pymdownx.tilde # Pages pages: - Home: 'index.md' - User Guide: - 'Step 1': 'user-guide/step1.md' - 'Step 2': 'user-guide/step2.md' - 'Step 3': 'user-guide/step3.md' - About: - 'License': 'about/license.md' - 'Release Notes': 'about/release-notes.md'
The text was updated successfully, but these errors were encountered:
Strange, this is the generated HTML:
Wondering if this has something to do with Docker: I'm on Windows where
This is from my
(tried also without quotes).
The header correctly sets the link containing the logo to the
However, when MkDocs is run in watch mode, it sets the
I will remove the
Unfortunately, I'm unable to connect to the web server in 2.6.4 and my colleague on a Mac reports the same;
What was not intuitive to me at all is that when