Browse Source

style: normalize syntax

Josh Habdas 10 months ago
parent
commit
aed04d1fdb
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/shortcodes/hackcss-card.html

+ 2
- 2
layouts/shortcodes/hackcss-card.html View File

@@ -1,6 +1,6 @@
1 1
 <!-- {{/*
2 2
 Basic usage:
3
-{{< hackcss-card header="title" text="Lorem ipsum dolor sit amet">}}
3
+{{< hackcss-card header="title" text="Lorem ipsum dolor sit amet" />}}
4 4
 {{% hackcss-card header="Bacon Ipsum" %}}
5 5
   _Flank **pancetta** beef tri-tip frankfurter chuck._
6 6
 {{% /hackcss-card %}}
@@ -13,4 +13,4 @@ Advanced usage:
13 13
 */}} -->
14 14
 {{ $header := .Get "header" }}
15 15
 {{ $body := .Get "text" | default .Inner }}
16
-{{ partial "components/card.html" (dict "header" $header "body" $body)}}
16
+{{ partial "components/card.html" (dict "header" $header "body" $body) }}

Loading…
Cancel
Save