From 7e7a413b78cab5f15ea003500f21a2e29c488fb6 Mon Sep 17 00:00:00 2001 From: GitCaddy Date: Tue, 13 Jan 2026 08:40:02 +0000 Subject: [PATCH] Fix editorconfig issues and home.tmpl pinned org display format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix home.tmpl to properly show promotional content when selected - Fix line endings and indentation in all templates - Fix locale file line endings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- options/locale/locale_cs-CZ.json | 2 +- options/locale/locale_de-DE.json | 2 +- options/locale/locale_el-GR.json | 2 +- options/locale/locale_en-US.json | 2 +- options/locale/locale_es-ES.json | 2 +- options/locale/locale_fa-IR.json | 2 +- options/locale/locale_fi-FI.json | 2 +- options/locale/locale_fr-FR.json | 2 +- options/locale/locale_ga-IE.json | 2 +- options/locale/locale_hu-HU.json | 2 +- options/locale/locale_id-ID.json | 2 +- options/locale/locale_is-IS.json | 2 +- options/locale/locale_it-IT.json | 2 +- options/locale/locale_ja-JP.json | 2 +- options/locale/locale_ko-KR.json | 2 +- options/locale/locale_lv-LV.json | 2 +- options/locale/locale_nl-NL.json | 2 +- options/locale/locale_pl-PL.json | 2 +- options/locale/locale_pt-BR.json | 2 +- options/locale/locale_pt-PT.json | 2 +- options/locale/locale_ru-RU.json | 2 +- options/locale/locale_si-LK.json | 2 +- options/locale/locale_sk-SK.json | 2 +- options/locale/locale_sv-SE.json | 2 +- options/locale/locale_tr-TR.json | 2 +- options/locale/locale_uk-UA.json | 2 +- options/locale/locale_zh-CN.json | 2 +- options/locale/locale_zh-TW.json | 2 +- templates/home.tmpl | 62 +- templates/pages/bold-marketing.tmpl | 1964 ++++++++++++------------- templates/pages/minimalist-docs.tmpl | 1570 ++++++++++---------- templates/pages/open-source-hero.tmpl | 1838 +++++++++++------------ templates/pages/saas-conversion.tmpl | 1824 +++++++++++------------ templates/swagger/ui.tmpl | 136 +- 34 files changed, 3736 insertions(+), 3714 deletions(-) diff --git a/options/locale/locale_cs-CZ.json b/options/locale/locale_cs-CZ.json index 95f4a744f1..e3c3b2ca90 100644 --- a/options/locale/locale_cs-CZ.json +++ b/options/locale/locale_cs-CZ.json @@ -3307,4 +3307,4 @@ "git.filemode.executable_file": "Spustitelný soubor", "git.filemode.symbolic_link": "Symbolický odkaz", "git.filemode.submodule": "Submodul" -} \ No newline at end of file +} diff --git a/options/locale/locale_de-DE.json b/options/locale/locale_de-DE.json index b88144e4de..893172b5af 100644 --- a/options/locale/locale_de-DE.json +++ b/options/locale/locale_de-DE.json @@ -3250,4 +3250,4 @@ "git.filemode.symbolic_link": "Softlink", "git.filemode.submodule": "Submodul", "based_on": "Basiert auf" -} \ No newline at end of file +} diff --git a/options/locale/locale_el-GR.json b/options/locale/locale_el-GR.json index b731da78de..3ac3a8e724 100644 --- a/options/locale/locale_el-GR.json +++ b/options/locale/locale_el-GR.json @@ -3001,4 +3001,4 @@ "git.filemode.normal_file": "Κανονικό αρχείο", "git.filemode.executable_file": "Εκτελέσιμο αρχείο", "git.filemode.submodule": "Υπομονάδα" -} \ No newline at end of file +} diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json index e7e9c9c55f..722946a09a 100644 --- a/options/locale/locale_en-US.json +++ b/options/locale/locale_en-US.json @@ -3946,4 +3946,4 @@ "repo.settings.pages.seo_description": "Meta Description", "repo.settings.pages.seo_keywords": "Keywords", "repo.settings.pages.og_image": "Open Graph Image URL" -} \ No newline at end of file +} diff --git a/options/locale/locale_es-ES.json b/options/locale/locale_es-ES.json index 595b785057..d1fff75772 100644 --- a/options/locale/locale_es-ES.json +++ b/options/locale/locale_es-ES.json @@ -2964,4 +2964,4 @@ "startpage.platform_desc": "Diseñado para la era del desarrollo asistido por IA. APIs estructuradas, descubrimiento de capacidades y contexto inteligente para herramientas de IA.", "startpage.license_desc": "GitCaddy es de código abierto y construido sobre hombros de gigantes. Basado en Gitea, mejorado para la era de la IA.", "based_on": "Basado en" -} \ No newline at end of file +} diff --git a/options/locale/locale_fa-IR.json b/options/locale/locale_fa-IR.json index 5a06324f13..b33d58361d 100644 --- a/options/locale/locale_fa-IR.json +++ b/options/locale/locale_fa-IR.json @@ -2229,4 +2229,4 @@ "actions.runners.version": "نسخه", "actions.runs.commit": "کامیت", "git.filemode.symbolic_link": "پیوند نمادین" -} \ No newline at end of file +} diff --git a/options/locale/locale_fi-FI.json b/options/locale/locale_fi-FI.json index 15b9146fe4..7e35ad99e2 100644 --- a/options/locale/locale_fi-FI.json +++ b/options/locale/locale_fi-FI.json @@ -1475,4 +1475,4 @@ "actions.runners.task_list.run": "Suorita", "actions.runners.task_list.repository": "Repo", "actions.runners.version": "Versio" -} \ No newline at end of file +} diff --git a/options/locale/locale_fr-FR.json b/options/locale/locale_fr-FR.json index 7aa7f34fc8..79397465ec 100644 --- a/options/locale/locale_fr-FR.json +++ b/options/locale/locale_fr-FR.json @@ -3591,4 +3591,4 @@ "git.filemode.submodule": "Sous-module", "startpage.license": "Open Source", "based_on": "Basé sur" -} \ No newline at end of file +} diff --git a/options/locale/locale_ga-IE.json b/options/locale/locale_ga-IE.json index 3bb2b8aa3c..8d8a31553d 100644 --- a/options/locale/locale_ga-IE.json +++ b/options/locale/locale_ga-IE.json @@ -3698,4 +3698,4 @@ "git.filemode.executable_file": "Comhad infheidhmithe", "git.filemode.symbolic_link": "Nasc siombalach", "git.filemode.submodule": "Fo-mhodúl" -} \ No newline at end of file +} diff --git a/options/locale/locale_hu-HU.json b/options/locale/locale_hu-HU.json index 2fdc764743..014b13a041 100644 --- a/options/locale/locale_hu-HU.json +++ b/options/locale/locale_hu-HU.json @@ -1384,4 +1384,4 @@ "actions.runners.status.active": "Aktív", "actions.runners.version": "Verzió", "git.filemode.symbolic_link": "Szimbolikus hivatkozás" -} \ No newline at end of file +} diff --git a/options/locale/locale_id-ID.json b/options/locale/locale_id-ID.json index 846d2ee9d9..5d5bfef19d 100644 --- a/options/locale/locale_id-ID.json +++ b/options/locale/locale_id-ID.json @@ -1199,4 +1199,4 @@ "projects.type-1.display_name": "Proyek Individu", "projects.type-2.display_name": "Proyek Repositori", "projects.type-3.display_name": "Proyek Organisasi" -} \ No newline at end of file +} diff --git a/options/locale/locale_is-IS.json b/options/locale/locale_is-IS.json index 49a8c28da7..93b519d65f 100644 --- a/options/locale/locale_is-IS.json +++ b/options/locale/locale_is-IS.json @@ -1117,4 +1117,4 @@ "actions.runners.status.active": "Virkt", "actions.runners.version": "Útgáfa", "actions.runs.commit": "Framlag" -} \ No newline at end of file +} diff --git a/options/locale/locale_it-IT.json b/options/locale/locale_it-IT.json index 6428d32dc1..fcb227e349 100644 --- a/options/locale/locale_it-IT.json +++ b/options/locale/locale_it-IT.json @@ -2383,4 +2383,4 @@ "startpage.license": "Open Source", "startpage.license_desc": "GitCaddy è open source e costruito sulle spalle dei giganti. Basato su Gitea, migliorato per l'era dell'AI.", "based_on": "Basato su" -} \ No newline at end of file +} diff --git a/options/locale/locale_ja-JP.json b/options/locale/locale_ja-JP.json index 5947dcdf13..e885ff2019 100644 --- a/options/locale/locale_ja-JP.json +++ b/options/locale/locale_ja-JP.json @@ -3654,4 +3654,4 @@ "git.filemode.symbolic_link": "シンボリックリンク", "git.filemode.submodule": "サブモジュール", "based_on": "ベース" -} \ No newline at end of file +} diff --git a/options/locale/locale_ko-KR.json b/options/locale/locale_ko-KR.json index 349de16cee..a26c0d4393 100644 --- a/options/locale/locale_ko-KR.json +++ b/options/locale/locale_ko-KR.json @@ -1352,4 +1352,4 @@ "startpage.lightweight_desc": "최소한의 자원, 최대의 성능. GitCaddy는 Raspberry Pi부터 엔터프라이즈 서버까지 효율적으로 실행됩니다.", "startpage.license_desc": "GitCaddy는 오픈 소스이며 거인의 어깨 위에 서 있습니다. Gitea를 기반으로 AI 시대에 맞게 강화되었습니다.", "based_on": "기반" -} \ No newline at end of file +} diff --git a/options/locale/locale_lv-LV.json b/options/locale/locale_lv-LV.json index b7b41440de..40b3d6bf78 100644 --- a/options/locale/locale_lv-LV.json +++ b/options/locale/locale_lv-LV.json @@ -3043,4 +3043,4 @@ "git.filemode.executable_file": "Izpildāmais fails", "git.filemode.symbolic_link": "Simboliska saite", "git.filemode.submodule": "Apakšmodulis" -} \ No newline at end of file +} diff --git a/options/locale/locale_nl-NL.json b/options/locale/locale_nl-NL.json index f59c520de0..e14bb08007 100644 --- a/options/locale/locale_nl-NL.json +++ b/options/locale/locale_nl-NL.json @@ -2100,4 +2100,4 @@ "startpage.license": "Open Source", "startpage.license_desc": "GitCaddy is open source en gebouwd op de schouders van reuzen. Gebaseerd op Gitea, verbeterd voor het AI-tijdperk.", "based_on": "Gebaseerd op" -} \ No newline at end of file +} diff --git a/options/locale/locale_pl-PL.json b/options/locale/locale_pl-PL.json index 039238b51a..fe66042e6e 100644 --- a/options/locale/locale_pl-PL.json +++ b/options/locale/locale_pl-PL.json @@ -2115,4 +2115,4 @@ "startpage.platform_desc": "Zbudowany dla ery rozwoju wspomaganego przez AI. Ustrukturyzowane API, odkrywanie możliwości i inteligentny kontekst dla narzędzi AI.", "startpage.license_desc": "GitCaddy jest open source i stoi na ramionach gigantów. Oparty na Gitea, ulepszony dla ery AI.", "based_on": "Na podstawie" -} \ No newline at end of file +} diff --git a/options/locale/locale_pt-BR.json b/options/locale/locale_pt-BR.json index 93425dfeda..e0de5ae001 100644 --- a/options/locale/locale_pt-BR.json +++ b/options/locale/locale_pt-BR.json @@ -3288,4 +3288,4 @@ "git.filemode.symbolic_link": "Link simbólico", "git.filemode.submodule": "Submódulo", "based_on": "Baseado em" -} \ No newline at end of file +} diff --git a/options/locale/locale_pt-PT.json b/options/locale/locale_pt-PT.json index a7a2176f74..a6d3892fc2 100644 --- a/options/locale/locale_pt-PT.json +++ b/options/locale/locale_pt-PT.json @@ -3726,4 +3726,4 @@ "git.filemode.symbolic_link": "Ligação simbólica", "git.filemode.submodule": "Submódulo", "based_on": "Baseado em" -} \ No newline at end of file +} diff --git a/options/locale/locale_ru-RU.json b/options/locale/locale_ru-RU.json index ed5ba8d842..1adbc8fae1 100644 --- a/options/locale/locale_ru-RU.json +++ b/options/locale/locale_ru-RU.json @@ -2987,4 +2987,4 @@ "startpage.platform_desc": "Создан для эпохи AI-ассистированной разработки. Структурированные API, обнаружение возможностей и интеллектуальный контекст для AI-инструментов.", "startpage.license_desc": "GitCaddy имеет открытый исходный код и стоит на плечах гигантов. Основан на Gitea, улучшен для эпохи AI.", "based_on": "На основе" -} \ No newline at end of file +} diff --git a/options/locale/locale_si-LK.json b/options/locale/locale_si-LK.json index b5ae0fecea..d0dc49c0fa 100644 --- a/options/locale/locale_si-LK.json +++ b/options/locale/locale_si-LK.json @@ -2190,4 +2190,4 @@ "actions.runners.version": "අනුවාදය", "actions.runs.commit": "කැප", "git.filemode.symbolic_link": "සංකේතාත්මක සබැඳිය" -} \ No newline at end of file +} diff --git a/options/locale/locale_sk-SK.json b/options/locale/locale_sk-SK.json index 944ef7fb8f..3c8a4c3e0e 100644 --- a/options/locale/locale_sk-SK.json +++ b/options/locale/locale_sk-SK.json @@ -1161,4 +1161,4 @@ "actions.runners.status.unspecified": "Neznámy", "actions.runners.version": "Verzia", "git.filemode.symbolic_link": "Symbolický odkaz" -} \ No newline at end of file +} diff --git a/options/locale/locale_sv-SE.json b/options/locale/locale_sv-SE.json index 559d00bbc6..c3cfce1165 100644 --- a/options/locale/locale_sv-SE.json +++ b/options/locale/locale_sv-SE.json @@ -1734,4 +1734,4 @@ "actions.runners.task_list.repository": "Utvecklingskatalog", "actions.runners.status.active": "Aktiv", "git.filemode.symbolic_link": "Symbolisk länk" -} \ No newline at end of file +} diff --git a/options/locale/locale_tr-TR.json b/options/locale/locale_tr-TR.json index dd4df77a93..2963024aa6 100644 --- a/options/locale/locale_tr-TR.json +++ b/options/locale/locale_tr-TR.json @@ -3664,4 +3664,4 @@ "git.filemode.symbolic_link": "Sembolik Bağlantı", "git.filemode.submodule": "Alt modül", "based_on": "Dayalı" -} \ No newline at end of file +} diff --git a/options/locale/locale_uk-UA.json b/options/locale/locale_uk-UA.json index 5e7827f694..b2883d46d2 100644 --- a/options/locale/locale_uk-UA.json +++ b/options/locale/locale_uk-UA.json @@ -3185,4 +3185,4 @@ "git.filemode.submodule": "Підмодуль", "startpage.license_desc": "GitCaddy має відкритий вихідний код і стоїть на плечах гігантів. Заснований на Gitea, покращений для ери AI.", "based_on": "На основі" -} \ No newline at end of file +} diff --git a/options/locale/locale_zh-CN.json b/options/locale/locale_zh-CN.json index 92b5ccfd13..fb45bc6f2b 100644 --- a/options/locale/locale_zh-CN.json +++ b/options/locale/locale_zh-CN.json @@ -3727,4 +3727,4 @@ "git.filemode.symbolic_link": "符号链接", "git.filemode.submodule": "子模块", "based_on": "基于" -} \ No newline at end of file +} diff --git a/options/locale/locale_zh-TW.json b/options/locale/locale_zh-TW.json index a44d931a99..3b8f3dd4f0 100644 --- a/options/locale/locale_zh-TW.json +++ b/options/locale/locale_zh-TW.json @@ -3299,4 +3299,4 @@ "git.filemode.symbolic_link": "符號連結", "git.filemode.submodule": "子模組", "based_on": "基於" -} \ No newline at end of file +} diff --git a/templates/home.tmpl b/templates/home.tmpl index a9ad1afac3..27d06c2761 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -30,26 +30,48 @@ - {{if .PinnedOrganizations}} -
- {{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "promotional"}} - {{/* Promotional format: large cards with prominent display */}} -
- {{range .PinnedOrganizations}} - -
-
- {{ctx.AvatarUtils.Avatar . 96 "tw-rounded"}} -
-
{{.DisplayName}}
- {{if .Description}} -
{{.Description}}
- {{end}} -
-
- {{end}} + {{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "promotional"}} + {{/* Promotional format: show marketing content */}} +
+
+

+ {{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}} +

+

+ {{ctx.Locale.Tr "startpage.install_desc"}} +

- {{else if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "regular"}} +
+

+ {{svg "octicon-dependabot"}} {{ctx.Locale.Tr "startpage.platform"}} +

+

+ {{ctx.Locale.Tr "startpage.platform_desc"}} +

+
+
+
+
+

+ {{svg "octicon-rocket"}} {{ctx.Locale.Tr "startpage.lightweight"}} +

+

+ {{ctx.Locale.Tr "startpage.lightweight_desc"}} +

+
+
+

+ {{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}} +

+

+ {{ctx.Locale.Tr "startpage.license_desc"}} +

+
+
+ {{else if .PinnedOrganizations}} + {{/* Show pinned organizations */}} +
+ {{if eq (.SystemConfig.Theme.PinnedOrgDisplayFormat.Value ctx) "regular"}} {{/* Regular format: icon above, title below, description below that */}}
{{range .PinnedOrganizations}} @@ -88,7 +110,7 @@ {{end}}
{{else}} - {{/* Only show promotional text when there are no pinned organizations */}} + {{/* No pinned organizations - show promotional content as fallback */}}

diff --git a/templates/pages/bold-marketing.tmpl b/templates/pages/bold-marketing.tmpl index 08cd41f346..396e0269a2 100644 --- a/templates/pages/bold-marketing.tmpl +++ b/templates/pages/bold-marketing.tmpl @@ -1,1000 +1,1000 @@ {{template "pages/base_head" .}}
- - + + - -
-
-
-
+ +
+
+
+
-
-

- {{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}} -

-

{{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}}

-
- {{if .Config.Hero.PrimaryCTA.Label}} - - {{.Config.Hero.PrimaryCTA.Label}} - {{svg "octicon-arrow-right" 20}} - - {{end}} - {{if .Config.Hero.SecondaryCTA.Label}} - - {{svg "octicon-play" 20}} - {{.Config.Hero.SecondaryCTA.Label}} - - {{end}} -
-
-
+
+

+ {{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}} +

+

{{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}}

+
+ {{if .Config.Hero.PrimaryCTA.Label}} + + {{.Config.Hero.PrimaryCTA.Label}} + {{svg "octicon-arrow-right" 20}} + + {{end}} + {{if .Config.Hero.SecondaryCTA.Label}} + + {{svg "octicon-play" 20}} + {{.Config.Hero.SecondaryCTA.Label}} + + {{end}} +
+
+
- {{if .Config.Stats}} - -
-
- {{range .Config.Stats}} -
-
{{.Value}}
-
{{.Label}}
-
- {{end}} -
-
- {{end}} + {{if .Config.Stats}} + +
+
+ {{range .Config.Stats}} +
+
{{.Value}}
+
{{.Label}}
+
+ {{end}} +
+
+ {{end}} - {{if .Config.SocialProof.Logos}} - -
-

