Compare commits
4 commits
2c258736a7
...
ae746bf82c
Author | SHA1 | Date | |
---|---|---|---|
ae746bf82c | |||
500df4fccf | |||
c01f59b518 | |||
8d471ab3fc |
11 changed files with 23 additions and 267 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -2,3 +2,7 @@
|
||||||
path = themes/blowfish
|
path = themes/blowfish
|
||||||
url = https://github.com/nunocoracao/blowfish.git
|
url = https://github.com/nunocoracao/blowfish.git
|
||||||
branch = main
|
branch = main
|
||||||
|
[submodule "static/styles"]
|
||||||
|
path = static/styles
|
||||||
|
url = https://git.myco.systems/mycosystems/styles.git
|
||||||
|
branch = main
|
||||||
|
|
|
@ -1,24 +1,23 @@
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
weight = 1
|
weight = 1
|
||||||
title = "web.myco.systems"
|
title = "MycoSystems Co-Op"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
displayName = "EN"
|
displayName = "EN"
|
||||||
isoCode = "en"
|
isoCode = "en"
|
||||||
rtl = false
|
rtl = false
|
||||||
dateFormat = "2 January 2006"
|
dateFormat = "2 January 2006"
|
||||||
logo = "img/android-chrome-512x512.png"
|
logo = "styles/blue/android-chrome-512x512.png"
|
||||||
description = "Hi, welcome to MycoSystems Web!"
|
description = "Hi, welcome to MycoSystems Web!"
|
||||||
copyright = "Body text and articles are under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) Everything else is MIT for the extensive use of Blowfish"
|
copyright = "Articles are copyleft, no rights reserved. Thank you to the devs @ [Blowfish](https://blowfish.page)"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Myco.Systems"
|
name = "MycoSystems"
|
||||||
image = "img/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 = [
|
links = [
|
||||||
{ mastodon = "https://mastodon.social/@brookeee" },
|
|
||||||
{ github = "https://git.myco.systems/explore" },
|
{ github = "https://git.myco.systems/explore" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -14,31 +14,10 @@
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
#[[main]]
|
#[[main]]
|
||||||
# name = "Merch"
|
# identifier = "github"
|
||||||
# url = "http://tee.pub/lic/qwSlWVBL5zc"
|
# pre = "github"
|
||||||
# weight = 100
|
# url = "https://git.myco.systems/explore"
|
||||||
|
# weight = 400
|
||||||
#[[main]]
|
|
||||||
# name = "Test"
|
|
||||||
# pageRef = "pagTest"
|
|
||||||
# weight = 1000
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
identifier = "mastodon"
|
|
||||||
pre = "mastodon"
|
|
||||||
url = "https://mastodon.social/@brookeee"
|
|
||||||
weight = 300
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
identifier = "github"
|
|
||||||
pre = "github"
|
|
||||||
url = "https://git.myco.systems/explore"
|
|
||||||
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]]
|
[[footer]]
|
||||||
name = "Services"
|
name = "Services"
|
||||||
|
@ -48,4 +27,9 @@
|
||||||
[[footer]]
|
[[footer]]
|
||||||
name = "Showcase"
|
name = "Showcase"
|
||||||
pageRef = "showcase"
|
pageRef = "showcase"
|
||||||
weight = 30
|
weight = 20
|
||||||
|
|
||||||
|
[[footer]]
|
||||||
|
name = "Stacks"
|
||||||
|
pageRef = "stacks"
|
||||||
|
weight = 30
|
|
@ -16,8 +16,8 @@ mainSections = ["services"]
|
||||||
|
|
||||||
disableImageOptimization = false
|
disableImageOptimization = false
|
||||||
|
|
||||||
defaultBackgroundImage = "img/mushroom-1.png"
|
defaultBackgroundImage = "styles/backgrounds/single-brick.png"
|
||||||
defaultFeaturedImage = "img/mushroom-2.png"
|
defaultFeaturedImage = "styles/backgrounds/single-brick.png"
|
||||||
|
|
||||||
highlightCurrentMenuArea = true
|
highlightCurrentMenuArea = true
|
||||||
smartTOC = true
|
smartTOC = true
|
||||||
|
@ -29,8 +29,8 @@ smartTOCHideUnfocusedChildren = false
|
||||||
[footer]
|
[footer]
|
||||||
showMenu = true
|
showMenu = true
|
||||||
showCopyright = true
|
showCopyright = true
|
||||||
showThemeAttribution = true
|
showThemeAttribution = false
|
||||||
showAppearanceSwitcher = true
|
showAppearanceSwitcher = false
|
||||||
showScrollToTop = true
|
showScrollToTop = true
|
||||||
|
|
||||||
[homepage]
|
[homepage]
|
||||||
|
|
|
@ -1,108 +0,0 @@
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="content-language" content="en">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
||||||
<meta name="generator" content="Hugo 0.111.3">
|
|
||||||
<title>web.myco.systems</title>
|
|
||||||
<meta name="title" content="web.myco.systems">
|
|
||||||
<meta name="description" content="Hi, welcome to MycoSystems Web!">
|
|
||||||
|
|
||||||
{{ with .Params.Tags | default .Site.Params.keywords -}}
|
|
||||||
<meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" />
|
|
||||||
{{- end }}
|
|
||||||
{{ with .Site.Params.robots }}
|
|
||||||
<meta name="robots" content="{{ . }}" />
|
|
||||||
{{ end }}
|
|
||||||
{{ with .Params.robots }}
|
|
||||||
<meta name="robots" content="{{ . }}" />
|
|
||||||
{{ end }}
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}" />
|
|
||||||
{{ range .AlternativeOutputFormats -}}
|
|
||||||
{{ printf `
|
|
||||||
<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) |
|
|
||||||
safeHTML }}
|
|
||||||
{{ end -}}
|
|
||||||
{{/* Asset bundles */}}
|
|
||||||
{{ $assets := newScratch }}
|
|
||||||
{{ $cssScheme := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "blowfish")) }}
|
|
||||||
{{ if not $cssScheme }}
|
|
||||||
{{ $cssScheme = resources.Get "css/schemes/blowfish.css" }}
|
|
||||||
{{ end }}
|
|
||||||
{{ $assets.Add "css" (slice $cssScheme) }}
|
|
||||||
{{ $cssMain := resources.Get "css/compiled/main.css" }}
|
|
||||||
{{ $assets.Add "css" (slice $cssMain) }}
|
|
||||||
{{ $cssCustom := resources.Get "css/custom.css" }}
|
|
||||||
{{ if $cssCustom }}
|
|
||||||
{{ $assets.Add "css" (slice $cssCustom) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint
|
|
||||||
"sha512" }}
|
|
||||||
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}"
|
|
||||||
integrity="{{ $bundleCSS.Data.Integrity }}" />
|
|
||||||
{{ $jsAppearance := resources.Get "js/appearance.js" }}
|
|
||||||
{{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint "sha512" }}
|
|
||||||
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}"
|
|
||||||
integrity="{{ $jsAppearance.Data.Integrity }}"></script>
|
|
||||||
{{ if .Site.Params.enableSearch | default false }}
|
|
||||||
{{ $jsFuse := resources.Get "lib/fuse/fuse.min.js" }}
|
|
||||||
{{ $jsSearch := resources.Get "js/search.js" }}
|
|
||||||
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Site.Params.enableCodeCopy | default false }}
|
|
||||||
{{ $jsCode := resources.Get "js/code.js" }}
|
|
||||||
{{ $assets.Add "js" (slice $jsCode) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Site.Params.rtl | default false }}
|
|
||||||
{{ $jsRTL := resources.Get "js/rtl.js" }}
|
|
||||||
{{ $assets.Add "js" (slice $jsRTL) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if $assets.Get "js" }}
|
|
||||||
{{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint
|
|
||||||
"sha512" }}
|
|
||||||
<script defer type="text/javascript" id="script-bundle" src="{{ $bundleJS.RelPermalink }}"
|
|
||||||
integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied"
|
|
||||||
}}"></script>
|
|
||||||
{{ end }}
|
|
||||||
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
|
||||||
{{/* Icons */}}
|
|
||||||
{{ if templates.Exists "partials/favicons.html" }}
|
|
||||||
{{ partialCached "favicons.html" .Site }}
|
|
||||||
{{ else }}
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}" />
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}" />
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}" />
|
|
||||||
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}" />
|
|
||||||
{{ end }}
|
|
||||||
{{/* Social */}}
|
|
||||||
<meta property="og:title" content="Myco.Systems co-op contracting">
|
|
||||||
<meta property="og:description" content="Hi, welcome to MycoSystems Web!">
|
|
||||||
<meta property="og:type" content="website">
|
|
||||||
<meta property="og:url" content="https://web.myco.systems/">
|
|
||||||
<meta property="og:site_name" content="web.myco.systems">
|
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary">
|
|
||||||
<meta name="twitter:title" content="Myco.Systems co-op contracting">
|
|
||||||
<meta name="twitter:description" content="Hi, welcome to MycoSystems Web!">
|
|
||||||
{{/* Schema */}}
|
|
||||||
{{ partial "schema.html" . }}
|
|
||||||
{{/* Me */}}
|
|
||||||
{{ with .Site.Author.name }}
|
|
||||||
<meta name="author" content="{{ . }}" />{{ end }}
|
|
||||||
{{ with .Site.Author.links }}
|
|
||||||
{{ range $links := . }}
|
|
||||||
{{ range $name, $url := $links }}
|
|
||||||
<link href="{{ $url }}" rel="me" />{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{/* Vendor */}}
|
|
||||||
{{ partial "vendor.html" . }}
|
|
||||||
{{/* Analytics */}}
|
|
||||||
{{ partial "analytics/main.html" .Site }}
|
|
||||||
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
|
|
||||||
{{ if templates.Exists "partials/extend-head.html" }}
|
|
||||||
{{ partialCached "extend-head.html" .Site }}
|
|
||||||
{{ end }}
|
|
||||||
<meta name="theme-color"/>
|
|
||||||
</head>
|
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
|
|
||||||
<article class="max-w-full prose dark:prose-invert">
|
|
||||||
<div class="relative">
|
|
||||||
<div class="absolute inset-x-0 bottom-0 h-1/2 bg-gray-100"></div>
|
|
||||||
<div class="mx-auto max-w-7xl p-0">
|
|
||||||
<div class="relative sm:overflow-hidden">
|
|
||||||
<div class="fixed inset-x-0 top-0" style="z-index:-10">
|
|
||||||
{{ $homepageImage := "" }}
|
|
||||||
{{ with .Site.Params.defaultBackgroundImage }}{{ $homepageImage = resources.Get . }}{{ end }}
|
|
||||||
{{ with .Site.Params.homepage.homepageImage }}{{ $homepageImage = resources.Get . }}{{ end }}
|
|
||||||
{{ if not (eq $homepageImage "") }}
|
|
||||||
<img class="w-full h-[1000px] object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}" role="presentation">
|
|
||||||
<div
|
|
||||||
class="absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
class="opacity-60 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div class="relative px-8 py-16 flex flex-col items-center justify-center text-center">
|
|
||||||
{{ with .Site.Author.image }}
|
|
||||||
{{ $authorImage := resources.Get . }}
|
|
||||||
{{ if $authorImage }}
|
|
||||||
{{ if not $disableImageOptimization }}
|
|
||||||
{{ $authorImage = $authorImage.Fill "288x288" }}
|
|
||||||
{{ end }}
|
|
||||||
<img class="mb-2 rounded-full h-36 w-36" width="144" height="144"
|
|
||||||
alt="{{ $.Site.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
<h1 class="mb-2 text-4xl font-extrabold text-neutral-800 dark:text-neutral-200">
|
|
||||||
{{ .Site.Author.name | default .Site.Title }}
|
|
||||||
</h1>
|
|
||||||
{{ with .Site.Author.headline }}
|
|
||||||
<h2 class="mt-0 mb-0 text-xl text-neutral-800 dark:text-neutral-300">
|
|
||||||
{{ . | markdownify | emojify }}
|
|
||||||
</h2>
|
|
||||||
{{ end }}
|
|
||||||
<div class="mt-3 mb-10 text-2xl">
|
|
||||||
{{ with .Site.Author.links }}
|
|
||||||
<div class="flex flex-wrap">
|
|
||||||
{{ range $links := . }}
|
|
||||||
{{ range $name, $url := $links }}
|
|
||||||
<a class="px-2 hover:text-primary-400 text-primary-800 dark:text-primary-200" href="{{ $url }}" target="_blank"
|
|
||||||
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial
|
|
||||||
"icon.html" $name }}</a>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<section class="prose dark:prose-invert">{{ .Content | emojify }}</section>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<section>
|
|
||||||
{{ partial "recent-articles/main.html" . }}
|
|
||||||
</section>
|
|
||||||
{{ if .Site.Params.homepage.layoutBackgroundBlur | default false }}
|
|
||||||
<div id="background-blur" class="fixed opacity-0 inset-x-0 top-0 h-full single_hero_background nozoom backdrop-blur-2xl"></div>
|
|
||||||
<script>
|
|
||||||
window.addEventListener('scroll', function (e) {
|
|
||||||
var scroll = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
||||||
var background_blur = document.getElementById('background-blur');
|
|
||||||
background_blur.style.opacity = (scroll / 300)
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
{{ end }}
|
|
|
@ -1,20 +0,0 @@
|
||||||
{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }}
|
|
||||||
<div id="background">
|
|
||||||
{{ partial "partials/home/background.html" . }}
|
|
||||||
</div>
|
|
||||||
<div id="hero" style="display:none">
|
|
||||||
{{ partial "partials/home/hero.html" . }}
|
|
||||||
</div>
|
|
||||||
<div id="profile" style="display:none">
|
|
||||||
{{ partial "partials/home/profile.html" . }}
|
|
||||||
</div>
|
|
||||||
<div id="card" style="display:none">
|
|
||||||
{{ partial "partials/home/card.html" . }}
|
|
||||||
</div>
|
|
||||||
<div id="page" style="display:none">
|
|
||||||
{{ partial "partials/home/page.html" . }}
|
|
||||||
</div>
|
|
||||||
<section>
|
|
||||||
{{ partial "recent-articles-demo.html" . }}
|
|
||||||
</section>
|
|
||||||
<script defer type="text/javascript" src="{{ $jsHome.RelPermalink }}" integrity="{{ $jsHome.Data.Integrity }}"></script>
|
|
|
@ -1,32 +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 }}
|
|
||||||
<a href="/services">
|
|
||||||
<h2 class="mt-8 text-2xl font-extrabold mb-10">Services</h2>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
{{ 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 }}
|
|
Binary file not shown.
Before Width: | Height: | Size: 766 B |
Binary file not shown.
Before Width: | Height: | Size: 2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
Loading…
Add table
Reference in a new issue