Nuno Coração 2024-05-13 22:58:20 +01:00
parent cf69bbef19
commit 015ebabcab
3 changed files with 10 additions and 3 deletions

View file

@ -671,7 +671,12 @@ With other shortcodes
<img src="gallery/07.jpg" class="grid-w33" /> <img src="gallery/07.jpg" class="grid-w33" />
{{< /gallery >}} {{< /gallery >}}
{{</ timelineItem >}} {{</ timelineItem >}}
{{< timelineItem icon="code" header="Another Awesome Header">}}
{{< github repo="nunocoracao/blowfish" >}}
{{</ timelineItem >}}
{{</ timeline >}} {{</ timeline >}}

View file

@ -1,3 +1,3 @@
<ol class="border-l-2 list-none border-primary-500 dark:border-primary-300"> <ol class="border-l-2 border-primary-500 dark:border-primary-300">
{{- .Inner -}} {{- .Inner -}}
</ol> </ol>

View file

@ -3,7 +3,7 @@
{{ $badge := .Get "badge" }} {{ $badge := .Get "badge" }}
{{ $subheader := .Get "subheader" }} {{ $subheader := .Get "subheader" }}
{{ $text := .Get "text" }} {{ $text := .Get "text" }}
<li class="list-none"> <li>
<div class="flex flex-start"> <div class="flex flex-start">
<div class="bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 min-w-[30px] h-8 text-2xl flex items-center justify-center rounded-full -ml-12 mt-5"> <div class="bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 min-w-[30px] h-8 text-2xl flex items-center justify-center rounded-full -ml-12 mt-5">
{{ partial "icon" $icon }} {{ partial "icon" $icon }}
@ -26,7 +26,9 @@
{{ $subheader }} {{ $subheader }}
</h4> </h4>
{{ end }} {{ end }}
<p class="text-gray-700 mb-6">{{- .Inner -}}</p> <div class="mb-6">
{{- .Inner -}}
</div>
</div> </div>
</div> </div>
</li> </li>