mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 08:15:37 +00:00
Add external link icon to contents-list.html
This commit is contained in:
1 parent
91ff6ac361
commit
582045d642
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
||||
<a {{with .Params.sitelink }}href="{{.}} "target="_blank"{{else}}href="{{.Permalink}}"{{end}}>
|
||||
<article class="contents-list {{$kind}}">
|
||||
<header>
|
||||
<h3 class="list-icon {{.Section}}">{{- partial "list-icon.html" . -}}{{with .LinkTitle}}{{. | markdownify}}{{else}}{{.Title | markdownify}}{{end}}{{with .Params.sitelink }} <i class="fa fa-external-link" aria-hidden="true"></i>{{end}}</h3>
|
||||
<h3 class="list-icon {{.Section}}">{{- partial "list-icon.html" . -}}{{with .LinkTitle}}{{. | markdownify}}{{else}}{{.Title | markdownify}}{{end}}{{with .Params.sitelink }} <i class="fa fa-external-link" aria-hidden="true"></i>{{end}}</h3>
|
||||
</header>
|
||||
<p>{{.Description | markdownify }}</p>
|
||||
</article>
|
||||
|
||||
Reference in new issue
Block a user