Commits: 6
Fix layout of multi-item grid card
The items were unnecessarily spaced out.
index 6987649..133b51b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -224,7 +224,6 @@
= p {
= margin-top: 1em;
= font-size: 1rem;
- flex-grow: 1;
= text-align: start;
= text-align: justify;
= hyphens: auto;Introduce solutions catalogue: section, taxonomies
In technical terms, there is a new section called "solutions". And four related taxonomies:
- solution_categories
- features
- solution_providers
- esc_support
Each page in the "solutions" section will represent a software or a service - both recommended or recommended against. The distinction is in the "esc_support" taxonomy. Lack of it indicates we recommend against.
The "categories" taxonomy will be used to present alternatives to a given solution. For example MS Word and LibreOffice Writter are both in the word processor category, so they are alternatives.
The solution_provider taxonomy contains a company, organization or person developing and offering the solution. It can contain multiple entries in case of collaborations or complex corporate structures.
Features are both good and bad things about the solution.
In the future I want to generate part of the description based on those taxonomies, but for now I think it's better if we write them by hand, to experiment with different wordings and formatting.
Also I plan to have terms of those taxonomies be automatically linked to pages that will explain their meaning.
index fe8fec3..42b8539 100644
--- a/config.toml
+++ b/config.toml
@@ -18,6 +18,19 @@ build_search_index = true
=# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
=highlight_code = true
=
+[[taxonomies]]
+name = "solution_categories"
+
+[[taxonomies]]
+name = "features"
+
+[[taxonomies]]
+name = "solution_providers"
+
+[[taxonomies]]
+name = "esc_support"
+
+
=[extra]
=# Put all your custom variables here
=[[extra.navigation]]new file mode 100644
index 0000000..b7b20af
--- /dev/null
+++ b/content/solutions/_index.md
@@ -0,0 +1,6 @@
+---
+title: "Solutions"
+---
+
+This is our catalogue of digital solutions for business problems of European <abbr title="Small and Medium Enterprises">SMEs</abbr>. Those solutions are either directly provided by Esc Collective, we can provide support for them or we advise against their use and recommend better alternatives.
+new file mode 100644
index 0000000..cd4e67f
--- /dev/null
+++ b/content/solutions/libreoffice-writer/index.md
@@ -0,0 +1,22 @@
+---
+title: LibreOffice Writer
+extra:
+ supported: true
+ libre: true
+
+taxonomies:
+ solution_providers: [ "The Document Foundation" ]
+ solution_categories: [ "word processor" ]
+ features:
+ - "rich text formatting"
+ - "scripting"
+ - "libre"
+ - "local"
+ esc_support: [ "training", "consulting", "integration" ]
+---
+
+Writer is a word processor application, part of the LibreOffice suite offered by The Document Foundation.
+
+Esc Collective offers commercial support for business using or switching to LibreOffice Writer in form of consulting, training and integration. We believe it's a viable solution because it's a mature libre software provided by [a well established developer](https://www.documentfoundation.org/ "The Document Foundation").
+
+Home page: <https://www.libreoffice.org/discover/writer/>new file mode 100644
index 0000000..3a6d809
--- /dev/null
+++ b/content/solutions/ms-word/index.md
@@ -0,0 +1,21 @@
+---
+title: Microsoft Word
+taxonomies:
+ solution_providers: [ "Microsoft" ]
+ solution_categories: [ "word processor" ]
+ features:
+ - "rich text formatting"
+ - "scripting"
+ - "local"
+ - "proprietary"
+ - "USA based"
+ - "big tech"
+ - "MAGA"
+---
+
+Microsoft Word is a word processor offered by Microsoft.
+
+Esc Collective recommends against using MS Word in your business, because it's a proprietary application offered by Microsoft, a big tech American company with [strong ties to the authoritarian, corrupt and increasingly hostile regime of Donald Trump](https://www.cnbc.com/2025/01/09/microsoft-contributes-1-million-to-trumps-inauguration-fund.html "CNBC article: Microsoft contributes $1 million to Trump’s inauguration fund"). Because of the secretive nature of it's code, use of MS Word exposes data of your business and it's clients to american spy agencies.
+
+Are you a user of Microsoft Word? We can help you switch to one of the viable alternatives.
+new file mode 100644
index 0000000..5248781
--- /dev/null
+++ b/templates/taxonomy_list.html
@@ -0,0 +1,5 @@
+{\% extends "base.html" %}
+
+{\% block main_content %}
+The listing for the <em>{\{ taxonomy.name \}}</em> taxonomy is not implemented yet.
+{\% endblock main_content %}new file mode 100644
index 0000000..a7bef68
--- /dev/null
+++ b/templates/taxonomy_single.html
@@ -0,0 +1,5 @@
+{\% extends "base.html" %}
+
+{\% block main_content %}
+The page for the <em>{\{ term.name \}}</em> term of the <em>{\{ taxonomy.name \}}</em> taxonomy is not implemented yet.
+{\% endblock main_content %}Display supported alternatives for each solution
index b7b20af..ecc2178 100644
--- a/content/solutions/_index.md
+++ b/content/solutions/_index.md
@@ -1,5 +1,6 @@
=---
=title: "Solutions"
+page_template: "solution.html"
=---
=
=This is our catalogue of digital solutions for business problems of European <abbr title="Small and Medium Enterprises">SMEs</abbr>. Those solutions are either directly provided by Esc Collective, we can provide support for them or we advise against their use and recommend better alternatives.index cd4e67f..96c1e15 100644
--- a/content/solutions/libreoffice-writer/index.md
+++ b/content/solutions/libreoffice-writer/index.md
@@ -17,6 +17,8 @@ taxonomies:
=
=Writer is a word processor application, part of the LibreOffice suite offered by The Document Foundation.
=
+<!-- more -->
+
=Esc Collective offers commercial support for business using or switching to LibreOffice Writer in form of consulting, training and integration. We believe it's a viable solution because it's a mature libre software provided by [a well established developer](https://www.documentfoundation.org/ "The Document Foundation").
=
=Home page: <https://www.libreoffice.org/discover/writer/>index 3a6d809..6f9f835 100644
--- a/content/solutions/ms-word/index.md
+++ b/content/solutions/ms-word/index.md
@@ -15,7 +15,6 @@ taxonomies:
=
=Microsoft Word is a word processor offered by Microsoft.
=
-Esc Collective recommends against using MS Word in your business, because it's a proprietary application offered by Microsoft, a big tech American company with [strong ties to the authoritarian, corrupt and increasingly hostile regime of Donald Trump](https://www.cnbc.com/2025/01/09/microsoft-contributes-1-million-to-trumps-inauguration-fund.html "CNBC article: Microsoft contributes $1 million to Trump’s inauguration fund"). Because of the secretive nature of it's code, use of MS Word exposes data of your business and it's clients to american spy agencies.
-
-Are you a user of Microsoft Word? We can help you switch to one of the viable alternatives.
+<!-- more -->
=
+Esc Collective recommends against using MS Word in your business, because it's a proprietary application offered by Microsoft, a big tech American company with [strong ties to the authoritarian, corrupt and increasingly hostile regime of Donald Trump](https://www.cnbc.com/2025/01/09/microsoft-contributes-1-million-to-trumps-inauguration-fund.html "CNBC article: Microsoft contributes $1 million to Trump’s inauguration fund"). Because of the secretive nature of it's code, use of MS Word exposes data of your business and it's clients to american spy agencies.new file mode 100644
index 0000000..988faaa
--- /dev/null
+++ b/templates/solution.html
@@ -0,0 +1,43 @@
+{\% extends "base.html" %}
+
+Solution
+
+{\% block main_content %}
+{\{ page.content | safe \}}
+
+{\%
+ set alternatives = []
+%}
+
+Do you use {\{ page.title \}} in your business? We can help you switch to one of the viable alternatives.
+
+
+{\% for category in page.taxonomies.solution_categories %}
+ <h2>Alternatives in the {\{ category \}} category:</h2>
+
+ {\% set term = get_taxonomy_term(kind="solution_categories", term=category) %}
+ {\% set_global alternatives = [] %}
+ {\% for solution in term.pages %}
+ {\% if solution.path == page.path %}{\% continue %}{\% endif %}
+ {\% if solution.taxonomies.esc_support %}
+ {\% set_global alternatives = alternatives | concat (with=solution) %}
+ {\% endif %}
+ {\% endfor %}
+
+
+ <section class="card-grid">
+ {\% for alternative in alternatives %}
+ <article>
+ <h3>{\{ alternative.title \}}</h3>
+ <p>{\{ alternative.summary | safe | striptags \}}</p>
+ <ul>
+ {\% for feature in alternative.taxonomies.features %}
+ <li>{\{ feature \}}</li>
+ {\% endfor %}
+ </ul>
+ <a href="{\{ get_url(path=alternative.path) \}}">Learn more</a>
+ </article>
+ {\% endfor %}
+ </section>
+ {\% endfor %}
+{\% endblock main_content %}Add CryptPad Rich Text as a supported solution
new file mode 100644
index 0000000..f2b6c0f
--- /dev/null
+++ b/content/solutions/cryptpad-rich-text/index.md
@@ -0,0 +1,23 @@
+---
+title: CryptPad Rich Text
+extra:
+ homepage: "https://docs.cryptpad.org/en/user_guide/apps/richtext.html"
+
+taxonomies:
+ solution_providers: [ "CryptPad.fr" ]
+ solution_categories: [ "word processor" ]
+ features:
+ - "rich text formatting"
+ - "libre"
+ - "web based"
+ - "end to end encryption"
+ - "self-hosting"
+ - "hosted"
+ esc_support: [ "training", "consulting", "integration" ]
+---
+
+The Rich Text application in CryptPad is a browser-based end-to-end encrypted word processor.
+
+<!-- more -->
+
+Esc Collective offers commercial support for business using or switching to CryptPad Rich Text in form of consulting, training and integration. We believe it's a viable solution because it's a libre software provided by [a European (French) developer](https://www.documentfoundation.org/ "The Document Foundation"), offering high degree of data security.List the solutions in the section index page
Solutions are grouped by category.
index 190f667..f59a33d 100644
--- a/content/services/_index.md
+++ b/content/services/_index.md
@@ -4,7 +4,7 @@ title: Services
=
=# Our Services
=
-Our primary focus is on helping European Small and Medium-sized Enterprises (SMEs), Non-Governmental Organizations (NGOs), local governments, and educational institutions with implementing free, open-source and European software solutions.
+Our primary focus is on helping European Small and Medium-sized Enterprises (SMEs), Non-Governmental Organizations (NGOs), local governments, and educational institutions with implementing free, open-source and European software solutions. [See the catalogue of supported solutions](@/solutions/_index.md).
=
=
=## 🌤 ️Cloud assistanceindex ecc2178..5fc3a4f 100644
--- a/content/solutions/_index.md
+++ b/content/solutions/_index.md
@@ -1,5 +1,6 @@
=---
=title: "Solutions"
+template: "solutions.html"
=page_template: "solution.html"
=---
=index 988faaa..71fd715 100644
--- a/templates/solution.html
+++ b/templates/solution.html
@@ -35,7 +35,7 @@ Do you use {\{ page.title \}} in your business? We can help you switch to one of t
= <li>{\{ feature \}}</li>
= {\% endfor %}
= </ul>
- <a href="{\{ get_url(path=alternative.path) \}}">Learn more</a>
+ <p><a href="{\{ get_url(path=alternative.path) \}}">Learn more</a></p>
= </article>
= {\% endfor %}
= </section>new file mode 100644
index 0000000..d36875c
--- /dev/null
+++ b/templates/solutions.html
@@ -0,0 +1,27 @@
+{\% extends "base.html" %}
+
+Solution
+
+{\% block main_content %}
+ {\{ section.content | safe \}}
+
+ {\% set taxonomy = get_taxonomy(kind="solution_categories") %}
+ {\% for category in taxonomy.items %}
+ <h2>{\{ category.name | title \}}</h2>
+
+ <section class="card-grid">
+ {\% for solution in category.pages %}
+ <article>
+ <h3>{\{ solution.title \}}</h3>
+ <p>{\{ solution.summary | safe | striptags \}}</p>
+ <ul>
+ {\% for feature in solution.taxonomies.features %}
+ <li>{\{ feature \}}</li>
+ {\% endfor %}
+ </ul>
+ <a href="{\{ get_url(path=solution.path) \}}">Learn more</a>
+ </article>
+ {\% endfor %}
+ </section>
+ {\% endfor %}
+{\% endblock main_content %}Align links in solution cards
index 71fd715..c0c552c 100644
--- a/templates/solution.html
+++ b/templates/solution.html
@@ -35,7 +35,7 @@ Do you use {\{ page.title \}} in your business? We can help you switch to one of t
= <li>{\{ feature \}}</li>
= {\% endfor %}
= </ul>
- <p><a href="{\{ get_url(path=alternative.path) \}}">Learn more</a></p>
+ <p style="margin-top: auto"><a href="{\{ get_url(path=alternative.path) \}}">Learn more</a></p>
= </article>
= {\% endfor %}
= </section>index d36875c..3994c55 100644
--- a/templates/solutions.html
+++ b/templates/solutions.html
@@ -11,6 +11,7 @@ Solution
=
= <section class="card-grid">
= {\% for solution in category.pages %}
+ {# TODO: Dry with solution.html - a macro? #}
= <article>
= <h3>{\{ solution.title \}}</h3>
= <p>{\{ solution.summary | safe | striptags \}}</p>
@@ -19,7 +20,7 @@ Solution
= <li>{\{ feature \}}</li>
= {\% endfor %}
= </ul>
- <a href="{\{ get_url(path=solution.path) \}}">Learn more</a>
+ <p style="margin-top: auto"><a href="{\{ get_url(path=solution.path) \}}">Learn more</a></p>
= </article>
= {\% endfor %}
= </section>