aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-14 19:33:05 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-14 19:33:05 +0200
commit948ebfda6f04577dd956c496bd24569fab479ffc (patch)
treed539b889bf0b9056f89fb1103ce9b4317f441c3f /templates
parente95289c4833eee291a8217c771c2490ebcbbc751 (diff)
downloadgaragehq.deuxfleurs.fr-948ebfda6f04577dd956c496bd24569fab479ffc.tar.gz
garagehq.deuxfleurs.fr-948ebfda6f04577dd956c496bd24569fab479ffc.zip
Small templates changes
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/base.html3
-rwxr-xr-xtemplates/blog_article.html (renamed from templates/page.html)4
-rwxr-xr-xtemplates/blog_index.html (renamed from templates/section.html)2
-rw-r--r--templates/documentation.html2
-rw-r--r--templates/download.html2
-rwxr-xr-xtemplates/index.html8
-rw-r--r--templates/partials/shared/head.html8
7 files changed, 15 insertions, 14 deletions
diff --git a/templates/base.html b/templates/base.html
index 34f029b..3816e1a 100755
--- a/templates/base.html
+++ b/templates/base.html
@@ -9,6 +9,9 @@
<meta name="description" content="An open-source distributed storage service you can self-host to fullfill many needs.">
<meta name="application-name" content="{{ config.title }}">
{% include "partials/shared/head.html" %}
+ <title>
+ {% block title %}{% endblock %}
+ </title>
</head>
<body class="has-background-white">
diff --git a/templates/page.html b/templates/blog_article.html
index b1c98cd..6f96847 100755
--- a/templates/page.html
+++ b/templates/blog_article.html
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
-{{ config.title }} | {{ page.title }}
+ {{ page.title }} | Garage blog
{% endblock %}
{% block content %}
@@ -203,4 +203,4 @@
}, false);
</script>
{% endif %}
-{% endblock %} \ No newline at end of file
+{% endblock %}
diff --git a/templates/section.html b/templates/blog_index.html
index 9ab3785..faf6854 100755
--- a/templates/section.html
+++ b/templates/blog_index.html
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
-{{ config.title }} | {{ section.title }}
+ {{ section.title }} | {{ config.title }}
{% endblock title %}
{% block content %}
diff --git a/templates/documentation.html b/templates/documentation.html
index 3f48e55..fd7889f 100644
--- a/templates/documentation.html
+++ b/templates/documentation.html
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
- {{ config.title }} | {% if page %}{{ page.title }}{% else %}{{ section.title }}{% endif %}
+ {% if page %}{{ page.title }}{% else %}{{ section.title }}{% endif %} | {{ config.title }}
{% endblock %}
{% block content %}
diff --git a/templates/download.html b/templates/download.html
index f1ba9b3..56448c9 100644
--- a/templates/download.html
+++ b/templates/download.html
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
-{{ config.title }} | {{ page.title }}
+Downloads | {{ config.title }}
{% endblock %}
{% block content %}
diff --git a/templates/index.html b/templates/index.html
index ab80207..ccf80db 100755
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,5 +1,9 @@
{% extends "base.html" %}
+{% block title %}
+ Garage - An open-source distributed object storage service
+{% endblock title %}
+
{% block content %}
<section class="section" id="home-section">
<div>
@@ -77,12 +81,12 @@
<div class="w-2 h-2 rounded-full bg-garage-orange"></div>
<li class="py-1.5 flex flex-col items-center justify-center">
<span>Fast to deploy, safe to operate</span>
- <p class="font-normal text-center">We are sysadmins, we know the value of operator friendly software</p>
+ <p class="font-normal text-center">We are sysadmins, we know the value of operator-friendly software</p>
</li>
<div class="w-2 h-2 rounded-full bg-garage-orange"></div>
<li class="py-1.5 flex flex-col items-center justify-center">
<span>Deploy everywhere on every machine</span>
- <p class="font-normal text-center">We do not have a dedicated backbone, neither do you,<br>
+ <p class="font-normal text-center">We do not have a dedicated backbone, and neither do you,<br>
so we made software that run over the Internet across multiple datacenters</p>
</li>
<div class="w-2 h-2 rounded-full bg-garage-orange"></div>
diff --git a/templates/partials/shared/head.html b/templates/partials/shared/head.html
index ca2033e..17acc76 100644
--- a/templates/partials/shared/head.html
+++ b/templates/partials/shared/head.html
@@ -15,12 +15,6 @@
{% block user_custom_stylesheet %}{% endblock %}
-<title>
- {% block title %}
- {{ config.title }} - An open-source distributed storage service
- {% endblock title %}
-</title>
-
{% if config.extra.katex.enabled %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css"
integrity="sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs" crossorigin="anonymous">
@@ -36,4 +30,4 @@
integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR"
crossorigin="anonymous"></script>
{% endif %}
-{% endif %} \ No newline at end of file
+{% endif %}