Add RSS link to social links in the header
This commit is contained in:
parent
24272e7a3b
commit
5c65dade97
9 changed files with 172 additions and 8 deletions
|
@ -1,7 +1,9 @@
|
|||
|
||||
{{ define "main" }}
|
||||
{{ if .Title }}
|
||||
<header>
|
||||
<h2 class="main-title">{{ .Title }}</h2>
|
||||
</header>
|
||||
{{ end }}
|
||||
|
||||
{{ $pages := union .RegularPages .Sections }}
|
||||
|
@ -11,7 +13,6 @@
|
|||
|
||||
{{ .Content }}
|
||||
|
||||
<!-- Articles -->
|
||||
<ul class="post-list">
|
||||
{{ $paginator := .Paginate $pages }}
|
||||
{{ range $index, $page := $paginator.Pages }}
|
||||
|
@ -30,7 +31,6 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<!-- Main Nav -->
|
||||
{{ if gt $paginator.TotalPages 1 }}
|
||||
<nav class="main-nav">
|
||||
{{ if $paginator.HasPrev }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue