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