From d5a2fb9a6f148629bb84b6d8bec5eb49e8adbb1d Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Sun, 5 Aug 2018 23:04:20 +0200 Subject: [PATCH] update for mkdocs 1 --- extra_markdown.tpl | 2 +- mkdocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extra_markdown.tpl b/extra_markdown.tpl index 86e23ffb..f9f94a4d 100644 --- a/extra_markdown.tpl +++ b/extra_markdown.tpl @@ -6,7 +6,7 @@ {%- set fname = output.metadata.filenames['application/vnd.plotly.v1+json'] -%} {%- set plotly_url = fname | path2url -%} {%- set div_id = fname.split('/') | last -%} -<div id="{{div_id}}"></div> +<div id="{{div_id}}"><img ></img></div> <script> window.addEventListener('load', function() { diff --git a/mkdocs.yml b/mkdocs.yml index 6a68694a..476e3ffb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,7 +4,7 @@ repo_name: source edit_uri: edit/master/src/ site_description: | Lecture notes for the TU Delft course TN2844 Solid state physics -pages: +nav: - Intro: 'index.md' - Phonons and specific Heat: 'lecture_1.md' - Free electron model: 'lecture_2.md' -- GitLab