fix exampleSite to work out of the box with theme

This commit is contained in:
2021-02-16 19:30:19 +01:00
parent 87ecc7ae65
commit 631df4697d
2 changed files with 40 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
baseURL = "http://www.example.com"
title = "johndoe"
theme = "hugo-coder"
theme = "hugo-coder-timeline"
languageCode = "en"
defaultContentLanguage = "en"
paginate = 20
@@ -13,35 +13,53 @@ enableEmoji = true
[params]
author = "John Doe"
# license = '<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA-4.0</a>'
description = "John Doe's personal website"
keywords = "blog,developer,personal"
info = ["Full Stack DevOps", "Magician"]
avatarURL = "images/avatar.jpg"
#gravatar = "john.doe@example.com"
footerContent = "Enter a text here."
dateFormat = "January 2, 2006"
hideFooter = false
hideCredits = false
hideCopyright = false
since = 2019
# Git Commit in Footer, uncomment the line below to enable it
# Git Commit in Footer, uncomment the line below to enable it.
commit = "https://github.com/luizdepra/hugo-coder/tree/"
# Right To Left, shift content direction for languagues such as Arabic
rtl = false
# Specify light/dark colorscheme
# Supported values:
# "auto" (use preference set by browser)
# "dark" (dark background, light foreground)
# "light" (light background, dark foreground) (default)
colorScheme = "auto"
# Hide the toggle button, along with the associated vertical divider
hideColorSchemeToggle = false
# Series see also post count
maxSeeAlsoItems = 5
# Enable Twemoji
enableTwemoji = true
# Custom CSS
customCSS = []
# Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
# Custom SCSS
customSCSS = []
# Custom JS
customJS = []
timelineTitle="My Posts" # General timeline title
timelineType="timeline" # Which type of posts to take (here everything from folder timeline/)
# If you want to use fathom(https://usefathom.com) for analytics, add this section
# [params.fathomAnalytics]
# siteID = "ABCDE"