1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2025-08-23 12:12:20 +00:00

Changed hugo theme

This commit is contained in:
J. Fernando Sánchez
2025-02-14 14:02:48 +01:00
parent 875f13472d
commit cff78c7e76
165 changed files with 558 additions and 20352 deletions

View File

@@ -0,0 +1,6 @@
# Rename this file to languages.toml to enable multilingual support
[en]
languageName = "English"
languagedirection = "ltr"
title = "Example Site"
weight = 1

View File

@@ -0,0 +1,18 @@
# Change baseurl before deploy
baseurl = "https://balkian.com"
languageCode = "en-us"
title = "J. Fernando Sánchez"
# Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
defaultContentLanguage = "en"
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage = false
# Change it to your Disqus shortname before using
#disqusShortname = "hugo-theme-stack"
[pagination]
pagerSize = 5

View File

@@ -0,0 +1,26 @@
# Markdown renderer configuration
[goldmark.renderer]
unsafe = true
[goldmark.extensions.passthrough]
enable = true
# LaTeX math support
# https://gohugo.io/content-management/mathematics/
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[tableOfContents]
endLevel = 4
ordered = true
startLevel = 2
[highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
tabWidth = 4

60
config/_default/menu.toml Normal file
View File

@@ -0,0 +1,60 @@
# Configure main menu and social menu
#[[main]]
#identifier = "home"
#name = "Home"
#url = "/"
#[main.params]
#icon = "home"
#newtab = true
#[[main]]
#name = "Cheatsheets"
#identifier = "cheatsheets"
#url = "/cheatsheet/"
#
#[main.params]
#icon = "hash"
#weight = 3
#
#[[main]]
#name = "Projects"
#identifier = "projects"
#url = "/projects/"
#
#[main.params]
#icon = "clock"
[[social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/CaiJimmy/hugo-theme-stack"
weight = 1
[social.params]
icon = "brand-github"
#[[social]]
#identifier = "twitter"
#name = "Twitter"
#url = "https://twitter.com"
#
#[social.params]
#icon = "brand-twitter"
[[social]]
identifier = "gitea"
name = "gitea"
url = "https://git.sinpapel.es/balkian"
weight = 2
[social.params]
icon = "gitea"
[[social]]
identifier = "scholar"
name = "Google scholar"
url = "https://scholar.google.com/citations?user=JLNusZ8AAAAJ&hl=en"
weight = 3
[social.params]
icon = "scholar"

View File

@@ -0,0 +1,2 @@
[[imports]]
path = "github.com/CaiJimmy/hugo-theme-stack/v3"

152
config/_default/params.toml Normal file
View File

@@ -0,0 +1,152 @@
# Pages placed under these sections will be shown on homepage and archive page.
mainSections = ["post"]
# Output page's full content in RSS.
rssFullContent = true
favicon = "img/favicon.ico"
[footer]
since = 2012
customText = ""
[dateFormat]
published = "02 Jan 2006"
lastUpdated = "02 Jan 2006"
[sidebar]
#emoji = "🧠"
emoji = "💭"
subtitle = "My ramblings and reflections"
[sidebar.avatar]
enabled = true
local = true
src = "img/me.png"
[article]
headingAnchor = false
math = true
toc = true
readingTime = true
[article.license]
enabled = true
default = "Licensed under CC BY-NC-SA 4.0"
## Widgets
[[widgets.homepage]]
type = "search"
[[widgets.homepage]]
type = "archives"
[widgets.homepage.params]
limit = 5
[[widgets.homepage]]
type = "categories"
[widgets.homepage.params]
limit = 10
[[widgets.homepage]]
type = "tag-cloud"
[widgets.homepage.params]
limit = 10
[[widgets.page]]
type = "toc"
[opengraph.twitter]
site = ""
card = "summary_large_image"
[defaultImage.opengraph]
enabled = false
local = false
src = ""
[colorScheme]
toggle = true
default = "auto"
[imageProcessing.cover]
enabled = true
[imageProcessing.content]
enabled = true
## Comments
[comments]
enabled = false
provider = "disqus"
[comments.disqusjs]
shortname = ""
apiUrl = ""
apiKey = ""
admin = ""
adminLabel = ""
[comments.utterances]
repo = ""
issueTerm = "pathname"
label = ""
[comments.remark42]
host = ""
site = ""
locale = ""
[comments.vssue]
platform = ""
owner = ""
repo = ""
clientId = ""
clientSecret = ""
autoCreateIssue = false
[comments.waline]
serverURL = ""
lang = ""
visitor = ""
avatar = ""
emoji = ["https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo"]
requiredMeta = ["name", "email", "url"]
placeholder = ""
[comments.waline.locale]
admin = "Admin"
[comments.twikoo]
envId = ""
region = ""
path = ""
lang = ""
[comments.cactus]
defaultHomeserverUrl = "https://matrix.cactus.chat:8448"
serverName = "cactus.chat"
siteName = ""
[comments.giscus]
repo = ""
repoID = ""
category = ""
categoryID = ""
mapping = ""
lightTheme = ""
darkTheme = ""
reactionsEnabled = 1
emitMetadata = 0
[comments.gitalk]
owner = ""
admin = ""
repo = ""
clientID = ""
clientSecret = ""
[comments.cusdis]
host = ""
id = ""

View File

@@ -0,0 +1,3 @@
# Permalinks format of each content section
post = "/p/:slug/"
page = "/:slug/"

View File

@@ -0,0 +1,12 @@
# Related contents configuration
includeNewer = true
threshold = 60
toLower = false
[[indices]]
name = "tags"
weight = 100
[[indices]]
name = "categories"
weight = 200