<%* let type = await tp.system.suggester( ["PoWi", "Sozi", "Econ101", "SK", "Mathe"], ["PoWi", "Sozi", "Econ101", "SK", "Mathe"] ); let categories = await tp.system.suggester( ["Lecture", "Seminar", "Tutorial", "Flipped-Lecture", "Other"], ["Lecture", "Seminar", "Tutorial", "Flipped-Lecture", "Other"] ); let chapter = await tp.system.prompt("Lecture/Chapter:"); let currentDate = tp.date.now("MMMM-DD"); let title = `${type} ${chapter} ${currentDate}`; // Dynamically generate the title await tp.file.rename(title); // Rename the file let name = await tp.system.prompt("Title of the Lecture:"); -%> --- title: <% title %> categories: <% categories %> cssclass: created: <% tp.file.creation_date("YYYY-MM-DD HH:mm:ss") %> type: <% type %> tags: view-count: hub: wise 25 status: unfinished --- # <mark style="background: #FFF6D1;"><% title %></mark> >[!Todo] > - [ ] Flipped lecture? > - [ ] Zusatzmaterial lesen und bearbeiten > - [ ] Vorlesung besuchen > - [ ] Folien nacharbeiten > - [ ] Alle Fragen sammeln > - [ ] Relevante Begriffe zusammenfassen ## <mark style="background: #D2E8FF;"><% name %></mark> --- ## Summary