Compare commits

..

No commits in common. "27a4ec8f55a968daa412bf168f067b7b71ff9975" and "2250789ae15f25b346f27ea15ae625fbe7f5a16b" have entirely different histories.

7 changed files with 161 additions and 183 deletions

View file

@ -1,3 +0,0 @@
{
"plugins": ["prettier-plugin-go-template"]
}

View file

@ -2,7 +2,7 @@ theme = "blowfish"
baseURL = "https://web.myco.systems/" baseURL = "https://web.myco.systems/"
defaultContentLanguage = "en" defaultContentLanguage = "en"
enableRobotsTXT = false enableRobotsTXT = true
paginate = 100 paginate = 100
summaryLength = 30 summaryLength = 30
@ -24,7 +24,7 @@ filename = 'sitemap.xml'
priority = 0.5 priority = 0.5
[outputs] [outputs]
home = ["HTML"] home = ["HTML", "RSS", "JSON"]
[related] [related]
threshold = 0 threshold = 0

View file

@ -17,4 +17,8 @@ name = "MycoSystems"
image = "styles/blue/android-chrome-512x512.png" image = "styles/blue/android-chrome-512x512.png"
headline = "Hi, welcome to MycoSystems Web!" headline = "Hi, welcome to MycoSystems Web!"
bio = "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" },
]

View file

@ -1,3 +1,6 @@
# -- Markup --
# These settings are required for the theme to function.
[goldmark] [goldmark]
[goldmark.renderer] [goldmark.renderer]
unsafe = true unsafe = true

View file

@ -13,11 +13,11 @@ name = "Stacks"
pageRef = "stacks" pageRef = "stacks"
weight = 30 weight = 30
[[footer]] #[[main]]
identifier = "github" # identifier = "github"
pre = "github" # pre = "github"
url = "https://git.myco.systems/explore" # url = "https://git.myco.systems/explore"
weight = 400 # weight = 400
[[footer]] [[footer]]
name = "Services" name = "Services"

View file

@ -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" colorScheme = "forest"
defaultAppearance = "dark" defaultAppearance = "dark" # valid options: light or dark
autoSwitchAppearance = false autoSwitchAppearance = false
enableCodeCopy = true enableCodeCopy = true
mainSections = ["services"] mainSections = ["services"]
# robots = ""
disableImageOptimization = false disableImageOptimization = false
@ -16,7 +24,7 @@ smartTOC = true
smartTOCHideUnfocusedChildren = false smartTOCHideUnfocusedChildren = false
[header] [header]
layout = "fixed" layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-fill-blur
[footer] [footer]
showMenu = true showMenu = true
@ -26,15 +34,15 @@ showAppearanceSwitcher = false
showScrollToTop = true showScrollToTop = true
[homepage] [homepage]
layout = "background" layout = "background" # valid options: page, profile, hero, card, background, custom
homepageImage = "styles/backgrounds/single-brick.png" # homepageImage = "/img/iceland.jpg" # used in: hero, and card
showRecent = true showRecent = true
showRecentItems = 6 showRecentItems = 6
showMoreLink = false showMoreLink = false
showMoreLinkDest = "services" showMoreLinkDest = "services"
cardView = true cardView = true
cardViewScreenWidth = false cardViewScreenWidth = false
layoutBackgroundBlur = true layoutBackgroundBlur = true # only used when layout equals background
[article] [article]
showDate = false showDate = false
@ -43,8 +51,8 @@ showLikes = false
showDateUpdated = false showDateUpdated = false
showAuthor = false showAuthor = false
showHero = true showHero = true
heroStyle = "background" heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true layoutBackgroundBlur = true # only used when heroStyle equals background
showBreadcrumbs = true showBreadcrumbs = true
showDraftLabel = true showDraftLabel = true
showEdit = false showEdit = false
@ -61,16 +69,12 @@ showTaxonomies = true
showAuthorsBadges = true showAuthorsBadges = true
showWordCount = false showWordCount = false
showSummary = true showSummary = true
sharingLinks = [ sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"]
"linkedin",
"twitter",
"email",
]
[list] [list]
showHero = true showHero = true
heroStyle = "background" heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true layoutBackgroundBlur = true # only used when heroStyle equals background
layoutBackgroundHeaderSpace = false layoutBackgroundHeaderSpace = false
showBreadcrumbs = false showBreadcrumbs = false
showSummary = false showSummary = false
@ -89,7 +93,7 @@ excludedKinds = ["taxonomy", "term"]
[taxonomy] [taxonomy]
showTermCount = true showTermCount = true
showHero = true showHero = true
heroStyle = "background" heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false showBreadcrumbs = false
showViews = true showViews = true
showLikes = true showLikes = true
@ -98,7 +102,7 @@ cardView = false
[term] [term]
showHero = true showHero = true
heroStyle = "background" heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false showBreadcrumbs = false
showViews = true showViews = true
showLikes = true showLikes = true

View file

@ -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 }}