Lecturer FAQ
Project composition
Installation
VS-Code
Preview
Workflows
Build locally
Update public webpage
Interactive Content
PDF vs Website content
Resources
Adding a pdf
- Paste your pdf in
content/resources/pdfs
. - Add a
filename.yaml
file intocontent/resources/listing/
with content similar to be one below:
title: "Demo"
author: Ingo Steldermann
date: 2024-04-05
path: "/content/resources/pdfs/resource.pdf"[demo] categories:
- Add the
resource.pdf
as well as thefilename.yaml
to git.
Adding a new presentation
We use Revealjs resources.
As as independent quarto project
Note
Usecase: Content that has its own requirements or projects that should be accessable independently of the general toolchain.
A presentation starts as a completely indepentent project that is only merged later. If you want start from a template, you can use the demo in content/resources/content/demo
.
- Paste your content into as a new folder in
content/resources/content
(or copy the template folder). - Add your content into the
index.qmd
file.
Make content visible at the webpage
- Paste your presentation into as a new folder in
content/resources/content
(or copy the templte folder). - Check that your preamble contains the following (e.g. in the
_quarto.yml
or in the metadata section ofindex.qmd
):
output-dir: _output
output-file: index.html
standalone: true embed-resources: true
- (optional) use global references: add the following to the preamble:
bibliography:
- references.bib
- ./../../../references.bib
- Add a
presentationname.yaml
file intocontent/resources/listing/
with content similar to be one below:
title: "Demo"
author: Ingo Steldermann
date: 2024-04-05
path: "/content/resources/content/demo/_output/index.html"[demo] categories:
Important
The path
is critical in such that the file can be found. The rest is optional data that is shown in the listing on the webpage.
- Commit
content/resources/content/<your new folder>/_output/index.html
. - push