From f49368aa503cc22e7bf54dac934a7ffca797c208 Mon Sep 17 00:00:00 2001 From: FarseaSH Date: Thu, 5 Aug 2021 17:42:48 +0800 Subject: [PATCH] fix the problem wrong url for secondary path location --- layouts/index.html | 12 ++++++------ layouts/partials/head.html | 2 +- layouts/partials/row.html | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 058ed89..07e2292 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,30 +10,30 @@ {{ define "pagination" }} {{ if .Paginator.HasPrev }}
  • - Previous + Previous
  • {{ else }}
  • - Previous + Previous
  • {{ end }} {{ $current_num := .Paginator.PageNumber }} {{ range (seq 1 .Paginator.TotalPages) }} {{ if (eq $current_num .)}} -
  • {{.}}
  • +
  • {{.}}
  • {{ else }} -
  • {{.}}
  • +
  • {{.}}
  • {{ end }} {{end}} {{ if .Paginator.HasNext }}
  • - Next + Next
  • {{ else }}
  • - Next + Next
  • {{ end }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2ea2ee3..1da333a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,7 +29,7 @@ - + {{ .Site.Params.title }} \ No newline at end of file diff --git a/layouts/partials/row.html b/layouts/partials/row.html index 13999ca..41773b8 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -13,7 +13,8 @@ {{ with .Params.avatar }} {{ else }} - + + {{ end }}
    {{ with .Params.name }}