Add exampleSite
This commit is contained in:
parent
3fb95109d6
commit
a7dceab572
11 changed files with 3764 additions and 0 deletions
118
exampleSite/config.toml
Normal file
118
exampleSite/config.toml
Normal file
|
@ -0,0 +1,118 @@
|
|||
baseURL = "https://example.com"
|
||||
title = "Hello Friend NG"
|
||||
|
||||
DefaultContentLanguage = "en"
|
||||
|
||||
theme = "hello-friend-ng"
|
||||
|
||||
pygmentsCodefences = true
|
||||
pygmentsUseClasses = true
|
||||
rssLimit = 10 # Maximum number of items in the RSS feed.
|
||||
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
|
||||
|
||||
# googleAnalytics = ""
|
||||
# disqusShortname = ""
|
||||
|
||||
archetypeDir = "archetypes"
|
||||
contentDir = "content"
|
||||
dataDir = "data"
|
||||
layoutDir = "layouts"
|
||||
publishDir = "public"
|
||||
|
||||
buildDrafts = false
|
||||
buildFuture = false
|
||||
buildExpored = false
|
||||
canonifyURLs = true
|
||||
|
||||
enableRobotsTXT = true
|
||||
enableGitInfo = false
|
||||
enableEmoji = true
|
||||
enableMissingTranslationPlaceholders = false
|
||||
disableRSS = false
|
||||
disableSitemap = false
|
||||
disable404 = false
|
||||
disableHugoGeneratorInject = false
|
||||
|
||||
[permalinks]
|
||||
posts = "/posts/:year/:month/:title/"
|
||||
|
||||
[author]
|
||||
name = "Jane Doe"
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = ""
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-01-02"
|
||||
dateformNumTime = "2006-01-02 15:04 -0700"
|
||||
|
||||
# Metadata mostly used in document's head
|
||||
description = "Nice theme for homepages and blogs"
|
||||
keywords = ""
|
||||
images = [""]
|
||||
|
||||
homeSubtitle = "Hello Friend NG"
|
||||
|
||||
# Prefix of link to the git commit detail page. GitInfo must be enabled.
|
||||
# gitUrl = ""
|
||||
|
||||
# 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"
|
||||
|
||||
[params.logo]
|
||||
logoText = "$ cd /home/"
|
||||
logoHomeLink = "/"
|
||||
|
||||
# Social icons
|
||||
[[params.social]]
|
||||
name = "twitter"
|
||||
url = "https://twitter.com/"
|
||||
|
||||
[[params.social]]
|
||||
name = "email"
|
||||
url = "mailto:nobody@example.com"
|
||||
|
||||
[[params.social]]
|
||||
name = "github"
|
||||
url = "https://github.com/"
|
||||
|
||||
[[params.social]]
|
||||
name = "linkedin"
|
||||
url = "https://www.linkedin.com/"
|
||||
|
||||
[languages]
|
||||
[languages.en]
|
||||
subtitle = "Hello Friend NG Theme"
|
||||
weight = 1
|
||||
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
|
||||
|
||||
[languages.fr]
|
||||
subtitle = "Hello Friend NG Theme"
|
||||
weight = 2
|
||||
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "about/"
|
||||
[[menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "posts/"
|
||||
|
||||
[[menu.footer]]
|
||||
identifier = "about-in-footer"
|
||||
name = "About in Footer"
|
||||
url = "about-in-footer/"
|
Loading…
Add table
Add a link
Reference in a new issue