mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-15 19:47:57 +01:00
Made it so cards do not need to be links
This commit is contained in:
parent
e81c15db62
commit
79e99d5f3b
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue