diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 9fdbcc80..051ca825 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -671,7 +671,12 @@ With other shortcodes {{< /gallery >}} {{}} +{{< timelineItem icon="code" header="Another Awesome Header">}} +{{< github repo="nunocoracao/blowfish" >}} + + +{{}} {{}} diff --git a/layouts/shortcodes/timeline.html b/layouts/shortcodes/timeline.html index 27ee729a..efaf922c 100644 --- a/layouts/shortcodes/timeline.html +++ b/layouts/shortcodes/timeline.html @@ -1,3 +1,3 @@ -
    +
      {{- .Inner -}}
    \ No newline at end of file diff --git a/layouts/shortcodes/timelineItem.html b/layouts/shortcodes/timelineItem.html index 8297b6c1..294b4111 100644 --- a/layouts/shortcodes/timelineItem.html +++ b/layouts/shortcodes/timelineItem.html @@ -3,7 +3,7 @@ {{ $badge := .Get "badge" }} {{ $subheader := .Get "subheader" }} {{ $text := .Get "text" }} -
  1. +
  2. {{ partial "icon" $icon }} @@ -26,7 +26,9 @@ {{ $subheader }} {{ end }} -

    {{- .Inner -}}

    +
    + {{- .Inner -}} +