` +
`${makeTeaser(item.doc.body, terms)}` +
@@ -168,9 +168,11 @@ function search() {
}
function openSearchModal() {
+ var baseUrl = window.location.protocol + "//" + window.location.host;
+ var indexScriptPath = baseUrl + '/search_index.en.js';
if (indexScriptLoaded === false) {
var indexScript = document.createElement('script');
- indexScript.setAttribute('src', './search_index.en.js');
+ indexScript.setAttribute('src', indexScriptPath);
document.head.appendChild(indexScript);
indexScriptLoaded = true;
}
diff --git a/static/screenshots/screenshot-1280.png b/static/screenshots/screenshot-1280.png
new file mode 100644
index 0000000..2a866f1
Binary files /dev/null and b/static/screenshots/screenshot-1280.png differ
diff --git a/static/screenshots/screenshot-480.png b/static/screenshots/screenshot-480.png
new file mode 100644
index 0000000..4eb1d38
Binary files /dev/null and b/static/screenshots/screenshot-480.png differ
diff --git a/static/screenshots/screenshot-768.png b/static/screenshots/screenshot-768.png
new file mode 100644
index 0000000..784d705
Binary files /dev/null and b/static/screenshots/screenshot-768.png differ
diff --git a/tailwind.config.js b/tailwind.config.js
index 0d3f330..7c30233 100755
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -9,6 +9,13 @@ module.exports = {
'garage-orange': "#FF9329",
'garage-gray': "#4E4E4E",
},
+ backgroundSize: {
+ 'size-200': '200% 200%',
+ },
+ backgroundPosition: {
+ 'pos-0': '0% 0%',
+ 'pos-100': '100% 100%',
+ },
},
},
variants: {
diff --git a/templates/base.html b/templates/base.html
index 8170b44..d947c50 100755
--- a/templates/base.html
+++ b/templates/base.html
@@ -13,36 +13,14 @@
{% include "partials/shared/nav.html" %}
-
- {% block content %}{% endblock %}
-
+ {% block content %}{% endblock %}
{% block search %}
-
+ {% include "partials/shared/search.html" %}
{% endblock %}
{% block pagination %}
- {% include "partials/shared/paginator.html" %}
+ {% include "partials/shared/paginator.html" %}
{% endblock %}
{% block comment %}{% endblock %}
diff --git a/templates/documentation.html b/templates/documentation.html
index 70ef6a3..55a5c61 100644
--- a/templates/documentation.html
+++ b/templates/documentation.html
@@ -6,10 +6,10 @@
{% block content %}
{% set section = get_section(path="documentation/_index.md") %}
-
+
{% include "partials/doc/global_toc.html" %}
-
+
diff --git a/templates/index.html b/templates/index.html
index 08cce9c..d859bcb 100755
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,28 +5,49 @@
-
+
{{config.extra.organization.name}}
+
{{ config.extra.organization.description }}
-
-
-
-
Host a Website
+
+
+
+
Host a Website
-
-
Store Media
+
+
Store Media
-
-
-
Backup Target
+
+
+
Backup Target
-
+
+
+
+ Made for redundancy
+
+
+
+
+
Each chunk of data is replicated in 3 zones
+
+
+
+
Zone (multiple servers)
+
+
+
+
Chunks of data
+
+
+
-
-
Our Goals
+
+
+
Our Goals
We made it lightweight and kept the efficiency in mind.
-
-
Keeping requirements low
+
+
Keeping requirements low
We worked hard to keep requirements as low as possible as we target the largest possible public.
@@ -68,43 +89,43 @@
-
CPU
+
CPU
Any x86_64 CPU from the last 10 years, ARMv7 or ARMv8
-
RAM
+
RAM
1 GB
-
Disk space
+
Disk space
At least 16 GB
-
Network
+
Network
200 ms or less, 50 Mbps or more
-
Heterogeneous hardware
+
Heterogeneous hardware
Build a cluster with whatever second-hand machines are available
-
-
Data resiliency for everyone
+
+
Data resiliency for everyone
Lorem ipsum dolor sit amet consectetur adipisicing elit.
@@ -125,7 +146,7 @@
-
+
@@ -146,8 +167,8 @@
-
-
Built on the shoulder of giants
+
+
Standing on the shoulders of giants
Lorem ipsum dolor sit amet consectetur adipisicing elit.
@@ -167,14 +188,23 @@
-
- {% if section.content %}
-
- {{ section.content | safe }}
+
+
+
Sponsors and funding
+
+ The Deuxfleurs association has received a grant from NGI POINTER ,
+ to fund 3 people working on Garage full-time for a year : from October 2021 to September 2022.
+
+
+
+ This project has received funding from the European Union's Horizon 2021 research and innovation programme
+ within the framework of the NGI-POINTER Project funded under grant agreement N° 871528.
+
- {% endif %}
+
+
{% endblock %}
diff --git a/templates/macros.html b/templates/macros.html
index 9fab136..dc65140 100755
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -2,24 +2,24 @@
{% if social_config.git %}
-
-
+
+
{% endif %}
{% if social_config.email %}
-
-
+
+
{% endif %}
{% if config.generate_feed %}
-
-
+
+
{% endif %}
diff --git a/templates/page.html b/templates/page.html
index eeba7f1..67081b7 100755
--- a/templates/page.html
+++ b/templates/page.html
@@ -5,7 +5,7 @@
{% endblock %}
{% block content %}
-
+
-
-
+
+
{{ macros::page_publish_metadata(page=page) }}
-
+
{{ macros::page_content_metadata(page=page) }}
@@ -43,7 +43,7 @@
-
+
{{ page.content | safe }}
diff --git a/templates/partials/doc/global_toc.html b/templates/partials/doc/global_toc.html
index ebad287..f739f49 100644
--- a/templates/partials/doc/global_toc.html
+++ b/templates/partials/doc/global_toc.html
@@ -1,8 +1,20 @@
-
+
{% if section.subsections %}
-
+
+
+ {% if section.pages %}
+ {% for page in section.pages %}
+
+ {{ page.title }}
+
+ {% endfor %}
+ {% endif %}
+
{% for subsec in section.subsections %}
- {% set h1 = get_section(path=subsec) %}
+ {% set h1 = get_section(path=subsec) %}
+