From 7d762df83f2539ca89605e40541afbdb20941542 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 4 Jan 2021 18:19:42 +0200 Subject: [PATCH] Added option to remove cover image --- templates/dart/README.md.twig | 2 ++ templates/deno/README.md.twig | 3 ++- templates/dotnet/README.md.twig | 2 ++ templates/flutter/README.md.twig | 2 ++ templates/go/README.md.twig | 4 ++-- templates/java/README.md.twig | 4 ++-- templates/node/README.md.twig | 4 ++-- templates/php/README.md.twig | 4 ++-- templates/python/README.md.twig | 4 ++-- templates/ruby/README.md.twig | 4 ++-- templates/swift/README.md.twig | 4 ++-- templates/typescript/README.md.twig | 4 ++-- templates/web/README.md.twig | 2 ++ 13 files changed, 26 insertions(+), 17 deletions(-) diff --git a/templates/dart/README.md.twig b/templates/dart/README.md.twig index d6218bd9a..9e1ea2052 100644 --- a/templates/dart/README.md.twig +++ b/templates/dart/README.md.twig @@ -12,7 +12,9 @@ +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/deno/README.md.twig b/templates/deno/README.md.twig index ddb7ab86d..1af7f8881 100644 --- a/templates/deno/README.md.twig +++ b/templates/deno/README.md.twig @@ -10,8 +10,9 @@ {{ sdk.description }} - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/dotnet/README.md.twig b/templates/dotnet/README.md.twig index 1bf610d94..73bf14eb3 100644 --- a/templates/dotnet/README.md.twig +++ b/templates/dotnet/README.md.twig @@ -9,7 +9,9 @@ {{ sdk.description }} +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/flutter/README.md.twig b/templates/flutter/README.md.twig index d6218bd9a..9e1ea2052 100644 --- a/templates/flutter/README.md.twig +++ b/templates/flutter/README.md.twig @@ -12,7 +12,9 @@ +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/go/README.md.twig b/templates/go/README.md.twig index a40401e0a..97dbc932a 100644 --- a/templates/go/README.md.twig +++ b/templates/go/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/java/README.md.twig b/templates/java/README.md.twig index 4e8d02c2b..d6b38aefe 100644 --- a/templates/java/README.md.twig +++ b/templates/java/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/node/README.md.twig b/templates/node/README.md.twig index 482131e92..2153375d8 100644 --- a/templates/node/README.md.twig +++ b/templates/node/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/php/README.md.twig b/templates/php/README.md.twig index 8f5daaa9d..742cadb8e 100644 --- a/templates/php/README.md.twig +++ b/templates/php/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/python/README.md.twig b/templates/python/README.md.twig index bfd14588d..6ebe9860a 100644 --- a/templates/python/README.md.twig +++ b/templates/python/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/ruby/README.md.twig b/templates/ruby/README.md.twig index ab343ac23..72e24ac6b 100644 --- a/templates/ruby/README.md.twig +++ b/templates/ruby/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/swift/README.md.twig b/templates/swift/README.md.twig index 149ff9f47..13821c989 100644 --- a/templates/swift/README.md.twig +++ b/templates/swift/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/typescript/README.md.twig b/templates/typescript/README.md.twig index 482131e92..2153375d8 100644 --- a/templates/typescript/README.md.twig +++ b/templates/typescript/README.md.twig @@ -9,9 +9,9 @@ {{ sdk.description }} - - +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation diff --git a/templates/web/README.md.twig b/templates/web/README.md.twig index 6f3a221c3..2e1bba043 100644 --- a/templates/web/README.md.twig +++ b/templates/web/README.md.twig @@ -9,7 +9,9 @@ {{ sdk.description }} +{% if sdk.logo %} ![{{ spec.title }}]({{ sdk.logo }}) +{% endif %} ## Installation