diff --git a/config/_default/_languages.toml b/config/_default/_languages.toml deleted file mode 100644 index e022e8f..0000000 --- a/config/_default/_languages.toml +++ /dev/null @@ -1,6 +0,0 @@ -# Rename this file to languages.toml to enable multilingual support -[fr] -languageName = "Français" -languagedirection = "ltr" -title = "Florian RICHER" -weight = 1 diff --git a/config/_default/_languages.yml b/config/_default/_languages.yml new file mode 100644 index 0000000..e9e824b --- /dev/null +++ b/config/_default/_languages.yml @@ -0,0 +1,5 @@ +fr: + languageName: "Français" + languagedirection: "ltr" + title: "Florian RICHER" + weight: 1 diff --git a/config/_default/config.toml b/config/_default/config.toml deleted file mode 100644 index 2840747..0000000 --- a/config/_default/config.toml +++ /dev/null @@ -1,18 +0,0 @@ -# Change baseurl before deploy -baseurl = "https://demo.stack.jimmycai.com" -languageCode = "fr-fr" -title = "Florian RICHER" - -# 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 = "fr" - -# 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 \ No newline at end of file diff --git a/config/_default/config.yml b/config/_default/config.yml new file mode 100644 index 0000000..7506c60 --- /dev/null +++ b/config/_default/config.yml @@ -0,0 +1,14 @@ +baseurl: "https://mrdev023.fr" +languageCode: "fr" +title: "Florian RICHER" + +# 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: "fr" + +# 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 + +pagination: + pagerSize: 5 \ No newline at end of file diff --git a/config/_default/markup.toml b/config/_default/markup.toml deleted file mode 100644 index 98928e0..0000000 --- a/config/_default/markup.toml +++ /dev/null @@ -1,26 +0,0 @@ -# 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 \ No newline at end of file diff --git a/config/_default/markup.yml b/config/_default/markup.yml new file mode 100644 index 0000000..b9167af --- /dev/null +++ b/config/_default/markup.yml @@ -0,0 +1,30 @@ +goldmark: + renderer: + unsafe: true + extensions: + passthrough: + enable: true + 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 \ No newline at end of file diff --git a/config/_default/menu.toml b/config/_default/menu.toml deleted file mode 100644 index 29a6496..0000000 --- a/config/_default/menu.toml +++ /dev/null @@ -1,32 +0,0 @@ -# Configure main menu and social menu -#[[main]] -#identifier = "home" -#name = "Home" -#url = "/" -#[main.params] -#icon = "home" -#newtab = true - -[[social]] -identifier = "github" -name = "GitHub" -url = "https://github.com/mrdev023" - -[social.params] -icon = "brand-github" - -[[social]] -identifier = "linkedin" -name = "Linkedin" -url = "https://www.linkedin.com/in/florian-richer-80960b129/" - -[social.params] -icon = "linkedin" - -[[social]] -identifier = "email" -name = "Email" -url = "mailto:florian.richer@protonmail.com" - -[social.params] -icon = "email" diff --git a/config/_default/menu.yml b/config/_default/menu.yml new file mode 100644 index 0000000..31228ef --- /dev/null +++ b/config/_default/menu.yml @@ -0,0 +1,18 @@ +social: + - identifier: github + name: GitHub + url: https://github.com/mrdev023 + params: + icon: brand-github + + - identifier: linkedin + name: Linkedin + url: https://www.linkedin.com/in/florian-richer-80960b129/ + params: + icon: linkedin + + - identifier: email + name: Email + url: mailto:florian.richer@protonmail.com + params: + icon: email \ No newline at end of file diff --git a/config/_default/module.toml b/config/_default/module.toml deleted file mode 100644 index f13256c..0000000 --- a/config/_default/module.toml +++ /dev/null @@ -1,2 +0,0 @@ -[[imports]] -path = "github.com/CaiJimmy/hugo-theme-stack/v3" diff --git a/config/_default/module.yml b/config/_default/module.yml new file mode 100644 index 0000000..9f094af --- /dev/null +++ b/config/_default/module.yml @@ -0,0 +1,2 @@ +imports: + - path: github.com/CaiJimmy/hugo-theme-stack/v3 \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml deleted file mode 100644 index a5f8020..0000000 --- a/config/_default/params.toml +++ /dev/null @@ -1,150 +0,0 @@ -# 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 = "/favicon.png" - -[footer] -since = 2020 -customText = "" - -[dateFormat] -published = "Jan 02, 2006" -lastUpdated = "Jan 02, 2006 15:04 MST" - -[sidebar] -emoji = "🍥" -subtitle = "Développeur d´application Web et Mobile." - -[sidebar.avatar] -enabled = true -local = true -src = "img/avatar.webp" - -[article] -headingAnchor = false -math = false -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 = true -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 = "" diff --git a/config/_default/params.yml b/config/_default/params.yml new file mode 100644 index 0000000..699b2ab --- /dev/null +++ b/config/_default/params.yml @@ -0,0 +1,56 @@ +mainSections: + - post + +rssFullContent: true +favicon: /favicon.png + +article: + headingAnchor: false + math: false + readingTime: true + + license: + enabled: true + default: Licensed under CC BY-NC-SA 4.0 + +sidebar: + emoji: "🍥" + subtitle: Développeur d´application Web et Mobile. + + avatar: + enabled: true + local: true + src: img/avatar.webp + +imageProcessing: + content: + enabled: true + cover: + enabled: true + +colorScheme: + toggle: true + default: auto + +dateFormat: + published: Jan 02, 2006 + lastUpdated: Jan 02, 2006 15:04 MST + +widgets: + homepage: + - type: search + + - type: archives + limit: 5 + + - type: categories + limit: 10 + + - type: tag-cloud + limit: 10 + + page: + - type: toc + +footer: + since: 2024 \ No newline at end of file diff --git a/config/_default/permalinks.toml b/config/_default/permalinks.toml deleted file mode 100644 index 2499a7e..0000000 --- a/config/_default/permalinks.toml +++ /dev/null @@ -1,3 +0,0 @@ -# Permalinks format of each content section -post = "/p/:slug/" -page = "/:slug/" \ No newline at end of file diff --git a/config/_default/permalinks.yml b/config/_default/permalinks.yml new file mode 100644 index 0000000..5035442 --- /dev/null +++ b/config/_default/permalinks.yml @@ -0,0 +1,2 @@ +post: "/p/:slug/" +page: "/:slug/" \ No newline at end of file diff --git a/config/_default/related.toml b/config/_default/related.toml deleted file mode 100644 index ae9f69a..0000000 --- a/config/_default/related.toml +++ /dev/null @@ -1,12 +0,0 @@ -# Related contents configuration -includeNewer = true -threshold = 60 -toLower = false - -[[indices]] -name = "tags" -weight = 100 - -[[indices]] -name = "categories" -weight = 200 diff --git a/config/_default/related.yml b/config/_default/related.yml new file mode 100644 index 0000000..da761b8 --- /dev/null +++ b/config/_default/related.yml @@ -0,0 +1,10 @@ +includeNewer: true +threshold: 60 +toLower: false + +indices: + - name: tags + weight: 100 + + - name: categories + weight: 200 \ No newline at end of file