Small templates changes

This commit is contained in:
Alex 2022-09-14 19:33:05 +02:00
parent e95289c483
commit 948ebfda6f
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
10 changed files with 22 additions and 19 deletions

View file

@ -1,6 +1,6 @@
base_url = "https://garagehq.deuxfleurs.fr" base_url = "https://garagehq.deuxfleurs.fr"
title = "Garage" title = "Garage HQ"
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"
default_language = "en" default_language = "en"
output_dir = "public" output_dir = "public"
compile_sass = true compile_sass = true
@ -61,7 +61,7 @@ webmanifest = "/icons/site.webmanifest"
[extra.organization] [extra.organization]
name = "Garage" 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 = "/images/garage-logo.svg"
logo_simple = "/images/garage-logo-simple.svg" logo_simple = "/images/garage-logo-simple.svg"
logo_horizontal = "/images/garage-logo-horizontal.svg" logo_horizontal = "/images/garage-logo-horizontal.svg"

View file

@ -1,6 +1,8 @@
+++ +++
title = "Blog" title = "Blog"
description = "This is our developer journal" description = "This is our developer journal"
template = "blog_index.html"
page_template = "blog_article.html"
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
+++ +++

2
garage

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

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="description" content="An open-source distributed storage service you can self-host to fullfill many needs.">
<meta name="application-name" content="{{ config.title }}"> <meta name="application-name" content="{{ config.title }}">
{% include "partials/shared/head.html" %} {% include "partials/shared/head.html" %}
<title>
{% block title %}{% endblock %}
</title>
</head> </head>
<body class="has-background-white"> <body class="has-background-white">

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,9 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}
Garage - An open-source distributed object storage service
{% endblock title %}
{% block content %} {% block content %}
<section class="section" id="home-section"> <section class="section" id="home-section">
<div> <div>
@ -77,12 +81,12 @@
<div class="w-2 h-2 rounded-full bg-garage-orange"></div> <div class="w-2 h-2 rounded-full bg-garage-orange"></div>
<li class="py-1.5 flex flex-col items-center justify-center"> <li class="py-1.5 flex flex-col items-center justify-center">
<span>Fast to deploy, safe to operate</span> <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> </li>
<div class="w-2 h-2 rounded-full bg-garage-orange"></div> <div class="w-2 h-2 rounded-full bg-garage-orange"></div>
<li class="py-1.5 flex flex-col items-center justify-center"> <li class="py-1.5 flex flex-col items-center justify-center">
<span>Deploy everywhere on every machine</span> <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> so we made software that run over the Internet across multiple datacenters</p>
</li> </li>
<div class="w-2 h-2 rounded-full bg-garage-orange"></div> <div class="w-2 h-2 rounded-full bg-garage-orange"></div>

View file

@ -15,12 +15,6 @@
{% block user_custom_stylesheet %}{% endblock %} {% block user_custom_stylesheet %}{% endblock %}
<title>
{% block title %}
{{ config.title }} - An open-source distributed storage service
{% endblock title %}
</title>
{% if config.extra.katex.enabled %} {% if config.extra.katex.enabled %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css" <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css"
integrity="sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs" crossorigin="anonymous"> integrity="sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs" crossorigin="anonymous">