Trusted by the world's best teams

-
- {{range .Config.SocialProof.Logos}} - - {{end}} -
-
- {{end}} + {{if .Config.SocialProof.Logos}} + +
+

Trusted by the world's best teams

+
+ {{range .Config.SocialProof.Logos}} + + {{end}} +
+
+ {{end}} - {{if .Config.ValueProps}} - -
-
-

Unlock your potential

-

Everything you need to create without limits

-
-
- {{range .Config.ValueProps}} -
-
- {{svg (printf "octicon-%s" (or .Icon "zap")) 32}} -
-

{{.Title}}

-

{{.Description}}

-
- {{end}} -
-
- {{end}} + {{if .Config.ValueProps}} + +
+
+

Unlock your potential

+

Everything you need to create without limits

+
+
+ {{range .Config.ValueProps}} +
+
+ {{svg (printf "octicon-%s" (or .Icon "zap")) 32}} +
+

{{.Title}}

+

{{.Description}}

+
+ {{end}} +
+
+ {{end}} - {{if .Config.Features}} - -
-

Packed with power

-
- {{range .Config.Features}} -
-
- {{svg (printf "octicon-%s" (or .Icon "zap")) 22}} -
-
-
{{.Title}}
-
{{.Description}}
-
-
- {{end}} -
-
- {{end}} + {{if .Config.Features}} + +
+

Packed with power

