diff options
Diffstat (limited to 'themes/blowfish/exampleSite/config')
11 files changed, 680 insertions, 0 deletions
diff --git a/themes/blowfish/exampleSite/config/_default/hugo.toml b/themes/blowfish/exampleSite/config/_default/hugo.toml new file mode 100644 index 0000000..d058b6d --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/hugo.toml @@ -0,0 +1,68 @@ +# -- Site Configuration -- +# Refer to the theme docs for more details about each of these parameters. +# https://blowfish.page/docs/getting-started/ + +theme = "blowfish" +baseURL = "https://localhost:1313" +defaultContentLanguage = "en" +disableLanguages = [] #to allow translation work requiring shipping to production + +# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles + +enableRobotsTXT = true +paginate = 100 +summaryLength = 30 +hasCJKLanguage = true + +buildDrafts = false +buildFuture = false + + +googleAnalytics = "G-PEDMYR1V0K" + +[imaging] + anchor = 'Center' + +[taxonomies] + tag = "tags" + category = "categories" + author = "authors" + series = "series" + +[sitemap] + changefreq = 'always' + 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 diff --git a/themes/blowfish/exampleSite/config/_default/languages.en.toml b/themes/blowfish/exampleSite/config/_default/languages.en.toml new file mode 100644 index 0000000..4cfc253 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/languages.en.toml @@ -0,0 +1,22 @@ +languageCode = "en" +languageName = "English" +weight = 1 +title = "Blowfish" + +[params] + displayName = "English" + isoCode = "en" + rtl = false + dateFormat = "2 January 2006" + logo = "img/blowfish_logo_transparent.png" + description = "A powerful, lightweight theme for Hugo." + +[author] + name = "Blowfish" + image = "img/blowfish_logo.png" + headline = "A powerful, lightweight theme for Hugo." + bio = "A powerful, lightweight theme for Hugo." + links = [ + { x-twitter = "https://twitter.com/burufugu" }, + { github = "https://github.com/nunocoracao/blowfish" }, + ]
\ No newline at end of file diff --git a/themes/blowfish/exampleSite/config/_default/languages.it.toml b/themes/blowfish/exampleSite/config/_default/languages.it.toml new file mode 100644 index 0000000..77004b5 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/languages.it.toml @@ -0,0 +1,22 @@ +languageCode = "it" +languageName = "Italiano" +weight = 2 +title = "Blowfish" + +[params] + displayName = "Italiano" + isoCode = "it" + rtl = false + dateFormat = "2 January 2006" + logo = "img/blowfish_logo_transparent.png" + description = "Un potente, leggero tema per Hugo." + +[author] + name = "Blowfish" + image = "img/blowfish_logo.png" + headline = "Un potente, leggero tema per Hugo." + bio = "Un potente, leggero tema per Hugo." + links = [ + { x-twitter = "https://twitter.com/burufugu" }, + { github = "https://github.com/nunocoracao/blowfish" }, + ]
\ No newline at end of file diff --git a/themes/blowfish/exampleSite/config/_default/languages.ja.toml b/themes/blowfish/exampleSite/config/_default/languages.ja.toml new file mode 100644 index 0000000..05d319b --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/languages.ja.toml @@ -0,0 +1,22 @@ +languageCode = "ja" +languageName = "日本語" +weight = 3 +title = "Blowfish" + +[params] + displayName = "日本語" + isoCode = "ja" + rtl = false + dateFormat = "2006-01-02" + logo = "img/blowfish_logo_transparent.png" + description = "強力で、軽量な Hugo のテーマです。" + +[author] + name = "Blowfish" + image = "img/blowfish_logo.png" + headline = "強力で、軽量な Hugo のテーマです。" + bio = "強力で、軽量な Hugo のテーマです。" + links = [ + { x-twitter = "https://twitter.com/burufugu" }, + { github = "https://github.com/nunocoracao/blowfish" }, + ] diff --git a/themes/blowfish/exampleSite/config/_default/languages.zh-cn.toml b/themes/blowfish/exampleSite/config/_default/languages.zh-cn.toml new file mode 100644 index 0000000..9bdfc05 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/languages.zh-cn.toml @@ -0,0 +1,22 @@ +languageCode = "zh-cn" +languageName = "简体中文" +weight = 4 +title = "Blowfish" + +[params] + displayName = "简体中文" + isoCode = "zh-cn" + rtl = false + dateFormat = "2006-01-02" + logo = "img/blowfish_logo_transparent.png" + description = "一个强大、轻量级的 Hugo 主题。" + +[author] + name = "Blowfish" + image = "img/blowfish_logo.png" + headline = "一个强大、轻量级的 Hugo 主题。" + bio = "一个强大、轻量级的 Hugo 主题。" + links = [ + { x-twitter = "https://twitter.com/burufugu" }, + { github = "https://github.com/nunocoracao/blowfish" }, + ]
\ No newline at end of file diff --git a/themes/blowfish/exampleSite/config/_default/markup.toml b/themes/blowfish/exampleSite/config/_default/markup.toml new file mode 100644 index 0000000..c5449fc --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/markup.toml @@ -0,0 +1,13 @@ +# -- Markup -- +# These settings are required for the theme to function. + +[goldmark] +[goldmark.renderer] + unsafe = true + +[highlight] + noClasses = false + +[tableOfContents] + startLevel = 2 + endLevel = 4 diff --git a/themes/blowfish/exampleSite/config/_default/menus.en.toml b/themes/blowfish/exampleSite/config/_default/menus.en.toml new file mode 100644 index 0000000..3886d5e --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/menus.en.toml @@ -0,0 +1,91 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "Docs" + pageRef = "docs" + weight = 10 + +[[main]] + name = "Shortcodes" + pageRef = "docs/shortcodes" + weight = 15 + +[[main]] + name = "Examples" + weight = 20 + +[[main]] + name = "Samples" + parent = "Examples" + pageRef = "samples" + weight = 16 + +[[main]] + name = "Showcase" + parent = "Examples" + pageRef = "examples" + weight = 30 + +[[main]] + name = "Recipes" + parent = "Examples" + pageRef = "guides" + weight = 40 + +[[main]] + name = "Users" + pageRef = "users" + weight = 90 + +[[main]] + name = "Merch" + url = "https://www.teepublic.com/user/blowfish-store/t-shirts" + weight = 100 + +#[[main]] +# name = "Test" +# pageRef = "pagTest" +# weight = 1000 + +[[main]] + identifier = "twitter" + pre = "x-twitter" + url = "https://twitter.com/burufugu" + weight = 200 + +#[[main]] +# identifier = "mastodon" +# pre = "mastodon" +# weight = 300 +# url = "https://masto.ai/@blowfish" + +[[main]] + identifier = "github" + pre = "github" + url = "https://github.com/nunocoracao/blowfish" + weight = 400 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + [[footer]] + name = "Tags" + pageRef = "tags" + weight = 10 + + [[footer]] + name = "Authors" + pageRef = "authors" + weight = 20 diff --git a/themes/blowfish/exampleSite/config/_default/menus.it.toml b/themes/blowfish/exampleSite/config/_default/menus.it.toml new file mode 100644 index 0000000..a6cda29 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/menus.it.toml @@ -0,0 +1,91 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "Documenti" + pageRef = "docs" + weight = 10 + +[[main]] + name = "Shortcodes" + pageRef = "docs/shortcodes" + weight = 15 + +[[main]] + name = "Esempi" + weight = 20 + +[[main]] + name = "Campioni" + parent = "Esempi" + pageRef = "samples" + weight = 16 + +[[main]] + name = "Vetrina" + parent = "Esempi" + pageRef = "examples" + weight = 30 + +[[main]] + name = "Ricette" + parent = "Esempi" + pageRef = "guides" + weight = 40 + +[[main]] + name = "Utenti" + pageRef = "users" + weight = 90 + +[[main]] + name = "Merch" + url = "https://www.teepublic.com/user/blowfish-store/t-shirts" + weight = 100 + +#[[main]] +# name = "Test" +# pageRef = "pagTest" +# weight = 1000 + +[[main]] + identifier = "twitter" + pre = "x-twitter" + url = "https://twitter.com/burufugu" + weight = 200 + +#[[main]] +# identifier = "mastodon" +# pre = "mastodon" +# weight = 300 +# url = "https://masto.ai/@blowfish" + +[[main]] + identifier = "github" + pre = "github" + url = "https://github.com/nunocoracao/blowfish" + weight = 400 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + [[footer]] + name = "Tags" + pageRef = "tags" + weight = 10 + + [[footer]] + name = "Autori" + pageRef = "authors" + weight = 20
\ No newline at end of file diff --git a/themes/blowfish/exampleSite/config/_default/menus.ja.toml b/themes/blowfish/exampleSite/config/_default/menus.ja.toml new file mode 100644 index 0000000..930c6aa --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/menus.ja.toml @@ -0,0 +1,91 @@ +# -- メインメニュー -- +# メインメニューはページトップのヘッダーに表示されます。 +# 利用可能なパラメーターは name, pageRef, page, url, title, weight です。 +# +# 最もシンプルなメニュー設定はこちらです: +# name = このメニューリンクに表示される名前 +# pageRef = ページやセクションのリンクに利用される識別子 +# +# デフォルトでは、メニューはアルファベット順に並べられます。 +# これは、 weight value で上書き可能です。 +# このメニューは weight が低い値から高い値に順に表示されます。 + +[[main]] + name = "資料" + pageRef = "docs" + weight = 10 + +[[main]] + name = "ショートコード" + pageRef = "docs/shortcodes" + weight = 15 + +[[main]] + name = "例" + weight = 20 + +[[main]] + name = "サンプル" + parent = "例" + pageRef = "samples" + weight = 16 + +[[main]] + name = "ショーケース" + parent = "例" + pageRef = "examples" + weight = 30 + +[[main]] + name = "レシピ" + parent = "例" + pageRef = "guides" + weight = 40 + +[[main]] + name = "ユーザー" + pageRef = "users" + weight = 90 + +[[main]] + name = "グッズ" + url = "https://www.teepublic.com/user/blowfish-store/t-shirts" + weight = 100 + +#[[main]] +# name = "テスト" +# pageRef = "pagTest" +# weight = 1000 + +[[main]] + identifier = "twitter" + pre = "x-twitter" + url = "https://twitter.com/burufugu" + weight = 200 + +#[[main]] +# identifier = "mastodon" +# pre = "mastodon" +# weight = 300 +# url = "https://masto.ai/@blowfish" + +[[main]] + identifier = "github" + pre = "github" + url = "https://github.com/nunocoracao/blowfish" + weight = 400 + + +# -- フッターメニュー -- +# このフッターメニューはページ下部のコピーライト表示の前に表示されます。 +# 上記のメインメニューと同様に設定できます。 + + [[footer]] + name = "タグ" + pageRef = "tags" + weight = 10 + + [[footer]] + name = "著者" + pageRef = "authors" + weight = 20 diff --git a/themes/blowfish/exampleSite/config/_default/menus.zh-cn.toml b/themes/blowfish/exampleSite/config/_default/menus.zh-cn.toml new file mode 100644 index 0000000..6100b29 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/menus.zh-cn.toml @@ -0,0 +1,91 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "文档" + pageRef = "docs" + weight = 10 + +[[main]] + name = "简码" + pageRef = "docs/shortcodes" + weight = 15 + +[[main]] + name = "示例" + weight = 20 + +[[main]] + name = "功能示例" + parent = "示例" + pageRef = "samples" + weight = 16 + +[[main]] + name = "模板示例" + parent = "示例" + pageRef = "examples" + weight = 30 + +[[main]] + name = "部署指南" + parent = "示例" + pageRef = "guides" + weight = 40 + +[[main]] + name = "用户列表" + pageRef = "users" + weight = 90 + +[[main]] + name = "周边" + url = "https://www.teepublic.com/user/blowfish-store/t-shirts" + weight = 100 + +#[[main]] +# name = "Test" +# pageRef = "pagTest" +# weight = 1000 + +[[main]] + identifier = "twitter" + pre = "x-twitter" + url = "https://twitter.com/burufugu" + weight = 200 + +#[[main]] +# identifier = "mastodon" +# pre = "mastodon" +# weight = 300 +# url = "https://masto.ai/@blowfish" + +[[main]] + identifier = "github" + pre = "github" + url = "https://github.com/nunocoracao/blowfish" + weight = 400 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + [[footer]] + name = "标签" + pageRef = "tags" + weight = 10 + + [[footer]] + name = "作者" + pageRef = "authors" + weight = 20 diff --git a/themes/blowfish/exampleSite/config/_default/params.toml b/themes/blowfish/exampleSite/config/_default/params.toml new file mode 100644 index 0000000..0022e15 --- /dev/null +++ b/themes/blowfish/exampleSite/config/_default/params.toml @@ -0,0 +1,147 @@ +# -- Theme Options -- +# These options control how the theme functions and allow you to +# customise the display of your website. +# +# Refer to the theme docs for more details about each of these parameters. +# https://blowfish.page/docs/configuration/#theme-parameters + +colorScheme = "blowfish" +defaultAppearance = "dark" # valid options: light or dark +autoSwitchAppearance = true + +enableSearch = true +enableCodeCopy = true + +mainSections = ["docs"] +# robots = "" + +disableImageOptimization = false +disableTextInHeader = false + +defaultBackgroundImage = "/img/background.svg" +defaultFeaturedImage = "/img/featured.svg" + +highlightCurrentMenuArea = true +smartTOC = true +smartTOCHideUnfocusedChildren = false + +[header] + layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur + +[footer] + showMenu = true + showCopyright = true + showThemeAttribution = true + showAppearanceSwitcher = true + showScrollToTop = true + +[homepage] + layout = "custom" # valid options: page, profile, hero, card, background, custom + # homepageImage = "/img/iceland.jpg" # used in: hero, and card + showRecent = false + showRecentItems = 6 + showMoreLink = true + showMoreLinkDest = "docs" + cardView = true + cardViewScreenWidth = false + layoutBackgroundBlur = true # only used when layout equals background + +[article] + showDate = false + showViews = true + showLikes = true + showDateOnlyInArticle = false + showDateUpdated = false + showAuthor = true + # showAuthorBottom = false + showHero = true + heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = true # only used when heroStyle equals background + showBreadcrumbs = true + showDraftLabel = true + showEdit = true + editURL = "https://github.com/nunocoracao/blowfish/tree/main/exampleSite/content" + editAppendPath = true + seriesOpened = false + showHeadingAnchors = true + showPagination = true + invertPagination = false + showReadingTime = true + showTableOfContents = true + showRelatedContent = true + relatedContentLimit = 6 + showTaxonomies = true + showAuthorsBadges = true + showWordCount = false + sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"] + showZenMode = true + +[list] + showHero = true + heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = true # only used when heroStyle equals background + layoutBackgroundHeaderSpace = false + showBreadcrumbs = false + showSummary = false + showViews = true + showLikes = true + showTableOfContents = true + showCards = true + groupByYear = false + cardView = true + cardViewScreenWidth = false + constrainItemsWidth = false + +[sitemap] + excludedKinds = [] + +[taxonomy] + showTermCount = true + showHero = true + heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + showViews = true + showLikes = true + showTableOfContents = true + cardView = false + +[term] + showHero = true + heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + showViews = true + showLikes = true + showTableOfContents = true + groupByYear = false + cardView = true + cardViewScreenWidth = false + +[firebase] + apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY" + authDomain = "blowfish-21fff.firebaseapp.com" + projectId = "blowfish-21fff" + storageBucket = "blowfish-21fff.appspot.com" + messagingSenderId = "60108104191" + appId = "1:60108104191:web:039842ebe1370698b487ca" + measurementId = "G-PEDMYR1V0K" + +[fathomAnalytics] + # site = "ABC12345" + # domain = "llama.yoursite.com" + +[umamiAnalytics] + # websiteid = "ABC12345" + # domain = "llama.yoursite.com" + +[buymeacoffee] + identifier = "nunocoracao" + globalWidget = true + globalWidgetMessage = "" + globalWidgetColor = "#FFDD00" + globalWidgetPosition = "Right" + +[verification] + # google = "" + # bing = "" + # pinterest = "" + # yandex = "" |