Skip to content

zbmed/2024-2025-ZK_Data_Librarian_Modul_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

37d4183 · Feb 23, 2025
Feb 19, 2025
Dec 6, 2019
Feb 19, 2025
Jan 21, 2020
Feb 19, 2025
Mar 3, 2024
Feb 19, 2025
Jan 27, 2020
Jan 19, 2020
Jan 25, 2025
Feb 22, 2021
Feb 18, 2024
Feb 23, 2025

Repository files navigation

Website for the Data-Librarian Course

This is the hugo based website for the third module "Daten analysieren und darstellen"

Add content

  • to add a session put a session folder in the ./content directory.
  • the folder must contain an _index.md page. That is the landing page for this session.
  • you can then add more markdown files that function as subpages.
  • just checkout the existing folders in the ./content directory.

Shortcodes

This websites provides some custom shortcodes.

{{% customnotice tip%}}
This is a tip box.
{{% /customnotice %}}

Instead of tip you can also insert exercise, alert or code boxes.

A simple quiz is also provided:

{{% quiz pandas_quiz%}}
{{< item question="Wie lautet der Name der Pandas Funktion, mit der Excel-Dateien eingelesen werden können?" answer=1 choices="read_excel,to_excel,load_excel,from_excel" >}}
{{< item question="Mit welchem Befehl kann die Anzahl der Zeilen aus einem DataFrame auslesen?" answer=2 choices="df.rows,len(df),df.shape[1],df.size" >}}
{{< item question="Wie viele fehlende Werte enthält die 'Age Range' Variable des Datensatzes?" answer=4 choices="40,423448,0,215" >}}
{{< item question="Was ist der Modalwert der Spalte 'Age Range'?" answer=1 choices="'25 to 34 years',91083,423233,'75 years and over'" >}}
{{% /quiz %}}

Build

this project is based on hugo and the hugo-learn theme.

  • add the learn-theme as a submodule to the hugo/themes folder
cd themes
git submodule add https://github.com/matcornic/hugo-theme-learn.git
  • run hugo test server
hugo server
  • build website locally
hugo

Deploy

Automatic deployment to the gh-pages branch via GitHub Actions For Hugo.

Credits

This website uses a modified version of the Learn Theme for Hugo.

License

The content of the website for this project are licensed under the Attribution 4.0 International (CC BY 4.0). The underlying source code is licensed under the MIT license.