Commit 54d07dbd authored by David Hrbáč's avatar David Hrbáč

Enable link to edit

parent 71492a94
......@@ -4,15 +4,9 @@
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% endif %}
{% if page.abs_url.rstrip('index.html').rstrip('/') == '' %}
{% set it4i_link = config.repo_url + '/edit/master/docs.it4i/index.md' %}
{% set it4i_page = '/index.md' %}
{% set it4i_url = 'https://docs.it4i.cz' %}
{% else %}
{% set it4i_link = config.repo_url + '/edit/master/docs.it4i' + page.abs_url.rstrip('index.html').rstrip('/') + '.md' %}
{% set it4i_page = page.abs_url.rstrip('index.html').rstrip('/') + '.md' %}
{% set it4i_url = 'https://docs.it4i.cz' + page.abs_url %}
{% endif %}
{% set it4i_link = config.repo_url + '/edit/master/docs.it4i/index.md' %}
{% set it4i_page = '/index.md' %}
{% set it4i_url = 'https://docs.it4i.cz' %}
{% if toc_ | first is defined %}
<label class="md-nav__title" for="toc">{{ lang.t('toc.title') }}</label>
<ul class="md-nav__list" data-md-scrollfix>
......
site_name: IT4Innovations Documentation
docs_dir: docs.it4i
site_favicon: img/favicon.ico
extra_css:
- src/css.css
......@@ -24,7 +23,9 @@ theme:
include_search_page: false
search_index_only: true
pages:
favicon: img/favicon.ico
nav:
- Home: index.md
- Accessing the Clusters:
- Obtaining Login Credentials: general/obtaining-login-credentials/obtaining-login-credentials.md
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment