Compare commits
No commits in common. "25e9057dd8b1ddc571f3b26d80b72e86bbcbaa72" and "a4bff7623dc7c4b05b59714d7b919857a876422c" have entirely different histories.
25e9057dd8
...
a4bff7623d
|
@ -149,15 +149,6 @@ a {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
transition: color 0.25s;
|
transition: color 0.25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.external-link {
|
|
||||||
.feather {
|
|
||||||
fill: none;
|
|
||||||
margin-left: 0.25rem;
|
|
||||||
position: relative;
|
|
||||||
top: 0.125em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{{- $absoluteDest := absLangURL .Destination -}}
|
|
||||||
{{- $siteRootUrl := absLangURL "" -}}
|
|
||||||
{{- $isExternal := not (hasPrefix $absoluteDest $siteRootUrl) -}}
|
|
||||||
<a href="{{ .Destination | safeURL }}"
|
|
||||||
{{- with .Title }} title="{{ . }}"{{ end -}}
|
|
||||||
{{- if $isExternal -}}
|
|
||||||
class="external-link" target="_blank" rel="noopener noreferrer"
|
|
||||||
{{- end -}}
|
|
||||||
>
|
|
||||||
{{- with .Text | safeHTML }}{{ . }}{{ end -}}
|
|
||||||
{{- if $isExternal -}}{{- partial "icon.html" "external-link" -}}{{- end -}}
|
|
||||||
</a>
|
|
||||||
{{- /* chomp trailing newline */ -}}
|
|
|
@ -14,5 +14,5 @@
|
||||||
{{ partial "seriesstatus.html" .page.Params.status }}
|
{{ partial "seriesstatus.html" .page.Params.status }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p class="post-preview">{{ .page.Summary }} {{ if .page.Truncated }}...{{ end }}</p>
|
<p class="post-preview">{{ .page.Summary }} {{ if .page.Truncated }}. . .{{ end }}</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user