mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 10:50:50 +02:00
parent
06e9c42adc
commit
552df4b957
3 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ sections:
|
|||
for support
|
||||
design:
|
||||
# Section background color (CSS class)
|
||||
css_class: "bg-gray-100 dark:bg-gray-900"
|
||||
css_class: "bg-gray-100 dark:bg-gray-800"
|
||||
# Reduce spacing
|
||||
spacing:
|
||||
padding: ["1rem", 0, "1rem", 0]
|
||||
|
|
|
@ -8,8 +8,8 @@ A Hugo extension to create cards. Cards can be shown as links or as plain text.
|
|||
## Usage
|
||||
|
||||
{{< cards >}}
|
||||
{{< card link="../" title="Learn Shortcodes" icon="academic-cap" >}}
|
||||
{{< card link="" title="A card without an icon or link" >}}
|
||||
{{< card url="../" title="Learn Shortcodes" icon="academic-cap" >}}
|
||||
{{< card url="" title="A card without an icon or link" >}}
|
||||
{{< /cards >}}
|
||||
|
||||
is rendered by:
|
||||
|
|
|
@ -4,5 +4,5 @@ go 1.15
|
|||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240218003515-69d49c0b4a92
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240218004752-06e9c42adcfe
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue