-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from axivo/fix/global-module
Implement global module
- Loading branch information
Showing
6 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/axivo/website/global | ||
|
||
go 1.22.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
build: | ||
buildStats: | ||
disableIDs: true | ||
enable: true | ||
defaultContentLanguage: en | ||
enableInlineShortcodes: true | ||
enableGitInfo: true | ||
enableRobotsTXT: true | ||
hasCJKLanguage: true | ||
languages: | ||
en: | ||
languageName: English | ||
weight: 1 | ||
markup: | ||
goldmark: | ||
renderer: | ||
unsafe: true | ||
highlight: | ||
noClasses: false | ||
outputs: | ||
home: [HTML] | ||
page: [HTML] | ||
section: [HTML, RSS] | ||
params: | ||
blog: | ||
list: | ||
displayTags: true | ||
comments: | ||
enable: false | ||
giscus: | ||
category: Discussions | ||
categoryId: DIC_kwDOI0Z9Z84Cfhkt | ||
emitMetadata: 0 | ||
inputPosition: bottom | ||
lang: en | ||
mapping: pathname | ||
reactionsEnabled: 1 | ||
repo: axivo/website | ||
repoId: R_kgDOI0Z9Zw | ||
strict: 0 | ||
type: giscus | ||
dateFormat: 'January 2, 2006' | ||
displayUpdatedDate: true | ||
footer: | ||
displayCopyright: true | ||
displayPoweredBy: false | ||
enable: true | ||
width: normal | ||
navbar: | ||
displayTitle: true | ||
displayLogo: true | ||
# logo: | ||
# path: /logo.svg | ||
# dark: /logo.svg | ||
# link: / | ||
# width: 20 | ||
# height: 10 | ||
# width: wide | ||
page: | ||
width: normal | ||
theme: | ||
default: system | ||
displayToggle: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
copyright: 'Copyright © 2024 AXIVO' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/quicklink/2.3.0/quicklink.umd.min.js"></script> | ||
<script> | ||
window.addEventListener("load", () => { | ||
quicklink.listen(); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- $style := .Get "style" -}} | ||
{{- $header := int (strings.TrimPrefix "h" (.Get "header" | default "h2")) -}} | ||
{{- $size := cond (ge $header 4) "xl" (cond (eq $header 3) "2xl" "4xl") -}} | ||
|
||
<h{{ $header }} | ||
class="not-prose hx-text-{{ $size }} hx-font-bold hx-leading-none hx-tracking-tighter md:hx-text-3xl hx-py-2 hx-bg-clip-text hx-text-transparent hx-bg-gradient-to-r hx-from-gray-900 hx-to-gray-600 dark:hx-from-gray-100 dark:hx-to-gray-400" | ||
{{ with $style }}style="{{ . | safeCSS }}"{{ end }} | ||
> | ||
{{ .Inner | markdownify }} | ||
</h{{ $header }}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- $nested := eq (.Get "nested") "true" | default false -}} | ||
|
||
<div class="steps hx-ml-4 hx-mb-12 ltr:hx-border-l rtl:hx-border-r hx-border-gray-200 ltr:hx-pl-6 rtl:hx-pr-6 dark:hx-border-neutral-800 {{ if not $nested }}[counter-reset:step]{{ end }}"> | ||
{{- .Inner -}} | ||
</div> |