Compare commits
No commits in common. "27a4ec8f55a968daa412bf168f067b7b71ff9975" and "2250789ae15f25b346f27ea15ae625fbe7f5a16b" have entirely different histories.
27a4ec8f55
...
2250789ae1
7 changed files with 161 additions and 183 deletions
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"plugins": ["prettier-plugin-go-template"]
|
||||
}
|
|
@ -2,7 +2,7 @@ theme = "blowfish"
|
|||
baseURL = "https://web.myco.systems/"
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
enableRobotsTXT = false
|
||||
enableRobotsTXT = true
|
||||
paginate = 100
|
||||
summaryLength = 30
|
||||
|
||||
|
@ -24,7 +24,7 @@ filename = 'sitemap.xml'
|
|||
priority = 0.5
|
||||
|
||||
[outputs]
|
||||
home = ["HTML"]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[related]
|
||||
threshold = 0
|
||||
|
|
|
@ -17,4 +17,8 @@ name = "MycoSystems"
|
|||
image = "styles/blue/android-chrome-512x512.png"
|
||||
headline = "Hi, welcome to MycoSystems Web!"
|
||||
bio = "Hi, welcome to MycoSystems Web!"
|
||||
#links = [{ github = "https://git.myco.systems/explore" }]
|
||||
links = [
|
||||
{ github = "https://git.myco.systems/explore" },
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -- Markup --
|
||||
# These settings are required for the theme to function.
|
||||
|
||||
[goldmark]
|
||||
[goldmark.renderer]
|
||||
unsafe = true
|
||||
|
|
|
@ -13,11 +13,11 @@ name = "Stacks"
|
|||
pageRef = "stacks"
|
||||
weight = 30
|
||||
|
||||
[[footer]]
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://git.myco.systems/explore"
|
||||
weight = 400
|
||||
#[[main]]
|
||||
# identifier = "github"
|
||||
# pre = "github"
|
||||
# url = "https://git.myco.systems/explore"
|
||||
# weight = 400
|
||||
|
||||
[[footer]]
|
||||
name = "Services"
|
||||
|
|
|
@ -1,10 +1,18 @@
|
|||
# -- 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 = "forest"
|
||||
defaultAppearance = "dark"
|
||||
defaultAppearance = "dark" # valid options: light or dark
|
||||
autoSwitchAppearance = false
|
||||
|
||||
enableCodeCopy = true
|
||||
|
||||
mainSections = ["services"]
|
||||
# robots = ""
|
||||
|
||||
disableImageOptimization = false
|
||||
|
||||
|
@ -16,7 +24,7 @@ smartTOC = true
|
|||
smartTOCHideUnfocusedChildren = false
|
||||
|
||||
[header]
|
||||
layout = "fixed"
|
||||
layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-fill-blur
|
||||
|
||||
[footer]
|
||||
showMenu = true
|
||||
|
@ -26,15 +34,15 @@ showAppearanceSwitcher = false
|
|||
showScrollToTop = true
|
||||
|
||||
[homepage]
|
||||
layout = "background"
|
||||
homepageImage = "styles/backgrounds/single-brick.png"
|
||||
layout = "background" # valid options: page, profile, hero, card, background, custom
|
||||
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
|
||||
showRecent = true
|
||||
showRecentItems = 6
|
||||
showMoreLink = false
|
||||
showMoreLinkDest = "services"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
||||
[article]
|
||||
showDate = false
|
||||
|
@ -43,8 +51,8 @@ showLikes = false
|
|||
showDateUpdated = false
|
||||
showAuthor = false
|
||||
showHero = true
|
||||
heroStyle = "background"
|
||||
layoutBackgroundBlur = true
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
layoutBackgroundBlur = true # only used when heroStyle equals background
|
||||
showBreadcrumbs = true
|
||||
showDraftLabel = true
|
||||
showEdit = false
|
||||
|
@ -61,16 +69,12 @@ showTaxonomies = true
|
|||
showAuthorsBadges = true
|
||||
showWordCount = false
|
||||
showSummary = true
|
||||
sharingLinks = [
|
||||
"linkedin",
|
||||
"twitter",
|
||||
"email",
|
||||
]
|
||||
sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"]
|
||||
|
||||
[list]
|
||||
showHero = true
|
||||
heroStyle = "background"
|
||||
layoutBackgroundBlur = true
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
layoutBackgroundBlur = true # only used when heroStyle equals background
|
||||
layoutBackgroundHeaderSpace = false
|
||||
showBreadcrumbs = false
|
||||
showSummary = false
|
||||
|
@ -89,7 +93,7 @@ excludedKinds = ["taxonomy", "term"]
|
|||
[taxonomy]
|
||||
showTermCount = true
|
||||
showHero = true
|
||||
heroStyle = "background"
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
showBreadcrumbs = false
|
||||
showViews = true
|
||||
showLikes = true
|
||||
|
@ -98,7 +102,7 @@ cardView = false
|
|||
|
||||
[term]
|
||||
showHero = true
|
||||
heroStyle = "background"
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
showBreadcrumbs = false
|
||||
showViews = true
|
||||
showLikes = true
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
{{ $recentArticles := 5 }}
|
||||
{{ $showMoreLinkDest := "/posts" }}
|
||||
{{ if .Site.Params.homepage.showRecent | default false }}
|
||||
{{ if index .Site.Params.homepage "showRecentItems" }}
|
||||
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
|
||||
{{ end }}
|
||||
<h2 class="mt-8 text-2xl font-extrabold mb-10">Service Articles</h2>
|
||||
|
||||
{{ if and .Site.Params.homepage.cardView (not .Site.Params.homepage.cardViewScreenWidth) | default false }}
|
||||
{{ partial "recent-articles/cardview.html" . }}
|
||||
{{ else if and .Site.Params.homepage.cardView .Site.Params.homepage.cardViewScreenWidth | default false }}
|
||||
{{ partial "recent-articles/cardview-fullwidth.html" . }}
|
||||
{{ else }}
|
||||
{{ partial "recent-articles/list.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.homepage.showMoreLink | default false }}
|
||||
{{ if index .Site.Params.homepage "showRecentItems" }}
|
||||
{{ $showMoreLinkDest = .Site.Params.homepage.showMoreLinkDest }}
|
||||
{{ end }}
|
||||
<div class="mt-10 flex justify-center">
|
||||
<a href="{{ $showMoreLinkDest }}">
|
||||
<button
|
||||
class="bg-transparent hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded">
|
||||
{{ i18n "recent.show_more" | markdownify | emojify }}
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Reference in a new issue