Skip to content
Snippets Groups Projects
Select Git revision
0 results

hsbxl-website

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    betz authored
    3fc6f3d8
    History

    HSBXL site

    Build with Hugo static site generator https://gohugo.io/

    Instructions: new content

    Add an event

    Add a project

    Instructions: add page features

    Show an event list (on a project/event page)

    {{< events series="foobar" >}}

    This shows a list of events with 'series' set as 'foobar'
    On and event page, you can add 'series: foobar' on the top to define this as a event of series 'foobar'.

    Add an image gallery

    • Create a folder in your event/project directory.
    • Put images in the newly created directory.
    • Copy/paste following in the event/project file, where you want to have the image gallery listed.
    {{< gallery "image_directory_name" >}}

    ! Replace image_directory_name with the name you gave the directory containing the images.

    Embed a youtube video

    {{< youtube oHg5SJYRHA0 >}}

    ! Replace oHg5SJYRHA0 with the id of the youtube video you want to embed.
    This id you find from the URL from that youtube video. https://www.youtube.com/watch?v=oHg5SJYRHA0 => oHg5SJYRHA0

    Embed a tweet

    {{< tweet 1058467581231853570 >}}

    ! Replace 1058467581231853570 with the id of the youtube video you want to embed.
    This number you find from the URL from that tweet. https://twitter.com/hsbxl/status/1058467581231853570 => 1058467581231853570