mirror of
https://github.com/TommyTran732/tommytran.io.git
synced 2025-10-11 21:15:34 +02:00
Initial file upload
This commit is contained in:
69
config/_default/hugo.toml
Normal file
69
config/_default/hugo.toml
Normal file
@@ -0,0 +1,69 @@
|
||||
# -- Site Configuration --
|
||||
# Refer to the theme docs for more details about each of these parameters.
|
||||
# https://blowfish.page/docs/getting-started/
|
||||
|
||||
theme = "blowfish" # UNCOMMENT THIS LINE
|
||||
# baseURL = "https://tommytran.io/"
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
|
||||
|
||||
enableRobotsTXT = true
|
||||
summaryLength = 0
|
||||
|
||||
buildDrafts = false
|
||||
buildFuture = false
|
||||
|
||||
enableEmoji = true
|
||||
|
||||
# googleAnalytics = "G-XXXXXXXXX"
|
||||
|
||||
[pagination]
|
||||
pagerSize = 100
|
||||
|
||||
[imaging]
|
||||
anchor = 'Center'
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
author = "authors"
|
||||
series = "series"
|
||||
|
||||
[sitemap]
|
||||
changefreq = 'daily'
|
||||
filename = 'sitemap.xml'
|
||||
priority = 0.5
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[related]
|
||||
threshold = 0
|
||||
toLower = false
|
||||
|
||||
[[related.indices]]
|
||||
name = "tags"
|
||||
weight = 100
|
||||
|
||||
[[related.indices]]
|
||||
name = "categories"
|
||||
weight = 100
|
||||
|
||||
[[related.indices]]
|
||||
name = "series"
|
||||
weight = 50
|
||||
|
||||
[[related.indices]]
|
||||
name = "authors"
|
||||
weight = 20
|
||||
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
|
||||
[[related.indices]]
|
||||
applyFilter = false
|
||||
name = 'fragmentrefs'
|
||||
type = 'fragments'
|
||||
weight = 10
|
42
config/_default/languages.en.toml
Normal file
42
config/_default/languages.en.toml
Normal file
@@ -0,0 +1,42 @@
|
||||
disabled = false
|
||||
languageCode = "en"
|
||||
languageName = "English"
|
||||
weight = 1
|
||||
title = "Tommy's Space"
|
||||
|
||||
[params]
|
||||
displayName = "EN"
|
||||
isoCode = "en"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
description = "Tommy's personal website"
|
||||
|
||||
[[params.author.links]]
|
||||
github = "https://github.com/TommyTran732"
|
||||
|
||||
[[params.author.links]]
|
||||
gitlab = "https://git.metropolis.nexus/Tommy"
|
||||
|
||||
[[params.author.links]]
|
||||
matrix = "https://matrix.to/#/@tommy:metropolis.nexus"
|
||||
|
||||
[[params.author.links]]
|
||||
telegram = "https://t.me/tommytran732"
|
||||
|
||||
[[params.author.links]]
|
||||
x-twitter = "https://x.com/TommyTran732"
|
||||
|
||||
[[params.author.links]]
|
||||
linkedin = "https://www.linkedin.com/in/tommytran732"
|
||||
|
||||
[[params.author.links]]
|
||||
email = "mailto:contact@tommytran.io"
|
||||
|
||||
[[params.author.links]]
|
||||
pgpkey = "/tommy.asc"
|
||||
|
||||
["params.author"]
|
||||
name = "Tommy Tran"
|
||||
bio = "System Administrator and Technical Writer"
|
||||
image = "avatar.png"
|
||||
headline = "System Administrator and Technical Writer"
|
20
config/_default/markup.toml
Normal file
20
config/_default/markup.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# -- Markup --
|
||||
# These settings are required for the theme to function.
|
||||
|
||||
[goldmark]
|
||||
[goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[goldmark.extensions]
|
||||
[goldmark.extensions.passthrough]
|
||||
enable = true
|
||||
[goldmark.extensions.passthrough.delimiters]
|
||||
block = [['\[', '\]'], ['$$', '$$']]
|
||||
inline = [['\(', '\)']]
|
||||
|
||||
[highlight]
|
||||
noClasses = false
|
||||
|
||||
[tableOfContents]
|
||||
startLevel = 2
|
||||
endLevel = 4
|
29
config/_default/menus.en.toml
Normal file
29
config/_default/menus.en.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[[main]]
|
||||
none = "none"
|
||||
|
||||
[[main]]
|
||||
name = "About"
|
||||
pageRef = "posts/about"
|
||||
identifier = "zGE2YAk94f"
|
||||
weight = 1
|
||||
|
||||
[[main]]
|
||||
name = "Blog"
|
||||
url = "https://privsec.dev"
|
||||
identifier = "ZygO3vLON0"
|
||||
weight = 2
|
||||
|
||||
[[main]]
|
||||
name = "Projects"
|
||||
pageRef = "/posts/projects"
|
||||
identifier = "uePnrAHpNc"
|
||||
weight = 3
|
||||
|
||||
[[main]]
|
||||
name = "Contact"
|
||||
pageRef = "/posts/contact"
|
||||
identifier = "lqA5Rh0hE9"
|
||||
weight = 4
|
||||
|
||||
[[footer]]
|
||||
none = "none"
|
0
config/_default/module.toml
Normal file
0
config/_default/module.toml
Normal file
109
config/_default/params.toml
Normal file
109
config/_default/params.toml
Normal file
@@ -0,0 +1,109 @@
|
||||
colorScheme = "blowfish"
|
||||
defaultAppearance = "dark"
|
||||
autoSwitchAppearance = false
|
||||
enableA11y = false
|
||||
enableSearch = true
|
||||
enableCodeCopy = false
|
||||
replyByEmail = false
|
||||
disableImageOptimization = false
|
||||
disableImageOptimizationMD = false
|
||||
disableTextInHeader = false
|
||||
fingerprintAlgorithm = "sha512"
|
||||
giteaDefaultServer = "https://git.fsfe.org"
|
||||
forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||
firebase = { }
|
||||
fathomAnalytics = { }
|
||||
umamiAnalytics = { }
|
||||
selineAnalytics = { }
|
||||
buymeacoffee = { }
|
||||
verification = { }
|
||||
rssnext = { }
|
||||
advertisement = { }
|
||||
defaultBackgroundImage = "background.jpg"
|
||||
|
||||
[header]
|
||||
layout = "fixed"
|
||||
|
||||
[footer]
|
||||
showMenu = true
|
||||
showCopyright = true
|
||||
showThemeAttribution = true
|
||||
showAppearanceSwitcher = false
|
||||
showScrollToTop = true
|
||||
|
||||
[homepage]
|
||||
layout = "background"
|
||||
showRecent = true
|
||||
showRecentItems = "3"
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true
|
||||
disableHeroImageFilter = false
|
||||
|
||||
[article]
|
||||
showDate = false
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showDateOnlyInArticle = false
|
||||
showDateUpdated = false
|
||||
showAuthor = true
|
||||
showHero = false
|
||||
layoutBackgroundBlur = true
|
||||
layoutBackgroundHeaderSpace = true
|
||||
showBreadcrumbs = false
|
||||
showDraftLabel = true
|
||||
showEdit = false
|
||||
editAppendPath = true
|
||||
seriesOpened = false
|
||||
showHeadingAnchors = true
|
||||
showPagination = true
|
||||
invertPagination = false
|
||||
showReadingTime = false
|
||||
showTableOfContents = true
|
||||
showTaxonomies = false
|
||||
showCategoryOnly = false
|
||||
showAuthorsBadges = false
|
||||
showWordCount = false
|
||||
showZenMode = false
|
||||
heroStyle = "background"
|
||||
showRelatedContent = false
|
||||
|
||||
[list]
|
||||
showHero = false
|
||||
layoutBackgroundBlur = true
|
||||
layoutBackgroundHeaderSpace = true
|
||||
showBreadcrumbs = false
|
||||
showSummary = false
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showTableOfContents = false
|
||||
showCards = false
|
||||
orderByWeight = false
|
||||
groupByYear = true
|
||||
cardView = false
|
||||
cardViewScreenWidth = false
|
||||
constrainItemsWidth = false
|
||||
|
||||
[sitemap]
|
||||
excludedKinds = [ "taxonomy", "term" ]
|
||||
|
||||
[taxonomy]
|
||||
showTermCount = true
|
||||
showHero = false
|
||||
showBreadcrumbs = false
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showTableOfContents = false
|
||||
cardView = false
|
||||
|
||||
[term]
|
||||
showHero = false
|
||||
showBreadcrumbs = false
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showTableOfContents = true
|
||||
groupByYear = false
|
||||
cardView = false
|
||||
cardViewScreenWidth = false
|
Reference in New Issue
Block a user