From 316defd5617ad19b86118b08d24eacfffa993ccc Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 30 Dec 2022 17:18:19 +0900 Subject: [PATCH] =?UTF-8?q?`Blowfish`=E3=81=AE=E5=88=9D=E6=9C=9F=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 3 - config/_default/config.toml | 30 +++++++ config/_default/languages.en.toml | 63 ++++++++++++++ config/_default/markup.toml | 13 +++ config/_default/menus.en.toml | 42 ++++++++++ config/_default/params.toml | 133 ++++++++++++++++++++++++++++++ 6 files changed, 281 insertions(+), 3 deletions(-) delete mode 100644 config.toml create mode 100644 config/_default/config.toml create mode 100644 config/_default/languages.en.toml create mode 100644 config/_default/markup.toml create mode 100644 config/_default/menus.en.toml create mode 100644 config/_default/params.toml diff --git a/config.toml b/config.toml deleted file mode 100644 index 1d7c819..0000000 --- a/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -baseURL = 'http://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..b29e712 --- /dev/null +++ b/config/_default/config.toml @@ -0,0 +1,30 @@ +# -- Site Configuration -- +# Refer to the theme docs for more details about each of these parameters. +# https://nunocoracao.github.io/blowfish/docs/getting-started/ + +theme = "blowfish" +# baseURL = "https://your_domain.com/" +defaultContentLanguage = "en" + +enableRobotsTXT = true +paginate = 20 +summaryLength = 30 + +buildDrafts = false +buildFuture = false + +# googleAnalytics = "G-XXXXXXXXX" + +[taxonomies] + tag = "tags" + category = "categories" + author = "authors" + series = "series" + +[sitemap] + changefreq = 'daily' + filename = 'sitemap.xml' + priority = 0.5 + +[outputs] + home = ["HTML", "RSS", "JSON"] diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml new file mode 100644 index 0000000..9e815f3 --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,63 @@ +languageCode = "en" +languageName = "English" +displayName = "EN" +isoCode = "en" +weight = 1 +rtl = false + +title = "Blowfish" +# logo = "img/logo.png" +description = "My awesome website" +# copyright = "Copy, _right?_ :thinking_face:" + +dateFormat = "2 January 2006" + +[author] + name = "Your name here" + image = "img/blowfish_logo.png" + headline = "I'm only human" + bio = "A little bit about you" + # links = [ + # { email = "mailto:hello@your_domain.com" }, + # { link = "https://link-to-some-website.com/" }, + # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, + # { apple = "https://www.apple.com" }, + # { blogger = "https://username.blogspot.com/" }, + # { codepen = "https://codepen.io/username" }, + # { dev = "https://dev.to/username" }, + # { discord = "https://discord.gg/invitecode" }, + # { dribbble = "https://dribbble.com/username" }, + # { facebook = "https://facebook.com/username" }, + # { flickr = "https://www.flickr.com/photos/username/" }, + # { foursquare = "https://foursquare.com/username" }, + # { github = "https://github.com/username" }, + # { gitlab = "https://gitlab.com/username" }, + # { google = "https://www.google.com/" }, + # { hashnode = "https://username.hashnode.dev" }, + # { instagram = "https://instagram.com/username" }, + # { keybase = "https://keybase.io/username" }, + # { kickstarter = "https://www.kickstarter.com/profile/username" }, + # { lastfm = "https://lastfm.com/user/username" }, + # { linkedin = "https://linkedin.com/in/username" }, + # { mastodon = "https://mastodon.instance/@username" }, + # { medium = "https://medium.com/username" }, + # { microsoft = "https://www.microsoft.com/" }, + # { orcid = "https://orcid.org/userid" }, + # { patreon = "https://www.patreon.com/username" }, + # { pinterest = "https://pinterest.com/username" }, + # { reddit = "https://reddit.com/user/username" }, + # { researchgate = "https://www.researchgate.net/profile/username" }, + # { slack = "https://workspace.url/team/userid" }, + # { snapchat = "https://snapchat.com/add/username" }, + # { soundcloud = "https://soundcloud.com/username" }, + # { stack-overflow = "https://stackoverflow.com/users/userid/username" }, + # { steam = "https://steamcommunity.com/profiles/userid" }, + # { telegram = "https://t.me/username" }, + # { tiktok = "https://tiktok.com/@username" }, + # { tumblr = "https://username.tumblr.com" }, + # { twitch = "https://twitch.tv/username" }, + # { twitter = "https://twitter.com/username" }, + # { whatsapp = "https://wa.me/phone-number" }, + # { youtube = "https://youtube.com/username" }, + # { ko-fi = "https://ko-fi.com/username" }, + # ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..c5449fc --- /dev/null +++ b/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/config/_default/menus.en.toml b/config/_default/menus.en.toml new file mode 100644 index 0000000..384fc92 --- /dev/null +++ b/config/_default/menus.en.toml @@ -0,0 +1,42 @@ +# -- 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 = "Blog" +# pageRef = "posts" +# weight = 10 + +#[[main]] +# name = "Categories" +# pageRef = "categories" +# weight = 20 + +#[[main]] +# name = "Tags" +# pageRef = "tags" +# weight = 30 + + +# -- 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 = "Categories" +# pageRef = "categories" +# weight = 20 diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..bfb00e4 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,133 @@ +# -- 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://nunocoracao.github.io/blowfish/docs/configuration/#theme-parameters + +colorScheme = "blowfish" +defaultAppearance = "light" # valid options: light or dark +autoSwitchAppearance = true + +enableSearch = true +enableCodeCopy = true + +# mainSections = ["section1", "section2"] +# robots = "" + +# disableImageOptimization = false + +# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images + +[header] + layout = "basic" # valid options: basic, fixed + +[footer] + # showMenu = true + showCopyright = true + showThemeAttribution = true + showAppearanceSwitcher = true + showScrollToTop = true + +[homepage] + layout = "profile" # valid options: page, profile, hero, card, background, custom + #homepageImage = "IMAGE.jpg" # used in: hero, and card + showRecent = false + showRecentItems = 5 + showMoreLink = false + showMoreLinkDest = "/posts" + cardView = false + cardViewScreenWidth = false + layoutBackgroundBlur = false # only used when layout equals background + +[article] + showDate = true + #showViews = true + #showLikes = true + showDateUpdated = false + showAuthor = true + showHero = true + heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = false # only used when heroStyle equals background or thumbAndBackground + layoutBackgroundHeaderSpace = true # only used when heroStyle equals background + showBreadcrumbs = true + showDraftLabel = true + showEdit = true + # editURL = "https://github.com/username/repo/" + editAppendPath = true + seriesOpened = false + showHeadingAnchors = true + showPagination = true + invertPagination = false + showReadingTime = true + showTableOfContents = true + showTaxonomies = false + showAuthorsBadges = false + showWordCount = true + showSummary = true + sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"] + +[list] + #showHero = true + #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + #layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground + #layoutBackgroundHeaderSpace = true # only used when heroStyle equals background + showBreadcrumbs = false + showSummary = false + #showViews = true + #showLikes = true + showTableOfContents = false + showCards = false + groupByYear = true + cardView = false + cardViewScreenWidth = false + +[sitemap] + excludedKinds = [] + +[taxonomy] + showTermCount = true + #showHero = true + #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + #showViews = false + #showLikes = false + #showTableOfContents = true + #cardView = false + +[term] + #showHero = true + #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + #showViews = false + #showLikes = false + #showTableOfContents = true + #groupByYear = false + #cardViewScreenWidth = false + #cardView = false + +[firebase] + # apiKey = "XXXXXX" + # authDomain = "XXXXXX" + # projectId = "XXXXXX" + # storageBucket = "XXXXXX" + # messagingSenderId = "XXXXXX" + # appId = "XXXXXX" + # measurementId = "XXXXXX" + +[fathomAnalytics] + # site = "ABC12345" + # domain = "llama.yoursite.com" + +[buymeacoffee] + # identifier = "" + # globalWidget = true + # globalWidgetMessage = "Hello" + # globalWidgetColor = "#FFDD00" + # globalWidgetPosition = "Right" + +[verification] + # google = "" + # bing = "" + # pinterest = "" + # yandex = ""