Maybe fix for #156
https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/156
This commit is contained in:
parent
90ee9fd9d5
commit
43279295c1
3 changed files with 3 additions and 10 deletions
|
@ -81,9 +81,6 @@ paginate = 10
|
|||
keywords = "homepage, blog"
|
||||
images = [""]
|
||||
|
||||
# Directory name of your blog content (default is `content/posts`)
|
||||
contentTypeName = "posts"
|
||||
|
||||
# Default theme "light" or "dark"
|
||||
defaultTheme = "dark"
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
baseURL = "https://example.com"
|
||||
title = "Hello Friend NG"
|
||||
|
||||
DefaultContentLanguage = "en"
|
||||
|
||||
languageCode = "en-us"
|
||||
theme = "hello-friend-ng"
|
||||
|
||||
PygmentsCodeFences = true
|
||||
|
@ -47,6 +45,7 @@ disableHugoGeneratorInject = false
|
|||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
series = "series"
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
|
@ -75,9 +74,6 @@ disableHugoGeneratorInject = false
|
|||
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
|
||||
justifyContent = false # Set "text-align: justify" to .content.
|
||||
|
||||
# Directory name of your blog content (default is `content/posts`)
|
||||
contentTypeName = "posts"
|
||||
|
||||
# Default theme "light" or "dark"
|
||||
defaultTheme = "dark"
|
||||
themeColor = "#252627"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" $.Site.Params.contentTypeName) }}
|
||||
{{ $paginator := .Paginate .Data.Pages }}
|
||||
|
||||
<main class="posts">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue