From 31512611491e75f36eee1ecc4fc34273c2f628c0 Mon Sep 17 00:00:00 2001 From: Emil Krebs <68400102+emilkrebs@users.noreply.github.com> Date: Tue, 2 Jan 2024 14:52:43 +0100 Subject: [PATCH] Added a external showcase `https://bestsolution-at.github.io/openapi-dsl/` (#207) --- hugo/content/showcase/openapi.html | 12 ++++ hugo/layouts/langium/list.html | 12 +++- hugo/static/assets/BestSolution_OpenAPI.svg | 72 +++++++++++++++++++++ hugo/static/assets/external_link.svg | 16 +++++ 4 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 hugo/content/showcase/openapi.html create mode 100644 hugo/static/assets/BestSolution_OpenAPI.svg create mode 100644 hugo/static/assets/external_link.svg diff --git a/hugo/content/showcase/openapi.html b/hugo/content/showcase/openapi.html new file mode 100644 index 00000000..2f6e8460 --- /dev/null +++ b/hugo/content/showcase/openapi.html @@ -0,0 +1,12 @@ +--- +title: "OpenAPI SL" +weight: 0 +type: langium +layout: showcase-page +externalUrl: "https://bestsolution-at.github.io/openapi-dsl/" +img: "/assets/BestSolution_OpenAPI.svg" +description: A proof-of-concept DSL to describe OpenAPI-Documents in a concise and human readable way. Made by BestSolution. +geekdochidden: true +draft: false +noMain: true +--- diff --git a/hugo/layouts/langium/list.html b/hugo/layouts/langium/list.html index 1958f237..b47abbc5 100644 --- a/hugo/layouts/langium/list.html +++ b/hugo/layouts/langium/list.html @@ -4,9 +4,19 @@
{{range where .Pages.ByWeight ".Params.draft" false}}
+ {{ if .Params.url }} + {{ else if .Params.externalUrl }} + + {{ end }} -

{{.Title}}

+

+ {{.Title}} + {{ if .Params.externalUrl }} + + {{ end }} + +

{{.Params.description}}

diff --git a/hugo/static/assets/BestSolution_OpenAPI.svg b/hugo/static/assets/BestSolution_OpenAPI.svg new file mode 100644 index 00000000..c01af066 --- /dev/null +++ b/hugo/static/assets/BestSolution_OpenAPI.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hugo/static/assets/external_link.svg b/hugo/static/assets/external_link.svg new file mode 100644 index 00000000..5373e99c --- /dev/null +++ b/hugo/static/assets/external_link.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + +