jlelse
/
Indieroad
Archived
1
Fork 0

u-bookmark-of

This commit is contained in:
Jan-Lukas Else 2020-01-01 20:26:46 +01:00
parent ea69ed14c2
commit 47c6a1f25f
2 changed files with 3 additions and 3 deletions

View File

@ -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" . }}

View File

@ -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 }}