diff options
author | Sal Valverde <x84@sal.sh> | 2018-07-17 04:21:57 +0300 |
---|---|---|
committer | Sal Valverde <x84@sal.sh> | 2018-07-17 04:21:57 +0300 |
commit | d306316bfb5cee920f097d9e4ca2a37b83ccd1b0 (patch) | |
tree | 5080d319ab79b78c24056963d42172588699a51c | |
parent | f369773cde89e77f9f6102423f1c84a82f84da80 (diff) |
pipe description of hero thru markdownify() to format html
-rw-r--r-- | layouts/partials/hero.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index ce4b3a0..925fa9f 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -4,9 +4,10 @@ <h2>{{ .title }}</h2> <span class="byline">{{ .subtitle }}</span> </div> - <p>{{ .description }}</p> + <p>{{ .description | markdownify }}</p> <ul class="actions"> <li><a href="#" class="button">{{ .button_text }}</a></li> </ul> {{end}} </div> + |