Translations system (with fr translations)
parent
244ac9b93b
commit
d7e45dc856
|
@ -11,6 +11,10 @@ highlight_code = false
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
|
||||||
|
languages = [
|
||||||
|
{code = "fr", rss = true}
|
||||||
|
]
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
# Put all your custom variables here
|
# Put all your custom variables here
|
||||||
title = "dnsmanager - liberate your zones"
|
title = "dnsmanager - liberate your zones"
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
+++
|
||||||
|
+++
|
||||||
|
|
||||||
|
[Accueil](@/_index.fr.md)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[Blog](DUMMIE)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[Source](https://github.com/kaneroot/dnsmanager)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
[FAQ](@/faq/index.fr.md)
|
|
@ -0,0 +1,7 @@
|
||||||
|
+++
|
||||||
|
title = "Accueil"
|
||||||
|
+++
|
||||||
|
|
||||||
|
# dnsmanager
|
||||||
|
|
||||||
|
dnsmanager est un logiciel convivial
|
|
@ -0,0 +1,11 @@
|
||||||
|
+++
|
||||||
|
title = "FAQ"
|
||||||
|
+++
|
||||||
|
|
||||||
|
# Comment installer dnsmanager?
|
||||||
|
|
||||||
|
Le [README](https://github.com/KaneRoot/dnsmanager) contient les instructions pour installer dnsmanager.
|
||||||
|
|
||||||
|
# dnsmanager supporte-t-il la délégation?
|
||||||
|
|
||||||
|
Pour le moment, dnsmanager ne sait pas déléguer une zone. Cette fonctionnalité sera probablement implémentée dans le futur.
|
|
@ -1,5 +1,5 @@
|
||||||
{% import "widgets.html" as widgets %}
|
{% import "widgets.html" as widgets %}
|
||||||
{% if section %}{% set lang = section.lang %}{% elif page %}{% set lang = page.lang %}{% else %}{% set lang = false %}{% endif %}
|
{% set lang = section.lang | default(value=page.lang) %}{% if lang == "en" %}{% set lang = false %}{% endif %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="no-js" lang="{{ lang | default(value="en")}}">
|
<html class="no-js" lang="{{ lang | default(value="en")}}">
|
||||||
<head>
|
<head>
|
||||||
|
@ -14,7 +14,9 @@
|
||||||
<header>
|
<header>
|
||||||
{% set header = get_page(path="_common/header.md") %}
|
{% set header = get_page(path="_common/header.md") %}
|
||||||
{{ header.content | markdown | safe }}
|
{{ header.content | markdown | safe }}
|
||||||
{{ widgets::menu(content="_common/menu.md") }}
|
{% if lang %}{{ widgets::menu(content="_common/menu." ~ lang ~ ".md") }}
|
||||||
|
{% else %}{{ widgets::menu(content="_common/menu.md") }}
|
||||||
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
Loading…
Reference in New Issue