From b389d49c66a852fc3ccf88805da95f972212b891 Mon Sep 17 00:00:00 2001 From: BioArchLinuxBot Date: Thu, 12 May 2022 11:53:10 +0000 Subject: [PATCH] fix not sub-domain issue --- layouts/partials/article_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/article_list.html b/layouts/partials/article_list.html index a9e4175..a32af8f 100644 --- a/layouts/partials/article_list.html +++ b/layouts/partials/article_list.html @@ -5,7 +5,7 @@ {{ range $paginator.Pages }} {{ $s := path.Dir (.Permalink | relURL) }} - {{ $t := index (split $s "/") 5 }} + {{ $t := index (split $s "/") 4 }} {{ if $t }}