ソースを参照

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

Kirill Kirilenko 8 年 前
コミット
3996b85e05
1 ファイル変更1 行追加1 行削除
  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>