Starting mywildcloud.org changes.
This commit is contained in:
6
layouts/partials/home/custom.html
Normal file
6
layouts/partials/home/custom.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<article class="h-full max-w-full flex flex-col items-center justify-center text-center prose dark:prose-invert">
|
||||
<section class="mt-6 prose dark:prose-invert">{{ .Content }}</section>
|
||||
</article>
|
||||
<section>
|
||||
{{ partial "recent-articles/main.html" . }}
|
||||
</section>
|
||||
17
layouts/shortcodes/bring-it-home.html
Normal file
17
layouts/shortcodes/bring-it-home.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ $.Scratch.Set "icon" (default "sun" (.Get 0) ) }}
|
||||
|
||||
<div
|
||||
class="alert flex px-4 py-3 rounded-md bg-sky-200 dark:bg-sky-500"
|
||||
>
|
||||
<span
|
||||
class="ltr:pr-3 rtl:pl-3 flex text-yellow-200 items-begin pt-[6px]"
|
||||
>
|
||||
{{ partial "icon.html" ($.Scratch.Get "icon") }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="dark:text-sky-50 text-sky-900"
|
||||
>
|
||||
{{- .Inner | markdownify -}}
|
||||
</span>
|
||||
</div>
|
||||
17
layouts/shortcodes/definition.html
Normal file
17
layouts/shortcodes/definition.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ $.Scratch.Set "icon" (default "circle-info" (.Get 0) ) }}
|
||||
|
||||
<div
|
||||
class="alert flex px-4 py-3 rounded-md bg-green-100 dark:bg-green-700"
|
||||
>
|
||||
<span
|
||||
class="text-green-400 ltr:pr-3 rtl:pl-3 flex items-begin pt-[6px]"
|
||||
>
|
||||
{{ partial "icon.html" ($.Scratch.Get "icon") }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="dark:text-green-100 text-green-950"
|
||||
>
|
||||
{{- .Inner | markdownify -}}
|
||||
</span>
|
||||
</div>
|
||||
17
layouts/shortcodes/go-deeper.html
Normal file
17
layouts/shortcodes/go-deeper.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ $.Scratch.Set "icon" (default "graduation-cap" (.Get 0) ) }}
|
||||
|
||||
<div
|
||||
class="alert flex px-4 py-3 rounded-md bg-violet-200 dark:bg-violet-700"
|
||||
>
|
||||
<span
|
||||
class="text-violet-800 dark:text-violet-100 ltr:pr-3 rtl:pl-3 flex items-begin pt-[6px]"
|
||||
>
|
||||
{{ partial "icon.html" ($.Scratch.Get "icon") }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="dark:text-violet-200 text-violet-900"
|
||||
>
|
||||
{{- .Inner | markdownify -}}
|
||||
</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user