website_xyz
and select slds-lmu/website_template
as template repositorygh-pages
branch. If not, create it.Settings -> Pages
and select the gh-pages
branch as built branch.website_template
entries in the config.toml
file to your repository name website_xyz
(this should happen in two places, line 1 the baseURL
and line 43 the footer url).http://slds-lmu.github.io/website_xyz/
{{< pdfjs file="slides-regression-losses.pdf" >}}
. The pdf has to be in the same directory as the md file.{{< pdfjs file="https://github.com/slds-lmu/lecture_i2ml/blob/master/slides-pdf/slides-regression-losses.pdf" >}}
. If a URL is used, a download button is created instead a preview of the slides.{{< fileurl file="cheatsheet_notation.pdf" >}}
../file.pdf
it will break in the index pages{{< video id = "Syrzezpj2FY" >}}
video_id
is the last part of the youtube url, e.g. for https://www.youtube.com/watch?v=BmSvhDCdJro
it is BmSvhDCdJro
.video_base_url
in config.toml
mathjax: true
in yaml-frontmatter
_index.md
or enable it in config.toml
quizdown: true
in yaml-frontmattermathjax: true
_index.md
you can specify show_in_index: (content|summary|none)
The deploy is done automatically via GitHub Actions. Nothing needs to be done to publish a new version of the website. Each build is triggered when a commit is done to the main
branch.