feat: support multilingual sites
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{% set author = macro::format_name(name=config.extra.name) | striptags -%}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<html lang="{{ lang }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
@ -12,7 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="favicon.svg">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-normalize/modern-normalize.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ config.base_url }}/style.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto&display=swap">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" />
|
||||
<title>{{ author }}</title>
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
|
||||
<script>
|
||||
particlesJS.load('particles', 'particles.json', null);
|
||||
particlesJS.load('particles', '{{ config.base_url | safe }}/particles.json', null);
|
||||
</script>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user