Explorar o código

Fix a741bc6 - missing target for `card_text` link (#79)

Kirill Kirilenko %!s(int64=8) %!d(string=hai) anos
pai
achega
3996b85e05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layouts/partials/widgets/projects.html

+ 1 - 1
layouts/partials/widgets/projects.html

@@ -66,7 +66,7 @@
           </a>
           {{ end }}
           <div class="card-text">
-            <h4><a href="{{ $.Scratch.Get "project_url" }}">{{ .Title }}</a></h4>
+            <h4><a href="{{ $.Scratch.Get "project_url" }}" {{ $.Scratch.Get "target" | safeHTMLAttr }}>{{ .Title }}</a></h4>
             <div class="card-desription">
               {{ with $project.Params.summary }}<p>{{ . | markdownify }}</p>{{ end }}
             </div>