u-bookmark-of
This commit is contained in:
parent
ea69ed14c2
commit
47c6a1f25f
|
@ -17,7 +17,7 @@
|
|||
{{ end }}
|
||||
{{ .Content }}
|
||||
{{ with .Params.externalUrl }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
<p><a class="u-bookmark-of" href="{{ . }}">{{ . }}</a></p>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "post_tags.html" . }}
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<div class="list-header">
|
||||
{{ if .Title }}
|
||||
{{ if .Params.externalURL }}
|
||||
<a href="{{ .Params.externalURL }}">
|
||||
<a class="u-bookmark-of" href="{{ .Params.externalURL }}">
|
||||
<h2 class="list-title p-name">{{ .Title }}</h2>
|
||||
</a>
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<a class="u-url" href="{{ .RelPermalink }}">
|
||||
<h2 class="list-title p-name">{{ .Title }}</h2>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
Reference in New Issue