aboutsummaryrefslogtreecommitdiff
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
parente95289c4833eee291a8217c771c2490ebcbbc751 (diff)
downloadgaragehq.deuxfleurs.fr-948ebfda6f04577dd956c496bd24569fab479ffc.tar.gz
garagehq.deuxfleurs.fr-948ebfda6f04577dd956c496bd24569fab479ffc.zip
Small templates changes
-rwxr-xr-xconfig.toml6
-rwxr-xr-xcontent/blog/_index.md4
m---------garage0
-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
10 files changed, 21 insertions, 18 deletions
diff --git a/config.toml b/config.toml
index 9b1b23f..fa94f1d 100755
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,6 @@
base_url = "https://garagehq.deuxfleurs.fr"
-title = "Garage"
-description = "An open-source distributed storage service you can self-host to fullfill many needs"
+title = "Garage HQ"
+description = "An open-source distributed object storage service tailored for self-hosting"
default_language = "en"
output_dir = "public"
compile_sass = true
@@ -61,7 +61,7 @@ webmanifest = "/icons/site.webmanifest"
[extra.organization]
name = "Garage"
-description = "An open-source distributed storage service you can self-host to fullfill many needs"
+description = "An open-source distributed object storage service tailored for self-hosting"
logo = "/images/garage-logo.svg"
logo_simple = "/images/garage-logo-simple.svg"
logo_horizontal = "/images/garage-logo-horizontal.svg"
diff --git a/content/blog/_index.md b/content/blog/_index.md
index 621c16b..b45b8e4 100755
--- a/content/blog/_index.md
+++ b/content/blog/_index.md
@@ -1,6 +1,8 @@
+++
title = "Blog"
description = "This is our developer journal"
+template = "blog_index.html"
+page_template = "blog_article.html"
sort_by = "date"
paginate_by = 5
-+++ \ No newline at end of file
++++
diff --git a/garage b/garage
-Subproject 93eab8eaa3927b99626fee4a747a0f9f041cafd
+Subproject f6aebefcc9747bf5afad3767e9ae6f9f3aba30a
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 %}