Procházet zdrojové kódy

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

Kirill Kirilenko před 8 roky
rodič
revize
3996b85e05
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>