dairy | new theme
This commit is contained in:
parent
5ae63a1d7d
commit
6c3a14b311
65 changed files with 5028 additions and 0 deletions
55
themes/diary/exampleSite/config.toml
Normal file
55
themes/diary/exampleSite/config.toml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
baseURL = "http://example.org/"
|
||||
DefaultContentLanguage = "en" # Theme's display language, supports: en, fr, zh, zh-hant
|
||||
languageCode = "en-us"
|
||||
title = "A Hugo Site"
|
||||
copyright = "This is a customized copyright."
|
||||
theme = "diary"
|
||||
# googleAnalytics = "UA-123-45"
|
||||
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
codeFences = true
|
||||
guessSyntax = false
|
||||
hl_Lines = ""
|
||||
lineNoStart = 1
|
||||
lineNos = false
|
||||
lineNumbersInTable = true
|
||||
noClasses = true
|
||||
style = "perldoc"
|
||||
tabWidth = 4
|
||||
|
||||
[params]
|
||||
subtitle = "Themed by Diary."
|
||||
enableGitalk = true
|
||||
|
||||
# Twitter Card and Open Graph settings
|
||||
enableOpenGraph = true
|
||||
enableTwitterCards = true
|
||||
title = "My Blog" # will set 'og:site_name'
|
||||
description = "My HomePage Description" # will set 'og:description'
|
||||
|
||||
[params.gitalk]
|
||||
owner = "user"
|
||||
repo = "repo name"
|
||||
client_id = "your client id"
|
||||
client_secret = "your client secret"
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
|
||||
[[menu.main]]
|
||||
url = "/categories"
|
||||
name = "Categories"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
url = "/tags"
|
||||
name = "Tags"
|
||||
weight = 3
|
||||
[[menu.main]]
|
||||
url = "/posts"
|
||||
name = "Archive"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
url = "/index.xml"
|
||||
name = "RSS Feed"
|
||||
weight = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue