Djordje Atlialp 2020-05-15 10:52:28 +02:00
parent 90ee9fd9d5
commit 43279295c1
No known key found for this signature in database
GPG key ID: 50C5BBECF350BB74
3 changed files with 3 additions and 10 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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>