Files
pwnforfunandprofit.xyz/hugo.toml
T
2025-11-15 20:55:17 +03:00

238 lines
5.2 KiB
TOML

baseURL = "https://pwnforfunandprofit.xyz"
defaultContentLanguage = "en"
# language code
languageCode = "en"
title = "pwnforfunandprofit"
description = "A blog about pwn for fun and profit"
theme = "DoIt"
keywords = ["reverse engineering", "pwn"]
defaultTheme = "auto"
enablePWA = true
cacheRemoteImages = true
optimizeImages = true
# Change the default theme to be use when building the site with Hugo
[params]
# DoIt theme version
version = "0.4.X"
[params.author]
name = "mockingspectre"
[params.search]
enable = true
# type of search engine ("algolia", "fuse")
type = "fuse"
# max index length of the chunked content
contentLength = 4000
# placeholder of the search bar
placeholder = ""
# DoIt NEW | 0.2.1 max number of results length
maxResultLength = 10
# DoIt NEW | 0.2.3 snippet length of the result
snippetLength = 30
# DoIt NEW | 0.2.1 HTML tag name of the highlight part in results
highlightTag = "em"
# DoIt NEW | 0.2.4 whether to use the absolute URL based on the baseURL in search index
absoluteURL = false
[params.search.fuse]
# DoIt NEW | 0.2.12 https://fusejs.io/api/options.html
isCaseSensitive = false
minMatchCharLength = 2
findAllMatches = false
location = 0
threshold = 0.3
distance = 100
ignoreLocation = false
useExtendedSearch = false
ignoreFieldNorm = false
[params.image]
# cache remote images for better optimisations
cacheRemote = true
# Image resizing and optimisation
optimise = true
[params.home]
# DoIt NEW | 0.2.0 amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
# Gravatar Email for preferred avatar in home page
gravatarEmail = ""
# URL of avatar shown in home page
# Place your avatar file under static or assets directory
# The filepath is relative to the static or assets directory
avatarURL = "/images/avatar.webp"
# URL the avatar links to
avatarLinkURL = ""
# DoIt CHANGED | 0.2.7 title shown in home page (HTML format is supported)
title = ""
# subtitle shown in home page
subtitle = "This is My New Hugo Site"
# whether to use typeit animation for subtitle
typeit = true
# whether to show social links
social = true
# DoIt NEW | 0.2.0 disclaimer (HTML format is supported)
disclaimer = ""
# Home page posts
[params.home.posts]
enable = true
# special amount of posts in each home posts page
paginate = 6
# DoIt DELETED | 0.2.0 replaced with hiddenFromHomePage in params.page
# default behavior when you don't set "hiddenFromHomePage" in front matter
defaultHiddenFromHomePage = false
[menu]
[[menu.main]]
identifier = "posts"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Posts"
url = "/posts/"
# title will be shown when you hover on this menu link
title = ""
weight = 1
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
weight = 2
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
weight = 3
# Markup related configuration in Hugo
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
# false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false
codeFences = true
guessSyntax = true
lineNos = true
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.renderer]
# whether to use HTML tags directly in the document
unsafe = true
# Table Of Contents settings
[markup.tableOfContents]
startLevel = 2
endLevel = 6
[params.analytics]
enable = false
[params.analytics.cloudflare]
token = ""
[params.verification]
google = ""
bing = ""
yandex = ""
pinterest = ""
baidu = ""
so = "" # 360 search
sogou = ""
[params.sponsor]
enable = false
bio = "If you find this post helpful, please consider sponsoring."
link = "https://www.buymeacoffee.com"
[params.footer]
enable = true
# DoIt NEW | 0.2.0 Custom content (HTML format is supported)
custom = ''
# DoIt NEW | 0.2.0 whether to show Hugo and theme info
hugo = false
# DoIt NEW | 0.2.14 Hosted on (HTML format is supported)
# DoIt NEW | 0.2.0 whether to show copyright info
copyright = true
# DoIt NEW | 0.2.0 whether to show the author
author = true
# Site creation time
since = 2025
# The link to your sponsor page
[params.social]
GitHub = "xxxx"
Linkedin = ""
Twitter = "xxxx"
RSS = true
[params.page.comment]
enable = true
[params.page.comment.utterances]
enable = true
# owner/repo
repo = "andwati/pwnforfunandprofit.xyz"
issueTerm = "pathname"
label = ""
lightTheme = "github-light"
darkTheme = "github-dark"
# Options to make output .md files
[mediaTypes]
[mediaTypes."text/plain"]
suffixes = ["md"]
[outputFormats.MarkDown]
mediaType = "text/plain"
isPlainText = true
isHTML = false
[Permalinks]
posts = ":year/:month/:contentbasename"
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
# Options to make hugo output files
[outputs]
# DoIt CHANGED | 0.2.0
home = ["HTML", "RSS", "JSON"]
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
[taxonomies]
author = "authors"
category = "categories"
tag = "tags"
series = "series"