Skip to content
Snippets Groups Projects
_quarto.yml 1.92 KiB
Newer Older
Michael Buecker's avatar
Michael Buecker committed
project:
  title: "slides"
  output-dir: output
format:
  revealjs:
    theme:
    - default
    - css/msb.scss
    slide-number: c
    show-slide-number: all
    chalkboard: 
      buttons: false
    title-slide-attributes:
      data-background-image: img/title.png
      data-background-size: cover
    width: 1920
    height: 1080
    biblio-style: natbib
# hash-one-based-index: true
# hash-type: number
crossref:
  chapters: true
navigation-mode: linear
editor: source
logo: img/logo.png
footer: Data Literacy -- Prof. Dr. Michael Bücker
number-sections: true
number-depth: 3
shift-heading-level-by: 1
slide-level: 3
top-level-division: chapter
execute: 
  cache: false
toc: true
toc-depth: 2
lang: en
code-annotations: select
progress: true
html-math-method: katex
editor_options: 
  markdown: 
    wrap: 72
resource_files:
- img/logo.png
- css/msb.scss
include-after: |
  <script type="text/javascript">
    Reveal.on('ready', event => {
      if (event.indexh === 0) {
        document.querySelector("div.has-logo > img.slide-logo").style.display = "none";
        document.querySelector("div.footer-default").style.display = "none";
        document.querySelector("div.slide-number").style.display = "none";
      }
    });
    Reveal.addEventListener('slidechanged', (event) => {
      if (event.indexh === 0) {
        Reveal.configure({ slideNumber: null});
        document.querySelector("div.has-logo > img.slide-logo").style.display = "none";
        document.querySelector("div.footer-default").style.display = "none";
        document.querySelector("div.slide-number").style.display = "none";
      }
      if (event.indexh === 1) { 
        Reveal.configure({ slideNumber: 'c' });
        document.querySelector("div.has-logo > img.slide-logo").style.display = null;
        document.querySelector("div.footer-default").style.display = null;
        document.querySelector("div.slide-number").style.display = null;
      }
    });
  </script>