Comments (4)
Thank you @choldgraf it works flawlessly!
from jupyter-book.
That's a great idea - it seems this could be done with a yaml config option like sidebar_logo_link: ""
. Then in the sidebar.html template, do something like:
{% if site.sidebar_logo_link | length < 1 %}
{% capture sidebar_logo %}{{ site.baseurl | relative_url }}
{% else %}
{% capture sidebar_logo_link %}{{ site.sidebar_logo_link }}
{% endif %}
then
wrap the logo in <a href="{{ sidebar_logo_link }}">...
I can try to look into this in the next few days, though a PR is most-welcome! :-)
from jupyter-book.
Thank you @choldgraf your pointer above seems perfectly clear even though I'm not familiar with jekyll at all. I tried to add those relevant code in _layouts/sidebar.html
but got this error:
Liquid Exception: Liquid syntax error (/home/gaow/Documents/GIT/wiki/dsc-wiki/jupyter-book/_includes/sidebar.html line 19): capture tag does not expect 'else' tag included in /_layouts/default.html
in any case would be nice if you could take a look at when you get a chance. Or else I can certainly give it a stab at when I have a chance to learn some more of it later ...
from jupyter-book.
I think I got it figured out - wanna give it a shot? :-)
from jupyter-book.
Related Issues (20)
- Sphinx config `navigation with keys` removes links to Github HOT 1
- Cannot generate tab-sets, tab items or anything from myst from within python code cell HOT 1
- Error: Couldn't find a Table of Contents file. HOT 5
- reference to the notebook interface in the doc is for nbclassic
- Move to application distribution model HOT 13
- MyST Evaluation fails: no running kernel found HOT 6
- Problem with Utterances HOT 1
- Change from unmaintained pyppeteer package to alternative for building PDF documents from book HOT 1
- Update boilerplate code to use main branch by default instead of master HOT 1
- Allow the same document in multiple chapters/sections
- Plotly interactive plots not showing in Jupyter book HOT 2
- Plotly interactive plots not showing in Jupyter book HOT 4
- abtemIssue on page /intro.html HOT 1
- Problem with myst titles in jupyter notebook HOT 2
- When I compile Jupyter notebook with Sphinx I get a double colon `::` in the doc HOT 3
- Notebook %psource magic command not displaying HOT 1
- Adding github buttons on top navbar
- Adding `preamble` doesn't work because single-quote strings are not raw HOT 5
- Unable to change pygments_style in _config.yml HOT 2
- IPython.display.JSON object not rendered correctly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-book.