added hyperlink in things-i-do and markdown support in description
This commit is contained in:
@@ -9,6 +9,21 @@
|
||||
<div class="do-things-card">
|
||||
<div class="row pb-2 justify-content-center">
|
||||
{{ range .Site.Params.Things }}
|
||||
{{ if .url }}
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<a id="nothing" href={{ .url | default "#" }} class="">
|
||||
<div class="things shadow rounded p-4 my-2 mb-4 card btn-outline-primary">
|
||||
<i class="{{ .logo }} fa-3x" width="3em" height="3em"></i>
|
||||
<div class="p-2 font-weight-bold">
|
||||
{{ .title }}
|
||||
</div>
|
||||
<div class="py-4 things-text">
|
||||
{{ .description }}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{{ else }}
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<div class="things shadow rounded p-4 my-2 mb-4 card btn-outline-primary">
|
||||
<i class="{{ .logo }} fa-3x" width="3em" height="3em"></i>
|
||||
@@ -21,6 +36,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user