Cards

Th' cards shortcode displays yer rrrambl'n 'n a grouped set o' cards.

Python Example

Th' AI native programm'n language.

print("Hello World!")
Terminal Example

For guys who like t' tinker around.

echo "Hello World!"
C Example

For th' connoisseur o' programm'n.

printf("Hello World!");

Usage

{{< cards >}}
{{% card title="Python Example" href="https://example.com" %}}
Th' AI native programm'n language.

```python
print("Hello World!")
```
{{% /card %}}
{{% card title="Terminal Example" %}}
For guys who like t' tinker around.

```bash
echo "Hello World!"
```
{{% /card %}}
{{% card title="C Example" %}}
For th' connoisseur o' programm'n.

```c
printf"Hello World!");
```
{{% /card %}}
{{< /cards >}}
{{ partial "shortcodes/cards.html" (dict
  "page"  .
  "content" (slice
    (dict
      "href" "https://example.com"
      "title" "Pyhton Example"
      "content" ("The AI native programm'n language.\n\n```python\nprint(\"Hello World!\")\n```" | .RenderStr'n)
    )
    (dict
      "title" "Terminal Example"
      "content" ("For guys who like t' tinker around.\n\n```bash\necho \"Hello World!\"\n```" | .RenderStr'n)
    )
    (dict
      "title" "C Example"
      "content" ("For th' connoisseur o' programm'n.\n\n```c\nprintf(\"Hello World!\");\n```" | .RenderStr'n)
    )
  )
)}}

If ye just want a single card ye can instead call th' card shortcode standalone.

Also follow th' above link t' see th' parameter fer each nested card.

Parameter

Name Default Notes
title <empty> Arbitrary title written 'n front o' th' tab view.
template default Th' template t' be used t' display all cards 'n th' set. Can be overridden fer each card.

- default: Th' standard layout
- debug: A debug layout help'n ye 'n development

See th' card shortcode how t' use yer own templates.
<content> <empty> Arbitrary number o' cards defined wit' th' card sub-shortcode.

Examples

Lots o' Cards

{{< cards >}}
{{% card title="Python" %}}
Th' AI native programm'n language.
{{% /card %}}
{{% card title="Terminal" %}}
For guys who like t' tinker around.
{{% /card %}}
{{% card title="C" %}}
For th' connoisseur o' programm'n.
{{% /card %}}
{{% card title="C++" %}}
For th' guys that can cope wit' rules.
{{% /card %}}
{{% card title="C#" %}}
For guys that need two destructors.
{{% /card %}}
{{< /cards >}}
Python
Th' AI native programm'n language.
Terminal
For guys who like t' tinker around.
C
For th' connoisseur o' programm'n.
C++
For th' guys that can cope wit' rules.
C#
For guys that need two destructors.

Lots o' Cards wit' Templates

{{< cards  template="debug" >}}
{{% card title="Python" %}}
Th' AI native programm'n language.
{{% /card %}}
{{% card title="Terminal" template="default" %}}
For guys who like t' tinker around.
{{% /card %}}
{{% card title="C" %}}
For th' connoisseur o' programm'n.
{{% /card %}}
{{% card title="C++" %}}
For th' guys that can cope wit' rules.
{{% /card %}}
{{% card title="C#" %}}
For guys that need two destructors.
{{% /card %}}
{{< /cards >}}
Python

All Parameter

{
  "color": "",
  "content": "\u003cp\u003eThe AI native programm'n language.\u003c/p\u003e",
  "href": "",
  "hrefattributes": {},
  "icon": "",
  "image": "",
  "page": {
    "PageWithoutContent": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "TableOfContentsProvider": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "MarkupProvider": 0,
    "ContentProvider": 0
  },
  "params": null,
  "style": "initial",
  "template": "debug",
  "title": "Python"
}

Terminal
For guys who like t' tinker around.
C

All Parameter

{
  "color": "",
  "content": "\u003cp\u003eFor th' connoisseur o' programm'n.\u003c/p\u003e",
  "href": "",
  "hrefattributes": {},
  "icon": "",
  "image": "",
  "page": {
    "PageWithoutContent": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "TableOfContentsProvider": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "MarkupProvider": 0,
    "ContentProvider": 0
  },
  "params": null,
  "style": "initial",
  "template": "debug",
  "title": "C"
}

C++

All Parameter

{
  "color": "",
  "content": "\u003cp\u003eFor th' guys that can cope wit' rules.\u003c/p\u003e",
  "href": "",
  "hrefattributes": {},
  "icon": "",
  "image": "",
  "page": {
    "PageWithoutContent": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "TableOfContentsProvider": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "MarkupProvider": 0,
    "ContentProvider": 0
  },
  "params": null,
  "style": "initial",
  "template": "debug",
  "title": "C++"
}

C#

All Parameter

{
  "color": "",
  "content": "\u003cp\u003eFor guys that need two destructors.\u003c/p\u003e",
  "href": "",
  "hrefattributes": {},
  "icon": "",
  "image": "",
  "page": {
    "PageWithoutContent": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "TableOfContentsProvider": {
      "Date": "0001-01-01T00:00:00Z",
      "Lastmod": "0001-01-01T00:00:00Z",
      "PublishDate": "0001-01-01T00:00:00Z",
      "ExpiryDate": "0001-01-01T00:00:00Z",
      "Aliases": null,
      "BundleType": "branch",
      "Description": "Show rrrambl'n 'n card set",
      "Draft": false,
      "IsHome": false,
      "Keywords": null,
      "Kind": "section",
      "Layout": "",
      "LinkTitle": "Cards",
      "IsNode": true,
      "IsPage": false,
      "Path": "/shortcodes/cards",
      "Slug": "",
      "Lang": "en",
      "IsSection": true,
      "Section": "shortcodes",
      "Sitemap": {
        "ChangeFreq": "",
        "Priority": -1,
        "Filename": "sitemap.xml",
        "Disable": false
      },
      "Type": "shortcodes",
      "Weight": 0
    },
    "MarkupProvider": 0,
    "ContentProvider": 0
  },
  "params": null,
  "style": "initial",
  "template": "debug",
  "title": "C#"
}