Made it so cards do not need to be links

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-15 12:55:32 -04:00
parent e81c15db62
commit 79e99d5f3b
No known key found for this signature in database
GPG key ID: AD914585C9406B6A
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@
upstream here without needing to worry about conflicts due to content.
* Fixed links at the bottom of posts that direct people to the gitlab page for
the post.
* Card shortcodes no longer need to be linkable. By leaving the url argument as
an empty string it will not render as a clickable link.
## 1.1.0

View file

@ -7,7 +7,7 @@ inner: description
-->
<div class="col">
<a class="card" href="{{ .Get 1 }}">
<a class="card" {{ if .Get 1 }}href="{{ .Get 1 }}"{{ end }}>
<div class="card__body">
<h3 style="margin:0;text-transform:capitalize">{{ .Get 0 }}</h3>
<small>{{ .Inner }}</small>