From e0858e935c6f014ce8a34049c58cfdb9017c7cda Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 30 Dec 2022 17:51:55 +0900 Subject: [PATCH] =?UTF-8?q?`Blowfish`=E3=81=AE=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/_default/config.toml | 17 +++-- config/_default/languages.en.toml | 63 ------------------- config/_default/languages.ja.toml | 24 +++++++ .../_default/{menus.en.toml => menus.ja.toml} | 39 +++++------- config/_default/params.toml | 56 ++++++++--------- config/_default/taxonomies.toml | 2 + 6 files changed, 82 insertions(+), 119 deletions(-) delete mode 100644 config/_default/languages.en.toml create mode 100644 config/_default/languages.ja.toml rename config/_default/{menus.en.toml => menus.ja.toml} (64%) create mode 100644 config/_default/taxonomies.toml diff --git a/config/_default/config.toml b/config/_default/config.toml index b29e712..b193dfb 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,23 +1,25 @@ # -- Site Configuration -- # Refer to the theme docs for more details about each of these parameters. -# https://nunocoracao.github.io/blowfish/docs/getting-started/ +# https://blowfish.page/docs/getting-started/ theme = "blowfish" -# baseURL = "https://your_domain.com/" -defaultContentLanguage = "en" +baseURL = "https://everun.club/" +defaultContentLanguage = "ja" +hasCJKLanguage = true enableRobotsTXT = true paginate = 20 -summaryLength = 30 +summaryLength = 80 buildDrafts = false buildFuture = false # googleAnalytics = "G-XXXXXXXXX" +[imaging] + anchor = 'Center' + [taxonomies] - tag = "tags" - category = "categories" author = "authors" series = "series" @@ -28,3 +30,6 @@ buildFuture = false [outputs] home = ["HTML", "RSS", "JSON"] + +[permalinks] + posts = '/:year/:month/:filename/' diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml deleted file mode 100644 index 9e815f3..0000000 --- a/config/_default/languages.en.toml +++ /dev/null @@ -1,63 +0,0 @@ -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/languages.ja.toml b/config/_default/languages.ja.toml new file mode 100644 index 0000000..22a2cc7 --- /dev/null +++ b/config/_default/languages.ja.toml @@ -0,0 +1,24 @@ +languageCode = "ja" +languageName = "Japanese" +displayName = "日本語" +isoCode = "ja" +weight = 1 +rtl = false + +title = "EveRun since 1989" +logo = "img/logo.jpg" +description = "東北大学のランニングサークル・イブランのホームページです" +# copyright = "Copy, _right?_ :thinking_face:" + +dateFormat = "2006-01-02" + +[author] + name = "東北大学ランニングサークル・イブラン" + image = "img/logo.jpg" + headline = "現役メンバーを募集中!我こそはという人はご連絡ください!" + bio = "東北大学の有志によるランニングサークルです。陸上部とは違い、そこまで本気にならずに、好きなペースで、好きな距離を走るサークルです。" + links = [ + { twitter = "https://twitter.com/everun1989" }, + { facebook = "https://www.facebook.com/groups/everun/" }, + { instagram = "https://instagram.com/everun1982" }, + ] diff --git a/config/_default/menus.en.toml b/config/_default/menus.ja.toml similarity index 64% rename from config/_default/menus.en.toml rename to config/_default/menus.ja.toml index 384fc92..c5a1954 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.ja.toml @@ -1,7 +1,7 @@ # -- 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 @@ -10,33 +10,28 @@ # 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 = "イブランについて" + pageRef = "about" + weight = 10 -#[[main]] -# name = "Categories" -# pageRef = "categories" -# weight = 20 +[[main]] + name = "スケジュール" + pageRef = "schedule" + weight = 20 -#[[main]] -# name = "Tags" -# pageRef = "tags" -# weight = 30 +[[main]] + name = "活動の記録" + pageRef = "posts" + weight = 30 +[[main]] + name = "執筆者" + pageRef = "authors" + weight = 50 # -- 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 index bfb00e4..102c83f 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -3,21 +3,21 @@ # 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 +# https://blowfish.page/docs/configuration/#theme-parameters colorScheme = "blowfish" defaultAppearance = "light" # valid options: light or dark autoSwitchAppearance = true enableSearch = true -enableCodeCopy = true +enableCodeCopy = false -# mainSections = ["section1", "section2"] +mainSections = ["posts"] # robots = "" # disableImageOptimization = false -# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images +# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images [header] layout = "basic" # valid options: basic, fixed @@ -32,12 +32,12 @@ enableCodeCopy = true [homepage] layout = "profile" # valid options: page, profile, hero, card, background, custom #homepageImage = "IMAGE.jpg" # used in: hero, and card - showRecent = false + showRecent = true showRecentItems = 5 - showMoreLink = false + showMoreLink = true showMoreLinkDest = "/posts" - cardView = false - cardViewScreenWidth = false + cardView = true + cardViewScreenWidth = true layoutBackgroundBlur = false # only used when layout equals background [article] @@ -45,42 +45,42 @@ enableCodeCopy = true #showViews = true #showLikes = true showDateUpdated = false - showAuthor = true + showAuthor = false showHero = true - heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground - layoutBackgroundBlur = false # only used when heroStyle equals background or thumbAndBackground + 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 = true showDraftLabel = true - showEdit = true + showEdit = false # editURL = "https://github.com/username/repo/" - editAppendPath = true - seriesOpened = false + editAppendPath = false + seriesOpened = true showHeadingAnchors = true showPagination = true invertPagination = false showReadingTime = true showTableOfContents = true - showTaxonomies = false - showAuthorsBadges = false + showTaxonomies = true + showAuthorsBadges = true showWordCount = true showSummary = true - sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"] + sharingLinks = false [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 + showBreadcrumbs = true + showSummary = true #showViews = true #showLikes = true showTableOfContents = false - showCards = false + showCards = true groupByYear = true - cardView = false - cardViewScreenWidth = false + cardView = true + cardViewScreenWidth = true [sitemap] excludedKinds = [] @@ -89,22 +89,22 @@ enableCodeCopy = true showTermCount = true #showHero = true #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - showBreadcrumbs = false + showBreadcrumbs = true #showViews = false #showLikes = false #showTableOfContents = true - #cardView = false + cardView = true [term] #showHero = true #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - showBreadcrumbs = false + showBreadcrumbs = true #showViews = false #showLikes = false #showTableOfContents = true - #groupByYear = false - #cardViewScreenWidth = false - #cardView = false + groupByYear = true + cardViewScreenWidth = true + cardView = true [firebase] # apiKey = "XXXXXX" diff --git a/config/_default/taxonomies.toml b/config/_default/taxonomies.toml new file mode 100644 index 0000000..f8f5ff8 --- /dev/null +++ b/config/_default/taxonomies.toml @@ -0,0 +1,2 @@ +topic = "topics" +author = "authors"