Merge pull request 'Templates changes and doc updates for v0.8' (#11) from v0.8 into master

Reviewed-on: Deuxfleurs/garagehq.deuxfleurs.fr#11
This commit is contained in:
Alex 2022-09-29 17:30:50 +02:00
commit 08d43d3a95
10 changed files with 23 additions and 20 deletions

View file

@ -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"

View file

@ -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
+++
+++

2
garage

@ -1 +1 @@
Subproject commit 93eab8eaa3927b99626fee4a747a0f9f041cafdb
Subproject commit b17d59cfabbe92c509f4888cae83f6053a8cab1e

View file

@ -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">

View file

@ -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 %}
{% endblock %}

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
{{ config.title }} | {{ section.title }}
{{ section.title }} | {{ config.title }}
{% endblock title %}
{% block content %}

View file

@ -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 %}

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block title %}
{{ config.title }} | {{ page.title }}
Downloads | {{ config.title }}
{% endblock %}
{% block content %}
@ -18,7 +18,7 @@
<h2 class="text-garage-gray text-xl font-semibold">Deploy with Docker</h2>
<p>All of the builds listed in the sections below can be downloaded as Docker images
available
<a href="https://hub.docker.com/u/dxflrs" class="text-garage-orange font-bold hover:underline">on the Docker hub</a>.
<a href="https://hub.docker.com/r/dxflrs/garage" class="text-garage-orange font-bold hover:underline">on the Docker hub</a>.
</p>
</div>
<div id="docker-images" class="space-y-4">

View file

@ -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>

View file

@ -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 %}
{% endif %}