+
+ {{range .Config.Features}} +
+
+ {{svg (printf "octicon-%s" (or .Icon "zap")) 22}} +
+
+
{{.Title}}
+
{{.Description}}
+
+
+ {{end}} +
+
+ {{end}} - {{if .Config.Pricing.Plans}} - -
-
-

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Simple Pricing{{end}}

-

Choose the plan that works for you

-
-
- {{range .Config.Pricing.Plans}} -
- {{if .Featured}}Popular{{end}} -
{{.Name}}
-
{{.Price}}
-
{{.Period}}
- {{if .Features}} -
    - {{range .Features}} -
  • {{.}}
  • - {{end}} -
- {{end}} - {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} -
- {{end}} -
-
- {{end}} + {{if .Config.Pricing.Plans}} + +
+
+

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Simple Pricing{{end}}

+

Choose the plan that works for you

+
+
+ {{range .Config.Pricing.Plans}} +
+ {{if .Featured}}Popular{{end}} +
{{.Name}}
+
{{.Price}}
+
{{.Period}}
+ {{if .Features}} +
    + {{range .Features}} +
  • {{.}}
  • + {{end}} +
+ {{end}} + {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} +
+ {{end}} +
+
+ {{end}} - - {{if .Config.SocialProof.Testimonials}} -
-
- " -
- {{range .Config.SocialProof.Testimonials}} - - {{end}} -
-
-
- - {{end}} + + {{if .Config.SocialProof.Testimonials}} +
+
+ " +
+ {{range .Config.SocialProof.Testimonials}} + + {{end}} +
+
+
+ + {{end}} - {{if .Config.CTASection.Headline}} - -
-
-

{{.Config.CTASection.Headline}}

- {{if .Config.CTASection.Subheadline}} -

{{.Config.CTASection.Subheadline}}

- {{end}} - {{if .Config.CTASection.Button.Label}} - - {{.Config.CTASection.Button.Label}} - {{svg "octicon-arrow-right" 20}} - - {{end}} -
-
- {{end}} + {{if .Config.CTASection.Headline}} + +
+
+

{{.Config.CTASection.Headline}}

+ {{if .Config.CTASection.Subheadline}} +

{{.Config.CTASection.Subheadline}}

+ {{end}} + {{if .Config.CTASection.Button.Label}} + + {{.Config.CTASection.Button.Label}} + {{svg "octicon-arrow-right" 20}} + + {{end}} +
+
+ {{end}} - - + +
{{template "pages/base_footer" .}} diff --git a/templates/pages/minimalist-docs.tmpl b/templates/pages/minimalist-docs.tmpl index 05c9c4db6b..055174174c 100644 --- a/templates/pages/minimalist-docs.tmpl +++ b/templates/pages/minimalist-docs.tmpl @@ -1,810 +1,810 @@ {{template "pages/base_head" .}}
- - + + - -
-

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

-

{{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}}

+ +
+

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

+

{{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}}

- + - {{if .Config.Hero.CodeExample}} -
- - {{.Config.Hero.CodeExample}} -
- {{end}} -
+ {{if .Config.Hero.CodeExample}} +
+ + {{.Config.Hero.CodeExample}} +
+ {{end}} +
- {{if or .Config.Stats (gt .NumStars 0)}} -
- -
-
- {{if .Config.Stats}} - {{range .Config.Stats}} -
-
{{.Value}}
-
{{.Label}}
-
- {{end}} - {{else}} -
-
{{.NumStars}}
-
Stars
-
-
-
{{.NumForks}}
-
Forks
-
- {{if .LatestRelease}} -
-
v{{.LatestRelease.TagName}}
-
Latest
-
- {{end}} - {{end}} -
-
-
- {{end}} + {{if or .Config.Stats (gt .NumStars 0)}} +
+ +
+
+ {{if .Config.Stats}} + {{range .Config.Stats}} +
+
{{.Value}}
+
{{.Label}}
+
+ {{end}} + {{else}} +
+
{{.NumStars}}
+
Stars
+
+
+
{{.NumForks}}
+
Forks
+
+ {{if .LatestRelease}} +
+
v{{.LatestRelease.TagName}}
+
Latest
+
+ {{end}} + {{end}} +
+
+
+ {{end}} - - {{if .Config.ValueProps}} -
-

{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}{{else}}Why Choose Us{{end}}

- {{range .Config.ValueProps}} -
-
-
- {{.Title}} - — {{.Description}} -
-
- {{end}} -
- {{end}} + + {{if .Config.ValueProps}} +
+

{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}{{else}}Why Choose Us{{end}}

+ {{range .Config.ValueProps}} +
+
+
+ {{.Title}} + — {{.Description}} +
+
+ {{end}} +
+ {{end}} - - {{if .Config.Features}} -
-

Features

-
- {{range $i, $f := .Config.Features}} -
- -
- {{$f.Description}} -
-
- {{end}} -
-
- {{end}} + + {{if .Config.Features}} +
+

Features

+
+ {{range $i, $f := .Config.Features}} +
+ +
+ {{$f.Description}} +
+
+ {{end}} +
+
+ {{end}} - - {{if .Config.Pricing.Plans}} -
-

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Pricing{{end}}

-
- {{range .Config.Pricing.Plans}} -
- {{if .Featured}}Popular{{end}} -
{{.Name}}
-
{{.Price}}
-
{{.Period}}
- {{if .Features}} -
    - {{range .Features}} -
  • {{.}}
  • - {{end}} -
- {{end}} - {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} -
- {{end}} -
-
- {{end}} + + {{if .Config.Pricing.Plans}} +
+

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Pricing{{end}}

+
+ {{range .Config.Pricing.Plans}} +
+ {{if .Featured}}Popular{{end}} +
{{.Name}}
+
{{.Price}}
+
{{.Period}}
+ {{if .Features}} +
    + {{range .Features}} +
  • {{.}}
  • + {{end}} +
+ {{end}} + {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} +
+ {{end}} +
+
+ {{end}} - - {{if .Config.SocialProof.Testimonials}} -
-
-
- {{range .Config.SocialProof.Testimonials}} - - {{end}} -
-
-
- - {{end}} + + {{if .Config.SocialProof.Testimonials}} +
+
+
+ {{range .Config.SocialProof.Testimonials}} + + {{end}} +
+
+
+ + {{end}} - - {{if .Config.SocialProof.Logos}} -
-

Used by

-
- {{range .Config.SocialProof.Logos}} - {{.}} - {{end}} -
-
- {{end}} + + {{if .Config.SocialProof.Logos}} +
+

Used by

+
+ {{range .Config.SocialProof.Logos}} + {{.}} + {{end}} +
+
+ {{end}} - - {{if .Config.CTASection.Headline}} -
-

{{.Config.CTASection.Headline}}

- {{if .Config.CTASection.Subheadline}} - - {{end}} - {{if .Config.CTASection.Button.Label}} - - {{end}} -
- {{end}} + + {{if .Config.CTASection.Headline}} +
+

{{.Config.CTASection.Headline}}

+ {{if .Config.CTASection.Subheadline}} + + {{end}} + {{if .Config.CTASection.Button.Label}} + + {{end}} +
+ {{end}} - - + +
diff --git a/templates/pages/open-source-hero.tmpl b/templates/pages/open-source-hero.tmpl index a8e460a424..59e2ea9179 100644 --- a/templates/pages/open-source-hero.tmpl +++ b/templates/pages/open-source-hero.tmpl @@ -1,941 +1,941 @@ {{template "pages/base_head" .}}
- - + + - -
-
-
+ +
+
+
-
-
- - {{if .LatestRelease}}v{{.LatestRelease.TagName}} released{{else}}Open Source{{end}} -
+
+
+ + {{if .LatestRelease}}v{{.LatestRelease.TagName}} released{{else}}Open Source{{end}} +
-

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

+

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

-

- {{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}} -

+

+ {{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}} +

-
- {{if .Config.Hero.PrimaryCTA.Label}} - - {{.Config.Hero.PrimaryCTA.Label}} - {{svg "octicon-arrow-right" 16}} - - {{else}} - - Get Started - {{svg "octicon-arrow-right" 16}} - - {{end}} +
+ {{if .Config.Hero.PrimaryCTA.Label}} + + {{.Config.Hero.PrimaryCTA.Label}} + {{svg "octicon-arrow-right" 16}} + + {{else}} + + Get Started + {{svg "octicon-arrow-right" 16}} + + {{end}} - {{if .Config.Hero.SecondaryCTA.Label}} - - GitCaddy - {{.Config.Hero.SecondaryCTA.Label}} - - {{else}} - - GitCaddy - View Source - - {{end}} -
+ {{if .Config.Hero.SecondaryCTA.Label}} + + GitCaddy + {{.Config.Hero.SecondaryCTA.Label}} + + {{else}} + + GitCaddy + View Source + + {{end}} +
- {{if .Config.Hero.CodeExample}} -
- $ - {{.Config.Hero.CodeExample}} - -
- {{end}} -
-
+ {{if .Config.Hero.CodeExample}} +
+ $ + {{.Config.Hero.CodeExample}} + +
+ {{end}} +
+ - - {{if or .Config.Stats (gt .NumStars 0)}} -
-
- {{if .Config.Stats}} - {{range .Config.Stats}} -
-
{{.Value}}
-
{{.Label}}
-
- {{end}} - {{else}} -
-
{{.NumStars}}
-
Stars
-
-
-
{{.NumForks}}
-
Forks
-
- {{if .LatestRelease}} -
-
v{{.LatestRelease.TagName}}
-
Latest
-
- {{end}} - {{end}} -
-
- {{end}} + + {{if or .Config.Stats (gt .NumStars 0)}} +
+
+ {{if .Config.Stats}} + {{range .Config.Stats}} +
+
{{.Value}}
+
{{.Label}}
+
+ {{end}} + {{else}} +
+
{{.NumStars}}
+
Stars
+
+
+
{{.NumForks}}
+
Forks
+
+ {{if .LatestRelease}} +
+
v{{.LatestRelease.TagName}}
+
Latest
+
+ {{end}} + {{end}} +
+
+ {{end}} - - {{if .Config.ValueProps}} -
-
-
-

{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}

-

Everything you need to get started quickly.

-
-
- {{range .Config.ValueProps}} -
-
- {{svg (printf "octicon-%s" (or .Icon "check")) 22}} -
-

{{.Title}}

-

{{.Description}}

-
- {{end}} -
-
-
- {{end}} + + {{if .Config.ValueProps}} +
+
+
+

{{if .Config.Brand.Name}}Why {{.Config.Brand.Name}}?{{else}}Why Choose Us{{end}}

+

Everything you need to get started quickly.

+
+
+ {{range .Config.ValueProps}} +
+
+ {{svg (printf "octicon-%s" (or .Icon "check")) 22}} +
+

{{.Title}}

+

{{.Description}}

+
+ {{end}} +
+
+
+ {{end}} - - {{if .Config.Features}} -
-
-
-

Features

-

Powerful capabilities at your fingertips.

-
-
- {{range .Config.Features}} -
-
- {{svg (printf "octicon-%s" (or .Icon "zap")) 22}} -
-

{{.Title}}

-

{{.Description}}

-
- {{end}} -
-
-
- {{end}} + + {{if .Config.Features}} +
+
+
+

Features

+

Powerful capabilities at your fingertips.

+
+
+ {{range .Config.Features}} +
+
+ {{svg (printf "octicon-%s" (or .Icon "zap")) 22}} +
+

{{.Title}}

+

{{.Description}}

+
+ {{end}} +
+
+
+ {{end}} - - {{if or .Config.SocialProof.Logos .Config.SocialProof.Testimonials}} -
-
- {{if .Config.SocialProof.Logos}} -
- {{range .Config.SocialProof.Logos}} -
{{.}}
- {{end}} -
- {{end}} - {{if .Config.SocialProof.Testimonials}} -
- {{range .Config.SocialProof.Testimonials}} - - {{end}} -
- - {{end}} -
-
- {{end}} + + {{if or .Config.SocialProof.Logos .Config.SocialProof.Testimonials}} +
+
+ {{if .Config.SocialProof.Logos}} +
+ {{range .Config.SocialProof.Logos}} +
{{.}}
+ {{end}} +
+ {{end}} + {{if .Config.SocialProof.Testimonials}} +
+ {{range .Config.SocialProof.Testimonials}} + + {{end}} +
+ + {{end}} +
+
+ {{end}} - - {{if .Config.Pricing.Plans}} -
-
-
-

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Pricing{{end}}

-

{{if .Config.Pricing.Subheadline}}{{.Config.Pricing.Subheadline}}{{else}}Choose the plan that works for you{{end}}

-
-
- {{range .Config.Pricing.Plans}} -
- {{if .Featured}}Popular{{end}} -
{{.Name}}
-
{{.Price}}
-
{{.Period}}
- {{if .Features}} -
    - {{range .Features}}
  • {{.}}
  • {{end}} -
- {{end}} - {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} -
- {{end}} -
-
-
- {{end}} + + {{if .Config.Pricing.Plans}} +
+
+
+

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Pricing{{end}}

+

{{if .Config.Pricing.Subheadline}}{{.Config.Pricing.Subheadline}}{{else}}Choose the plan that works for you{{end}}

+
+
+ {{range .Config.Pricing.Plans}} +
+ {{if .Featured}}Popular{{end}} +
{{.Name}}
+
{{.Price}}
+
{{.Period}}
+ {{if .Features}} +
    + {{range .Features}}
  • {{.}}
  • {{end}} +
+ {{end}} + {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} +
+ {{end}} +
+
+
+ {{end}} - - {{if .Config.CTASection.Headline}} -
-
-

{{.Config.CTASection.Headline}}

- {{if .Config.CTASection.Subheadline}} -

{{.Config.CTASection.Subheadline}}

- {{end}} - - {{if .Config.CTASection.Button.Label}}{{.Config.CTASection.Button.Label}}{{else}}Get Started{{end}} - {{svg "octicon-arrow-right" 16}} - -
-
- {{end}} + + {{if .Config.CTASection.Headline}} +
+
+

{{.Config.CTASection.Headline}}

+ {{if .Config.CTASection.Subheadline}} +

{{.Config.CTASection.Subheadline}}

+ {{end}} + + {{if .Config.CTASection.Button.Label}}{{.Config.CTASection.Button.Label}}{{else}}Get Started{{end}} + {{svg "octicon-arrow-right" 16}} + +
+
+ {{end}} - - + +

{{template "pages/base_footer" .}} diff --git a/templates/pages/saas-conversion.tmpl b/templates/pages/saas-conversion.tmpl index e5c5343c32..96b6341d60 100644 --- a/templates/pages/saas-conversion.tmpl +++ b/templates/pages/saas-conversion.tmpl @@ -1,937 +1,937 @@ {{template "pages/base_head" .}}
- - + + - -
-
-
- {{if gt .NumStars 100}} -
- {{svg "octicon-star-fill" 14}} - {{.NumStars}} stars -
- {{end}} + +
+
+
+ {{if gt .NumStars 100}} +
+ {{svg "octicon-star-fill" 14}} + {{.NumStars}} stars +
+ {{end}} -

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

+

{{if .Config.Hero.Headline}}{{.Config.Hero.Headline}}{{else}}{{.Repository.Name}}{{end}}

-

- {{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}} -

+

+ {{if .Config.Hero.Subheadline}}{{.Config.Hero.Subheadline}}{{else}}{{.Repository.Description}}{{end}} +

- + -

- {{svg "octicon-check" 14}} Free to use   {{svg "octicon-check" 14}} Open source   {{svg "octicon-check" 14}} MIT License -

-
+

+ {{svg "octicon-check" 14}} Free to use   {{svg "octicon-check" 14}} Open source   {{svg "octicon-check" 14}} MIT License +

