Fixes to feedlinks and read more links.
This commit is contained in:
parent
ba7a40e3b0
commit
e4eecc6fcb
2 changed files with 3 additions and 1 deletions
|
|
@ -5,6 +5,6 @@
|
|||
</header>
|
||||
<div>
|
||||
{{ .Summary }}
|
||||
<p class="read-more"><a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a></p>
|
||||
</div>
|
||||
<a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a>
|
||||
</article>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
{{ $list := .AlternativeOutputFormats -}}
|
||||
{{ $length := (len $list) -}}
|
||||
{{ if $list -}}
|
||||
<p>Subscribe{{ with .Section }} to section {{ . }}{{ end }}: {{ range $index, $element := $list -}}
|
||||
<a href="{{ .Permalink | safeURL }}">{{ .Name }}</a>{{ if ne (add $index 1) $length }} | {{ end }}
|
||||
{{- end -}}
|
||||
</p>
|
||||
{{ end -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue