-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hugo now uses its own modules system so we don't need to import docsy using git submodules.
- Loading branch information
Showing
11 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,32 +1,32 @@ | ||
[build] | ||
base = "website" | ||
publish = "public" | ||
command = "git submodule update --init --recursive && hugo --gc --minify" | ||
command = "hugo --gc --minify" | ||
ignore = "cd ..; git diff --quiet HEAD^ HEAD ./website ./internal/api/gen/http/openapi.json" | ||
|
||
[context.split1] | ||
command = "git submodule update --init --recursive && hugo --gc --minify --enableGitInfo" | ||
command = "hugo --gc --minify --enableGitInfo" | ||
|
||
[context.split1.environment] | ||
HUGO_VERSION = "0.113.0" | ||
HUGO_VERSION = "0.115.3" | ||
HUGO_ENV = "production" | ||
|
||
[context.deploy-preview] | ||
command = "git submodule update --init --recursive && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" | ||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" | ||
|
||
[context.deploy-preview.environment] | ||
HUGO_VERSION = "0.113.0" | ||
HUGO_VERSION = "0.115.3" | ||
|
||
[context.branch-deploy] | ||
command = "git submodule update --init --recursive && hugo --gc --minify -b $DEPLOY_PRIME_URL" | ||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" | ||
|
||
[context.branch-deploy.environment] | ||
HUGO_VERSION = "ç" | ||
HUGO_VERSION = "0.115.3" | ||
|
||
[context.next.environment] | ||
HUGO_ENABLEGITINFO = "true" | ||
|
||
[context.production.environment] | ||
HUGO_VERSION = "0.113.0" | ||
HUGO_VERSION = "0.115.3" | ||
HUGO_ENV = "production" | ||
HUGO_ENABLEGITINFO = "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
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
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
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 @@ | ||
module github.com/artefactual-labs/enduro/website | ||
|
||
go 1.20 | ||
|
||
require github.com/google/docsy v0.7.1 // indirect |
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,8 @@ | ||
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= | ||
github.com/google/docsy v0.7.0 h1:JaeZ0/KufX/BJ3SyATb/fmZa1DFI7o5d9KU+i6+lLJY= | ||
github.com/google/docsy v0.7.0/go.mod h1:5WhIFchr5BfH6agjcInhpLRz7U7map0bcmKSpcrg6BE= | ||
github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY= | ||
github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc= | ||
github.com/google/docsy/dependencies v0.7.0/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= | ||
github.com/google/docsy/dependencies v0.7.1/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= | ||
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= |
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,23 @@ | ||
{{ define "main" }} | ||
<div class="td-content"> | ||
<h1>{{ .Title }}</h1> | ||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} | ||
<header class="article-meta"> | ||
{{ partial "taxonomy_terms_article_wrapper.html" . -}} | ||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}} | ||
{{ partial "reading-time.html" . -}} | ||
{{ end -}} | ||
</header> | ||
{{ .Content }} | ||
{{ partial "section-index.html" . -}} | ||
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) -}} | ||
{{ partial "feedback.html" .Site.Params.ui.feedback -}} | ||
<br /> | ||
{{ end -}} | ||
{{ if (.Site.DisqusShortname) -}} | ||
<br /> | ||
{{ partial "disqus-comment.html" . -}} | ||
{{ end -}} | ||
{{ partial "page-meta-lastmod.html" . -}} | ||
</div> | ||
{{ end -}} |
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
Submodule docsy
deleted from
5597d4