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