diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/content/cms-api-proto/v0.html b/content/cms-api-proto/v0.html new file mode 100644 index 0000000..23cfdfa --- /dev/null +++ b/content/cms-api-proto/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms-api-proto' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms-api-proto' +--- diff --git a/content/cms-api-proto/v1.html b/content/cms-api-proto/v1.html new file mode 100644 index 0000000..d764ad2 --- /dev/null +++ b/content/cms-api-proto/v1.html @@ -0,0 +1,8 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms-api-proto' +version: 'v1' +branch: 'master' +source: 'https://git.unistack.org/unistack-org/cms-api-proto' +--- diff --git a/content/cms-api/v0.html b/content/cms-api/v0.html new file mode 100644 index 0000000..9e8db17 --- /dev/null +++ b/content/cms-api/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms-api' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms-api' +--- diff --git a/content/cms-api/v1.html b/content/cms-api/v1.html new file mode 100644 index 0000000..331fe01 --- /dev/null +++ b/content/cms-api/v1.html @@ -0,0 +1,7 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms-api' +version: 'v1' +source: 'https://git.unistack.org/unistack-org/cms-api' +--- diff --git a/content/cms-service/v0.html b/content/cms-service/v0.html new file mode 100644 index 0000000..941b9cf --- /dev/null +++ b/content/cms-service/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms-service' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms-service' +--- diff --git a/content/cms-service/v1.html b/content/cms-service/v1.html new file mode 100644 index 0000000..644e5f0 --- /dev/null +++ b/content/cms-service/v1.html @@ -0,0 +1,7 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms-service' +version: 'v1' +source: 'https://git.unistack.org/unistack-org/cms-service' +--- diff --git a/content/cms-setup-proto/v0.html b/content/cms-setup-proto/v0.html new file mode 100644 index 0000000..2f18bf9 --- /dev/null +++ b/content/cms-setup-proto/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms-setup-proto' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms-setup-proto' +--- diff --git a/content/cms-setup-proto/v1.html b/content/cms-setup-proto/v1.html new file mode 100644 index 0000000..ed3fa13 --- /dev/null +++ b/content/cms-setup-proto/v1.html @@ -0,0 +1,8 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms-setup-proto' +version: 'v1' +branch: 'master' +source: 'https://git.unistack.org/unistack-org/cms-setup-proto' +--- diff --git a/content/cms-unistack/v0.html b/content/cms-unistack/v0.html new file mode 100644 index 0000000..95182f0 --- /dev/null +++ b/content/cms-unistack/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms-unistack' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms-unistack' +--- diff --git a/content/cms-unistack/v1.html b/content/cms-unistack/v1.html new file mode 100644 index 0000000..d958619 --- /dev/null +++ b/content/cms-unistack/v1.html @@ -0,0 +1,7 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms-unistack' +version: 'v1' +source: 'https://git.unistack.org/unistack-org/cms-unistack' +--- diff --git a/content/cms/v0.html b/content/cms/v0.html new file mode 100644 index 0000000..07143dc --- /dev/null +++ b/content/cms/v0.html @@ -0,0 +1,7 @@ +--- +title: 'v0' +section: 'cms' +import: 'go.unistack.org/cms' +version: 'v0' +source: 'https://git.unistack.org/unistack-org/cms' +--- diff --git a/content/cms/v1.html b/content/cms/v1.html new file mode 100644 index 0000000..0052b08 --- /dev/null +++ b/content/cms/v1.html @@ -0,0 +1,7 @@ +--- +title: 'v1' +section: 'cms' +import: 'go.unistack.org/cms' +version: 'v1' +source: 'https://git.unistack.org/unistack-org/cms' +--- diff --git a/content/micro-client-mock/v3.html b/content/micro-client-mock/v3.html new file mode 100644 index 0000000..6973e66 --- /dev/null +++ b/content/micro-client-mock/v3.html @@ -0,0 +1,7 @@ +--- +title: 'v3' +section: 'micro' +import: 'go.unistack.org/micro-client-mock' +version: 'v3' +source: 'https://git.unistack.org/unistack-org/micro-client-mock' +--- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 772f95f..d282fd6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,14 +1,17 @@ +{{- $version := cond (eq .Params.version "v0") "" (cond (eq .Params.version "v1") "" (cond (eq .Params.version "") "" (printf "/%s" .Params.version ))) -}} +{{- $branch := cond (eq .Params.version "v0") "master" (cond (eq .Params.version "v1") "master" (cond (eq .Params.version "") "" .Params.version)) -}} + {{ .Title }} - - - + + + - pkg.go.dev
- go get {{ .Params.import }}/{{ .Params.version }}
+ pkg.go.dev
+ go get {{ .Params.import }}{{ $version }}