+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - - {{if .Config.Stats}} -
-
- {{range .Config.Stats}} -
-
{{.Value}}
-
{{.Label}}
-
- {{end}} -
-
- {{end}} + + {{if .Config.Stats}} +
+
+ {{range .Config.Stats}} +
+
{{.Value}}
+
{{.Label}}
+
+ {{end}} +
+
+ {{end}} - - {{if .Config.SocialProof.Logos}} -
-

TRUSTED BY TEAMS AT

-
- {{range .Config.SocialProof.Logos}} - - {{end}} -
-
- {{end}} + + {{if .Config.SocialProof.Logos}} +
+

TRUSTED BY TEAMS AT

+
+ {{range .Config.SocialProof.Logos}} + + {{end}} +
+
+ {{end}} - - {{if .Config.ValueProps}} -
-
-
-

Why {{if .Config.Brand.Name}}{{.Config.Brand.Name}}{{else}}{{.Repository.Name}}{{end}}

-

Built for developers who value their time

-
+ + {{if .Config.ValueProps}} +
+
+
+

Why {{if .Config.Brand.Name}}{{.Config.Brand.Name}}{{else}}{{.Repository.Name}}{{end}}

+

Built for developers who value their time

+
-
- {{range .Config.ValueProps}} -
-

{{.Title}}

-

{{.Description}}

-
- {{end}} -
-
-
- {{end}} +
+ {{range .Config.ValueProps}} +
+

{{.Title}}

+

{{.Description}}

+
+ {{end}} +
+
+
+ {{end}} - - {{if .Config.Features}} -
-
-
-

How it works

-

Get started in minutes, not weeks

-
+ + {{if .Config.Features}} +
+
+
+

How it works

+

Get started in minutes, not weeks

+
-
- {{range .Config.Features}} -
-
- {{svg (printf "octicon-%s" (or .Icon "zap")) 24}} -
-
-

{{.Title}}

-

{{.Description}}

-
-
- {{end}} -
-
-
- {{end}} +
+ {{range .Config.Features}} +
+
+ {{svg (printf "octicon-%s" (or .Icon "zap")) 24}} +
+
+

{{.Title}}

+

{{.Description}}

+
+
+ {{end}} +
+
+
+ {{end}} - - {{if .Config.SocialProof.Testimonials}} -
-
-
- {{range .Config.SocialProof.Testimonials}} - - {{end}} -
-
-
- - {{end}} + + {{if .Config.SocialProof.Testimonials}} +
+
+
+ {{range .Config.SocialProof.Testimonials}} + + {{end}} +
+
+
+ + {{end}} - - {{if .Config.Pricing.Plans}} -
-
-
-

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Simple, transparent pricing{{end}}

-
+ + {{if .Config.Pricing.Plans}} +
+
+
+

{{if .Config.Pricing.Headline}}{{.Config.Pricing.Headline}}{{else}}Simple, transparent pricing{{end}}

+
-
- {{range .Config.Pricing.Plans}} -
- {{if .Featured}}
Most Popular
{{end}} -

{{.Name}}

-
- {{.Price}} - {{.Period}} -
- {{if .Features}} -
    - {{range .Features}} -
  • {{svg "octicon-check" 16}} {{.}}
  • - {{end}} -
- {{end}} - - {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} - -
- {{end}} -
-
-
- {{end}} +
+ {{range .Config.Pricing.Plans}} +
+ {{if .Featured}}
Most Popular
{{end}} +

{{.Name}}

+
+ {{.Price}} + {{.Period}} +
+ {{if .Features}} +
    + {{range .Features}} +
  • {{svg "octicon-check" 16}} {{.}}
  • + {{end}} +
+ {{end}} + + {{if .CTA}}{{.CTA}}{{else}}Get Started{{end}} + +
+ {{end}} +
+
+
+ {{end}} - - {{if .Config.CTASection.Headline}} -
-
-

{{.Config.CTASection.Headline}}

- {{if .Config.CTASection.Subheadline}} -

{{.Config.CTASection.Subheadline}}

- {{end}} - - {{if .Config.CTASection.Button.Label}}{{.Config.CTASection.Button.Label}}{{else}}Get Started Free{{end}} - {{svg "octicon-arrow-right" 16}} - -
-
- {{end}} + + {{if .Config.CTASection.Headline}} +
+
+

{{.Config.CTASection.Headline}}

+ {{if .Config.CTASection.Subheadline}} +

{{.Config.CTASection.Subheadline}}

+ {{end}} + + {{if .Config.CTASection.Button.Label}}{{.Config.CTASection.Button.Label}}{{else}}Get Started Free{{end}} + {{svg "octicon-arrow-right" 16}} + +
+
+ {{end}} - - + +
{{template "pages/base_footer" .}} diff --git a/templates/swagger/ui.tmpl b/templates/swagger/ui.tmpl index ab6af13f6b..bcecf52a03 100644 --- a/templates/swagger/ui.tmpl +++ b/templates/swagger/ui.tmpl @@ -1,75 +1,75 @@ - GitCaddy API v1 Reference - - - + GitCaddy API v1 Reference + + + -
- ← Back to GitCaddy - API Version: - v1 - v2 -
- - +
+ ← Back to GitCaddy + API Version: + v1 + v2 +
+ +