Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 733 Bytes

File metadata and controls

45 lines (36 loc) · 733 Bytes

This is an example page showing how to use Hugo shortcodes on the Pulsar Neighborhood site to create tabbed information.

{{< tabs tabTotal="4">}} {{< tab tabName="C#" >}}

public void DoSomething()
{
    return;
}

{{< /tab >}} {{< tab tabName="Java" >}}

public Integer getLength(String str)
{
    return str.length();
}

{{< /tab >}} {{< tab tabName="Go">}}

func plusPlus(a, b, c int) int
{
    return a + b + c
}

{{< /tab >}} {{< tab tabName="Python">}}

def greet(name):
    """
    This function greets to the person passed in as a parameter
    """
    print("Hello, " + name + ". Good morning!")

{{< /tab >}} {{< /tabs >}}